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

Any way to make animations work on a group game? (UNANSWERED)

So, me and my friend are working on a game (Team Create) but the animations wont load. I was wondering if that was a ROBLOX error or a scripting error here is an example of the script i made :


Player = script.Parent.Parent
mouse = Player:GetMouse()

running = false

mouse.KeyDown:connect(function(key)
	key = key:lower()
	if key:byte() == 50 and running == false then
		running = true
		Player.Character.Humanoid.WalkSpeed = Player.Character.Humanoid.WalkSpeed +20
		
		local animation = Instance.new("Animation")
		animation.AnimationId = "http://www.roblox.com/Asset?ID=460946682"
		animTrack = Player.Character.Humanoid:LoadAnimation(animation)
			
		animTrack:Play()
		
	end
end)

mouse.KeyUp:connect(function(key)
	key = key:lower()
	if key:byte() == 50 and running == true then
		running = false
		Player.Character.Humanoid.WalkSpeed = Player.Character.Humanoid.WalkSpeed -20
		
		animTrack:Stop()
		
	end
end)

But The Animation i have set wont load and pops with the error "Content failed because HTTP:430(HTTP/1.403 Asset Is not trusted in this place"

So is there any way to fix that? please do tell.

1 answer

✓ Accepted answer

Test this in game trough the website with ur friend and it should work.

Or the one who uploaded the animation only works for him in solo mode, other than that go to online server and see if it works

2 comments

0

Sorry if i seem like a total noob but, what does "Test this in game (The script right?) through the website with your friend and it should work. i kinda got lost there :p

0

Where you published ur place ? Go there and click play from ur profilr

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