eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
|
| 26 Jul 2016 07:56 AM |
I've had to make like 3 threads because the other reached page 3, and I don't think everyone would read all the replies of the 3 pages so why not start off clean.
Well, this is the oldest thread which explains everything I tried and the suggestions from you guys as well. I've tried everything and still not working.
Here's the old thread: https://forum.roblox.com/Forum/ShowPost.aspx?PostID=194441996
He's some thing from the old thread you might like to know:
-ModelLink: https://www.roblox.com/AnimationHelp-item?id=464295398 -AnimationUpdateLink: http://devforum.roblox.com/t/animation-updates/26323 >Works in Solo >Works in ServerTab for TestServer >Doesn't work in ClientTab for TestServer >Doesn't work in game >Prints Ingame but doesn't show animation -No I don't have both a AnimationController and Humanoid. I tried both ways seperately.
|
|
|
| Report Abuse |
|
|
Real_Edgy
|
  |
| Joined: 23 Oct 2013 |
| Total Posts: 1212 |
|
|
| 26 Jul 2016 08:00 AM |
| have you tried using a remoteevent to get the client to trigger the animation on its own side |
|
|
| Report Abuse |
|
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
|
| 26 Jul 2016 08:17 AM |
I thought you had to animate NPC on the server?
When I tried using a LocalScript, it wouldn't even work in studio. This one atleast works in studio, just not clienttab for testserver and ingame.
|
|
|
| Report Abuse |
|
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
| |
|
Rick_EU
|
  |
| Joined: 05 Mar 2013 |
| Total Posts: 5093 |
|
| |
|
ghost4766
|
  |
| Joined: 27 Nov 2013 |
| Total Posts: 27 |
|
|
| 26 Jul 2016 10:19 AM |
I can animate for you, I am really good and I even help you to run a animation when you press a keyDown.
IF you help with this... local character = Player.Character local torso = character.Torso Torso.CFrame = CFrame.new(Torso.Position + Torso.CFrame.lookVector * 15) I am trying to make my player dash 15 studs to where my mouse is directed and it should be activated when I pressed the Left Shift button. This is what I know it should almost look: Hope you consider to help me! /MarcusKnows/Animator and Builder /Alt ghost4766
|
|
|
| Report Abuse |
|
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
| |
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
| |
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
| |
|
|
| 26 Jul 2016 01:54 PM |
| I dont like you. Your a meany. You are so bad at scripting and building and phantom forces and I am so much better than you. I bet you cant even do what I am doing right now. Ya thata right you cant even type becase your so bad at scripting so ha get rekt little noob come at me bro give me your best shot |
|
|
| Report Abuse |
|
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
| |
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
| |
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
| |
|
|
| 26 Jul 2016 06:22 PM |
Dude I can animate NPCs that are rigged robot characters. If you can't animate an NPC then here are a couple of things that may be wrong:
1.) The animation you want does not belong to you or your group 2.) You call the :Play() or :Stop() functions more than once (repeatedly) 3.) The code is incorrect (uses LocalScript only functions/variables)
|
|
|
| Report Abuse |
|
|
|
| 26 Jul 2016 06:23 PM |
i assume u followed this right?
http://wiki.roblox.com/index.php?title=Animations#Playing_Animation_in_Non-Player_Character |
|
|
| Report Abuse |
|
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
|
| 26 Jul 2016 06:27 PM |
@aggres nope
@thedaily I know I actually animated a custom Mob with Motors using Character Rig Plugin and Animation Editor. But then I got this problem.
So I tried using a simple model, and it still didn't work! Can you take this and see what's wrong? https://www.roblox.com/AnimationHelp-item?id=464295398
|
|
|
| Report Abuse |
|
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
|
| 26 Jul 2016 06:29 PM |
for the model link, i changed it to 'ROBLOXs' animation just so you can test it for yourself. Because you can't see my animation in your place. I tried mine already.
You should be able to see the animation because it's roblox.
|
|
|
| Report Abuse |
|
|
|
| 26 Jul 2016 06:34 PM |
I scripted my own character rigger and character ragdoll rigger.
My rigs always work and I can run exported roblox animations on them with :Play() and :Stop() just fine.
I don't know what your code is so I can't know what to fix and I don't know how your character is rigged or how you exported the animation either. Just saying, I dont have enough information to tell you what you did wrong, all I know is that something you did is.
For example, if you go to one of my AI testing places you will see a robot butler I created and it has perfectly fine working animations. |
|
|
| Report Abuse |
|
|
|
| 26 Jul 2016 06:35 PM |
| This place of mine also has working animations (tail, arms, head; legs are cframe) https://www.roblox.com/games/450094947/Hangout-Dinosaur-Simulator-Waste-Of-RAM |
|
|
| Report Abuse |
|
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
|
| 26 Jul 2016 06:43 PM |
Ok I'll show you code and model.
--Humanoid
>Model >Script >Humanoid >Head >Mesh >Face >HumanoidRootPart >Root Joint >Left Arm >Left Leg >Right Arm >Right Leg >Torso >Left Hip >Left Shoulder >Neck >Right Hip >Right Shoulder
Code:
local Humanoid = script.Parent:WaitForChild("Humanoid") local Animation = Instance.new("Animation",script.Parent) Animation.AnimationId = 'http://www.roblox.com/asset/?id=180426354' local AnimPlay = Humanoid:LoadAnimation(Animation)
AnimPlay:Play() print('Animation Played')
--AnimationController
>Model >Script >Head >Mesh >Face >HumanoidRootPart >Root Joint >Left Arm >Left Leg >Right Arm >Right Leg >Torso >Left Hip >Left Shoulder >Neck >Right Hip >Right Shoulder
Code:
local Controller = Instance.new("AnimationController",script.Parent) local Animator = Instance.new("Animator",Controller) local Animation = Instance.new("Animation",script.Parent) Animation.AnimationId = 'http://www.roblox.com/asset/?id=180426354' local AnimPlay = Controller:LoadAnimation(Animation)
AnimPlay:Play() print('Animation Played')
|
|
|
| Report Abuse |
|
|
|
| 26 Jul 2016 06:46 PM |
This should work
local humanoid = script.Parent:WaitForChild("Humanoid") local anim = Instance.new("Animation") anim.AnimationId = "http://www.roblox.com/asset/?id=180426354"
local Idle = nil
while not idle do Idle = humanoid:LoadAnimation(anim) wait() end
wait()
Idle:Play() |
|
|
| Report Abuse |
|
|
| |
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
| |
|
|
| 26 Jul 2016 07:02 PM |
local humanoid = script.Parent:WaitForChild("Humanoid") local anim = Instance.new("Animation") anim.AnimationId = "http://www.roblox.com/asset/?id=180426354"
local Idle = nil
while not Idle do Idle = humanoid:LoadAnimation(anim) wait() end
wait()
Idle:Play()
Publish the new save:
https://i.gyazo.com/12e1c3051387c6471f6a872c088bef49.gif
|
|
|
| Report Abuse |
|
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
|
| 26 Jul 2016 07:04 PM |
| I already knew about the lowercase |
|
|
| Report Abuse |
|
|