Advertisement
TheRealAK47

use wand

Dec 8th, 2018
7,123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. Wand = false
  2. m = game.Players.LocalPlayer:GetMouse()
  3. m.KeyDown:connect(function(key)
  4. if key == "k" then
  5. if Wand == true then Wand = false
  6. elseif
  7. Wand == false then Wand = true
  8.  
  9. while Wand == true do
  10. wait(0.1)
  11. local char = game.Players.LocalPlayer.character.HumanoidRootPart.CFrame.Position
  12. local a = "use"
  13. local b = "wand"
  14. local c = "place"
  15. local d = char
  16. game:GetService("ReplicatedStorage").Event:FireServer(a, b, c, d)
  17. end
  18. end
  19. end
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement