Advertisement
MaxproGlitcher

Rajout des colission

Dec 14th, 2022 (edited)
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. --Script By MaxproGlitcher pour rajouter les colission
  2.  
  3. game:GetService("StarterGui"):SetCore("SendNotification",{
  4. Title = "Rajout des colissions",
  5. Text = "Script a été executer",
  6. Icon = "rbxassetid://11823384169",
  7. Duration = 15
  8. })
  9. LP = game.Players.LocalPlayer
  10. while wait(3) do
  11. for i,v in pairs(game.Players:GetDescendants()) do
  12. if v:IsA("Player") and workspace:FindFirstChild(v.Name) and v ~= LP and workspace[v.Name]:FindFirstChild("CHECKER") == nil then
  13. checker = Instance.new("BoolValue",workspace[v.Name])
  14. checker.Name = "CHECKER"
  15. for i,v in pairs(workspace:WaitForChild(v.Name):GetDescendants()) do
  16. if v:IsA("Part") or v:IsA("MeshPart") then
  17. local collider = Instance.new("Part",v)
  18. collider.Size = v.Size
  19. collider.Position = v.Position
  20. collider.Transparency = 1
  21. local weld = Instance.new("Weld",v)
  22. weld.Part0 = v
  23. weld.Part1 = collider
  24. end
  25. end
  26. end
  27. end
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement