I made a local script to enable a script and it does not work

can someone tell me what is wrong

game.Workspace.yeet.Touched:Connect(function(hit)
	if hit then
		script.Parent.ClaimGui.Claim.LocalScript.Enable = true
	end
end)

There’s no property called Enable inside LocalScript. Instead, you should be using the property Disabled.

game.Workspace.yeet.Touched:Connect(function(hit)
	if hit then
		script.Parent.ClaimGui.Claim.LocalScript.Disabled = false
	end
end)
1 Like

ok i will try that :thinking: :thinking: