RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make all players in the server dance for 10 seconds when connected to the DanceEvent event"
-- server script local DanceEvent = game.ReplicatedStorage.DanceEvent DanceEvent.OnClientEvent:Connect(function(player) local humanoid = player.Character:FindFirstChild("Humanoid") if humanoid then humanoid:ChangeState("Dance") wait(10) humanoid:ChangeState("Idle") end end)