Recommended Posts

How would I be able to run this function client-side only?

local function FormVision(inst, phase)	if inst.trentform and phase == "night" then		inst.entity:AddLight()		inst.Light:SetFalloff(0.5)		inst.Light:SetIntensity(0.9)		inst.Light:SetRadius(15)		inst.Light:SetColour(245/255,255/255,245/255)		inst.Light:Enable(true)	else		inst.Light:Enable(false)	endend
Edited by ELEMENTALCRAFTER009

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this