Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Simple Grapple Tool not working WITHOUT an error?

Asked by 4 years ago
Edited 4 years ago

I'm trying to make a grapple tool, simple as it can get.

while true do
    if script.Parent.Parent.Weld == true then
        script.Parent.Anchored = true
    else
        script.Parent.Anchored = false
    end
wait()
end

For some reason, when I activate the script

local tool = script.Parent
local enabled = script.Parent.Weld

function toolActivated()
    enabled.Value = not enabled.Value
end

tool.Activated:Connect(toolActivated)

It doesn't do ANYTHING, both are normal scripts. Not module nor local. Help?

EDIT: No need for anymore help, I found an alternative.

Answer this question