GreedTaka
|
  |
| Joined: 12 Dec 2014 |
| Total Posts: 1503 |
|
|
| 21 Dec 2016 05:41 PM |
| when my players walk to the monster and attack.. walkspeed is set to zero but the characters arms and legs go out after each animation like walking |
|
|
| Report Abuse |
|
|
GreedTaka
|
  |
| Joined: 12 Dec 2014 |
| Total Posts: 1503 |
|
| |
|
GreedTaka
|
  |
| Joined: 12 Dec 2014 |
| Total Posts: 1503 |
|
| |
|
|
| 21 Dec 2016 06:47 PM |
| Even though their walkspeed is 0 the walking animation hasn't been disabled, you need to disable it. |
|
|
| Report Abuse |
|
|
GreedTaka
|
  |
| Joined: 12 Dec 2014 |
| Total Posts: 1503 |
|
| |
|
GreedTaka
|
  |
| Joined: 12 Dec 2014 |
| Total Posts: 1503 |
|
| |
|
|
| 21 Dec 2016 07:17 PM |
try anchoring people instead of setting their walkspeed to 0
|
|
|
| Report Abuse |
|
|
GreedTaka
|
  |
| Joined: 12 Dec 2014 |
| Total Posts: 1503 |
|
|
| 21 Dec 2016 07:40 PM |
| but i gotta play an animation? |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2016 07:42 PM |
okay, rephrase your post.
what's happening? what's WRONG with what's happening? what do you WANT to happen? |
|
|
| Report Abuse |
|
|
GreedTaka
|
  |
| Joined: 12 Dec 2014 |
| Total Posts: 1503 |
|
|
| 21 Dec 2016 07:44 PM |
i click the monster it walks to it auto.. lerps so were facing, stops the walking animation and then the rest of the functions
but it glitches sometimes |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2016 07:46 PM |
"lerps so were facing"
Okay, please use english, and correct punctuation. You're being quite incoherent. |
|
|
| Report Abuse |
|
|
GreedTaka
|
  |
| Joined: 12 Dec 2014 |
| Total Posts: 1503 |
|
|
| 21 Dec 2016 07:46 PM |
| idk how to stop walking tho.. the problem is i cant anchor cause i have to run other animations i made while fighting |
|
|
| Report Abuse |
|
|
GreedTaka
|
  |
| Joined: 12 Dec 2014 |
| Total Posts: 1503 |
|
|
| 21 Dec 2016 07:48 PM |
for _,v in pairs(attackNames) do if creature.Name == v then if creature:FindFirstChild'IsFighting'.Value == true then return end print(creature.Name) local distance = (player.Character.Torso.Position-creature.Torso.Position).magnitude
if distance >= 5 then player.Character.Humanoid:MoveTo(creature.Torso.Position) player.PlayerScripts:WaitForChild'ControlScript'.Disabled = true repeat wait() until (player.Character.Torso.Position-creature.Torso.Position).magnitude <= 4 for _, track in ipairs(player.Character.Humanoid:GetPlayingAnimationTracks()) do track:Stop() break end end
player.Character.Humanoid.WalkSpeed = 0 tweenCFrame(player.Character.Torso, CFrame.new(player.Character.Torso.Position, creature.Torso.Position)) tweenCFrame(creature.Torso, CFrame.new(creature.Torso.Position, player.Character.Torso.Position)) player.Character.Humanoid.JumpPower = 0 |
|
|
| Report Abuse |
|
|
GreedTaka
|
  |
| Joined: 12 Dec 2014 |
| Total Posts: 1503 |
|
|
| 21 Dec 2016 10:11 PM |
| how do i stop default roblox walk animation? |
|
|
| Report Abuse |
|
|