Комментарии:
its work on r15?
ОтветитьHow do I edit it to make it only have one animation: Equipped, just moving the arms via a ROBLOX animation.
ОтветитьDoesnt work lol
Ответитьi have some troubles
ОтветитьNot working for me
ОтветитьBig ty bro!
ОтветитьThank you very much for the script, but when I tested it on other devices, such a mobile phone, it didn't work.
Ответитьthe idle animation is not looped
Ответитьhow do i fix the bug where if i move straight holding w after like a sec it just changes to my idle animation
ОтветитьEverything works great but i still somehow get a error in the output saying "Idle/Walk:68: attempt to index nil with 'Stop'" if i move in any direction
Ответитьwhy not working
ОтветитьTAHNK YOU SO MUCH
Ответитьbro this music slaps idk why
ОтветитьCan you make a sprint system with animation but when you have a tool equipped it, the tool plays a sprint animation
ОтветитьBRO WHERES THE SCRIPT IT LIED!
ОтветитьIt won't let me put the gun in the hand help me
ОтветитьIt doesnt work
Ответитьthis script can cause anim track limit exceeded
ОтветитьThank you so much. I am thankful so much.
Ответитьwhats the script
ОтветитьHow do u just make the gun attach like that it won’t work for me
ОтветитьI tried this but when I do it with my own model it don’t work
Ответитьit doesnt work get thumbs down
ОтветитьCan you do the same, but for android devices?
ОтветитьI have a bit of a problem. the animation won't loop?
ОтветитьIt doesn't work..
ОтветитьI am having a problem where my idle animation will play but will never stop even when I try to walk.
Can someone help me?
Can you make tutorial for custom walking animations
ОтветитьYour videos are awesome
Ответитьmine doesnt work. i dont know why ;(
ОтветитьHere basically the same script except without the walking animation since those are broken right now.
script:
local humanoid = nil
local char = nil
local player = nil
local rootPart = nil
local mouse = nil
local cam = workspace.CurrentCamera
local uis = game:GetService("UserInputService")
local idleAnim = nil
local equipped = false
local flying = false
script.Parent.Equipped:Connect(function()
humanoid = script.Parent.Parent.Humanoid
player = game.Players:GetPlayerFromCharacter(script.Parent.Parent)
char = script.Parent.Parent
idleAnim = char:WaitForChild("Humanoid"):LoadAnimation(script:WaitForChild("IdleAnim"))
rootPart = script.Parent.Parent.HumanoidRootPart
mouse = player:GetMouse()
equipped = true
idleAnim:Play()
end)
script.Parent.Unequipped:Connect(function()
equipped = false
idleAnim:Stop()
end)
Code:
(If this doesnt work try to fix it yourself)
local humanoid = nil
local char = nil
local player = nil
local rootPart = nil
local mouse = nil
local cam = workspace.CurrentCamera
local uis = game:GetService("UserInputService")
local idleAnim = nil
local forwardAnim = nil
local LeftAnim = nil
local RightAnim = nil
local wPressed = false
local sPressed = false
local aPressed = false
local dPressed = false
local spPressed = false
local equipped = false
local flying = false
script.Parent.Equipped:Connect(()
humanoid = script.Parent.Parent.Humanoid
player = game.Players:GetPlayerFromCharacter(script.Parent.Parent)
char = script.Parent.Parent
idleAnim = char:WaitForChild("Humanoid"):LoadAnimation(script.Parent.)
forwardAnim = char:WaitForChild("Humanoid"):LoadAnimation(script.Parent.ForwardAnim)
RightAnim = char:WaitForChild("Humanoid"):LoadAnimation(script.Parent.ForwardAnim)
LeftAnim = char:WaitForChild("Humanoid"):LoadAnimation(script.Parent.ForwardAnim)
rootPart = script.Parent.Parent.HumanoidRootPart
mouse = player:GetMouse()
equipped = true
idleAnim:Play()
end)
script.Parent.Unequipped:Connect(function()
equipped = false
if idleAnim then
idleAnim:Stop()
end
if forwardAnim then
forwardAnim:Stop()
end
if LeftAnim then
LeftAnim:Stop
end
if RightAim then
RightAnim:Stop()
end
end)
uis.InputBegan:Connect(function(key, chat)
if equipped then
if chat then return end
if key.KeyCode == Enum.KeyCode.W and equipped = true then
wPressed = true
forwardAnim:Play()
elseif key.KeyCode == Enum.KeyCode.S and equipped true then
sPressed = true
forwardAnim:Play()
elseif key.KeyCode == Enum.KeyCode.A and equipped true then
aPressed = true
LeftAnim:Play()
elseif key.KeyCode == Enum.KeyCode.D and equipped true then
dPressed = true
RightAnim:Play()
end
end
end)
uis.InputEnded:Connect(function(key, chat)
if chat then return end
if key.KeyCode == Enum.KeyCode.W then
wPressed = false
if forwardAnim then
forwardAnim:Stop()
end
elseif key.KeyCode == Enum.KeyCode.S then
sPressed = false
if forwardAnim then
forwardAnim:Stop()
end
elseif key.KeyCode == Enum.KeyCode.A then
aPressed = false
if LeftAnim then
LeftAnim:Stop()
end
elseif key.KeyCode Enum.KeyCode.D then
dPressed = false
if RightAnim ten
RightAnim:Stop(
end
end
end)
It wont work I even added the script thing
ОтветитьIdle anim work but the walking isn't doing anything
Ответитьdoesnt work
Ответитьfor me it doesnt work
Ответитьyou are simply the best
Ответитьdont work
Ответитьyo bro do you know why this works in studio, but when you join the actual game it doesn't work?
Ответитьthanks
ОтветитьMake a run animation tool
ОтветитьThe animation was glitching, it did not help.
Ответитьhow do to make it working on mobile device??
Ответитьit breaks my game
ОтветитьWhat about a custom tool run anim
ОтветитьHey! Is there any way to add other buttons?
ОтветитьBut.. since the script is a local script, doesn't that mean no one else sees the animation ?
Ответитьwhere is the script
ОтветитьI fucking love ya, keep the good work
Ответитьwheres pinned bro
Ответить