Hello,bloxy dev
I am making an fps game.But,when I try to test it,my fps arm is shaking.
Like this:
robloxapp-20210506-1021458.wmv (1.0 MB)
Can someone help me to fix this?
I’m sorry if my english is bad
Hello,bloxy dev
I am making an fps game.But,when I try to test it,my fps arm is shaking.
Like this:
robloxapp-20210506-1021458.wmv (1.0 MB)
Can someone help me to fix this?
I’m sorry if my english is bad
The Script:
local camera = workspace.Camera
local character = script.Parent
local player = game.Players.LocalPlayer
local run = game:GetService("RunService")
local uis = game:GetService("UserInputService")
local fist = game.ReplicatedStorage.melees.Fist:Clone()
local p01 = game.ReplicatedStorage.pistols["P-01"]:Clone()
local ingun = false
local inmelee = false
local p01human = p01.Humanoid
run.RenderStepped:Connect(function()
p01:SetPrimaryPartCFrame(camera.CFrame * CFrame.new(0,-0.40,-1))
local p01intro = p01human:LoadAnimation(p01.animations.intro)
local p01idle = p01human:LoadAnimation(p01.animations.idle)
p01intro.Looped = false
p01intro:Play()
wait(1)
p01intro:Stop()
p01idle:Play()
end)
p01.Parent = camera
your playing these two animations in one render stepped, its because the animations keep getting played over and over
but I already try to stop the animation
so maybe when you equip the gun or when the fps arms get created do the animations outside the render stepped