Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mouse = game.Players.LocalPlayer:getMouse()
- mouse.Button1Down:connect(function()
- if game.Players:GetPlayerFromCharacter(mouse.Target.Parent) then
- local selected = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
- if game.Players.LocalPlayer.Character:findFirstChildOfClass("Tool") then
- local tool = game.Players.LocalPlayer.Character:findFirstChildOfClass("Tool")
- if tool:findFirstChild("Fire") then
- if selected ~= nil then
- repeat
- tool.Fire:FireServer(selected.Character.HumanoidRootPart.CFrame)
- tool.Fire:FireServer(selected.Character.Torso.CFrame)
- tool.Fire:FireServer(selected.Character.Head.CFrame)
- wait()
- until selected.Character:findFirstChild("KO")
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement