Why won't this work in Roblox Player, it works fine in studio "Note it is in a LOCAL script" but it will not work as it is suppose to in roblox player.
The script is in another script that Loads it into the player once they step on a brick.
local target = workspace.DEh_Button
local cam = workspace.CurrentCamera
script.Jump.Value = script.Parent.Humanoid.JumpPower
script.Walk.Value = script.Parent.Humanoid.WalkSpeed
cam.CameraType = Enum.CameraType.Scriptable
cam.CameraSubject = target
cam.CoordinateFrame = game.Workspace.ShopCam_Derp.CFrame
script.Parent.Humanoid.WalkSpeed = 0
script.Parent.Humanoid.JumpPower = 0

3 comments
Where is the script located?
The script is in another script that Loads it into the player once they step on a brick.
Localscript starts to working when character has been loaded in roblox servers as I know, but not sure. I suggest you to check it.