Hey, I’m trying to send animation data from the client to the server so it can be run server sided (so all players can see it)
I tried running print(Animation) to see the output and it just outputted my username.
Local Script (In a screenGUI)
Events.Startup.OnClientEvent:Connect(function(Animation)
Events.RunAnim:FireServer(Animations.Start)
-- VoiceLines.StartVoice:Play()
typewrite(Subtitles, "Hello! Would you like to check in?",0.05)
-- Buttons appear
end)
Server Script
Events.RunAnim.OnServerEvent:Connect(function(Animation)
local StartUpAnim = AI.Humanoid:LoadAnimation(Animation)
StartUpAnim:Play()
end)