Solved, but doesnt work in a server..
while true do
if script.Parent:FindFirstChild("Weld") then
script.Parent:FindFirstChild("Weld"):remove()
end
wait(1.3)
end
It doesn't remove welds in a server, but works fine in roblox studio.
Original post:
repeat wait() until
script.Parent:FindFirstChild("Weld") == true
if script.Parent:FindFirstChild("Weld") == true then
script.Parent.Weld:remove()
end
I am trying to implement the classic grab tool in my game, but it makes things stick to walls. At first I thought it was because of it being anchored after grabbed, but its just welds.
Now I am trying to figure out how to make a script that could remove those welds.

4 comments
Thanks for that
It works, but once again, in a server it doesnt work..
What do you mean? ingame? make sure the server you are testing in is the latest version and not an old one
Yeah. And I am making sure it is the latest.