Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Gun Shell Ejecting Game Issue?

Asked by 5 years ago

I'm working on a gun script currently and I have my gun fire a remote event that makes the bullet shell clone it's self and it works in developer test but not in the actual game. I find this really odd and I wonder if its something with the remote event or the roblox servers anyone else have this issue? local Shell = game.ReplicatedStorage.BulletShell:Clone()

Shell.Parent = game.Workspace

Shell.Position = ShellPos.SH.Position + Vector3.new(0, 0.5, 0)

Shell.Velocity = Shell.CFrame.lookVector * -15 + Vector3.new(math.random(0,0),0,math.random(-15,-5))

Shell.CanCollide = true

Shell.Elasticity = 0

wait(5)

Shell.Anchored = true

Answer this question