Advertisement
RobloxScriptzzz

AAAAAAH

Jun 24th, 2019
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.82 KB | None | 0 0
  1. Player=game:GetService("Players").GrownGreen
  2. Character=Player.Character
  3. Character.Humanoid.Name = "noneofurbusiness"
  4. hum = Character.noneofurbusiness
  5. LeftArm=Character["Left Arm"]
  6. LeftLeg=Character["Left Leg"]
  7. RightArm=Character["Right Arm"]
  8. RightLeg=Character["Right Leg"]
  9. Root=Character["HumanoidRootPart"]
  10. Head=Character["Head"]
  11. Torso=Character["Torso"]
  12. Neck=Torso["Neck"]
  13. mouse = Player:GetMouse()
  14. removeuseless = game:GetService("Debris")
  15. soundIsPlaying = false
  16. number = 0
  17. stop = false
  18. flatt = false
  19. standingg = true
  20. tf = 0
  21. idrewsomething = false
  22. tab2={}
  23. tab={}
  24. blue = false
  25. red = true
  26. green = false
  27. drawingallowed = true
  28. MseGuide = true
  29. RunSrv = game:GetService("RunService")
  30. RenderStepped = game:GetService("RunService").RenderStepped
  31.  
  32. local HEADLERP = Instance.new("ManualWeld")
  33. HEADLERP.Parent = Head
  34. HEADLERP.Part0 = Head
  35. HEADLERP.Part1 = Head
  36. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  37.  
  38. OrgnC0 = Neck.C0
  39. local movelimbs = coroutine.wrap(function()
  40. while RunSrv.RenderStepped:wait() do
  41. TrsoLV = Torso.CFrame.lookVector
  42. Dist = nil
  43. Diff = nil
  44. if not MseGuide then
  45. print("l")
  46. else
  47. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  48. Dist = (Head.CFrame.p-Point).magnitude
  49. Diff = Head.CFrame.Y-Point.Y
  50. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  51. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  52. Diff2 = LeftArm.CFrame.Y-Point.Y
  53. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  54. 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)
  55. end
  56. end
  57. end)
  58. movelimbs()
  59.  
  60. godmode = coroutine.wrap(function()---- so you don't get killed by fucking random things
  61. while true do
  62. hum.MaxHealth = math.huge
  63. wait(0.0000001)
  64. hum.Health = math.huge
  65. wait()
  66. end
  67. end)
  68. godmode()
  69. ff = Instance.new("ForceField", Character)
  70. ff.Visible = false
  71.  
  72. coroutine.wrap(function()
  73. mouse.Button1Down:connect(function()
  74. if drawingallowed then
  75. fo = false
  76. while true do
  77. if fo then break end
  78. idrewsomething = true
  79. brick = Instance.new("Part",Character)
  80. brick.Anchored = true
  81. brick.Material = "Neon"
  82. brick.CanCollide = false
  83. brick.BrickColor = BrickColor.new("Really black")
  84. brick.Size = Vector3.new(1,1,1)
  85. brick.CFrame = CFrame.new(mouse.Hit.p)
  86. table.insert(tab2,brick)
  87. light = Instance.new("PointLight", brick)
  88. light.Color = brick.BrickColor.Color
  89. light.Range = 0
  90. light.Enabled = true
  91. light.Shadows = true
  92. light.Brightness = 0
  93. table.insert(tab,light)
  94. wait()
  95. end
  96. end
  97. end)
  98. end)()
  99.  
  100. coroutine.wrap(function()
  101. mouse.Button1Up:connect(function()
  102. if drawingallowed then
  103. fo = true
  104. end
  105. end)
  106. end)()
  107.  
  108. ---GUI---
  109.  
  110. screenGui = Instance.new("ScreenGui")
  111. screenGui.Parent = script.Parent
  112.  
  113. frame = Instance.new("Frame")
  114. frame.Parent = screenGui
  115. frame.Position = UDim2.new(0, 8, 0, 225)
  116. frame.Size = UDim2.new(0, 250, 0, 200)
  117. frame.BackgroundColor3 = BrickColor.new("White").Color
  118. frame.BackgroundTransparency = .5
  119.  
  120. textButton = Instance.new("TextButton")
  121. textButton.Parent = screenGui
  122. textButton.Position = UDim2.new(0, 12, 0, 400)
  123. textButton.Size = UDim2.new(0, 50, 0, 10)
  124. textButton.BackgroundColor3 = BrickColor.new("Really red").Color
  125. textButton.Text = "Red"
  126.  
  127. textButton.MouseButton1Down:connect(function()
  128. red = true
  129. green = false
  130. blue = false
  131. rainbow = false
  132. smooth = false
  133. end)
  134.  
  135. textButton2 = Instance.new("TextButton")
  136. textButton2.Parent = screenGui
  137. textButton2.Position = UDim2.new(0, 75, 0, 400)
  138. textButton2.Size = UDim2.new(0, 50, 0, 10)
  139. textButton2.BackgroundColor3 = BrickColor.new("Really blue").Color
  140. textButton2.Text = "Blue"
  141.  
  142. textButton2.MouseButton1Down:connect(function()
  143. red = false
  144. green = false
  145. blue = true
  146. rainbow = false
  147. smooth = false
  148. end)
  149.  
  150. textButton3 = Instance.new("TextButton")
  151. textButton3.Parent = screenGui
  152. textButton3.Position = UDim2.new(0, 138, 0, 400)
  153. textButton3.Size = UDim2.new(0, 50, 0, 10)
  154. textButton3.BackgroundColor3 = BrickColor.new("Lime green").Color
  155. textButton3.Text = "Green"
  156.  
  157. textButton3.MouseButton1Down:connect(function()
  158. red = false
  159. green = true
  160. blue = false
  161. rainbow = false
  162. smooth = false
  163. end)
  164.  
  165. textButton4 = Instance.new("TextButton")
  166. textButton4.Parent = screenGui
  167. textButton4.Position = UDim2.new(0, 201, 0, 400)
  168. textButton4.Size = UDim2.new(0, 50, 0, 10)
  169. coroutine.wrap(function()
  170. while true do
  171. textButton4.BackgroundColor3 = BrickColor.Random().Color
  172. wait(.05)
  173. end
  174. end)()
  175. textButton4.Text = "Rainbow"
  176.  
  177. textButton4.MouseButton1Down:connect(function()
  178. red = false
  179. green = false
  180. blue = false
  181. rainbow = true
  182. smooth = false
  183. end)
  184.  
  185. textBox = Instance.new("TextBox")
  186. textBox.Parent = screenGui
  187. textBox.Position = UDim2.new(0, 58, 0, 280)
  188. textBox.Size = UDim2.new(0, 150, 0, 20)
  189. textBox.BackgroundColor3 = BrickColor.new("White").Color
  190. textBox.Text = "Type Sound Id here"
  191.  
  192. form = Instance.new("TextButton")
  193. form.Parent = screenGui
  194. form.TextScaled = true
  195. form.Position = UDim2.new(0, 114, 0, 305)
  196. form.Size = UDim2.new(0, 40, 0, 20)
  197. form.BackgroundColor3 = BrickColor.new("White").Color
  198. form.Text = "Up"
  199.  
  200. form.MouseButton1Down:connect(function()
  201. if standingg then
  202. standingg = false
  203. flatt = true
  204. form.Text = "Flat"
  205. elseif flatt then
  206. flatt = false
  207. standingg = true
  208. form.Text = "Up"
  209. end
  210. end)
  211.  
  212. coroutine.wrap(function()
  213. while wait() do
  214. sid = textBox.Text
  215. end
  216. end)()
  217.  
  218. playbutton = Instance.new("TextButton")
  219. playbutton.Parent = screenGui
  220. playbutton.Position = UDim2.new(0, 58, 0, 305)
  221. playbutton.Size = UDim2.new(0, 50, 0, 20)
  222. playbutton.BackgroundColor3 = BrickColor.new("White").Color
  223. playbutton.Text = "Play"
  224.  
  225. playbutton.MouseButton1Down:connect(function()
  226. if not idrewsomething then return end
  227. if soundIsPlaying then
  228. sound1:Remove()
  229. sound1 = Instance.new("Sound", Character)
  230. sound1.Looped = true
  231. sound1.SoundId = "http://www.roblox.com/asset/?id=" .. sid
  232. sound1:Play()
  233. else
  234. soundIsPlaying = true
  235. vol.Text = 1
  236. pitch.Text = 1
  237. sound1 = Instance.new("Sound", Character)
  238. coroutine.wrap(function()
  239. while soundIsPlaying do
  240. wait()
  241. sound1.Volume = svol
  242. end
  243. end)()
  244. sound1.Looped = true
  245. coroutine.wrap(function()
  246. while soundIsPlaying do
  247. sound1.Pitch = pitchh
  248. wait()
  249. end
  250. end)()
  251. sound1.SoundId = "http://www.roblox.com/asset/?id=" .. sid
  252. sound1:Play()
  253. coroutine.wrap(function()
  254. while sound1.IsPlaying and soundIsPlaying do
  255. for i,v in pairs(tab) do
  256. v.Enabled = true
  257. v.Brightness = sound1.PlaybackLoudness/19
  258. v.Range = sound1.PlaybackLoudness/15
  259. if red then
  260. v.Color = Color3.new(sound1.PlaybackLoudness/200, 0,0)
  261. elseif blue then
  262. v.Color = Color3.new(0, 0,sound1.PlaybackLoudness/200)
  263. elseif green then
  264. v.Color = Color3.new(0, sound1.PlaybackLoudness/200,0)
  265. elseif rainbow then
  266. v.Color = brick.BrickColor.Color
  267. end
  268. end
  269. wait()
  270. end
  271. end)()
  272. while sound1.IsPlaying and soundIsPlaying do
  273. workspace.CurrentCamera.FieldOfView = 70 - sound1.PlaybackLoudness/100
  274. bcol = brick.BrickColor
  275. for _,v in pairs(tab2) do
  276. if standingg then
  277. v.Size = Vector3.new(1, sound1.PlaybackLoudness/math.random(10,25), 1)
  278. elseif flatt then
  279. v.Size = Vector3.new(sound1.PlaybackLoudness/math.random(10,25), 1, 1)
  280. end
  281. if red then
  282. v.BrickColor = BrickColor.new(Color3.new(sound1.PlaybackLoudness/200, 0,0))
  283. elseif blue then
  284. v.BrickColor = BrickColor.new(Color3.new(0,0,sound1.PlaybackLoudness/200))
  285. elseif green then
  286. v.BrickColor = BrickColor.new(Color3.new(0,sound1.PlaybackLoudness/200,0))
  287. elseif rainbow then
  288. v.BrickColor = BrickColor.Random()
  289. end
  290. end
  291. wait()
  292. end
  293. end
  294. end)
  295.  
  296. local stopbutton = Instance.new("TextButton")
  297. stopbutton.Parent = screenGui
  298. stopbutton.Position = UDim2.new(0, 158, 0, 305)
  299. stopbutton.Size = UDim2.new(0, 50, 0, 20)
  300. stopbutton.BackgroundColor3 = BrickColor.new("White").Color
  301. stopbutton.Text = "Stop"
  302.  
  303. vol = Instance.new("TextBox")
  304. vol.Parent = screenGui
  305. vol.Position = UDim2.new(0, 58, 0, 330)
  306. vol.Size = UDim2.new(0, 50, 0, 20)
  307. vol.BackgroundColor3 = BrickColor.new("White").Color
  308. vol.Text = "Volume"
  309.  
  310. coroutine.wrap(function()
  311. while wait() do
  312. svol = vol.Text
  313. end
  314. end)()
  315.  
  316. local remove = Instance.new("TextButton")
  317. remove.Parent = screenGui
  318. remove.Position = UDim2.new(0, 108, 0, 370)
  319. remove.Size = UDim2.new(0, 50, 0, 20)
  320. remove.BackgroundColor3 = BrickColor.new("White").Color
  321. remove.Text = "Clean"
  322.  
  323. pitch = Instance.new("TextBox")
  324. pitch.Parent = screenGui
  325. pitch.Position = UDim2.new(0, 158, 0, 330)
  326. pitch.Size = UDim2.new(0, 50, 0, 20)
  327. pitch.BackgroundColor3 = BrickColor.new("White").Color
  328. pitch.Text = "Pitch"
  329.  
  330. coroutine.wrap(function()
  331. while wait() do
  332. pitchh = pitch.Text
  333. end
  334. end)()
  335.  
  336. pitchup = Instance.new("ImageButton")
  337. pitchup.Parent = screenGui
  338. pitchup.Position = UDim2.new(0, 131, 0, 327)
  339. pitchup.BackgroundTransparency = 1
  340. pitchup.Size = UDim2.new(0, 25, 0, 25)
  341. pitchup.Image = "rbxassetid://29563813"
  342.  
  343. pitchup.MouseButton1Down:connect(function()
  344. if soundIsPlaying then
  345. pitch.Text = pitch.Text + .1
  346. end
  347. end)
  348.  
  349. pitchdown = Instance.new("ImageButton")
  350. pitchdown.Parent = screenGui
  351. pitchdown.Rotation = 180
  352. pitchdown.Position = UDim2.new(0, 211, 0, 327)
  353. pitchdown.BackgroundTransparency = 1
  354. pitchdown.Size = UDim2.new(0, 25, 0, 25)
  355. pitchdown.Image = "rbxassetid://29563813"
  356.  
  357. pitchdown.MouseButton1Down:connect(function()
  358. if soundIsPlaying then
  359. pitch.Text = pitch.Text - .1
  360. end
  361. end)
  362.  
  363. remove.MouseButton1Down:connect(function()
  364. if idrewsomething then
  365. if soundIsPlaying then
  366. soundIsPlaying = false
  367. workspace.CurrentCamera.FieldOfView = 70
  368. woosh = Instance.new("Sound",Character)
  369. woosh.Volume = 2
  370. woosh.SoundId = "rbxasstid://215402014"
  371. woosh:Play()
  372. sound1:Stop()
  373. pitch.Text = "Pitch"
  374. vol.Text = "Volume"
  375. removeuseless:AddItem(woosh,2)
  376. for _,v in pairs(tab2) do
  377. v:Remove()
  378. end
  379. idrewsomething = false
  380. elseif not soundIsPlaying then
  381. soundIsPlaying = false
  382. woosh = Instance.new("Sound",Character)
  383. woosh.Volume = 2
  384. woosh.SoundId = "rbxasstid://215402014"
  385. woosh:Play()
  386. for _,v in pairs(tab2) do
  387. v:Remove()
  388. end
  389. idrewsomething = false
  390. end
  391. end
  392. end)
  393.  
  394. local day = Instance.new("TextButton")
  395. day.Parent = screenGui
  396. day.Position = UDim2.new(0, 50, 0, 370)
  397. day.Size = UDim2.new(0, 50, 0, 20)
  398. day.BackgroundColor3 = BrickColor.new("Bright yellow").Color
  399. day.Text = "Day"
  400.  
  401. day.MouseButton1Down:connect(function()
  402. daytime = true
  403. nighttime = false
  404. turnon = Instance.new("Sound",Character)
  405. turnon.SoundId = "rbxassetid://858896518"
  406. turnon.Volume = 1
  407. turnon.Pitch = 1.05
  408. turnon:Play()
  409. removeuseless:AddItem(turnon,2)
  410. coroutine.wrap(function()
  411. while daytime do
  412. game.Lighting.TimeOfDay = 12
  413. game.Lighting.GlobalShadows = true
  414. game.Lighting.Ambient = Color3.fromRGB(10,10,10)
  415. game.Lighting.Brightness = 1
  416. wait()
  417. end
  418. end)()
  419. end)
  420.  
  421. local night = Instance.new("TextButton")
  422. night.Parent = screenGui
  423. night.Position = UDim2.new(0, 165, 0, 370)
  424. night.Size = UDim2.new(0, 50, 0, 20)
  425. night.BackgroundColor3 = BrickColor.new("Really black").Color
  426. night.TextColor = BrickColor.new("White")
  427. night.Text = "Night"
  428.  
  429. night.MouseButton1Down:connect(function()
  430. daytime = false
  431. nighttime = true
  432. turnoff = Instance.new("Sound",Character)
  433. turnoff.SoundId = "rbxassetid://858896518"
  434. turnoff.Volume = 1
  435. turnoff.Pitch = .9
  436. turnoff:Play()
  437. removeuseless:AddItem(turnoff,2)
  438. coroutine.wrap(function()
  439. while nighttime do
  440. game.Lighting.TimeOfDay = 0
  441. game.Lighting.GlobalShadows = false
  442. game.Lighting.Ambient = Color3.new(0,0,0)
  443. game.Lighting.Brightness = 0
  444. wait()
  445. end
  446. end)()
  447. end)
  448.  
  449. volumeup = Instance.new("ImageButton")
  450. volumeup.Parent = screenGui
  451. volumeup.Position = UDim2.new(0, 29, 0, 327)
  452. volumeup.BackgroundTransparency = 1
  453. volumeup.Size = UDim2.new(0, 25, 0, 25)
  454. volumeup.Image = "rbxassetid://29563813"
  455.  
  456. volumeup.MouseButton1Down:connect(function()
  457. if soundIsPlaying then
  458. vol.Text = vol.Text + 1
  459. end
  460. end)
  461.  
  462. volumedown = Instance.new("ImageButton")
  463. volumedown.Parent = screenGui
  464. volumedown.Rotation = 180
  465. volumedown.Position = UDim2.new(0, 111, 0, 327)
  466. volumedown.BackgroundTransparency = 1
  467. volumedown.Size = UDim2.new(0, 25, 0, 25)
  468. volumedown.Image = "rbxassetid://29563813"
  469.  
  470. Supr14 = Instance.new("ImageLabel")
  471. Supr14.Parent = screenGui
  472. Supr14.Rotation = 0
  473. Supr14.Position = UDim2.new(0, 13, 0, 222)
  474. Supr14.BackgroundTransparency = 1
  475. Supr14.Size = UDim2.new(0, 240, 0, 60)
  476. Supr14.Image = "rbxassetid://1815697653"
  477.  
  478. volumedown.MouseButton1Down:connect(function()
  479. if soundIsPlaying then
  480. vol.Text = vol.Text - 1
  481. end
  482. end)
  483.  
  484. stopbutton.MouseButton1Down:connect(function()
  485. if idrewsomething then
  486. if soundIsPlaying then
  487. sound1:Remove()
  488. soundIsPlaying = false
  489. workspace.CurrentCamera.FieldOfView = 70
  490. pitch.Text = "Pitch"
  491. vol.Text = "Volume"
  492. for i,v in pairs(tab) do
  493. v.Enabled = false
  494. end
  495. for i = 1, 10 do
  496. for _,v in pairs(tab2) do
  497. v.BrickColor = BrickColor.new("Really black")
  498. v.Size = v.Size - Vector3.new(0,15,0)
  499. end
  500. wait()
  501. end
  502. end
  503. end
  504. end)
  505.  
  506. print("Drawing visualiser!, Made by Supr14")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement