Advertisement
TheUnknownDiscord

Untitled

Nov 8th, 2021
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. Tool = Instance.new("Tool")
  2. Tool.Name = "Buildlol"
  3. Part1 = Instance.new("Part")
  4. Part1.Name = "Handle"
  5. Part1.Parent = Tool
  6. Tool.Parent = owner.Character
  7. E = Instance.new("RemoteEvent",owner.Character)
  8. E.Name = "The"
  9. E.OnServerEvent:Connect(function()
  10. Part = Instance.new("Part",owner.Character)
  11. Part.Size = Vector3.new(5,5,1)
  12. Part.Anchored = true
  13. Part.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,-5)
  14. end)
  15. NLS([[
  16. E = owner.Character:WaitForChild("The")
  17. Tool = owner.Character:WaitForChild("Buildlol")
  18. toolout = false
  19. local Part = Instance.new("Part",owner.Character)
  20. Part.Size = Vector3.new(5,5,1)
  21. Part.Anchored = true
  22. Part.CanCollide = false
  23. Tool.Equipped:Connect(function()
  24. Part.Transparency = 0.5
  25. end)
  26. Tool.Unequipped:Connect(function()
  27. Part.Transparency = 1
  28. end)
  29. game:GetService("RunService").RenderStepped:Connect(function()
  30. Part.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,-5)
  31. end)
  32.  
  33. Tool.Activated:Connect(function()
  34. E:FireServer()
  35. end)
  36. ]],owner.PlayerGui)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement