Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

The Animation is not Playing for Other Players?!

Hey, my Script (Server Script) isn't play the animation for everyone, but only to my friend, that owns the place, even in studio, When you publish, no one can see it. I don't know what am i doing wrong. Could someone help, Thanks!

local theCamera = workspace.CurrentCamera

local TweenService = game:GetService("TweenService")

local Properties = {CFrame = CFrame.new(-235.322, 433.108, -616.997)}
local Properties2 = {CFrame = CFrame.new(-275.254, 431.865, -651.044)}

local Animation = script:WaitForChild("Animation")
local Humanoid = workspace.Dummy:WaitForChild("Humanoid")
local theAnimation = Humanoid:LoadAnimation(Animation)

workspace.EndCutsceneLazarTeleportPart.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        print("Touched")
        hit.Parent.HumanoidRootPart.Position = workspace.EndCutsceneLazarTouchPart.Position + Vector3.new(0, 10, 0)

        local thePlayer = game.Players:GetPlayerFromCharacter(hit.Parent)
        game.ReplicatedStorage.cameraRE:FireClient(thePlayer)
        wait(2)
        theAnimation:Play()
        print("Playing the animation")
        wait(4)
        TweenService:Create(workspace.CutsceneLazarRock2, TweenInfo.new(3), Properties):Play()
        TweenService:Create(workspace.CutsceneLazarRock2.Part, TweenInfo.new(3), Properties):Play()
        wait(1)
        TweenService:Create(workspace.CutsceneLazarRock2, TweenInfo.new(0.2), Properties2):Play()
        TweenService:Create(workspace.CutsceneLazarRock2.Part, TweenInfo.new(0.2), Properties2):Play()


    end
end)

1 answer

Try republishing the animation to roblox but to a group instead of yourself.

This discussion is preserved as it was. New answers, comments, and votes are closed.