
934 Views
164 Executions
Monster mash fe
Universal Script 📌
MOONVMPublished 10
11 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Fe
local animation = Instance.new("Animation")
local music = Instance.new("Sound", game.Workspace)
local Players = game:GetService("Players")
local player = Players.LocalPlayer
music.SoundId = "http://www.roblox.com/asset/?id=35930009"
music.Looped = true
animation.Parent = script.Parent
animation.AnimationId = "http://www.roblox.com/Asset?ID=35654637"
local currentTrack = nil
local function CommandHandler(playerToAnimate)
local character = playerToAnimate.Character
if not character then return end
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid then return end
if currentTrack then
currentTrack:Stop()
currentTrack:Destroy()
end
if music.IsPlaying then
music:Stop()
end
local track = humanoid:LoadAnimation(animation)
currentTrack = track
if track then
track:Play()
music:Play()
local runningConnection
runningConnection = humanoid.Running:Connect(function(speed)
if speed > 0.1 then
track:Stop()
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







