Advertisement
sIendytubble

jesys fdifgf

Apr 28th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.17 KB | None | 0 0
  1. -- Objects
  2. MIDI = Instance.new("ScreenGui")
  3. Frame = Instance.new("Frame")
  4. ID = Instance.new("TextBox")
  5. Play = Instance.new("TextButton")
  6. Dark = Instance.new("TextButton")
  7. Bright = Instance.new("TextButton")
  8. Stop = Instance.new("TextButton")
  9. Hide = Instance.new("TextButton")
  10. Set = Instance.new("TextButton")
  11. BColor = Instance.new("TextBox")
  12. Random = Instance.new("TextButton")
  13. Material = Instance.new("TextBox")
  14. Trans = Instance.new("TextBox")
  15. sound = Instance.new("Sound",game.Players.Guest_I054.Character.Torso)
  16. sound.Volume = 4
  17. sound.Looped = true
  18. BVal = "Deep orange"
  19. MVal = "Neon"
  20. TVal = 0
  21. Active = false
  22.  
  23. -- Properties
  24.  
  25. MIDI.Name = "MIDI"
  26. MIDI.Parent = game.Players.Guest_I054.PlayerGui
  27.  
  28. Frame.Parent = MIDI
  29. Frame.Active = true
  30. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  31. Frame.BackgroundTransparency = 0.5799999833107
  32. Frame.BorderSizePixel = 0
  33. Frame.Draggable = true
  34. Frame.Position = UDim2.new(0, 300, 0, 50)
  35. Frame.Size = UDim2.new(0, 310, 0, 200)
  36. -- Objects
  37. MIDI = Instance.new("ScreenGui")
  38. Frame = Instance.new("Frame")
  39. ID = Instance.new("TextBox")
  40. Play = Instance.new("TextButton")
  41. Dark = Instance.new("TextButton")
  42. Bright = Instance.new("TextButton")
  43. Stop = Instance.new("TextButton")
  44. Hide = Instance.new("TextButton")
  45. Set = Instance.new("TextButton")
  46. BColor = Instance.new("TextBox")
  47. Random = Instance.new("TextButton")
  48. Material = Instance.new("TextBox")
  49. Trans = Instance.new("TextBox")
  50. sound = Instance.new("Sound",game.Players.Guest_I054.Character.Torso)
  51. sound.Volume = 4
  52. sound.Looped = true
  53. BVal = "Deep orange"
  54. MVal = "Neon"
  55. TVal = 0
  56. Active = false
  57.  
  58. -- Properties
  59.  
  60. MIDI.Name = "MIDI"
  61. MIDI.Parent = game.Players.Guest_I054.PlayerGui
  62.  
  63. Frame.Parent = MIDI
  64. Frame.Active = true
  65. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  66. Frame.BackgroundTransparency = 0.5799999833107
  67. Frame.BorderSizePixel = 0
  68. Frame.Draggable = true
  69. Frame.Position = UDim2.new(0, 300, 0, 50)
  70. Frame.Size = UDim2.new(0, 310, 0, 200)
  71.  
  72. ID.Name = "ID"
  73. ID.Parent = Frame
  74. ID.BackgroundColor3 = Color3.new(1, 1, 1)
  75. ID.BorderSizePixel = 0
  76. ID.Position = UDim2.new(0, 100, 0, 10)
  77. ID.Size = UDim2.new(0, 120, 0, 30)
  78. ID.Font = Enum.Font.Arcade
  79. ID.FontSize = Enum.FontSize.Size18
  80. ID.Text = "639837244"
  81. ID.TextColor3 = Color3.new(0, 0, 0)
  82. ID.TextSize = 18
  83.  
  84. Material.Name = "Material"
  85. Material.Parent = Frame
  86. Material.BackgroundColor3 = Color3.new(1, 1, 1)
  87. Material.BorderSizePixel = 0
  88. Material.Position = UDim2.new(0, 210, 0, 95)
  89. Material.Size = UDim2.new(0, 90, 0, 15)
  90. Material.Font = Enum.Font.Arcade
  91. Material.FontSize = Enum.FontSize.Size14
  92. Material.Text = "Neon"
  93. Material.TextSize = 14
  94.  
  95. Trans.Name = "Trans"
  96. Trans.Parent = Frame
  97. Trans.BackgroundColor3 = Color3.new(1, 1, 1)
  98. Trans.BorderSizePixel = 0
  99. Trans.Position = UDim2.new(0, 210, 0, 75)
  100. Trans.Size = UDim2.new(0, 90, 0, 15)
  101. Trans.Font = Enum.Font.Arcade
  102. Trans.FontSize = Enum.FontSize.Size14
  103. Trans.Text = "Transparency"
  104. Trans.TextSize = 14
  105.  
  106. Set.Name = "Set"
  107. Set.Parent = Frame
  108. Set.BackgroundColor3 = Color3.new(1, 1, 1)
  109. Set.BorderSizePixel = 0
  110. Set.Position = UDim2.new(0, 210, 0, 135)
  111. Set.Size = UDim2.new(0, 90, 0, 15)
  112. Set.Font = Enum.Font.Arcade
  113. Set.FontSize = Enum.FontSize.Size14
  114. Set.Text = "Set"
  115. Set.TextSize = 14
  116. Set.MouseButton1Down:connect(function()
  117. if Active == true then
  118. Active = false
  119. end
  120. BVal = tostring(BColor.Text)
  121. TVal = tonumber(Trans.Text)
  122. MVal = tostring(Material.Text)
  123. end)
  124.  
  125. BColor.Name = "BColor"
  126. BColor.Parent = Frame
  127. BColor.BackgroundColor3 = Color3.new(1, 1, 1)
  128. BColor.BorderSizePixel = 0
  129. BColor.Position = UDim2.new(0, 210, 0, 115)
  130. BColor.Size = UDim2.new(0, 90, 0, 15)
  131. BColor.Font = Enum.Font.Arcade
  132. BColor.FontSize = Enum.FontSize.Size14
  133. BColor.Text = "Lime Green"
  134. BColor.TextSize = 14
  135.  
  136. Random.Name = "Random"
  137. Random.Parent = Frame
  138. Random.BackgroundColor3 = Color3.new(1, 1, 1)
  139. Random.BorderSizePixel = 0
  140. Random.Position = UDim2.new(0, 10, 0, 80)
  141. Random.Size = UDim2.new(0, 90, 0, 30)
  142. Random.Font = Enum.Font.Arcade
  143. Random.FontSize = Enum.FontSize.Size14
  144. Random.Text = "Random"
  145. Random.TextSize = 14
  146. Random.MouseButton1Down:connect(function()
  147. if Active == false then
  148. Active = true
  149. end
  150. end)
  151.  
  152. Play.Name = "Play"
  153. Play.Parent = Frame
  154. Play.BackgroundColor3 = Color3.new(1, 1, 1)
  155. Play.BorderSizePixel = 0
  156. Play.Position = UDim2.new(0, 10, 0, 160)
  157. Play.Size = UDim2.new(0, 90, 0, 30)
  158. Play.Font = Enum.Font.Arcade
  159. Play.FontSize = Enum.FontSize.Size14
  160. Play.Text = "Play"
  161. Play.TextSize = 14
  162. Play.MouseButton1Down:connect(function()
  163. sound.TimePosition = 0
  164. sound.Playing = true
  165. sound.SoundId = "rbxassetid://"..tonumber(ID.Text)
  166. end)
  167.  
  168. Dark.Name = "Dark"
  169. Dark.Parent = Frame
  170. Dark.BackgroundColor3 = Color3.new(1, 1, 1)
  171. Dark.BorderSizePixel = 0
  172. Dark.Position = UDim2.new(0, 10, 0, 120)
  173. Dark.Size = UDim2.new(0, 90, 0, 30)
  174. Dark.Font = Enum.Font.Arcade
  175. Dark.FontSize = Enum.FontSize.Size14
  176. Dark.Text = "Dark"
  177. Dark.TextSize = 14
  178. Dark.MouseButton1Down:connect(function()
  179. game.Lighting.TimeOfDay = 0
  180. game.Lighting.GlobalShadows = false
  181. game.Lighting.Ambient = Color3.new(0,0,0)
  182. game.Lighting.Brightness = 0
  183. end)
  184.  
  185. Bright.Name = "Bright"
  186. Bright.Parent = Frame
  187. Bright.BackgroundColor3 = Color3.new(1, 1, 1)
  188. Bright.BorderSizePixel = 0
  189. Bright.Position = UDim2.new(0, 110, 0, 120)
  190. Bright.Size = UDim2.new(0, 90, 0, 30)
  191. Bright.Font = Enum.Font.Arcade
  192. Bright.FontSize = Enum.FontSize.Size14
  193. Bright.Text = "Bright"
  194. Bright.TextSize = 14
  195. Bright.MouseButton1Down:connect(function()
  196. game.Lighting.TimeOfDay = 12
  197. game.Lighting.GlobalShadows = true
  198. game.Lighting.Ambient = Color3.fromRGB(10,10,10)
  199. game.Lighting.Brightness = 1
  200. end)
  201.  
  202. Stop.Name = "Stop"
  203. Stop.Parent = Frame
  204. Stop.BackgroundColor3 = Color3.new(1, 1, 1)
  205. Stop.BorderSizePixel = 0
  206. Stop.Position = UDim2.new(0, 110, 0, 160)
  207. Stop.Size = UDim2.new(0, 90, 0, 30)
  208. Stop.Font = Enum.Font.Arcade
  209. Stop.FontSize = Enum.FontSize.Size14
  210. Stop.Text = "Stop"
  211. Stop.TextSize = 14
  212. Stop.MouseButton1Down:connect(function()
  213. sound.Playing = false
  214. end)
  215.  
  216. Hide.Name = "Hide"
  217. Hide.Parent = Frame
  218. Hide.BackgroundColor3 = Color3.new(1, 1, 1)
  219. Hide.BorderSizePixel = 0
  220. Hide.Position = UDim2.new(0, 210, 0, 160)
  221. Hide.Size = UDim2.new(0, 90, 0, 30)
  222. Hide.Font = Enum.Font.Arcade
  223. Hide.FontSize = Enum.FontSize.Size14
  224. Hide.Text = "Clear"
  225. Hide.TextSize = 14
  226. Hide.MouseButton1Down:connect(function()
  227. for i,v in pairs(game.Players.Guest_I054.Character:GetChildren()) do
  228. if v.Name == "location" then
  229. v:Remove()
  230. end
  231. end
  232. end)
  233.  
  234. --- Made By Pugz AKA (PugLover77)
  235. plyr = game.Players.Guest_I054
  236. c = plyr.Character
  237. RunService = game:service'RunService'
  238. mouse = game.Players.Guest_I054:GetMouse()
  239. local draw2 = false
  240. local colorA = 1
  241. local lastPos
  242.  
  243. tool = Instance.new("HopperBin", plyr.Backpack)
  244. tool.Name = "Draw"
  245.  
  246.  
  247.  
  248. mouse = plyr:GetMouse()
  249.  
  250.  
  251. function draw(obj) --
  252. local lastPos = obj.CFrame.p
  253. coroutine.wrap(function()
  254. while wait() do
  255. if draw2 then
  256. while draw2 do
  257. wait()
  258. objC = obj:Clone()
  259. objC.Parent = c
  260. objC.Anchored = true
  261. local distance = (lastPos- obj.CFrame.p).magnitude
  262. objC.Size = Vector3.new(.1,.1,distance)
  263. objC.CFrame = CFrame.new(lastPos,obj.Position)*CFrame.new(0,0,-distance/2)
  264. lastPos = obj.CFrame.p
  265. end
  266. else
  267. break
  268. end
  269. end
  270. end)()
  271. end
  272.  
  273. tool.Selected:connect(function(mouse)
  274.  
  275. mouse.Button1Down:connect(function(mouse)
  276. draw2 = true
  277. part = Instance.new("Part", c)
  278. mesh = Instance.new("BlockMesh",part)
  279. Li = Instance.new("PointLight",part)
  280. Li.Range = 8
  281. Li.Color = part.Color
  282. part.Name = "location"
  283.  
  284. part.BottomSurface = 0
  285. part.Material = MVal
  286. part.TopSurface = 0
  287. part.Size = Vector3.new()
  288. part.Transparency = TVal
  289. if Active == true then
  290. part.Color = Color3.new(math.random(), math.random(), math.random())
  291. elseif Active == false then
  292. part.BrickColor = BrickColor.new(BVal)
  293. end
  294. Li.Color = part.Color
  295. part.FormFactor = "Custom"
  296. part.Size = Vector3.new(0.01, 0.01, 0.01)
  297. part.Anchored = true
  298. part.Locked = true
  299. coroutine.wrap(function()
  300. while part ~= nil do
  301. part.CFrame = CFrame.new(plyr:GetMouse().Hit.p.x,plyr:GetMouse().Hit.p.y,plyr:GetMouse().Hit.p.z)
  302. wait()
  303. end
  304. end)()
  305. wait()
  306. draw(part)
  307. wait()
  308. end)
  309. mouse.Button1Up:connect(function(mouse)
  310. draw2 = false
  311.  
  312. end)
  313.  
  314. end)
  315. x = 60
  316. game:GetService("RunService").Stepped:connect(function()
  317. n = sound.PlaybackLoudness
  318. if n > 500 then
  319. x = 100
  320. elseif n < 500 then
  321. x = 110
  322. end
  323. for i,v in pairs(game.Players.Guest_I054.Character:GetChildren()) do
  324. if v.Name == "location" then
  325. v.Mesh.Scale = Vector3.new(n / x, n / x, n / x)
  326. v.PointLight.Range = n / 50
  327. end
  328. end
  329. end)
  330. ID.Name = "ID"
  331. ID.Parent = Frame
  332. ID.BackgroundColor3 = Color3.new(1, 1, 1)
  333. ID.BorderSizePixel = 0
  334. ID.Position = UDim2.new(0, 100, 0, 10)
  335. ID.Size = UDim2.new(0, 120, 0, 30)
  336. ID.Font = Enum.Font.Arcade
  337. ID.FontSize = Enum.FontSize.Size18
  338. ID.Text = "639837244"
  339. ID.TextColor3 = Color3.new(0, 0, 0)
  340. ID.TextSize = 18
  341.  
  342. Material.Name = "Material"
  343. Material.Parent = Frame
  344. Material.BackgroundColor3 = Color3.new(1, 1, 1)
  345. Material.BorderSizePixel = 0
  346. Material.Position = UDim2.new(0, 210, 0, 95)
  347. Material.Size = UDim2.new(0, 90, 0, 15)
  348. Material.Font = Enum.Font.Arcade
  349. Material.FontSize = Enum.FontSize.Size14
  350. Material.Text = "Neon"
  351. Material.TextSize = 14
  352.  
  353. Trans.Name = "Trans"
  354. Trans.Parent = Frame
  355. Trans.BackgroundColor3 = Color3.new(1, 1, 1)
  356. Trans.BorderSizePixel = 0
  357. Trans.Position = UDim2.new(0, 210, 0, 75)
  358. Trans.Size = UDim2.new(0, 90, 0, 15)
  359. Trans.Font = Enum.Font.Arcade
  360. Trans.FontSize = Enum.FontSize.Size14
  361. Trans.Text = "Transparency"
  362. Trans.TextSize = 14
  363.  
  364. Set.Name = "Set"
  365. Set.Parent = Frame
  366. Set.BackgroundColor3 = Color3.new(1, 1, 1)
  367. Set.BorderSizePixel = 0
  368. Set.Position = UDim2.new(0, 210, 0, 135)
  369. Set.Size = UDim2.new(0, 90, 0, 15)
  370. Set.Font = Enum.Font.Arcade
  371. Set.FontSize = Enum.FontSize.Size14
  372. Set.Text = "Set"
  373. Set.TextSize = 14
  374. Set.MouseButton1Down:connect(function()
  375. if Active == true then
  376. Active = false
  377. end
  378. BVal = tostring(BColor.Text)
  379. TVal = tonumber(Trans.Text)
  380. MVal = tostring(Material.Text)
  381. end)
  382.  
  383. BColor.Name = "BColor"
  384. BColor.Parent = Frame
  385. BColor.BackgroundColor3 = Color3.new(1, 1, 1)
  386. BColor.BorderSizePixel = 0
  387. BColor.Position = UDim2.new(0, 210, 0, 115)
  388. BColor.Size = UDim2.new(0, 90, 0, 15)
  389. BColor.Font = Enum.Font.Arcade
  390. BColor.FontSize = Enum.FontSize.Size14
  391. BColor.Text = "Lime Green"
  392. BColor.TextSize = 14
  393.  
  394. Random.Name = "Random"
  395. Random.Parent = Frame
  396. Random.BackgroundColor3 = Color3.new(1, 1, 1)
  397. Random.BorderSizePixel = 0
  398. Random.Position = UDim2.new(0, 10, 0, 80)
  399. Random.Size = UDim2.new(0, 90, 0, 30)
  400. Random.Font = Enum.Font.Arcade
  401. Random.FontSize = Enum.FontSize.Size14
  402. Random.Text = "Random"
  403. Random.TextSize = 14
  404. Random.MouseButton1Down:connect(function()
  405. if Active == false then
  406. Active = true
  407. end
  408. end)
  409.  
  410. Play.Name = "Play"
  411. Play.Parent = Frame
  412. Play.BackgroundColor3 = Color3.new(1, 1, 1)
  413. Play.BorderSizePixel = 0
  414. Play.Position = UDim2.new(0, 10, 0, 160)
  415. Play.Size = UDim2.new(0, 90, 0, 30)
  416. Play.Font = Enum.Font.Arcade
  417. Play.FontSize = Enum.FontSize.Size14
  418. Play.Text = "Play"
  419. Play.TextSize = 14
  420. Play.MouseButton1Down:connect(function()
  421. sound.TimePosition = 0
  422. sound.Playing = true
  423. sound.SoundId = "rbxassetid://"..tonumber(ID.Text)
  424. end)
  425.  
  426. Dark.Name = "Dark"
  427. Dark.Parent = Frame
  428. Dark.BackgroundColor3 = Color3.new(1, 1, 1)
  429. Dark.BorderSizePixel = 0
  430. Dark.Position = UDim2.new(0, 10, 0, 120)
  431. Dark.Size = UDim2.new(0, 90, 0, 30)
  432. Dark.Font = Enum.Font.Arcade
  433. Dark.FontSize = Enum.FontSize.Size14
  434. Dark.Text = "Dark"
  435. Dark.TextSize = 14
  436. Dark.MouseButton1Down:connect(function()
  437. game.Lighting.TimeOfDay = 0
  438. game.Lighting.GlobalShadows = false
  439. game.Lighting.Ambient = Color3.new(0,0,0)
  440. game.Lighting.Brightness = 0
  441. end)
  442.  
  443. Bright.Name = "Bright"
  444. Bright.Parent = Frame
  445. Bright.BackgroundColor3 = Color3.new(1, 1, 1)
  446. Bright.BorderSizePixel = 0
  447. Bright.Position = UDim2.new(0, 110, 0, 120)
  448. Bright.Size = UDim2.new(0, 90, 0, 30)
  449. Bright.Font = Enum.Font.Arcade
  450. Bright.FontSize = Enum.FontSize.Size14
  451. Bright.Text = "Bright"
  452. Bright.TextSize = 14
  453. Bright.MouseButton1Down:connect(function()
  454. game.Lighting.TimeOfDay = 12
  455. game.Lighting.GlobalShadows = true
  456. game.Lighting.Ambient = Color3.fromRGB(10,10,10)
  457. game.Lighting.Brightness = 1
  458. end)
  459.  
  460. Stop.Name = "Stop"
  461. Stop.Parent = Frame
  462. Stop.BackgroundColor3 = Color3.new(1, 1, 1)
  463. Stop.BorderSizePixel = 0
  464. Stop.Position = UDim2.new(0, 110, 0, 160)
  465. Stop.Size = UDim2.new(0, 90, 0, 30)
  466. Stop.Font = Enum.Font.Arcade
  467. Stop.FontSize = Enum.FontSize.Size14
  468. Stop.Text = "Stop"
  469. Stop.TextSize = 14
  470. Stop.MouseButton1Down:connect(function()
  471. sound.Playing = false
  472. end)
  473.  
  474. Hide.Name = "Hide"
  475. Hide.Parent = Frame
  476. Hide.BackgroundColor3 = Color3.new(1, 1, 1)
  477. Hide.BorderSizePixel = 0
  478. Hide.Position = UDim2.new(0, 210, 0, 160)
  479. Hide.Size = UDim2.new(0, 90, 0, 30)
  480. Hide.Font = Enum.Font.Arcade
  481. Hide.FontSize = Enum.FontSize.Size14
  482. Hide.Text = "Clear"
  483. Hide.TextSize = 14
  484. Hide.MouseButton1Down:connect(function()
  485. for i,v in pairs(game.Players.Guest_I054.Character:GetChildren()) do
  486. if v.Name == "location" then
  487. v:Remove()
  488. end
  489. end
  490. end)
  491.  
  492. --- Made By Pugz AKA (PugLover77)
  493. plyr = game.Players.Guest_I054
  494. c = plyr.Character
  495. RunService = game:service'RunService'
  496. mouse = game.Players.Guest_I054:GetMouse()
  497. local draw2 = false
  498. local colorA = 1
  499. local lastPos
  500.  
  501. tool = Instance.new("HopperBin", plyr.Backpack)
  502. tool.Name = "Draw"
  503.  
  504.  
  505.  
  506. mouse = plyr:GetMouse()
  507.  
  508.  
  509. function draw(obj) --
  510. local lastPos = obj.CFrame.p
  511. coroutine.wrap(function()
  512. while wait() do
  513. if draw2 then
  514. while draw2 do
  515. wait()
  516. objC = obj:Clone()
  517. objC.Parent = c
  518. objC.Anchored = true
  519. local distance = (lastPos- obj.CFrame.p).magnitude
  520. objC.Size = Vector3.new(.1,.1,distance)
  521. objC.CFrame = CFrame.new(lastPos,obj.Position)*CFrame.new(0,0,-distance/2)
  522. lastPos = obj.CFrame.p
  523. end
  524. else
  525. break
  526. end
  527. end
  528. end)()
  529. end
  530.  
  531. tool.Selected:connect(function(mouse)
  532.  
  533. mouse.Button1Down:connect(function(mouse)
  534. draw2 = true
  535. part = Instance.new("Part", c)
  536. mesh = Instance.new("BlockMesh",part)
  537. Li = Instance.new("PointLight",part)
  538. Li.Range = 8
  539. Li.Color = part.Color
  540. part.Name = "location"
  541.  
  542. part.BottomSurface = 0
  543. part.Material = MVal
  544. part.TopSurface = 0
  545. part.Size = Vector3.new()
  546. part.Transparency = TVal
  547. if Active == true then
  548. part.Color = Color3.new(math.random(), math.random(), math.random())
  549. elseif Active == false then
  550. part.BrickColor = BrickColor.new(BVal)
  551. end
  552. Li.Color = part.Color
  553. part.FormFactor = "Custom"
  554. part.Size = Vector3.new(0.01, 0.01, 0.01)
  555. part.Anchored = true
  556. part.Locked = true
  557. coroutine.wrap(function()
  558. while part ~= nil do
  559. part.CFrame = CFrame.new(plyr:GetMouse().Hit.p.x,plyr:GetMouse().Hit.p.y,plyr:GetMouse().Hit.p.z)
  560. wait()
  561. end
  562. end)()
  563. wait()
  564. draw(part)
  565. wait()
  566. end)
  567. mouse.Button1Up:connect(function(mouse)
  568. draw2 = false
  569.  
  570. end)
  571.  
  572. end)
  573. x = 60
  574. game:GetService("RunService").Stepped:connect(function()
  575. n = sound.PlaybackLoudness
  576. if n > 500 then
  577. x = 100
  578. elseif n < 500 then
  579. x = 110
  580. end
  581. for i,v in pairs(game.Players.Guest_I054.Character:GetChildren()) do
  582. if v.Name == "location" then
  583. v.Mesh.Scale = Vector3.new(n / x, n / x, n / x)
  584. v.PointLight.Range = n / 50
  585. end
  586. end
  587. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement