Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- SANS, PICK ON THE FLOOR!
- local Asset = "http://www.roblox.com/asset?id="
- local Plr = game.Players.LocalPlayer
- local PChar = Plr.Character
- local Mouse = Plr:GetMouse()
- local Debounce = true
- wait(1)
- PChar.Animate.idle.Animation1.AnimationId = Asset.."432356203"
- PChar.Animate.idle.Animation2.AnimationId = Asset.."432356203"
- PChar.Animate.walk.WalkAnim.AnimationId = Asset.."432356203"
- local AnimAttack = Instance.new("Animation", PChar.Animate)
- AnimAttack.Name = "Attack"
- AnimAttack.AnimationId = Asset.."432361360"
- local TrackAttack = PChar.Humanoid:LoadAnimation(AnimAttack)
- Mouse.KeyDown:connect(function(Key) local Key = Key:lower()
- if Key == "e" then
- if not Debounce then return end
- Debounce = false
- TrackAttack:Play()
- local BoneP = Instance.new("Part", game.Workspace)
- BoneP.Name = "BonePap"
- BoneP.Size = Vector3.new(1.2, 11.27, 1.07)
- BoneP.Anchored = false
- BoneP.BottomSurface = Enum.SurfaceType.Smooth
- BoneP.TopSurface = Enum.SurfaceType.Smooth
- BoneP.Position = PChar.Torso.Position
- BoneP.Velocity = PChar.Torso.CFrame.lookVector * 500
- BoneP.CanCollide = false
- wait(0.1)
- BoneP.Touched:connect(function(PartsT)
- if game.Players:GetPlayerFromCharacter(PartsT.Parent) then
- PartsT.Parent.Humanoid.Health = PartsT.Parent.Humanoid.Health - math.random(1, 90)
- Debounce = true
- BoneP:Destroy()
- end
- end)
- game.Workspace.ChildRemoved:connect(function(Child)
- if Child.Name == "BonePap" then
- if Child == BoneP then
- Debounce = true
- end
- end
- end)
- wait(3)
- BoneP:Destroy()
- Debounce = true
- end
- end)
- Plr.Chatted:connect(function(ChatM)
- local PapVoice = Instance.new("Sound", PChar.Head)
- PapVoice.SoundId = "http://www.roblox.com/asset/?id=419874833"
- local Hint = Instance.new("Hint", game.Workspace)
- for i = 0, #ChatM do
- wait(0.1)
- Hint.Text = Plr.Name..": "..string.sub(ChatM, 1, i)
- PapVoice:Play()
- end
- wait(1)
- Hint:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement