local bindfunc = script.Parent.tasedremote local val = script.Parent.TasedValue function bindfunc.OnInvoke() val.Value = true script.Parent.Parent.Ragdoll.functions.ragdoll:Invoke("-1,0,0") val.Value = false wait(1) script.Parent.Parent.Ragdoll.functions.removeragdoll:Invoke() end
If I run the removeragdoll seperately , it works, but if I run it like that it breaks.