Advertisement
kleberFBI

Untitled

Apr 14th, 2020
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.85 KB | None | 0 0
  1. local PlayerName = "kleberFBI"
  2.  
  3. local ItsCFrame
  4. local Remote = game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure
  5. local Action = game.Players:GetPlayers()
  6. local Load = game.ReplicatedStorage.LoadSaveRequests.RequestLoad
  7. local Save = game.ReplicatedStorage.LoadSaveRequests.RequestSave
  8. local Players = game:GetService("Players")
  9. Players.PlayerAdded:Connect(function(player)
  10. Action = game.Players:GetPlayers()
  11. end)
  12.  
  13. function Chat(Msm)
  14. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Msm,"All")
  15. end
  16. local Check = false
  17.  
  18. function FillBp(PlayerName, WoodName)
  19. local ItsCFrame
  20. local Remote = game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure
  21. for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
  22. if v:FindFirstChild("Owner") and v.Owner.Value == PlayerName then
  23. if v:FindFirstChild("Type") and v.Type.Value == "Blueprint" then
  24. if v:FindFirstChild("MainCFrame") then
  25. ItsCFrame = v.MainCFrame.Value
  26. else
  27. ItsCFrame = v.PrimaryPart.CFrame
  28. end
  29. if v ~= nil then
  30. Remote:FireServer(v.Name, ItsCFrame, game.Players.LocalPlayer, WoodName, v, false)
  31. end
  32. end
  33. end
  34. end
  35. end
  36.  
  37.  
  38. for i = 1,#Action do
  39. Action[i].Chatted:connect(function(Message)
  40. if Action[i].Name == PlayerName then
  41. if Message == "CurrentSlot?" then
  42. if game.Players.LocalPlayer.CurrentSaveSlot.Value == -1 then
  43. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("There's No Slot Loaded Or", "All")
  44. else
  45. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("My Current Slot Is "..game.Players.LocalPlayer.CurrentSaveSlot.Value, "All")
  46. end
  47. end
  48.  
  49. if Message == "WLME" then
  50. for i, v in pairs(game.Players:GetPlayers()) do
  51. if v.Name == PlayerName then
  52. game.ReplicatedStorage.Interaction.ClientSetListPlayer:InvokeServer(game.Players.LocalPlayer.WhitelistFolder, v, true)
  53. end
  54. end
  55. end
  56.  
  57. if Message == "LS I" then
  58. Load:InvokeServer(1)
  59. elseif Message == "LS II" then
  60. Load:InvokeServer(2)
  61. elseif Message == "LS III" then
  62. Load:InvokeServer(3)
  63. elseif Message == "LS IV" then
  64. Load:InvokeServer(4)
  65. elseif Message == "LS V" then
  66. Load:InvokeServer(5)
  67. elseif Message == "LS VI" then
  68. Load:InvokeServer(6)
  69. elseif Message == "Save" then
  70. if game.Players.LocalPlayer.CurrentSaveSlot.Value == -1 then
  71. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("No Slot Load To Save", "All")
  72. else
  73. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Slot "..game.Players.LocalPlayer.CurrentSaveSlot.Value.." Saved!", "All")
  74. Save:InvokeServer(game.Players.LocalPlayer.CurrentSaveSlot.Value)
  75. end
  76. elseif Message == "Save I" then
  77. Save:InvokeServer(1)
  78.  
  79. elseif Message == "Save II" then
  80. Save:InvokeServer(2)
  81.  
  82. elseif Message == "Save III" then
  83. Save:InvokeServer(3)
  84.  
  85. elseif Message == "Save IV" then
  86. Save:InvokeServer(4)
  87.  
  88. elseif Message == "Save V" then
  89. Save:InvokeServer(5)
  90.  
  91. elseif Message == "Save VI" then
  92. Save:InvokeServer(6)
  93. elseif Message == "DupeM" then
  94. game.ReplicatedStorage.Transactions.ClientToServer.Donate:InvokeServer(game.Players.LocalPlayer, game.Players.LocalPlayer.leaderstats.Money.Value, 1)
  95. elseif Message == "MLand" then
  96.  
  97. for i, v in pairs(game:GetService("Workspace").Properties:GetChildren()) do
  98. if v:FindFirstChild("Owner") and v.Owner.Value == game.Players.LocalPlayer then
  99. base = v
  100. square = v.OriginSquare
  101. end
  102. end
  103. function makebase(pos)
  104. local Event = game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty
  105. Event:FireServer(base, pos)
  106. end
  107. spos = square.Position
  108. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z))
  109. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z))
  110. makebase(CFrame.new(spos.X, spos.Y, spos.Z + 40))
  111. makebase(CFrame.new(spos.X, spos.Y, spos.Z - 40))
  112. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z + 40))
  113. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z - 40))
  114. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z + 40))
  115. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z - 40))
  116. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z))
  117. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z))
  118. makebase(CFrame.new(spos.X, spos.Y, spos.Z + 80))
  119. makebase(CFrame.new(spos.X, spos.Y, spos.Z - 80))
  120. --Corners--
  121. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z + 80))
  122. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z - 80))
  123. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z + 80))
  124. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z - 80))
  125. --Corners--
  126. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z + 80))
  127. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z + 80))
  128. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z + 40))
  129. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z - 40))
  130. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z + 40))
  131. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z - 40))
  132. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z - 80))
  133. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z - 80))
  134. elseif Message == "RS" then
  135. Load:InvokeServer(game.Players.LocalPlayer.CurrentSaveSlot.Value)
  136. elseif Message == "Menu" then
  137. for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.MenuGUI:GetDescendants()) do
  138. if v.ClassName == "TextButton" and v.Name ~= "Open" then
  139. if v.Visible == false then
  140. v.Visible = true
  141. Chat("Menu Is Unlocked")
  142. Check = false
  143. else
  144. v.Visible = false
  145. Chat("Menu Is locked")
  146. Check = true
  147. end
  148. end
  149. end
  150. if Check == true then
  151. Chat("Menu Is locked")
  152. else
  153. Chat("Menu Is Unlocked")
  154. end
  155. elseif Message == "GoToJailbreak" then
  156. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Bye, Im Going to Play Jailbreak!", "All")
  157. wait(5)
  158. local GameID = 606849621
  159. game:GetService("TeleportService"):Teleport(GameID, LocalPlayer)
  160. elseif Message == "Who Are You" then
  161. Chat("I Am Gayyyyy")
  162. end
  163. end
  164. end)
  165. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement