Advertisement
DiscordPastebins

NOCLIP TOOL I MADE

Jun 8th, 2024
58
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. -- Gui to Lua PART 1 NOCLIP
  2.  
  3. -- note i had to rescript this myself beacuse the thing was not a tool, it would be a screengui (its bascially tool to lua)
  4. -- execute this in different parts, they have parts in title
  5.  
  6. -- Version: 3.2
  7.  
  8. -- Instances:
  9.  
  10. local tfy = Instance.new("Tool")
  11.  
  12. --Properties:
  13.  
  14. tfy.Name = "tfy"
  15. tfy.Parent = game.Players.LocalPlayer:WaitForChild("Backpack")
  16. tfy.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  17.  
  18.  
  19. -- Scripts: PART 2 NOCLIP
  20. local tfy = game.Players.LocalPlayer.Backpack.tfy
  21.  
  22. local Lscript = Instance.new("LocalScript")
  23.  
  24. Lscript.Parent = game.Players.LocalPlayer.Backpack.tfy
  25.  
  26. local function MFJUAXI_fake_script() -- tfy.LocalScript
  27. local script = Instance.new('LocalScript', tfy)
  28.  
  29. local a = game:GetService('RunService')
  30. local self: Model
  31.  
  32. a.RenderStepped:Connect(function()
  33. local CanCollide = script.Parent.Parent:IsA('Model')
  34. if CanCollide then self = script.Parent.Parent end
  35.  
  36. if not self then return end
  37.  
  38. for a, b in self:GetDescendants() do
  39. if b:IsA('BasePart') then
  40. b.CanCollide = false
  41. end
  42. end
  43.  
  44. self.HumanoidRootPart.CanCollide = not CanCollide
  45. end)
  46. end
  47. coroutine.wrap(MFJUAXI_fake_script)()
  48.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement