Advertisement
Guest User

Phantom Forces X-Ray

a guest
Jul 16th, 2018
629
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. Phantom Forces X-Ray
  2. From: https://v3rmillion.net/showthread.php?tid=475958
  3.  
  4. local Move = game.Workspace.Map
  5. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  6. local Players = game:GetService("Players")
  7. local mouse = Players.LocalPlayer:GetMouse()
  8. local a = false
  9.  
  10. mouse.KeyDown:Connect(function(key)
  11. if key == "e" then
  12. if a == false then
  13. Move.Parent = ReplicatedStorage
  14. Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  15. a = true
  16. elseif a == true then
  17. Move.Parent = game.Workspace
  18. Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false
  19. a = false
  20. end
  21. end
  22. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement