Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Wand = false
- m = game.Players.LocalPlayer:GetMouse()
- m.KeyDown:connect(function(key)
- if key == "k" then
- if Wand == true then Wand = false
- elseif
- Wand == false then Wand = true
- while Wand == true do
- wait(0.1)
- local char = game.Players.LocalPlayer.character.HumanoidRootPart.CFrame.Position
- local a = "use"
- local b = "wand"
- local c = "place"
- local d = char
- game:GetService("ReplicatedStorage").Event:FireServer(a, b, c, d)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement