Advertisement
Th3realdylan

Copy Menu

Apr 24th, 2019
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.24 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local CopyMenu = Instance.new("Frame")
  6. local CopyMenuL = Instance.new("TextLabel")
  7. local CopyName = Instance.new("TextBox")
  8. local CopyButton = Instance.new("TextButton")
  9. local FillMenu = Instance.new("Frame")
  10. local FillMenuL = Instance.new("TextLabel")
  11. local PlayerName = Instance.new("TextBox")
  12. local FillButton = Instance.new("TextButton")
  13. local WoodType = Instance.new("TextBox")
  14. local Open = Instance.new("TextButton")
  15. local Close = Instance.new("TextButton")
  16. local Credit = Instance.new("TextLabel")
  17. --Properties:
  18. ScreenGui.Parent = game.CoreGui
  19. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  20.  
  21. CopyMenu.Name = "CopyMenu"
  22. CopyMenu.Parent = ScreenGui
  23. CopyMenu.Active = true
  24. CopyMenu.BackgroundColor3 = Color3.new(0.227451, 1, 0.290196)
  25. CopyMenu.BorderSizePixel = 0
  26. CopyMenu.Position = UDim2.new(0.105560794, 0, 0.288844615, 0)
  27. CopyMenu.Size = UDim2.new(0, 191, 0, 149)
  28. CopyMenu.Visible = false
  29. CopyMenu.Draggable = true
  30.  
  31. CopyMenuL.Name = "CopyMenuL"
  32. CopyMenuL.Parent = CopyMenu
  33. CopyMenuL.Active = true
  34. CopyMenuL.BackgroundColor3 = Color3.new(0, 0, 0)
  35. CopyMenuL.BorderSizePixel = 0
  36. CopyMenuL.Size = UDim2.new(0, 191, 0, 29)
  37. CopyMenuL.Font = Enum.Font.Cartoon
  38. CopyMenuL.Text = "Copy Menu"
  39. CopyMenuL.TextColor3 = Color3.new(1, 1, 1)
  40. CopyMenuL.TextSize = 25
  41.  
  42. CopyName.Name = "CopyName"
  43. CopyName.Parent = CopyMenu
  44. CopyName.BackgroundColor3 = Color3.new(0, 0, 0)
  45. CopyName.BorderSizePixel = 0
  46. CopyName.Position = UDim2.new(0.193717271, 0, 0.234899342, 0)
  47. CopyName.Size = UDim2.new(0, 117, 0, 34)
  48. CopyName.Font = Enum.Font.Cartoon
  49. CopyName.Text = "Player Name"
  50. CopyName.TextColor3 = Color3.new(1, 1, 1)
  51. CopyName.TextScaled = true
  52. CopyName.TextSize = 14
  53. CopyName.TextWrapped = true
  54.  
  55. CopyButton.Name = "CopyButton"
  56. CopyButton.Parent = CopyMenu
  57. CopyButton.BackgroundColor3 = Color3.new(0, 0, 0)
  58. CopyButton.Position = UDim2.new(0.193717271, 0, 0.724832237, 0)
  59. CopyButton.Size = UDim2.new(0, 117, 0, 34)
  60. CopyButton.Font = Enum.Font.Cartoon
  61. CopyButton.Text = "Copy Base"
  62. CopyButton.TextColor3 = Color3.new(1, 1, 1)
  63. CopyButton.TextSize = 26
  64.  
  65. FillMenu.Name = "FillMenu"
  66. FillMenu.Parent = ScreenGui
  67. FillMenu.Active = true
  68. FillMenu.BackgroundColor3 = Color3.new(0.227451, 1, 0.290196)
  69. FillMenu.BorderSizePixel = 0
  70. FillMenu.Position = UDim2.new(0.664467454, 0, 0.276892424, 0)
  71. FillMenu.Size = UDim2.new(0, 191, 0, 160)
  72. FillMenu.Visible = false
  73. FillMenu.Draggable = true
  74.  
  75. FillMenuL.Name = "FillMenuL"
  76. FillMenuL.Parent = FillMenu
  77. FillMenuL.Active = true
  78. FillMenuL.BackgroundColor3 = Color3.new(0, 0, 0)
  79. FillMenuL.BorderSizePixel = 0
  80. FillMenuL.Size = UDim2.new(0, 191, 0, 29)
  81. FillMenuL.Font = Enum.Font.Cartoon
  82. FillMenuL.Text = "Fill Menu"
  83. FillMenuL.TextColor3 = Color3.new(1, 1, 1)
  84. FillMenuL.TextSize = 25
  85.  
  86. PlayerName.Name = "PlayerName"
  87. PlayerName.Parent = FillMenu
  88. PlayerName.BackgroundColor3 = Color3.new(0, 0, 0)
  89. PlayerName.BorderSizePixel = 0
  90. PlayerName.Position = UDim2.new(0.193717271, 0, 0.234899342, 0)
  91. PlayerName.Size = UDim2.new(0, 117, 0, 34)
  92. PlayerName.Font = Enum.Font.Cartoon
  93. PlayerName.Text = "Player Name"
  94. PlayerName.TextColor3 = Color3.new(1, 1, 1)
  95. PlayerName.TextScaled = true
  96. PlayerName.TextSize = 14
  97. PlayerName.TextWrapped = true
  98.  
  99. FillButton.Name = "FillButton"
  100. FillButton.Parent = FillMenu
  101. FillButton.BackgroundColor3 = Color3.new(0, 0, 0)
  102. FillButton.Position = UDim2.new(0.193717271, 0, 0.771812081, 0)
  103. FillButton.Size = UDim2.new(0, 117, 0, 27)
  104. FillButton.Font = Enum.Font.Cartoon
  105. FillButton.Text = "Fill Base"
  106. FillButton.TextColor3 = Color3.new(1, 1, 1)
  107. FillButton.TextSize = 26
  108.  
  109. WoodType.Name = "WoodType"
  110. WoodType.Parent = FillMenu
  111. WoodType.BackgroundColor3 = Color3.new(0, 0, 0)
  112. WoodType.BorderSizePixel = 0
  113. WoodType.Position = UDim2.new(0.193717271, 0, 0.509605765, 0)
  114. WoodType.Size = UDim2.new(0, 117, 0, 32)
  115. WoodType.Font = Enum.Font.Cartoon
  116. WoodType.Text = "Wood Type"
  117. WoodType.TextColor3 = Color3.new(1, 1, 1)
  118. WoodType.TextScaled = true
  119. WoodType.TextSize = 14
  120. WoodType.TextWrapped = true
  121.  
  122. Open.Name = "Open"
  123. Open.Parent = ScreenGui
  124. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  125. Open.BackgroundTransparency = 1
  126. Open.BorderSizePixel = 0
  127. Open.Position = UDim2.new(0.0188501421, 0, 0.852589667, 0)
  128. Open.Size = UDim2.new(0, 200, 0, 50)
  129. Open.Font = Enum.Font.Cartoon
  130. Open.Text = "Open"
  131. Open.TextColor3 = Color3.new(1, 1, 1)
  132. Open.TextSize = 40
  133. Open.TextWrapped = true
  134.  
  135. Close.Name = "Close"
  136. Close.Parent = ScreenGui
  137. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  138. Close.BackgroundTransparency = 1
  139. Close.BorderSizePixel = 0
  140. Close.Position = UDim2.new(0.0188501421, 0, 0.852589667, 0)
  141. Close.Size = UDim2.new(0, 200, 0, 50)
  142. Close.Visible = false
  143. Close.Font = Enum.Font.Cartoon
  144. Close.Text = "Close"
  145. Close.TextColor3 = Color3.new(1, 1, 1)
  146. Close.TextSize = 40
  147. Close.TextWrapped = true
  148.  
  149. Credit.Name = "Credit"
  150. Credit.Parent = ScreenGui
  151. Credit.Active = true
  152. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  153. Credit.BackgroundTransparency = 1
  154. Credit.Position = UDim2.new(0.716446102, 0, 0.900398433, 0)
  155. Credit.Size = UDim2.new(0, 200, 0, 50)
  156. Credit.Font = Enum.Font.Cartoon
  157. Credit.Text = "Credit's: Th3realdylan#1708 For script + GUI"
  158. Credit.TextColor3 = Color3.new(1, 1, 1)
  159. Credit.TextSize = 30
  160. -- Scripts:
  161. function SCRIPT_BNGK89_FAKESCRIPT() -- CopyMenuL.Script
  162. local script = Instance.new('Script')
  163. script.Parent = CopyMenuL
  164. while wait() do
  165. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  166. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  167. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  168. local color = Color3.new(r, g, b)
  169. script.Parent.TextColor3 = color
  170. end
  171.  
  172. end
  173. coroutine.resume(coroutine.create(SCRIPT_BNGK89_FAKESCRIPT))
  174. function SCRIPT_RDLH82_FAKESCRIPT() -- CopyName.Script
  175. local script = Instance.new('Script')
  176. script.Parent = CopyName
  177. while wait() do
  178. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  179. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  180. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  181. local color = Color3.new(r, g, b)
  182. script.Parent.TextColor3 = color
  183. end
  184.  
  185. end
  186. coroutine.resume(coroutine.create(SCRIPT_RDLH82_FAKESCRIPT))
  187. function SCRIPT_CVDX87_FAKESCRIPT() -- CopyButton.Script
  188. local script = Instance.new('Script')
  189. script.Parent = CopyButton
  190. while wait() do
  191. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  192. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  193. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  194. local color = Color3.new(r, g, b)
  195. script.Parent.TextColor3 = color
  196. end
  197.  
  198. end
  199. coroutine.resume(coroutine.create(SCRIPT_CVDX87_FAKESCRIPT))
  200. function SCRIPT_JQMC83_FAKESCRIPT() -- FillMenuL.Script
  201. local script = Instance.new('Script')
  202. script.Parent = FillMenuL
  203. while wait() do
  204. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  205. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  206. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  207. local color = Color3.new(r, g, b)
  208. script.Parent.TextColor3 = color
  209. end
  210.  
  211. end
  212. coroutine.resume(coroutine.create(SCRIPT_JQMC83_FAKESCRIPT))
  213. function SCRIPT_VINE81_FAKESCRIPT() -- PlayerName.Script
  214. local script = Instance.new('Script')
  215. script.Parent = PlayerName
  216. while wait() do
  217. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  218. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  219. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  220. local color = Color3.new(r, g, b)
  221. script.Parent.TextColor3 = color
  222. end
  223.  
  224. end
  225. coroutine.resume(coroutine.create(SCRIPT_VINE81_FAKESCRIPT))
  226. function SCRIPT_FAUH84_FAKESCRIPT() -- FillButton.Script
  227. local script = Instance.new('Script')
  228. script.Parent = FillButton
  229. while wait() do
  230. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  231. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  232. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  233. local color = Color3.new(r, g, b)
  234. script.Parent.TextColor3 = color
  235. end
  236.  
  237. end
  238. coroutine.resume(coroutine.create(SCRIPT_FAUH84_FAKESCRIPT))
  239. function SCRIPT_CESN79_FAKESCRIPT() -- WoodType.Script
  240. local script = Instance.new('Script')
  241. script.Parent = WoodType
  242. while wait() do
  243. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  244. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  245. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  246. local color = Color3.new(r, g, b)
  247. script.Parent.TextColor3 = color
  248. end
  249.  
  250. end
  251. coroutine.resume(coroutine.create(SCRIPT_CESN79_FAKESCRIPT))
  252. function SCRIPT_JMLU90_FAKESCRIPT() -- Open.Script
  253. local script = Instance.new('Script')
  254. script.Parent = Open
  255. while wait() do
  256. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  257. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  258. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  259. local color = Color3.new(r, g, b)
  260. script.Parent.TextColor3 = color
  261. end
  262.  
  263. end
  264. coroutine.resume(coroutine.create(SCRIPT_JMLU90_FAKESCRIPT))
  265. function SCRIPT_RDSP79_FAKESCRIPT() -- Close.Script
  266. local script = Instance.new('Script')
  267. script.Parent = Close
  268. while wait() do
  269. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  270. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  271. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  272. local color = Color3.new(r, g, b)
  273. script.Parent.TextColor3 = color
  274. end
  275.  
  276. end
  277. coroutine.resume(coroutine.create(SCRIPT_RDSP79_FAKESCRIPT))
  278. function SCRIPT_UCAB67_FAKESCRIPT() -- Credit.Script
  279. local script = Instance.new('Script')
  280. script.Parent = Credit
  281. while wait() do
  282. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  283. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  284. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  285. local color = Color3.new(r, g, b)
  286. script.Parent.TextColor3 = color
  287. end
  288.  
  289. end
  290. coroutine.resume(coroutine.create(SCRIPT_UCAB67_FAKESCRIPT))
  291.  
  292. Open.MouseButton1Click:connect(function()
  293. Open.Visible = false
  294. CopyMenu.Visible = true
  295. FillMenu.Visible = true
  296. Close.Visible = true
  297. end)
  298.  
  299. Close.MouseButton1Click:connect(function()
  300. Open.Visible = true
  301. CopyMenu.Visible = false
  302. FillMenu.Visible = false
  303. Close.Visible = false
  304. end)
  305.  
  306. CopyButton.MouseButton1Click:connect(function()
  307. local plr = CopyName.Text
  308. pmds = game.Workspace.PlayerModels
  309. PlaceR = game.ReplicatedStorage.PlaceStructure.ClientPlacedBlueprint
  310. PlaceS = game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure
  311. Property = nil
  312. MProperty = nil
  313.  
  314. for i, v in pairs(game.Workspace.Properties:GetChildren()) do
  315. if v:FindFirstChild("Owner") and v.Owner.Value ~= nil and v.Owner.Value == game.Players[plr] then
  316. Property = v.OriginSquare
  317. end
  318. end
  319.  
  320. for i, v in pairs(game.Workspace.Properties:GetChildren()) do
  321. if v:FindFirstChild("Owner") and v.Owner.Value ~= nil and v.Owner.Value == game.Players.LocalPlayer then
  322. MProperty = v.OriginSquare
  323. end
  324. end
  325.  
  326.  
  327. function copypart(mod)
  328. if mod:FindFirstChild("MainCFrame") then
  329. Cframe = mod.MainCFrame.Value
  330. else
  331. Cframe = mod.PrimaryPart.CFrame
  332. end
  333. X = Property.Position.X - Cframe.X
  334. Y = Property.Position.Y - Cframe.Y
  335. Z = Property.Position.Z - Cframe.Z
  336. PlaceR:FireServer(mod.ItemName.Value, (CFrame.new(MProperty.Position.X, MProperty.Position.Y, MProperty.Position.Z)*CFrame.Angles(Cframe:toEulerAnglesXYZ())) - Vector3.new(X, Y, Z), game.Players.LocalPlayer)
  337. wait()
  338. end
  339.  
  340. for i, v in pairs(pmds:GetChildren()) do
  341. if v:FindFirstChild("Owner") and v.Owner.Value ~= nil and v.Owner.Value == game.Players[plr] and v:FindFirstChild("ItemName") and v:FindFirstChild("Type") and (v.PrimaryPart ~= nil or v:FindFirstChild("MainCFrame")) then
  342. copypart(v)
  343. end
  344. end
  345. end)
  346.  
  347. FillButton.MouseButton1Click:connect(function()
  348. local PlayerName = PlayerName.Text
  349. local WoodName = WoodType.Text
  350.  
  351. local ItsCFrame
  352. local Remote = game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure
  353. for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
  354. if v:FindFirstChild("Owner") and tostring(v.Owner.Value) == PlayerName then
  355. if v:FindFirstChild("Type") and v.Type.Value == "Blueprint" then
  356. if v:FindFirstChild("MainCFrame") then
  357. ItsCFrame = v.MainCFrame.Value
  358. else
  359. ItsCFrame = v.PrimaryPart.CFrame
  360. end
  361. if v ~= nil then
  362. Remote:FireServer(v.Name, ItsCFrame, game.Players.LocalPlayer, WoodName, v, false)
  363. end
  364. end
  365. end
  366. end
  367. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement