Every time I shoot my fireball it vibrates how could I fix this?
Video
https://gyazo.com/6a33e888d26571bf1be19b5259f399c9
Script
local tweenservice = game:GetService("TweenService")
script.Parent.OnServerEvent:Connect(function(plr)
local Ofireball = game.ReplicatedStorage.OrangeFireball:Clone()
Ofireball.Parent = workspace
game.Debris:AddItem(Ofireball,3)
Ofireball.CFrame = plr.Character.HumanoidRootPart.CFrame + plr.Character.HumanoidRootPart.CFrame.lookVector * 2
tweenservice:Create(Ofireball,TweenInfo.new(1.3,0,0),{CFrame = plr.Character.HumanoidRootPart.CFrame +
plr.Character.HumanoidRootPart.CFrame.lookVector * 50,Transparency = 1}, Enum.EasingStyle.Quint,Enum.EasingDirection.Out):Play()
local alreadytouched = false
Ofireball.Touched:Connect(function(hit)
if alreadytouched == true then return end
if hit.Parent.Name == plr.Name then return end
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - .6
for i = 1,#hit.Parent:GetChildren() do
if hit.Parent:GetChildren()[i]:IsA("Part") or hit.Parent:GetChildren()[i]:IsA("MeshPart") then
end
end
for i = 1,3 do
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - .5
wait(1)
end
end
end)
wait(2.3)
alreadytouched = true
end)