Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local RS = game:GetService("ReplicatedStorage")
- local TweenService = game:GetService("TweenService")
- local CraterM = require(RS.Modules.CraterModule)
- local CraterHandler = CraterM.new()
- CraterHandler.Settings.Crater.AccurateRepresentation = true
- CraterHandler.Settings.FlyingDebris.AccurateRepresentation = true
- RS.Events.RemoteFunction.OnClientInvoke = function()
- local Player = game.Players.LocalPlayer
- local Mouse = Player:GetMouse()
- return Mouse.Hit.Position
- end
- RS.Events.Crater.OnClientEvent:Connect(function(Radius, Position, Size)
- CraterHandler:create(Position, Radius, Size, true)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement