|
| 25 Jul 2014 06:58 PM |
player = script.Parent.Parent.Parent.Parent character = player.Character animationId = script.Animation4.Value
script.Parent.MouseButton1Click:connect(function() if character.Humanoid~=nil then if character.Humanoid:findFirstChild("Animation4")==nil and character.Humanoid:findFirstChild("AnimationController")==nil then local animation=Instance.new("Animation") local controller=Instance.new("AnimationController") controller.Parent=character.Humanoid animation.Parent=character.Humanoid animation.AnimationId="http://www.roblox.com/asset?id="..animationId
character.Humanoid:LoadAnimation(animation4):Play() else character.Humanoid:LoadAnimation(character.Humanoid.Animation4):Play() end end end)
I want it to play an animation but when I remove the 4 it only plays one animation and I want different guis with different animations can anyone fix this so it can play a different animation.
Send me trades |
|
|
| Report Abuse |
|
|
| |
|
iiHunterz
|
  |
| Joined: 30 Jun 2014 |
| Total Posts: 3074 |
|
|
| 25 Jul 2014 06:59 PM |
| after play() put a asset id |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2014 07:00 PM |
| hunter I have a value in the script. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 25 Jul 2014 07:05 PM |
http://www.roblox.com/Forum/ShowPost.aspx?PostID=141557681
I help ;3 |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
| 25 Jul 2014 07:11 PM |
Wrong forum
~ Bʟᴜᴇɢᴜʏ195 | ᶘ ᵒᴥᵒᶅ | LMᴀD ~ |
|
|
| Report Abuse |
|
|
Irradiant
|
  |
| Joined: 31 May 2012 |
| Total Posts: 56114 |
|
|
| 25 Jul 2014 07:12 PM |
Change: script.Parent.MouseButton1Click:connect(function()
To: script.Parent.MouseButton1Down:connect(function() |
|
|
| Report Abuse |
|
|
| |
|
Impulsio
|
  |
| Joined: 02 May 2011 |
| Total Posts: 1284 |
|
| |
|
|
| 25 Jul 2014 07:15 PM |
Irr that didn't work.
Also impulse don't tell me to leave on my own thread, you got only 500 posts also and you are telling me to leave. |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2014 07:17 PM |
Posts don't matter, they might be gone soon anyway. Also, GTFO. You're on the wrong forum, that's why you aren't getting a lot of answers.
~ Bʟᴜᴇɢᴜʏ195 | ᶘ ᵒᴥᵒᶅ | LMᴀD ~ |
|
|
| Report Abuse |
|
|
MonteLuis
|
  |
| Joined: 28 Jun 2014 |
| Total Posts: 19 |
|
|
| 25 Jul 2014 07:18 PM |
| this could be considered the right forum |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2014 07:18 PM |
Another one telling me to leave on my own thread. Actually you should get out of my thread. New lmaders :/ |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2014 07:21 PM |
How could this be considered the right forum?
~ Bʟᴜᴇɢᴜʏ195 | ᶘ ᵒᴥᵒᶅ | LMᴀD ~ |
|
|
| Report Abuse |
|
|
MonteLuis
|
  |
| Joined: 28 Jun 2014 |
| Total Posts: 19 |
|
|
| 25 Jul 2014 07:45 PM |
| he's asking for someone to fix his script which is making a deal i suppose |
|
|
| Report Abuse |
|
|
Bellarive
|
  |
| Joined: 03 Aug 2011 |
| Total Posts: 14189 |
|
|
| 25 Jul 2014 07:48 PM |
no one is active in SH rofl.
kl!11!!1 |
|
|
| Report Abuse |
|
|