Hello, I’m making a simulator and want to increase the speed.
Local Script:
local Player = game:GetService('Players').LocalPlayer
local UIS = game:GetService('UserInputService')
local Character = script.Parent
local Humanoid = Character:WaitForChild('Humanoid')
local Animation = Humanoid:LoadAnimation(script:WaitForChild('Animation'))
Animation:AdjustSpeed(0)
UIS.InputBegan:Connect(function(Input,EngineProcessed)
if EngineProcessed then
return
end
if Input.UserInputType == Enum.UserInputType.MouseButton1 then
Animation:Play()
end
end)
The problem is that, when the speed is 0, the animation shouldn’t play at all! My animation priority is action, but the speed is the same without it! I get no errors.