generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Play animation failure

Previous Thread :: Next Thread 
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
20 Apr 2015 05:03 PM
Here's the snippet.

local animation = Instance.new("Animation")
animation.AnimationId = "http://www.roblox.com/Asset?ID=240396451"
local player = script.Parent.Parent.Parent
function onActivated()
local slashplay = player.Character.Humanoid:LoadAnimation(animation)
slashplay:Play()
wait (1.5)
end
end
script.Parent.Activated:connect(onActivated)

The animation won't run but after plugging in this ID into animation editor, it would successfully run.

Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
20 Apr 2015 05:15 PM
qq
Report Abuse
xman262 is not online. xman262
Joined: 24 Aug 2010
Total Posts: 19094
20 Apr 2015 05:16 PM
Can you help me with just printing hello world?
It says there is an error on the 2nd part
local Message = Instance.new("Message")

Message.text = "Hello World"

Message.Parent = game.Workspace

wait(5)

Message:remove ()

what is it?


Lord Of The Epic Face R$466/R$10,000
Report Abuse
xman262 is not online. xman262
Joined: 24 Aug 2010
Total Posts: 19094
20 Apr 2015 05:16 PM
QQ I can't even do the easiest script :(


Lord Of The Epic Face R$466/R$10,000
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
20 Apr 2015 05:20 PM
.Text = "Hello World"
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
20 Apr 2015 05:35 PM
so much help
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
20 Apr 2015 05:50 PM
dem milkshakes
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
20 Apr 2015 06:25 PM
Y u no help meh
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
21 Apr 2015 03:00 PM
Bump
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
21 Apr 2015 03:16 PM
.
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
21 Apr 2015 03:59 PM
no comments.
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
21 Apr 2015 04:11 PM
@xman

local Message = Instance.new("Message",game.Workspace)
Message.Text = "Hello World"
wait(5)
Message:Destroy()
Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
21 Apr 2015 04:15 PM
..^ e.e
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
21 Apr 2015 04:27 PM
Thanks, that totally answered my question.
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
22 Apr 2015 03:02 PM
Another bump.
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
22 Apr 2015 03:18 PM
If you don't know what the problem is, or want to say I'm stupid because that is right or something. Feel free to say so.
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
22 Apr 2015 03:30 PM
...
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
22 Apr 2015 07:23 PM
yoshi
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
23 Apr 2015 02:38 PM
another day has passed w/o help
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
23 Apr 2015 04:16 PM
I start

C4
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
23 Apr 2015 05:00 PM
is it just me, or did you not parent the animation instance?
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
23 Apr 2015 07:16 PM
I didn't but I don't think it would effect it. But thanks for actually replying though!
Report Abuse
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
23 Apr 2015 07:23 PM
I dont know how to use animations, yet, sorry.
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
24 Apr 2015 03:38 PM
Okay, don't sweat it.
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
24 Apr 2015 04:27 PM
This should be working fine. I'd play the animation in studio mode for the player itself via command bar and the animation id is good. I'd also throw in testing to make sure it activates when I want to such as print '1'. And it does show those. I'd print who the player was and it was correct. Idk what the problem is though.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image