Advertisement
wallop560

wallops draw 1

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