Advertisement
wallop560

Untitled

Apr 30th, 2020
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.83 KB | None | 0 0
  1. local function RMRW_fake_script() -- go.LocalScript
  2. local script = Instance.new('LocalScript', game:GetService("ServerScriptService"))
  3.  
  4. local clonegui = Instance.new("ScreenGui")
  5. local main = Instance.new("Frame")
  6. local ammount = Instance.new("TextBox")
  7. local text = Instance.new("TextLabel")
  8. local go = Instance.new("TextButton")
  9. local settingsbut = Instance.new("TextButton")
  10. local settings_2 = Instance.new("Frame")
  11. local sizetxt = Instance.new("TextBox")
  12. local colortxt = Instance.new("TextBox")
  13. local label = Instance.new("TextLabel")
  14. local colorlab = Instance.new("TextLabel")
  15. local Sizelab = Instance.new("TextLabel")
  16. local onoff_1 = Instance.new("BoolValue")
  17. local onoff_2 = Instance.new("BoolValue")
  18. local onoff_3 = Instance.new("BoolValue")
  19. local Playerlab = Instance.new("TextLabel")
  20. local Playertxt = Instance.new("TextBox")
  21. local transtxt = Instance.new("TextBox")
  22. local Translab = Instance.new("TextLabel")
  23. local Colidetgl = Instance.new("TextButton")
  24. local colidelab = Instance.new("TextLabel")
  25. local Delaylab = Instance.new("TextLabel")
  26. local Delaytgl = Instance.new("TextButton")
  27. local Anchorlab = Instance.new("TextLabel")
  28. local Anchortgl = Instance.new("TextButton")
  29. local Delaytxt = Instance.new("TextBox")
  30. local Delay2lab = Instance.new("TextLabel")
  31. --[[
  32. Properties:
  33. --]]
  34.  
  35. clonegui.Name = "clone"
  36. clonegui.Parent = game.Players.LocalPlayer.PlayerGui
  37. clonegui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  38.  
  39. main.Name = "main"
  40. main.Parent = clonegui
  41. main.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  42. main.BorderSizePixel = 0
  43. main.Draggable = true
  44. main.Position = UDim2.new(0.0451713204, 0, 0.396721303, 0)
  45. main.Size = UDim2.new(0, 105, 0, 125)
  46.  
  47. ammount.Name = "ammount"
  48. ammount.Parent = main
  49. ammount.BackgroundColor3 = Color3.new(0.490196, 0.490196, 0.490196)
  50. ammount.BorderSizePixel = 0
  51. ammount.Position = UDim2.new(0.161904767, 0, 0.206270248, 0)
  52. ammount.Size = UDim2.new(0, 72, 0, 20)
  53. ammount.Font = Enum.Font.SourceSans
  54. ammount.Text = "10"
  55. ammount.TextColor3 = Color3.new(0, 0, 0)
  56. ammount.TextSize = 14
  57.  
  58. text.Name = "text"
  59. text.Parent = main
  60. text.BackgroundColor3 = Color3.new(1, 1, 1)
  61. text.BackgroundTransparency = 1
  62. text.BorderSizePixel = 0
  63. text.Position = UDim2.new(0.152380884, 0, 0.050090082, 0)
  64. text.Size = UDim2.new(0, 73, 0, 20)
  65. text.Font = Enum.Font.SourceSans
  66. text.Text = "ammount"
  67. text.TextColor3 = Color3.new(0, 0, 0)
  68. text.TextSize = 14
  69.  
  70. go.Name = "go"
  71. go.Parent = main
  72. go.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  73. go.BorderSizePixel = 0
  74. go.Position = UDim2.new(0.161904767, 0, 0.429549515, 0)
  75. go.Size = UDim2.new(0, 72, 0, 27)
  76. go.Font = Enum.Font.SourceSans
  77. go.Text = "GO!"
  78. go.TextColor3 = Color3.new(0, 0, 0)
  79. go.TextScaled = true
  80. go.TextSize = 14
  81. go.TextWrapped = true
  82.  
  83. settingsbut.Name = "settingsbut"
  84. settingsbut.Parent = main
  85. settingsbut.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  86. settingsbut.BorderSizePixel = 0
  87. settingsbut.Position = UDim2.new(0.161904767, 0, 0.70154953, 0)
  88. settingsbut.Size = UDim2.new(0, 72, 0, 27)
  89. settingsbut.Font = Enum.Font.SourceSans
  90. settingsbut.Text = "Settings"
  91. settingsbut.TextColor3 = Color3.new(0, 0, 0)
  92. settingsbut.TextScaled = true
  93. settingsbut.TextSize = 14
  94. settingsbut.TextWrapped = true
  95. settingsbut.MouseButton1Click:Connect(function()
  96. if settings_2.Visible == true then
  97. settings_2.Visible = false
  98. elseif settings_2.Visible == false then
  99. settings_2.Visible = true
  100. end
  101. end)
  102.  
  103. settings_2.Name = "settings"
  104. settings_2.Parent = clonegui
  105. settings_2.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  106. settings_2.BorderColor3 = Color3.new(1, 1, 1)
  107. settings_2.BorderSizePixel = 0
  108. settings_2.Position = UDim2.new(0.433800638, 0, 0.249180332, 0)
  109. settings_2.Size = UDim2.new(0, 530, 0, 256)
  110. settings_2.Visible = false
  111.  
  112. sizetxt.Name = "sizetxt"
  113. sizetxt.Parent = settings_2
  114. sizetxt.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  115. sizetxt.BorderSizePixel = 0
  116. sizetxt.Position = UDim2.new(0.0171864927, 0, 0.348823607, 0)
  117. sizetxt.Size = UDim2.new(0, 126, 0, 26)
  118. sizetxt.Font = Enum.Font.SourceSans
  119. sizetxt.Text = "2,1,2"
  120. sizetxt.TextColor3 = Color3.new(0, 0, 0)
  121. sizetxt.TextScaled = true
  122. sizetxt.TextSize = 14
  123. sizetxt.TextWrapped = true
  124.  
  125. colortxt.Name = "colortxt"
  126. colortxt.Parent = settings_2
  127. colortxt.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  128. colortxt.BorderSizePixel = 0
  129. colortxt.Position = UDim2.new(0.0189499594, 0, 0.0885646939, 0)
  130. colortxt.Size = UDim2.new(0, 126, 0, 26)
  131. colortxt.Font = Enum.Font.SourceSans
  132. colortxt.Text = "85,85,85"
  133. colortxt.TextColor3 = Color3.new(0, 0, 0)
  134. colortxt.TextScaled = true
  135. colortxt.TextSize = 14
  136. colortxt.TextWrapped = true
  137.  
  138. label.Name = "label"
  139. label.Parent = settings_2
  140. label.BackgroundColor3 = Color3.new(1, 1, 1)
  141. label.BackgroundTransparency = 1
  142. label.Position = UDim2.new(0.366611928, 0, 0, 0)
  143. label.Size = UDim2.new(0, 141, 0, 23)
  144. label.Font = Enum.Font.SourceSans
  145. label.Text = "Settings"
  146. label.TextColor3 = Color3.new(0, 0, 0)
  147. label.TextSize = 25
  148.  
  149. colorlab.Name = "colorlab"
  150. colorlab.Parent = settings_2
  151. colorlab.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  152. colorlab.BorderSizePixel = 0
  153. colorlab.Position = UDim2.new(0.0367547125, 0, 0.215885162, 0)
  154. colorlab.Size = UDim2.new(0, 103, 0, 15)
  155. colorlab.Font = Enum.Font.SourceSans
  156. colorlab.Text = "color"
  157. colorlab.TextColor3 = Color3.new(0, 0, 0)
  158. colorlab.TextSize = 14
  159.  
  160. Sizelab.Name = "Sizelab"
  161. Sizelab.Parent = settings_2
  162. Sizelab.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  163. Sizelab.BorderSizePixel = 0
  164. Sizelab.Position = UDim2.new(0.0367547125, 0, 0.470216393, 0)
  165. Sizelab.Size = UDim2.new(0, 103, 0, 15)
  166. Sizelab.Font = Enum.Font.SourceSans
  167. Sizelab.Text = "Size"
  168. Sizelab.TextColor3 = Color3.new(0, 0, 0)
  169. Sizelab.TextSize = 14
  170.  
  171. Playerlab.Name = "Playerlab"
  172. Playerlab.Parent = settings_2
  173. Playerlab.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  174. Playerlab.BorderSizePixel = 0
  175. Playerlab.Position = UDim2.new(0.0383407101, 0, 0.715437651, 0)
  176. Playerlab.Size = UDim2.new(0, 103, 0, 15)
  177. Playerlab.Font = Enum.Font.SourceSans
  178. Playerlab.Text = "Player"
  179. Playerlab.TextColor3 = Color3.new(0, 0, 0)
  180. Playerlab.TextSize = 14
  181.  
  182. Playertxt.Name = "Playertxt"
  183. Playertxt.Parent = settings_2
  184. Playertxt.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  185. Playertxt.BorderSizePixel = 0
  186. Playertxt.Position = UDim2.new(0.0171864927, 0, 0.591011107, 0)
  187. Playertxt.Size = UDim2.new(0, 126, 0, 26)
  188. Playertxt.Font = Enum.Font.SourceSans
  189. Playertxt.Text = "me"
  190. Playertxt.TextColor3 = Color3.new(0, 0, 0)
  191. Playertxt.TextScaled = true
  192. Playertxt.TextSize = 14
  193. Playertxt.TextWrapped = true
  194.  
  195. transtxt.Name = "transtxt"
  196. transtxt.Parent = settings_2
  197. transtxt.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  198. transtxt.BorderSizePixel = 0
  199. transtxt.Position = UDim2.new(0.366119772, 0, 0.0885646939, 0)
  200. transtxt.Size = UDim2.new(0, 126, 0, 26)
  201. transtxt.Font = Enum.Font.SourceSans
  202. transtxt.Text = "0"
  203. transtxt.TextColor3 = Color3.new(0, 0, 0)
  204. transtxt.TextScaled = true
  205. transtxt.TextSize = 14
  206. transtxt.TextWrapped = true
  207.  
  208. Translab.Name = "Translab"
  209. Translab.Parent = settings_2
  210. Translab.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  211. Translab.BorderSizePixel = 0
  212. Translab.Position = UDim2.new(0.387698114, 0, 0.215885162, 0)
  213. Translab.Size = UDim2.new(0, 103, 0, 15)
  214. Translab.Font = Enum.Font.SourceSans
  215. Translab.Text = "Transparency"
  216. Translab.TextColor3 = Color3.new(0, 0, 0)
  217. Translab.TextSize = 14
  218.  
  219. Colidetgl.Name = "Colidetgl"
  220. Colidetgl.Parent = settings_2
  221. Colidetgl.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  222. Colidetgl.BorderSizePixel = 0
  223. Colidetgl.Position = UDim2.new(0.366037726, 0, 0.36328125, 0)
  224. Colidetgl.Size = UDim2.new(0, 126, 0, 26)
  225. Colidetgl.Font = Enum.Font.SourceSans
  226. Colidetgl.Text = "Toggle"
  227. Colidetgl.TextColor3 = Color3.new(0, 0, 0)
  228. Colidetgl.TextScaled = true
  229. Colidetgl.TextSize = 14
  230. Colidetgl.TextWrapped = true
  231.  
  232. colidelab.Name = "colidelab"
  233. colidelab.Parent = settings_2
  234. colidelab.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  235. colidelab.BorderSizePixel = 0
  236. colidelab.Position = UDim2.new(0.387698114, 0, 0.501041412, 0)
  237. colidelab.Size = UDim2.new(0, 103, 0, 15)
  238. colidelab.Font = Enum.Font.SourceSans
  239. colidelab.Text = "Collide on"
  240. colidelab.TextColor3 = Color3.new(0, 0, 0)
  241. colidelab.TextSize = 14
  242.  
  243. Delaylab.Name = "Delaylab"
  244. Delaylab.Parent = settings_2
  245. Delaylab.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  246. Delaylab.BorderSizePixel = 0
  247. Delaylab.Position = UDim2.new(0.385811329, 0, 0.727603912, 0)
  248. Delaylab.Size = UDim2.new(0, 103, 0, 15)
  249. Delaylab.Font = Enum.Font.SourceSans
  250. Delaylab.Text = "Dellay off"
  251. Delaylab.TextColor3 = Color3.new(0, 0, 0)
  252. Delaylab.TextSize = 14
  253.  
  254. Delaytgl.Name = "Delaytgl"
  255. Delaytgl.Parent = settings_2
  256. Delaytgl.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  257. Delaytgl.BorderSizePixel = 0
  258. Delaytgl.Position = UDim2.new(0.364150941, 0, 0.58984375, 0)
  259. Delaytgl.Size = UDim2.new(0, 126, 0, 26)
  260. Delaytgl.Font = Enum.Font.SourceSans
  261. Delaytgl.Text = "Toggle"
  262. Delaytgl.TextColor3 = Color3.new(0, 0, 0)
  263. Delaytgl.TextScaled = true
  264. Delaytgl.TextSize = 14
  265. Delaytgl.TextWrapped = true
  266.  
  267. Anchorlab.Name = "Anchorlab"
  268. Anchorlab.Parent = settings_2
  269. Anchorlab.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  270. Anchorlab.BorderSizePixel = 0
  271. Anchorlab.Position = UDim2.new(0.714113235, 0, 0.727603912, 0)
  272. Anchorlab.Size = UDim2.new(0, 103, 0, 15)
  273. Anchorlab.Font = Enum.Font.SourceSans
  274. Anchorlab.Text = "Anchor off"
  275. Anchorlab.TextColor3 = Color3.new(0, 0, 0)
  276. Anchorlab.TextSize = 14
  277.  
  278. Anchortgl.Name = "Anchortgl"
  279. Anchortgl.Parent = settings_2
  280. Anchortgl.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  281. Anchortgl.BorderSizePixel = 0
  282. Anchortgl.Position = UDim2.new(0.692452788, 0, 0.58984375, 0)
  283. Anchortgl.Size = UDim2.new(0, 126, 0, 26)
  284. Anchortgl.Font = Enum.Font.SourceSans
  285. Anchortgl.Text = "Toggle"
  286. Anchortgl.TextColor3 = Color3.new(0, 0, 0)
  287. Anchortgl.TextScaled = true
  288. Anchortgl.TextSize = 14
  289. Anchortgl.TextWrapped = true
  290.  
  291.  
  292. Delaytxt.Name = "Delaytxt"
  293. Delaytxt.Parent = settings_2
  294. Delaytxt.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  295. Delaytxt.BorderSizePixel = 0
  296. Delaytxt.Position = UDim2.new(0.691, 0,0.089, 0)
  297. Delaytxt.Size = UDim2.new(0, 126, 0, 26)
  298. Delaytxt.Font = Enum.Font.SourceSans
  299. Delaytxt.Text = "1"
  300. Delaytxt.TextColor3 = Color3.new(0, 0, 0)
  301. Delaytxt.TextScaled = true
  302. Delaytxt.TextSize = 14
  303. Delaytxt.TextWrapped = true
  304.  
  305. Delay2lab.Name = "Delay2lab"
  306. Delay2lab.Parent = settings_2
  307. Delay2lab.BackgroundColor3 = Color3.new(0.494118, 0.494118, 0.494118)
  308. Delay2lab.BorderSizePixel = 0
  309. Delay2lab.Position = UDim2.new(0.712, 0,0.216, 0)
  310. Delay2lab.Size = UDim2.new(0, 103,0, 15)
  311. Delay2lab.Text = "Delay time"
  312. Delay2lab.TextColor3 = Color3.new(0, 0, 0)
  313. Delay2lab.TextScaled = true
  314. Delay2lab.TextSize = 14
  315. Delay2lab.TextWrapped = true
  316.  
  317.  
  318. onoff_1.Name = "on/off"
  319. onoff_1.Parent = Anchortgl
  320. onoff_1.Value = false
  321.  
  322. onoff_2.Name = "on/off"
  323. onoff_2.Parent = Colidetgl
  324. onoff_2.Value = true
  325.  
  326. onoff_3.Name = "on/off"
  327. onoff_3.Parent = Delaytgl
  328. onoff_3.Value = false
  329.  
  330. --scripts
  331. local config = settings_2
  332. local char = game.Players.LocalPlayer.Character
  333. local hat = char:FindFirstChildOfClass("Accessory")
  334. local collide = true
  335. local Dellay = false
  336. local Anchor = false
  337.  
  338.  
  339.  
  340. Colidetgl.MouseButton1Click:Connect(function()
  341. if onoff_2.Value == true then
  342. colidelab.Text = "Collide off"
  343. collide = false
  344. onoff_2.Value = false
  345. elseif onoff_2.Value == false then
  346. colidelab.Text = "Collide on"
  347. collide = true
  348. onoff_2.Value = true
  349.  
  350. end
  351. end)
  352. Delaytgl.MouseButton1Click:Connect(function()
  353. if onoff_3.Value == true then
  354. Delaylab.Text = "Dellay off"
  355. Dellay = false
  356. onoff_3.Value = false
  357. elseif onoff_3.Value == false then
  358. Delaylab.Text = "Dellay on"
  359. Dellay = true
  360. onoff_3.Value = true
  361.  
  362. end
  363. end)
  364. config.Anchortgl.MouseButton1Click:Connect(function()
  365. if onoff_1.Value == true then
  366. Anchorlab.Text = "Anchor off"
  367. Anchor = false
  368. onoff_1.Value = false
  369. elseif onoff_1.Value == false then
  370. Anchorlab.Text = "Anchor on"
  371. Anchor = true
  372. onoff_1.Value = true
  373.  
  374. end
  375. end)
  376.  
  377.  
  378.  
  379. go.MouseButton1Click:Connect(function()
  380. local Player = config.Playertxt
  381. local actPlayer = nil
  382. if Player.Text == "me" then
  383. actPlayer = char.Name
  384. else
  385. actPlayer = Player.Text
  386. end
  387. local rgb = string.split(config.colortxt.Text, ",")
  388. local red = tonumber(rgb[1])
  389. local green = tonumber(rgb[2])
  390. local blue = tonumber(rgb[3])
  391. local xyz = string.split(config.sizetxt.Text, ",")
  392. local X = tonumber(xyz[1])
  393. local Y = tonumber(xyz[2])
  394. local Z = tonumber(xyz[3])
  395. local cloning = 0
  396.  
  397. for cloning = 1, ammount.Text do
  398. if Dellay == true then
  399. wait(Delaytxt.Text / 10)
  400. end
  401. local transparency = (config.transtxt.Text / 100)
  402. local color = Color3.new(red,green,blue)
  403. local size = Vector3.new(X,Y,Z)
  404. local pos = game.Players[actPlayer].Character.Head.CFrame
  405. local info = {transparency , color, size, collide, Anchor, pos}
  406. game.ReplicatedStorage.SpawnBrick:FireServer(unpack(info))
  407.  
  408. end
  409. end)
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418. local UserInputService = game:GetService("UserInputService")
  419.  
  420. local gui = settings_2
  421.  
  422. local dragging
  423. local dragInput
  424. local dragStart
  425. local startPos
  426.  
  427. local function update(input)
  428. local delta = input.Position - dragStart
  429. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  430. end
  431.  
  432. gui.InputBegan:Connect(function(input)
  433. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  434. dragging = true
  435. dragStart = input.Position
  436. startPos = gui.Position
  437.  
  438. input.Changed:Connect(function()
  439. if input.UserInputState == Enum.UserInputState.End then
  440. dragging = false
  441. end
  442. end)
  443. end
  444. end)
  445.  
  446. gui.InputChanged:Connect(function(input)
  447. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  448. dragInput = input
  449. end
  450. end)
  451.  
  452. UserInputService.InputChanged:Connect(function(input)
  453. if input == dragInput and dragging then
  454. update(input)
  455. end
  456. end)
  457.  
  458.  
  459. local UserInputService = game:GetService("UserInputService")
  460.  
  461. local gui = main
  462.  
  463. local dragging
  464. local dragInput
  465. local dragStart
  466. local startPos
  467.  
  468. local function update(input)
  469. local delta = input.Position - dragStart
  470. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  471. end
  472.  
  473. gui.InputBegan:Connect(function(input)
  474. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  475. dragging = true
  476. dragStart = input.Position
  477. startPos = gui.Position
  478.  
  479. input.Changed:Connect(function()
  480. if input.UserInputState == Enum.UserInputState.End then
  481. dragging = false
  482. end
  483. end)
  484. end
  485. end)
  486.  
  487. gui.InputChanged:Connect(function(input)
  488. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  489. dragInput = input
  490. end
  491. end)
  492.  
  493. UserInputService.InputChanged:Connect(function(input)
  494. if input == dragInput and dragging then
  495. update(input)
  496. end
  497. end)
  498. end
  499.  
  500.  
  501.  
  502.  
  503. coroutine.wrap(RMRW_fake_script)()
  504. local event = game.ReplicatedStorage.SpawnBrick
  505.  
  506. local function RMRW_fake_script() -- go.LocalScript
  507. local script = Instance.new('Script', game:GetService("ServerScriptService"))
  508. local event = game.ReplicatedStorage.SpawnBrick
  509. event.OnServerEvent:Connect(function(Player,Transparency,Color,Size,CanCollide,Anchored,position)
  510. local clone = Instance.new("Part",workspace)
  511. clone.Transparency = Transparency
  512. clone.Color = Color
  513. clone.Size = Size
  514. clone.CanCollide = CanCollide
  515. clone.Anchored = Anchored
  516. clone.CFrame = position
  517. if Anchored == true then
  518. clone.CanCollide = false
  519. wait(0.4)
  520. clone.CanCollide = CanCollide
  521. end
  522.  
  523. end)
  524. end
  525. coroutine.wrap(RMRW_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement