(Sorry For bad English) So I have a camera shake script in my StarterCharacterScripts And I set it to disabled Reason is I don't want it to activate when the game starts only when the player touches a Part or so like a trigger so I made the following code for it:
game.Workspace.Shake.Touched:Connect(function(hit)
local Char = hit.Parent
Char.Shake.Disabled = false
end)
But the Problem is that when I step on the part The Code Does Run And The Shake Script inside the Character has Disabled set to false but the thing is that the script is not running I really want to fix this problem put it stresses me out when I try to think about it Can anyone help?
Thanks

1 comment
What is the error?