DanPai
|
  |
| Joined: 03 Jun 2016 |
| Total Posts: 355 |
|
|
| 24 Aug 2017 06:51 AM |
Now that I have your attention, can you possibly answer my question?
I have this in a localscript inside of a tool, but it only works in studio. Also, I have FE on.
Tool = script.Parent local player = game.Players.LocalPlayer local char = player.Character or player.CharactedAdded:wait() local hum = char:WaitForChild("Humanoid") local Mouse = player:GetMouse() local animation = Tool:WaitForChild('Animation') local AnimTrack = hum:LoadAnimation(animation)
debounce = false
Tool.Equipped:connect(function() Mouse.Button1Down:connect(function() if debounce == false then debounce = true AnimTrack:Play() wait(2) debounce = false end end) end)
Why doesn't this work? |
|
|
| Report Abuse |
|
|
|
| 24 Aug 2017 08:01 AM |
If you want to load a animation on the server, load it under the humanoid. If you want to load a animation on the client, load it under the animator. (under humanoid)
╴ “I seem to get mentioned alot in videogames.. i wonder why..” |
|
|
| Report Abuse |
|
|
|
| 24 Aug 2017 08:19 AM |
| Just make a startcharacter and change the anaimatoosn from tetr. |
|
|
| Report Abuse |
|
|
DanPai
|
  |
| Joined: 03 Jun 2016 |
| Total Posts: 355 |
|
|
| 24 Aug 2017 08:30 AM |
| never mind, I figured it out. I published the animation under my account when it should've been under the group. rip me |
|
|
| Report Abuse |
|
|