Advertisement
Guest User

Untitled

a guest
Mar 28th, 2020
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. for i, v in pairs(game.Players:GetPlayers()) do
  2. if v.Character:FindFirstChild("HumanoidRootPart") then
  3. local where = v.Character.HumanoidRootPart.Position
  4. local bulletinfo = {
  5. ["TYPE"] = "225MM",
  6. ["HOW"] = "RIFLE",
  7. ["LETHAL"] = true,
  8. ["FPS"] = 30000,
  9. ["EXPIRETIME"] = 200000,
  10. ["COLOR"] = Color3.fromRGB(0.768628, 0.156863, 0.109804),
  11. ["STARTTIME"] = tick(),
  12. ["ORG"] = where,
  13. ["INITPOS"] = where,
  14. ["TIME"] = 0,
  15. ["INITVEL"] = where,
  16. ["START"] = where,
  17. ["TRACER"] = Game.ReplicatedStorage.ServerStats.Scripts.TracerModule["225MM"],
  18. ["AIM"] = where
  19. }
  20. game.ReplicatedStorage.Remotes.FireGunIn:FireServer(bulletinfo)
  21. require(game.ReplicatedStorage.ServerStats.Scripts.TracerModule):AddBullet(bulletinfo)
  22. end
  23. end
  24. for i, v in pairs(workspace.Assets:GetChildren()) do
  25. if game.ReplicatedStorage.ServerStats.AirVehicles:FindFirstChild(v.Name, true) or game.ReplicatedStorage.ServerStats.LandVehicles:FindFirstChild(v.Name, true) then
  26. if v:FindFirstChild("Model") and v.Model:FindFirstChild("Main") then
  27. local where = v.Model.Main.Position
  28. local bulletinfo = {
  29. ["TYPE"] = "225MM",
  30. ["HOW"] = "RIFLE",
  31. ["LETHAL"] = true,
  32. ["FPS"] = 30000,
  33. ["EXPIRETIME"] = 200000,
  34. ["COLOR"] = Color3.fromRGB(0.768628, 0.156863, 0.109804),
  35. ["STARTTIME"] = tick(),
  36. ["ORG"] = where,
  37. ["INITPOS"] = where,
  38. ["TIME"] = 0,
  39. ["INITVEL"] = where,
  40. ["START"] = where,
  41. ["TRACER"] = Game.ReplicatedStorage.ServerStats.Scripts.TracerModule["225MM"],
  42. ["AIM"] = where
  43. }
  44. game.ReplicatedStorage.Remotes.FireGunIn:FireServer(bulletinfo)
  45. require(game.ReplicatedStorage.ServerStats.Scripts.TracerModule):AddBullet(bulletinfo)
  46. end
  47. end
  48. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement