Advertisement
HCTGT_scripta

Placement System (Floor Handler)

Jan 14th, 2021
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. local ta, tb
  2.  
  3. local function DrawTriangle(A, B, C, FN, Parent)
  4.     ta, tb = require(game.ReplicatedStorage.Modules.Triangle)(A, B, C, Parent, ta, tb, FN)
  5.    
  6.     ta:Clone().Parent = ta.Parent
  7.     tb:Clone().Parent = tb.Parent
  8. end
  9.  
  10. game.ReplicatedStorage.Events.PlaceFloor.OnServerEvent:Connect(function(Plr, PointA, PointB, PointC, FN, Plot)
  11.     DrawTriangle(PointA, PointB, PointC, FN, Plot)
  12. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement