Hey the script I made works except when It comes to the clean up
it wont delete the rope and attachments
Prompt.Triggered:Connect(function(plrTrigger)
print("Triggered")--
local echaracter = plrTrigger.Character
local Character = Prompt.Parent.Parent
print(drag)--
spawn(function()
print("Waiting for unstun variable")--
--------------------------------------------------------------------------------------------
while Character.ConfigValue.StunValue.Value == true do
wait(1)
print("Counting")--
end
if Character.ConfigValue.StunValue.Value == false then
print("Clean up")
attach:Destroy()
attach2:Destroy()
rope:Destroy()
end
--------------------------------------------------------------------------------------------