Advertisement
SxScripting

God Speed Local Script

Aug 29th, 2022
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. local RS = game:GetService("ReplicatedStorage")
  2. local TweenService = game:GetService("TweenService")
  3.  
  4. local CraterM = require(RS.Modules.CraterModule)
  5. local CraterHandler = CraterM.new()
  6.  
  7. CraterHandler.Settings.Crater.AccurateRepresentation = true
  8. CraterHandler.Settings.FlyingDebris.AccurateRepresentation = true
  9.  
  10. RS.Events.RemoteFunction.OnClientInvoke = function()
  11. local Player = game.Players.LocalPlayer
  12. local Mouse = Player:GetMouse()
  13.  
  14. return Mouse.Hit.Position
  15. end
  16.  
  17. RS.Events.Crater.OnClientEvent:Connect(function(Radius, Position, Size)
  18. CraterHandler:create(Position, Radius, Size, true)
  19. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement