Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ragdoll = game.Workspace.Ragdoll
- local script = game.ServerScriptService:BindToPart(script.Parent, "Part", "MouseButton1Down")
- game.Players.LocalPlayer.Part.Touched:Connect(function(hit)
- local humanoid = hit.Parent
- if humanoid:IsA("Humanoi") and humanoid.Parent == "Part" then
- humanoid:DisableConstraints()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement