Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script has inspired by Krystal dance! --
- local Plr = game.Players.LocalPlayer
- local PChar = Plr.Character
- local Assets = "rbxassetid://"
- local DebounceKey = true
- local Mouse = Plr:GetMouse()
- local AnimHop = Instance.new("Animation", PChar)
- AnimHop.AnimationId = Assets.."129423030"
- local TrackAnim = nil
- local StopIt = false
- local GenerateCharacter = function()
- for i,v in pairs(PChar:GetChildren()) do
- wait(0.1)
- if v.ClassName == "Hat" or v.ClassName == "CharacterMesh" then
- v:Destroy()
- end
- if v.ClassName == "Part" then
- v.BrickColor = BrickColor.Black()
- end
- PChar.Head.BrickColor = BrickColor.White()
- PChar["Body Colors"].HeadColor = BrickColor.White()
- PChar["Body Colors"].LeftArmColor = BrickColor.Black()
- PChar["Body Colors"].LeftLegColor = BrickColor.Black()
- PChar["Body Colors"].RightArmColor = BrickColor.Black()
- PChar["Body Colors"].RightLegColor = BrickColor.Black()
- PChar["Body Colors"].TorsoColor = BrickColor.Black()
- if PChar:FindFirstChild("Shirt") == nil then else PChar:FindFirstChild("Shirt"):Destroy() end
- if PChar:FindFirstChild("Pants") == nil then else PChar:FindFirstChild("Pants"):Destroy() end
- PChar.Head.face.Texture = "http://www.roblox.com/asset/?id=282690375"
- PChar.Humanoid.WalkSpeed = 14
- PChar.Humanoid.MaxHealth = math.huge
- PChar.Humanoid.Health = math.huge
- end
- end
- local MusicFolder = Instance.new("Folder", PChar)
- MusicFolder.Name = "Music"
- local SnoopMusic = Instance.new("Sound", MusicFolder)
- SnoopMusic.SoundId = Assets.."172388329"
- local DogeMusic = Instance.new("Sound", MusicFolder)
- DogeMusic.SoundId = Assets.."150794704"
- wait(0.9)
- GenerateCharacter()
- Mouse.KeyDown:connect(function(key) local key = key:lower()
- if key == "e" then
- if DebounceKey == false then
- return
- end
- DebounceKey = false
- PChar.Humanoid.WalkSpeed = 0
- TrackAnim = PChar.Humanoid:LoadAnimation(AnimHop)
- SnoopMusic:Play()
- for i = SnoopMusic.TimeLength, 1, -1 do
- if StopIt == true then
- break
- end
- print(i)
- wait(1)
- TrackAnim:Play()
- end
- DebounceKey = true
- TrackAnim:Stop()
- PChar.Humanoid.WalkSpeed = 14
- end
- if key == "r" then
- if DebounceKey == false then
- return
- end
- DebounceKey = false
- PChar.Humanoid.WalkSpeed = 0
- TrackAnim = PChar.Humanoid:LoadAnimation(AnimHop)
- DogeMusic:Play()
- DogeMusic.Volume = 10
- for i = 55, 1, -1 do
- if StopIt == true then
- break
- end
- print(i)
- wait(1)
- TrackAnim:Play()
- local location = game.Players.LocalPlayer.Character:GetModelCFrame()
- local DogeHats = Instance.new("Part")
- DogeHats.CanCollide = false
- DogeHats.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
- local mesh = Instance.new("SpecialMesh")
- mesh.TextureId = "rbxassetid://151778895"
- mesh.MeshId = "rbxassetid://151778863"
- mesh.MeshType = "FileMesh"
- mesh.Parent = DogeHats
- mesh.Scale = Vector3.new(math.random()*20,math.random()*20,math.random()*20)
- DogeHats.CFrame = location * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250)
- DogeHats.Parent = game.Workspace
- end
- DebounceKey = true
- TrackAnim:Stop()
- for i = 10, 1, 0 do
- wait(0.2)
- DogeMusic.Volume = i
- end
- DogeMusic:Stop()
- PChar.Humanoid.WalkSpeed = 14
- end
- if key == "w" or key == "a" or key == "s" or key == "d" then
- StopIt = true
- SnoopMusic:Stop()
- DogeMusic:Stop()
- if TrackAnim == nil then else TrackAnim:Stop() end
- DebounceKey = true
- PChar.Humanoid.WalkSpeed = 14
- wait(2)
- StopIt = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement