HaxRoblox

Fly part

Oct 1st, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. H = Instance.new('Part' ,game.Workspace)
  3. H.Size = Vector3.new(4,1,7)
  4. H.Anchored = true
  5. H.CanCollide = true
  6. H.BrickColor = BrickColor.new('Really red')
  7. H.TopSurface = 'Smooth'
  8. H.BottomSurface = 'Smooth'
  9. local Mouse = plr:GetMouse()
  10. Mouse.KeyDown:connect(function(Key)
  11. Key = Key:lower()
  12. if Key == 'e' then
  13. H.CanCollide = false
  14. H.Transparency = 1
  15. end
  16. end)
  17. Mouse.KeyDown:connect(function(Key)
  18. Key = Key:lower()
  19. if Key == 'q' then
  20. H.CanCollide = true
  21. H.Transparency = 0
  22. end
  23. end)
  24. while true do wait(0.001)
  25. H.CFrame = plr.Character.Torso.CFrame * CFrame.new(0,-3.48,0)
  26. end
Advertisement
Add Comment
Please, Sign In to add comment