- Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
- I made a simple punch script, where the player needs to press âFâ to punch. Every punch can only deal damage to one person (20 for each punch). PunchTest.rbxl (28.4 KB) Workspace: RemoteHandler: local RStorage = game:GetService('ReplicatedStorage') local Remotes = RStorage:WaitForChild('Remotes') local Punch = Remotes:WaitForChild('Punch') local Connection local function DealDamage(Part.
Jul 1st, 2018
Roblox lots of scripts and exploits to improve your roblox experience and most the scripts are from really popular games and if you want to help me out use the donate button.
Never
Free Punch Animation Roblox Id
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
Free Punch Animations Roblox Studio
- -----------------------------------------------------------------------
- math.randomseed(tick())
- local ReplicatedStorage = game:GetService('ReplicatedStorage')
- local punchEvent = Instance.new('RemoteEvent', ReplicatedStorage)
- local char = game.Workspace:FindFirstChild(plr.Name)
- local animation = Instance.new('Animation')
- animation.AnimationId = 'http://roblox.com/asset/?id='..animations[picked]
- local animTrack = humanoid:LoadAnimation(animation)
- local dmgScript = script.DmgScript:Clone()
- dmgScript.Parent = char.RightHand
- dmgScript.Parent = char.LeftHand
- dmgScript.Disabled = false
- dmgScript:Destroy()
- create a script and put it in ServerScriptService
- ----------------------------------------------------------------------------
- then copy that
- -------------------------------------------------------------------------
- local char = hit.Parent
- if hum and char.Name ~= script.Parent.Parent.Name then
- script.Disabled = true
- script.Disabled = false
- end)
- ------------------------------------------------------------------
- after that all open startercharacterscripts
- and do a local script
- -----------------------------------------
- wait (0.1)
- local UserInputService = game:GetService('UserInputService')
- local ReplicatedStorage = game:GetService('ReplicatedStorage')
- local punchEvent = ReplicatedStorage:WaitForChild('PunchEvent')
- local ready = true
- local function punch(inputObject, gameProcessed)
- if inputObject.KeyCode Enum.KeyCode.E and ready then
- ready = false
- ready = true
- end
- UserInputService.InputBegan:Connect(punch)
- ----------------------------------------------------