Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mouse = game:GetService("Players").LocalPlayer:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == 'f' then
- local damage = 101
- local humanoid = mouse.Target
- local bool = false
- if humanoid.Parent:FindFirstChild("Humanoid") then
- local Remote = game:GetService("ReplicatedStorage").GunRemotes.TakeDamage
- Remote:FireServer(humanoid.Parent.Humanoid, damage, bool)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement