Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script was 95% made by Burrgundy. PeaceNSaviour ("Peace & Tranquility") claims more like 80%.
- warn("script made near purely by burrgundy")
- local activated = false
- local weapon = ""
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(k)
- if k == 'z' and activated == false then
- activated = true
- while wait(0.5) do
- if activated == true then
- for i,v in pairs(game.workspace[game.Players.LocalPlayer.Name]:GetChildren()) do
- if v.ClassName == "Accessory" then
- for u,w in pairs(v:GetChildren()) do
- if w.Name == 'swing' then
- weapon = v.Name
- end
- end
- end
- end
- local Event = game:GetService("Workspace")[game.Players.LocalPlayer.Name][weapon].swing
- Event:FireServer()
- end
- end
- else
- activated = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement