![]() ![]() Setting this to a very high value like 20000 simulates raycasting weapons like laser guns. Speed that bullets/projectiles travel when shot. Anything hit beyond this distance will receive less and less damage as the distance nears ZeroDamageDistance.Īnything hit at or beyond this distance will receive no damage. Maximum distance that shots will do full damage. ![]() Number of shots per click/burst only matters if you set FireMode to Burst. Time between each shot in a burst only matters if you set FireMode to Burst. For weapons with FireMode of Automatic, this is also the time between shots while pressing the fire button or holding click. Note that ammo is unlimited and this does not specify how much ammo a player is carrying.Ĭhoose from either Semiautomatic (one shot per click/tap), Automatic (continuous fire), or Burst (burst of shots equal to NumBurstShots on each click/tap). The first problem is that it for some reason only rotates the tool and the other one is that I already have another script that uses the shoulder his C0 so the tool follows the mouse.Number of shots in each "ammo clip" before player must reload. Local Shoulder = Arm:WaitForChild(“RightShoulder”)Ĭonnection = RunService.RenderStepped:Connect(function()Ĭhar:WaitForChild(“RightUpperArm”).RightShoulder.C0 = ShoulderOriginC0 * CFrame.Angles(0,0,1)Ĭhar:WaitForChild(“RightUpperArm”).RightShoulder.C0 = ShoulderOriginC0 Local Arm = char:WaitForChild(“RightUpperArm”) This really helped out a lot already but there is something wrong I think. ![]() RunService.RenderStepped:Connect(function()Ĭamera.CameraType = ĭoes anyone know how to solve it and how I can get it the camera then moving again? also does anyone know how to get back to your normal camera position so ur not aiming anymore? Tool.Equipped:Connect(function() mouse.Button2Down:Connect(function() ![]() Local RunService = game:GetService(“RunService”) Local player = game:GetService(“Players”).LocalPlayer I’m currently working on an aiming script for my FPS gun that im making, Right now I Already have a script that makes the camera move to the impart but the problem is that I can’t move my camera up or down, left ,right. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |