Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Anti fling On
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local Player = Players.LocalPlayer
- RunService.Stepped:Connect(function()
- for _, CoPlayer in pairs(Players:GetPlayers()) do
- if CoPlayer ~= Player and CoPlayer.Character then
- local rootPart = CoPlayer.Character:FindFirstChild("HumanoidRootPart")
- if rootPart then
- rootPart.CanCollide = false
- end
- end
- end
- for _, item in pairs(workspace:GetChildren()) do
- if item:IsA("Accessory") then
- local accPart = item:FindFirstChildWhichIsA("Part")
- if accPart then
- accPart:Destroy()
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement