local player = game.Players.LocalPlayer
repeat wait() until player.Character.Humanoid
local humanoid = player.Character.Humanoid
local mouse = player:GetMouse()
local saluteButton = game.Players.LocalPlayer:WaitForChild("PlayerGui").MobileEmotes.Salute
local anim = Instance.new("Animation")
anim.AnimationId = "http://www.roblox.com/asset/?id=5191369819"
local function onClick()
local playAnim = humanoid:LoadAnimation(anim)
playAnim:Play()
end
saluteButton.MouseButton1Click:Connect(onClick)
yes, this script works in Roblox Studio, but when I go onto an actual game server it does not work, can someone please help me out?
