Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local me = game.Players.QuiIity
- local event = Instance.new("RemoteEvent",game.ReplicatedStorage)
- event.Name = "PunchEvent"
- local animation = Instance.new("Animation")
- local s = Instance.new("Sound")
- s.Name = "Sound"
- s.SoundId = "http://www.roblox.com/asset/?id=331652113"
- s.Volume = 1.5
- s.Looped = true
- s.archivable = false
- s.Parent = game.Players.QuiIity.Character.Head
- s:play()
- animation.AnimationId = "rbxassetid://128853357" -- your id here
- local animTrack = game.Players.QuiIity.Character.Humanoid:LoadAnimation(animation)
- me.Character.Humanoid.WalkSpeed = 125
- me.Character.Humanoid.JumpPower = 150
- Arm = me.Character['Left Arm']
- debounce = false
- Arm.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:Destroy()
- animTrack:Play()
- end
- end)
Add Comment
Please, Sign In to add comment