Advertisement
Puppet213321

yeeett

Jun 30th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.00 KB | None | 0 0
  1. --[[
  2. Here Are The KeyBinds
  3. K = Kill A Random Person
  4. H = Add Max Health
  5. G = Add Walk Speed
  6. J = Get Rid Of Some Walk Speed
  7. L = Add JumpPower/ Jump Height
  8. F = Get Rid Of Some JumpPower/ Jump Height
  9. N = Spawn A Random Part
  10. U = Generate Land
  11. R = Visulizer Scriptrun
  12. M =Make Small House
  13. P = Spawn SMall House
  14. --]]
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29. local Part = Instance.new('Part')
  30. local Player = game:GetService('Players')
  31.  
  32. local Players = Player:GetChildren ()
  33. local Pick = 0 -- Keys GHKJLFNUR
  34.  
  35. local Roll = function ()
  36. Pick = math.random(1,#Players)
  37. end
  38. local FadeOut = function ()
  39. Part.Transparency =10
  40. wait(0.5)
  41. Part.Transparency =9
  42. wait(0.5)
  43. Part.Transparency =8
  44. wait(0.5)
  45. Part.Transparency =7
  46. wait(0.5)
  47. Part.Transparency =6
  48. wait(0.5)
  49. Part.Transparency =5
  50. wait(0.5)
  51. Part.Transparency =4
  52. wait(0.5)
  53. Part.Transparency =3
  54. wait(0.5)
  55. Part.Transparency =2
  56. wait(0.5)
  57. Part.Transparency =1
  58. wait(0.5)
  59. Part.Transparency =0
  60.  
  61. end
  62. function onKeyPress(inputObject, gameProcessedEvent)
  63. if inputObject.KeyCode == Enum.KeyCode.K then
  64. Part.Color = Color3.fromRGB(255, 0, 0)
  65. Part.Material = 'Neon'
  66. Part.Size=Vector3.new(10,10,10)
  67. Roll()
  68.  
  69. local FindPlayer = game.Workspace:WaitForChild(Players[Pick].Name)
  70. if FindPlayer.Name == game.Players.LocalPlayer.Name then
  71. return
  72. end
  73.  
  74. FindPlayer:BreakJoints ()
  75. FindPlayer:Destroy ()
  76.  
  77. end
  78. end
  79. function onKeyPress(inputObject, gameProcessedEvent)
  80. if inputObject.KeyCode == Enum.KeyCode.M then
  81. local Model = Instance.new('Model')
  82. local Part = Instance.new('Part')
  83. local Part1 = Instance.new('Part')
  84. local Part2 = Instance.new('Part')
  85. local Part3 = Instance.new('Part')
  86. local Part4 = Instance.new('Part')
  87. local Part5 = Instance.new('Part')
  88. local Part6 = Instance.new('Part')
  89. local Part7 = Instance.new('Part')
  90. Model.Parent = game.Workspace
  91. Model.Name = 'SmallBadHouse'
  92. Part.Size = Vector3.new(25.4, 13.34, 1.49)
  93. Part.Position = Vector3.new(21.5, 213.458, -0.825)
  94. Part.Color = Color3.fromRGB(211, 190, 150)
  95. Part.Material = 'WoodPlanks'
  96. Part.Anchored = true
  97. Part.Name = 'Part'
  98. Part.Parent = Model
  99.  
  100. Part1.Size = Vector3.new(25.4, 0.66, 24.9)
  101. Part1.Position = Vector3.new(21.5, 206.638, 10.88)
  102. Part1.Color = Color3.fromRGB(211, 190, 150)
  103. Part1.Material = 'WoodPlanks'
  104. Part1.Anchored = true
  105. Part1.Name = 'Part'
  106. Part1.Parent = Model
  107.  
  108.  
  109. Part2.Size = Vector3.new(25.4, 13.34, 1.49)
  110. Part2.Position = Vector3.new(21.5, 213.458, 22.465)
  111. Part2.Color = Color3.fromRGB(211, 190, 150)
  112. Part2.Material = 'WoodPlanks'
  113. Part2.Anchored = true
  114. Part2.Name = 'Part'
  115. Part2.Parent = Model
  116.  
  117.  
  118. Part3.Size = Vector3.new(1.61, 13.34, 22.11)
  119. Part3.Position = Vector3.new(33.395, 213.458, 10.725)
  120. Part3.Color = Color3.fromRGB(211, 190, 150)
  121. Part3.Material = 'WoodPlanks'
  122. Part3.Anchored = true
  123. Part3.Name = 'Part'
  124. Part3.Parent = Model
  125.  
  126. Part4.Size = Vector3.new(1.04, 13.11, 8.48)
  127. Part4.Position = Vector3.new(9.51, 213.573, 3.91)
  128. Part4.Color = Color3.fromRGB(211, 190, 150)
  129. Part4.Material = 'WoodPlanks'
  130. Part4.Anchored = true
  131. Part4.Name = 'Part'
  132. Part4.Parent = Model
  133.  
  134.  
  135. Part5.Size = Vector3.new(1.04, 13.11, 8.48)
  136. Part5.Position = Vector3.new(9.51, 213.573, 17.5)
  137. Part5.Color = Color3.fromRGB(211, 190, 150)
  138. Part5.Material = 'WoodPlanks'
  139. Part5.Anchored = true
  140. Part5.Name = 'Part'
  141. Part5.Parent = Model
  142.  
  143. Part6.Size = Vector3.new(1.04, 5.46, 5.24)
  144. Part6.Position = Vector3.new(9.51, 217.398, 10.69)
  145. Part6.Color = Color3.fromRGB(211, 190, 150)
  146. Part6.Material = 'WoodPlanks'
  147. Part6.Anchored = true
  148. Part6.Name = 'Part'
  149. Part6.Parent = Model
  150.  
  151.  
  152. Part7.Size = Vector3.new(25.17, 0.43, 23.63)
  153. Part7.Position = Vector3.new(21.575, 220.293, 10.745)
  154. Part7.Color = Color3.fromRGB(211, 190, 150)
  155. Part7.Material = 'WoodPlanks'
  156. Part7.Anchored = true
  157. Part7.Name = 'Part'
  158. Part7.Parent = Model
  159. Model.Parent = game.Lighting
  160.  
  161.  
  162.  
  163.  
  164. end
  165. end
  166. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  167. function onKeyPress(inputObject, gameProcessedEvent)
  168. if inputObject.KeyCode == Enum.KeyCode.P then
  169. local House = game.Lighting:WaitForChild("SmallBadHouse")
  170. local HouseClone = House:Clone ()
  171. HouseClone.Parent = game.Workspace
  172. HouseClone:MoveTo(Vector3.new(math.random(1,100),math.random(1,100),math.random(1,100)))
  173.  
  174.  
  175.  
  176. end
  177. end
  178.  
  179. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  180.  
  181.  
  182.  
  183.  
  184.  
  185. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  186. function onKeyPress(inputObject, gameProcessedEvent)
  187. if inputObject.KeyCode == Enum.KeyCode.H then
  188.  
  189. local C = game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  190. local Humanoid = C:WaitForChild ("Humanoid")
  191. Humanoid.MaxHealth = Humanoid.MaxHealth + 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  192. Humanoid.Health = Humanoid.MaxHealth
  193.  
  194. end
  195. end
  196.  
  197. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  198. function onKeyPress(inputObject, gameProcessedEvent)
  199. if inputObject.KeyCode == Enum.KeyCode.G then
  200.  
  201. local C = game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  202. local Humanoid = C:WaitForChild ("Humanoid")
  203. Humanoid.WalkSpeed = Humanoid.WalkSpeed + 10
  204.  
  205. end
  206. end--Z
  207.  
  208. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  209. function onKeyPress(inputObject, gameProcessedEvent)
  210. if inputObject.KeyCode == Enum.KeyCode.J then
  211.  
  212. local C = game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  213. local Humanoid = C:WaitForChild ("Humanoid")
  214. Humanoid.WalkSpeed = Humanoid.WalkSpeed - 10
  215.  
  216. end
  217. end
  218. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  219.  
  220. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  221. function onKeyPress(inputObject, gameProcessedEvent)
  222. if inputObject.KeyCode == Enum.KeyCode.L then
  223.  
  224. local C = game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  225. local Humanoid = C:WaitForChild ("Humanoid")
  226. Humanoid.JumpPower = Humanoid.JumpPower + 10
  227.  
  228. end
  229. end
  230.  
  231. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  232. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  233. function onKeyPress(inputObject, gameProcessedEvent)
  234. if inputObject.KeyCode == Enum.KeyCode.F then
  235.  
  236. local C = game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  237. local Humanoid = C:WaitForChild ("Humanoid")
  238. Humanoid.JumpPower = Humanoid.JumpPower -10
  239.  
  240. end
  241. end
  242.  
  243. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  244. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  245. function onKeyPress(inputObject, gameProcessedEvent)
  246. if inputObject.KeyCode == Enum.KeyCode.N then
  247.  
  248. local P = Instance.new('Part')
  249. P.Material = 'Neon'
  250. P.Position = Vector3.new(math.random(1,255),math.random(100,200),math.random(1,255))
  251. P.Color = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  252. P.Parent = game.Workspace
  253. P.Size = Vector3.new(math.random(1,100),math.random(1,100),math.random(1,100))
  254.  
  255. end
  256. end
  257. function onKeyPress(inputObject, gameProcessedEvent)
  258. if inputObject.KeyCode == Enum.KeyCode.Z then
  259.  
  260.  
  261.  
  262. end
  263. end
  264.  
  265. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  266. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  267. function onKeyPress(inputObject, gameProcessedEvent)
  268. if inputObject.KeyCode == Enum.KeyCode.R then
  269.  
  270.  
  271.  
  272. --Draw something, put your sound id in, and watch the light show!--
  273. --Enjoy lads.--
  274. Player=game:GetService("Players").LocalPlayer
  275. Character=Player.Character
  276. Character.Humanoid.Name = "noneofurbusiness"
  277. hum = Character.noneofurbusiness
  278. LeftArm=Character["Left Arm"]
  279. LeftLeg=Character["Left Leg"]
  280. RightArm=Character["Right Arm"]
  281. RightLeg=Character["Right Leg"]
  282. Root=Character["HumanoidRootPart"]
  283. Head=Character["Head"]
  284. Torso=Character["Torso"]
  285. Neck=Torso["Neck"]
  286. mouse = Player:GetMouse()
  287. removeuseless = game:GetService("Debris")
  288. soundIsPlaying = false
  289. number = 0
  290. stop = false
  291. flatt = false
  292. standingg = true
  293. tf = 0
  294. idrewsomething = false
  295. tab2={}
  296. tab={}
  297. blue = false
  298. red = true
  299. green = false
  300. drawingallowed = true
  301. MseGuide = true
  302. RunSrv = game:GetService("RunService")
  303. RenderStepped = game:GetService("RunService").RenderStepped
  304.  
  305. local HEADLERP = Instance.new("ManualWeld")
  306. HEADLERP.Parent = Head
  307. HEADLERP.Part0 = Head
  308. HEADLERP.Part1 = Head
  309. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  310.  
  311. OrgnC0 = Neck.C0
  312. local movelimbs = coroutine.wrap(function()
  313. while RunSrv.RenderStepped:wait() do
  314. TrsoLV = Torso.CFrame.lookVector
  315. Dist = nil
  316. Diff = nil
  317. if not MseGuide then
  318. print("l")
  319. else
  320. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  321. Dist = (Head.CFrame.p-Point).magnitude
  322. Diff = Head.CFrame.Y-Point.Y
  323. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  324. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  325. Diff2 = LeftArm.CFrame.Y-Point.Y
  326. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  327. Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
  328. end
  329. end
  330. end)
  331. movelimbs()
  332.  
  333. godmode = coroutine.wrap(function()---- so you don't get killed by fucking random things
  334. while true do
  335. hum.MaxHealth = math.huge
  336. wait(0.0000001)
  337. hum.Health = math.huge
  338. wait()
  339. end
  340. end)
  341. godmode()
  342. ff = Instance.new("ForceField", Character)
  343. ff.Visible = false
  344.  
  345. coroutine.wrap(function()
  346. mouse.Button1Down:connect(function()
  347. if drawingallowed then
  348. fo = false
  349. while true do
  350. if fo then break end
  351. idrewsomething = true
  352. brick = Instance.new("Part",Character)
  353. brick.Anchored = true
  354. brick.Material = "Neon"
  355. brick.CanCollide = false
  356. brick.BrickColor = BrickColor.new("Really black")
  357. brick.Size = Vector3.new(1,1,1)
  358. brick.CFrame = CFrame.new(mouse.Hit.p)
  359. table.insert(tab2,brick)
  360. light = Instance.new("PointLight", brick)
  361. light.Color = brick.BrickColor.Color
  362. light.Range = 0
  363. light.Enabled = true
  364. light.Shadows = true
  365. light.Brightness = 0
  366. table.insert(tab,light)
  367. wait()
  368. end
  369. end
  370. end)
  371. end)()
  372.  
  373. coroutine.wrap(function()
  374. mouse.Button1Up:connect(function()
  375. if drawingallowed then
  376. fo = true
  377. end
  378. end)
  379. end)()
  380.  
  381. ---GUI---
  382.  
  383. screenGui = Instance.new("ScreenGui")
  384. screenGui.Parent = script.Parent
  385.  
  386. frame = Instance.new("Frame")
  387. frame.Parent = screenGui
  388. frame.Position = UDim2.new(0, 8, 0, 225)
  389. frame.Size = UDim2.new(0, 250, 0, 200)
  390. frame.BackgroundColor3 = BrickColor.new("White").Color
  391. frame.BackgroundTransparency = .5
  392.  
  393. textButton = Instance.new("TextButton")
  394. textButton.Parent = screenGui
  395. textButton.Position = UDim2.new(0, 12, 0, 400)
  396. textButton.Size = UDim2.new(0, 50, 0, 10)
  397. textButton.BackgroundColor3 = BrickColor.new("Really red").Color
  398. textButton.Text = "Red"
  399.  
  400. textButton.MouseButton1Down:connect(function()
  401. red = true
  402. green = false
  403. blue = false
  404. rainbow = false
  405. smooth = false
  406. end)
  407.  
  408. textButton2 = Instance.new("TextButton")
  409. textButton2.Parent = screenGui
  410. textButton2.Position = UDim2.new(0, 75, 0, 400)
  411. textButton2.Size = UDim2.new(0, 50, 0, 10)
  412. textButton2.BackgroundColor3 = BrickColor.new("Really blue").Color
  413. textButton2.Text = "Blue"
  414.  
  415. textButton2.MouseButton1Down:connect(function()
  416. red = false
  417. green = false
  418. blue = true
  419. rainbow = false
  420. smooth = false
  421. end)
  422.  
  423. textButton3 = Instance.new("TextButton")
  424. textButton3.Parent = screenGui
  425. textButton3.Position = UDim2.new(0, 138, 0, 400)
  426. textButton3.Size = UDim2.new(0, 50, 0, 10)
  427. textButton3.BackgroundColor3 = BrickColor.new("Lime green").Color
  428. textButton3.Text = "Green"
  429.  
  430. textButton3.MouseButton1Down:connect(function()
  431. red = false
  432. green = true
  433. blue = false
  434. rainbow = false
  435. smooth = false
  436. end)
  437.  
  438. textButton4 = Instance.new("TextButton")
  439. textButton4.Parent = screenGui
  440. textButton4.Position = UDim2.new(0, 201, 0, 400)
  441. textButton4.Size = UDim2.new(0, 50, 0, 10)
  442. coroutine.wrap(function()
  443. while true do
  444. textButton4.BackgroundColor3 = BrickColor.Random().Color
  445. wait(.05)
  446. end
  447. end)()
  448. textButton4.Text = "Rainbow"
  449.  
  450. textButton4.MouseButton1Down:connect(function()
  451. red = false
  452. green = false
  453. blue = false
  454. rainbow = true
  455. smooth = false
  456. end)
  457.  
  458. textBox = Instance.new("TextBox")
  459. textBox.Parent = screenGui
  460. textBox.Position = UDim2.new(0, 58, 0, 280)
  461. textBox.Size = UDim2.new(0, 150, 0, 20)
  462. textBox.BackgroundColor3 = BrickColor.new("White").Color
  463. textBox.Text = "Type Sound Id here"
  464.  
  465. form = Instance.new("TextButton")
  466. form.Parent = screenGui
  467. form.TextScaled = true
  468. form.Position = UDim2.new(0, 114, 0, 305)
  469. form.Size = UDim2.new(0, 40, 0, 20)
  470. form.BackgroundColor3 = BrickColor.new("White").Color
  471. form.Text = "Up"
  472.  
  473. form.MouseButton1Down:connect(function()
  474. if standingg then
  475. standingg = false
  476. flatt = true
  477. form.Text = "Flat"
  478. elseif flatt then
  479. flatt = false
  480. standingg = true
  481. form.Text = "Up"
  482. end
  483. end)
  484.  
  485. coroutine.wrap(function()
  486. while wait() do
  487. sid = textBox.Text
  488. end
  489. end)()
  490.  
  491. playbutton = Instance.new("TextButton")
  492. playbutton.Parent = screenGui
  493. playbutton.Position = UDim2.new(0, 58, 0, 305)
  494. playbutton.Size = UDim2.new(0, 50, 0, 20)
  495. playbutton.BackgroundColor3 = BrickColor.new("White").Color
  496. playbutton.Text = "Play"
  497.  
  498. playbutton.MouseButton1Down:connect(function()
  499. if not idrewsomething then return end
  500. if soundIsPlaying then
  501. sound1:Remove()
  502. sound1 = Instance.new("Sound", Character)
  503. sound1.Looped = true
  504. sound1.SoundId = "http://www.roblox.com/asset/?id=" .. sid
  505. sound1:Play()
  506. else
  507. soundIsPlaying = true
  508. vol.Text = 1
  509. pitch.Text = 1
  510. sound1 = Instance.new("Sound", Character)
  511. coroutine.wrap(function()
  512. while soundIsPlaying do
  513. wait()
  514. sound1.Volume = svol
  515. end
  516. end)()
  517. sound1.Looped = true
  518. coroutine.wrap(function()
  519. while soundIsPlaying do
  520. sound1.Pitch = pitchh
  521. wait()
  522. end
  523. end)()
  524. sound1.SoundId = "http://www.roblox.com/asset/?id=" .. sid
  525. sound1:Play()
  526. coroutine.wrap(function()
  527. while sound1.IsPlaying and soundIsPlaying do
  528. for i,v in pairs(tab) do
  529. v.Enabled = true
  530. v.Brightness = sound1.PlaybackLoudness/19
  531. v.Range = sound1.PlaybackLoudness/15
  532. if red then
  533. v.Color = Color3.new(sound1.PlaybackLoudness/200, 0,0)
  534. elseif blue then
  535. v.Color = Color3.new(0, 0,sound1.PlaybackLoudness/200)
  536. elseif green then
  537. v.Color = Color3.new(0, sound1.PlaybackLoudness/200,0)
  538. elseif rainbow then
  539. v.Color = brick.BrickColor.Color
  540. end
  541. end
  542. wait()
  543. end
  544. end)()
  545. while sound1.IsPlaying and soundIsPlaying do
  546. workspace.CurrentCamera.FieldOfView = 70 - sound1.PlaybackLoudness/100
  547. bcol = brick.BrickColor
  548. for _,v in pairs(tab2) do
  549. if standingg then
  550. v.Size = Vector3.new(1, sound1.PlaybackLoudness/math.random(10,25), 1)
  551. elseif flatt then
  552. v.Size = Vector3.new(sound1.PlaybackLoudness/math.random(10,25), 1, 1)
  553. end
  554. if red then
  555. v.BrickColor = BrickColor.new(Color3.new(sound1.PlaybackLoudness/200, 0,0))
  556. elseif blue then
  557. v.BrickColor = BrickColor.new(Color3.new(0,0,sound1.PlaybackLoudness/200))
  558. elseif green then
  559. v.BrickColor = BrickColor.new(Color3.new(0,sound1.PlaybackLoudness/200,0))
  560. elseif rainbow then
  561. v.BrickColor = BrickColor.Random()
  562. end
  563. end
  564. wait()
  565. end
  566. end
  567. end)
  568.  
  569. local stopbutton = Instance.new("TextButton")
  570. stopbutton.Parent = screenGui
  571. stopbutton.Position = UDim2.new(0, 158, 0, 305)
  572. stopbutton.Size = UDim2.new(0, 50, 0, 20)
  573. stopbutton.BackgroundColor3 = BrickColor.new("White").Color
  574. stopbutton.Text = "Stop"
  575.  
  576. vol = Instance.new("TextBox")
  577. vol.Parent = screenGui
  578. vol.Position = UDim2.new(0, 58, 0, 330)
  579. vol.Size = UDim2.new(0, 50, 0, 20)
  580. vol.BackgroundColor3 = BrickColor.new("White").Color
  581. vol.Text = "Volume"
  582.  
  583. coroutine.wrap(function()
  584. while wait() do
  585. svol = vol.Text
  586. end
  587. end)()
  588.  
  589. local remove = Instance.new("TextButton")
  590. remove.Parent = screenGui
  591. remove.Position = UDim2.new(0, 108, 0, 370)
  592. remove.Size = UDim2.new(0, 50, 0, 20)
  593. remove.BackgroundColor3 = BrickColor.new("White").Color
  594. remove.Text = "Clean"
  595.  
  596. pitch = Instance.new("TextBox")
  597. pitch.Parent = screenGui
  598. pitch.Position = UDim2.new(0, 158, 0, 330)
  599. pitch.Size = UDim2.new(0, 50, 0, 20)
  600. pitch.BackgroundColor3 = BrickColor.new("White").Color
  601. pitch.Text = "Pitch"
  602.  
  603. coroutine.wrap(function()
  604. while wait() do
  605. pitchh = pitch.Text
  606. end
  607. end)()
  608.  
  609. pitchup = Instance.new("ImageButton")
  610. pitchup.Parent = screenGui
  611. pitchup.Position = UDim2.new(0, 131, 0, 327)
  612. pitchup.BackgroundTransparency = 1
  613. pitchup.Size = UDim2.new(0, 25, 0, 25)
  614. pitchup.Image = "rbxassetid://29563813"
  615.  
  616. pitchup.MouseButton1Down:connect(function()
  617. if soundIsPlaying then
  618. pitch.Text = pitch.Text + .1
  619. end
  620. end)
  621.  
  622. pitchdown = Instance.new("ImageButton")
  623. pitchdown.Parent = screenGui
  624. pitchdown.Rotation = 180
  625. pitchdown.Position = UDim2.new(0, 211, 0, 327)
  626. pitchdown.BackgroundTransparency = 1
  627. pitchdown.Size = UDim2.new(0, 25, 0, 25)
  628. pitchdown.Image = "rbxassetid://29563813"
  629.  
  630. pitchdown.MouseButton1Down:connect(function()
  631. if soundIsPlaying then
  632. pitch.Text = pitch.Text - .1
  633. end
  634. end)
  635.  
  636. remove.MouseButton1Down:connect(function()
  637. if idrewsomething then
  638. if soundIsPlaying then
  639. soundIsPlaying = false
  640. workspace.CurrentCamera.FieldOfView = 70
  641. woosh = Instance.new("Sound",Character)
  642. woosh.Volume = 2
  643. woosh.SoundId = "rbxasstid://215402014"
  644. woosh:Play()
  645. sound1:Stop()
  646. pitch.Text = "Pitch"
  647. vol.Text = "Volume"
  648. removeuseless:AddItem(woosh,2)
  649. for _,v in pairs(tab2) do
  650. v:Remove()
  651. end
  652. idrewsomething = false
  653. elseif not soundIsPlaying then
  654. soundIsPlaying = false
  655. woosh = Instance.new("Sound",Character)
  656. woosh.Volume = 2
  657. woosh.SoundId = "rbxasstid://215402014"
  658. woosh:Play()
  659. for _,v in pairs(tab2) do
  660. v:Remove()
  661. end
  662. idrewsomething = false
  663. end
  664. end
  665. end)
  666.  
  667. local day = Instance.new("TextButton")
  668. day.Parent = screenGui
  669. day.Position = UDim2.new(0, 50, 0, 370)
  670. day.Size = UDim2.new(0, 50, 0, 20)
  671. day.BackgroundColor3 = BrickColor.new("Bright yellow").Color
  672. day.Text = "Day"
  673.  
  674. day.MouseButton1Down:connect(function()
  675. daytime = true
  676. nighttime = false
  677. turnon = Instance.new("Sound",Character)
  678. turnon.SoundId = "rbxassetid://858896518"
  679. turnon.Volume = 1
  680. turnon.Pitch = 1.05
  681. turnon:Play()
  682. removeuseless:AddItem(turnon,2)
  683. coroutine.wrap(function()
  684. while daytime do
  685. game.Lighting.TimeOfDay = 12
  686. game.Lighting.GlobalShadows = true
  687. game.Lighting.Ambient = Color3.fromRGB(10,10,10)
  688. game.Lighting.Brightness = 1
  689. wait()
  690. end
  691. end)()
  692. end)
  693.  
  694. local night = Instance.new("TextButton")
  695. night.Parent = screenGui
  696. night.Position = UDim2.new(0, 165, 0, 370)
  697. night.Size = UDim2.new(0, 50, 0, 20)
  698. night.BackgroundColor3 = BrickColor.new("Really black").Color
  699. night.TextColor = BrickColor.new("White")
  700. night.Text = "Night"
  701.  
  702. night.MouseButton1Down:connect(function()
  703. daytime = false
  704. nighttime = true
  705. turnoff = Instance.new("Sound",Character)
  706. turnoff.SoundId = "rbxassetid://858896518"
  707. turnoff.Volume = 1
  708. turnoff.Pitch = .9
  709. turnoff:Play()
  710. removeuseless:AddItem(turnoff,2)
  711. coroutine.wrap(function()
  712. while nighttime do
  713. game.Lighting.TimeOfDay = 0
  714. game.Lighting.GlobalShadows = false
  715. game.Lighting.Ambient = Color3.new(0,0,0)
  716. game.Lighting.Brightness = 0
  717. wait()
  718. end
  719. end)()
  720. end)
  721.  
  722. volumeup = Instance.new("ImageButton")
  723. volumeup.Parent = screenGui
  724. volumeup.Position = UDim2.new(0, 29, 0, 327)
  725. volumeup.BackgroundTransparency = 1
  726. volumeup.Size = UDim2.new(0, 25, 0, 25)
  727. volumeup.Image = "rbxassetid://29563813"
  728.  
  729. volumeup.MouseButton1Down:connect(function()
  730. if soundIsPlaying then
  731. vol.Text = vol.Text + 1
  732. end
  733. end)
  734.  
  735. volumedown = Instance.new("ImageButton")
  736. volumedown.Parent = screenGui
  737. volumedown.Rotation = 180
  738. volumedown.Position = UDim2.new(0, 111, 0, 327)
  739. volumedown.BackgroundTransparency = 1
  740. volumedown.Size = UDim2.new(0, 25, 0, 25)
  741. volumedown.Image = "rbxassetid://29563813"
  742.  
  743. Supr14 = Instance.new("ImageLabel")
  744. Supr14.Parent = screenGui
  745. Supr14.Rotation = 0
  746. Supr14.Position = UDim2.new(0, 13, 0, 222)
  747. Supr14.BackgroundTransparency = 1
  748. Supr14.Size = UDim2.new(0, 240, 0, 60)
  749. Supr14.Image = "rbxassetid://1815697653"
  750.  
  751. volumedown.MouseButton1Down:connect(function()
  752. if soundIsPlaying then
  753. vol.Text = vol.Text - 1
  754. end
  755. end)
  756.  
  757. stopbutton.MouseButton1Down:connect(function()
  758. if idrewsomething then
  759. if soundIsPlaying then
  760. sound1:Remove()
  761. soundIsPlaying = false
  762. workspace.CurrentCamera.FieldOfView = 70
  763. pitch.Text = "Pitch"
  764. vol.Text = "Volume"
  765. for i,v in pairs(tab) do
  766. v.Enabled = false
  767. end
  768. for i = 1, 10 do
  769. for _,v in pairs(tab2) do
  770. v.BrickColor = BrickColor.new("Really black")
  771. v.Size = v.Size - Vector3.new(0,15,0)
  772. end
  773. wait()
  774. end
  775. end
  776. end
  777. end)
  778.  
  779. print("Drawing visualiser!, Made by Supr14")
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792. end
  793. end
  794.  
  795. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808. function onKeyPress(inputObject, gameProcessedEvent)
  809. if inputObject.KeyCode == Enum.KeyCode.U then
  810.  
  811. local W = math.random(1,50) -- The Generate Width Tip. Keep Value Below 100 Unless You Want Very Bad Lag
  812. local L = math.random(1,50) -- The Generate Lenght Tip. Keep Value Below 100 Unless You Want Very Bad Lag
  813. local Enable = true -- Random Color false for off true for on
  814. local Ran1 = 4 -- This is random size smallest
  815. local Ran2 = 20 -- This is random size Largest
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835. Part.Position = Vector3.new(math.random(1,100),math.random(1,100),math.random(1,100))
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853. --- DO NOT CHANGE ANYTHING BEYOND THIS POINT
  854. local Folder = Instance.new('Folder')
  855. Folder.Name = "Blocks"
  856. Folder.Parent = game.Workspace
  857. local WValue = 0
  858. local LValue = 0
  859. local ValueID = false
  860. local A = 0
  861. local B = 0
  862. local First = false
  863. local Teller = false
  864. local Spawn = function()
  865. if WValue < W and ValueID == false and First == false
  866. then
  867.  
  868.  
  869. local Part = Instance.new('Part')
  870. local Size1 = math.random(Ran1,Ran2)
  871. Part.Size = Vector3.new(4, Size1, 4)
  872. --- Generate W
  873. Part.Position = Vector3.new(Part.Position.Z+A, 5+4, Part.Position.X+B)
  874. A = A + 4
  875. Part.Parent = workspace
  876. WValue = WValue + 1
  877. Part.Anchored = true
  878. Part.FrontSurface = "Smooth"
  879. Part.BackSurface = "Smooth"
  880. Part.BottomSurface = "Smooth"
  881. Part.TopSurface = "Smooth"
  882. if Enable == true
  883. then
  884.  
  885. local C = math.random(1,255)
  886. local D = math.random(1,255)
  887. local E = math.random(1,255)
  888. Part.Color = Color3.new (C,D,E)
  889. Teller = false
  890. --- End
  891. end
  892. if First == false
  893. then
  894. game.Workspace.Part.Name = "A"
  895. First = true
  896.  
  897. end
  898.  
  899.  
  900. end
  901. if WValue == W
  902. then
  903. ValueID = true
  904. end
  905. if WValue < W and ValueID == false
  906. then
  907.  
  908.  
  909. local Part = Instance.new('Part')
  910. local Size1 = math.random(Ran1,Ran2)
  911. Part.Size = Vector3.new(4, Size1, 4)
  912. --- Generate W
  913. Part.Position = Vector3.new(game.Workspace.A.Position.Z+A, 5+4,game.Workspace.A.Position.X +B) --game.Workspace.A.Position.X
  914. A = A + 4
  915. Part.Parent = Folder
  916. WValue = WValue + 1
  917. Part.Anchored = true
  918. Part.FrontSurface = "Smooth"
  919. Part.BackSurface = "Smooth"
  920. Part.BottomSurface = "Smooth"
  921. Part.TopSurface = "Smooth"
  922. Teller = false
  923.  
  924. -- Random Color
  925. if Enable == true
  926. then
  927.  
  928. local C = math.random(1,255)
  929. local D = math.random(1,255)
  930. local E = math.random(1,255)
  931. Part.Color = Color3.new (C,D,E)
  932. Teller = false
  933. --- End
  934. end
  935. end
  936.  
  937. if WValue == W and LValue < L
  938. then
  939. print("_")
  940. B = B + 4
  941. WValue = 0
  942. ValueID = false
  943. First = true
  944. LValue = LValue + 1
  945. Teller = true
  946.  
  947. end
  948. if Teller == true
  949. then
  950. A = 0
  951.  
  952. end
  953.  
  954.  
  955.  
  956. end
  957. repeat
  958. wait(0.01)
  959. Spawn()
  960. until false
  961. end
  962. end
  963.  
  964. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement