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)
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)
ok i will try that