Meliodas0_0

Phantom Forces - Remove Walls [REMASTERED]

Sep 15th, 2019
33
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pcall(function()
  2. local Move = game.Workspace.Map
  3. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  4. local Players = game:GetService("Players")
  5. local mouse = Players.LocalPlayer:GetMouse()
  6.  
  7. mouse.KeyDown:Connect(function(key)
  8. if key == "k" then
  9. if Move.Parent == game.Workspace then
  10. Move.Parent = ReplicatedStorage
  11. Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  12. elseif Move.Parent == ReplicatedStorage then
  13. Move.Parent = game.Workspace
  14. Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false
  15. end
  16. end
  17. end)
  18.  
  19. while wait() do
  20. if game.Workspace:FindFirstChild("Map") then
  21. Move = game.Workspace.Map
  22. elseif ReplicatedStorage:FindFirstChild("Map") then
  23. Move = ReplicatedStorage.Map
  24. end
  25. end
  26. end)
RAW Paste Data