Advertisement
Prokri43

Create mesh cornerwedge

Jul 26th, 2024 (edited)
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. local args = {
  2. [1] = "CreatePart",
  3. [2] = "Corner",
  4. [3] = CFrame.new(-93, 9653, 77304) * CFrame.Angles(-0, 0, -0),
  5. [4] = workspace
  6. }
  7.  
  8. game:GetService("Players").LocalPlayer.Backpack.Folder.SyncAPI.ServerEndpoint:InvokeServer(unpack(args))
  9.  
  10. wait(0.3)
  11.  
  12. local args = {
  13. [1] = "CreateMeshes",
  14. [2] = {
  15. [1] = {
  16. ["Part"] = workspace.CornerWedge
  17. }
  18. }
  19. }
  20.  
  21. game:GetService("Players").LocalPlayer.Backpack.Folder.SyncAPI.ServerEndpoint:InvokeServer(unpack(args))
  22.  
  23. wait(0.3)
  24.  
  25. local args = {
  26. [1] = "SyncMesh",
  27. [2] = {
  28. [1] = {
  29. ["MeshType"] = Enum.MeshType.FileMesh,
  30. ["Part"] = workspace.CornerWedge
  31. }
  32. }
  33. }
  34.  
  35. game:GetService("Players").LocalPlayer.Backpack.Folder.SyncAPI.ServerEndpoint:InvokeServer(unpack(args))
  36.  
  37. wait(0.4)
  38.  
  39. local args = {
  40. [1] = "SyncMesh",
  41. [2] = {
  42. [1] = {
  43. ["Part"] = workspace.CornerWedge,
  44. ["MeshId"] = "rbxassetid://18612829212"
  45. }
  46. }
  47. }
  48.  
  49. game:GetService("Players").LocalPlayer.Backpack.Folder.SyncAPI.ServerEndpoint:InvokeServer(unpack(args))
  50.  
  51. wait(0.2)
  52.  
  53. local args = {
  54. [1] = "SyncMesh",
  55. [2] = {
  56. [1] = {
  57. ["Scale"] = Vector3.new(0.19999999776482582, 0.19999999776482582, 0.1999999776482582),
  58. ["Part"] = workspace.CornerWedge
  59. }
  60. }
  61. }
  62.  
  63. game:GetService("Players").LocalPlayer.Backpack.Folder.SyncAPI.ServerEndpoint:InvokeServer(unpack(args))
  64.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement