So i put together an animation script and tried to use it. here is my script:
local RequestAnimationPlay = game.ReplicatedStorage.RequestAnimationPlay enabled = true local animation = Instance.new("Animation") animation.AnimationId = "rbxassetid://305856994" animation.Parent = script RequestAnimationPlay.OnServerEvent:connect(function(player) animationTrack = player.Character.Humanoid:LoadAnimation(animation) animationTrack:Play() end)
this is linked to a remote event that is fired when player clicks. But in the ouput it constanctly says
17:12:40.186 - httpGet http://www.roblox.com/asset/?id=305856992&serverplaceid=245883628 failed. Trying again. Error: HTTP 403 (HTTP/1.1 403 Asset is not trusted for this place). Elapsed time: 0.102008
17:12:40.306 - Content failed for http://www.roblox.com//asset/?id=305856992&serverplaceid=245883628 because HTTP 403 (HTTP/1.1 403 Asset is not trusted for this place)
17:12:40.307 - Content failed because HTTP 403 (HTTP/1.1 403 Asset is not trusted for this place)
17:12:40.308 - Animation failed to load : Workspace.Script.Animation
Is there a flaw in my code. AND WHY DOES ROBLOX SAY I DONT OWN IT, WHEN I MADE IT