Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- When you want to fool around in script builder
- -- Local script: do not change anything
- clientPlayer = game:GetService('Players').LocalPlayer
- canUse = true
- local HB = Instance.new('HopperBin', clientPlayer.Backpack)
- HB.Name = 'XSCREAM4'
- HB.Selected:connect(function (mouse)
- mouse.Button1Down:connect(function ()
- if canUse == false then return end
- canUse = false
- local xs = Instance.new('Sound', clientPlayer.Character.Head)
- xs.Volume = 0.25
- xs.SoundId = 'rbxassetid://274630399'
- local an = Instance.new('Animation', clientPlayer.Character)
- an.AnimationId = 'http://www.roblox.com/Asset?ID=190013771'
- local nan = clientPlayer.Character.Humanoid:LoadAnimation(an)
- xs:Play()
- nan:Play()
- wait(5)
- xs:Stop()
- nan:Stop()
- xs:remove()
- nan:remove()
- canUse = true
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement