Advertisement
bearplayz

Roblox Phantom Forces xray script

Sep 23rd, 2018
7,802
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. --press k to use
  2.  
  3. local Move = game.Workspace.Map
  4. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  5. local Players = game:GetService("Players")
  6. local mouse = Players.LocalPlayer:GetMouse()
  7. local a = false
  8.  
  9. mouse.KeyDown:Connect(function(key)
  10. if key == "k" then
  11. if a == false then
  12. Move.Parent = ReplicatedStorage
  13. Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  14. a = true
  15. elseif a == true then
  16. Move.Parent = game.Workspace
  17. Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false
  18. a = false
  19. end
  20. end
  21. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement