Advertisement
Upscalefanatic3

Musicify Music ID Player V0.54

Feb 10th, 2018
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.82 KB | None | 0 0
  1. -- Objects
  2.  
  3. local Musicify = Instance.new("ScreenGui")
  4. local OpenFrame = Instance.new("Frame")
  5. local Open = Instance.new("ImageButton")
  6. local MainFrame = Instance.new("Frame")
  7. local TopBar = Instance.new("Frame")
  8. local MusicifyTxt = Instance.new("TextLabel")
  9. local BottomBar = Instance.new("Frame")
  10. local Verison = Instance.new("TextLabel")
  11. local V = Instance.new("TextLabel")
  12. local X1 = Instance.new("TextButton")
  13. local IDHere = Instance.new("TextBox")
  14. local Stop = Instance.new("ImageButton")
  15. local Play = Instance.new("ImageButton")
  16. local PresetSongSlider = Instance.new("ScrollingFrame")
  17. local BetrayedID = Instance.new("TextButton")
  18. local GucciGangID = Instance.new("TextButton")
  19. local RockStarID = Instance.new("TextButton")
  20. local HeathensID = Instance.new("TextButton")
  21. local ThunderID = Instance.new("TextButton")
  22. local GodsPlanID = Instance.new("TextButton")
  23. local BankAccID = Instance.new("TextButton")
  24. local Bar2 = Instance.new("Frame")
  25. local Bar1 = Instance.new("Frame")
  26. local DiscoButton = Instance.new("TextButton")
  27. local ChangelogBtn = Instance.new("TextButton")
  28. local ChangelogFrame = Instance.new("Frame")
  29. local ChangelogTxt = Instance.new("TextLabel")
  30. local Bar1_2 = Instance.new("Frame")
  31. local AddTxt = Instance.new("TextLabel")
  32. local PointzDcTxt = Instance.new("TextLabel")
  33. local NothingTxt = Instance.new("TextLabel")
  34. local AddFunTxt = Instance.new("TextLabel")
  35. local PitchandVolTxt = Instance.new("TextLabel")
  36. local CustomScriptTxt = Instance.new("TextLabel")
  37. local MusicTorsoTxt = Instance.new("TextLabel")
  38. local TryingtoTxt = Instance.new("TextLabel")
  39. local AudioVisualTxt = Instance.new("TextLabel")
  40. local NextVTxt = Instance.new("TextLabel")
  41. local LearningLuaTxt = Instance.new("TextLabel")
  42. local VolumeHere = Instance.new("TextBox")
  43. local PitchHere = Instance.new("TextBox")
  44. local DestroyGuiBtn = Instance.new("TextButton")
  45. local FunMenuBtn = Instance.new("TextButton")
  46. local FunMenuFrame = Instance.new("Frame")
  47. local UltimateDiscoManBtn = Instance.new("TextButton")
  48. local IDDiscoMan = Instance.new("TextBox")
  49. local MadeBy2Txt = Instance.new("TextLabel")
  50. local MadeByTxt = Instance.new("TextLabel")
  51. local TextLabel = Instance.new("TextLabel")
  52. local TextLabel_2 = Instance.new("TextLabel")
  53.  
  54. -- Properties
  55.  
  56. Musicify.Name = "Musicify"
  57. Musicify.Parent = game.CoreGui
  58.  
  59. OpenFrame.Name = "OpenFrame"
  60. OpenFrame.Parent = Musicify
  61. OpenFrame.BackgroundColor3 = Color3.new(0.215686, 0.258824, 0.980392)
  62. OpenFrame.BorderColor3 = Color3.new(1, 1, 1)
  63. OpenFrame.BorderSizePixel = 3
  64. OpenFrame.Position = UDim2.new(0, 0, 0.683794439, 0)
  65. OpenFrame.Size = UDim2.new(0, 30, 0, 29)
  66.  
  67. Open.Name = "Open"
  68. Open.Parent = OpenFrame
  69. Open.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  70. Open.BackgroundTransparency = 0.15999999642372
  71. Open.BorderSizePixel = 0
  72. Open.Size = UDim2.new(0, 29, 0, 29)
  73. Open.Image = "rbxassetid://1380525838"
  74.  
  75. Open.MouseButton1Down:connect(function()
  76. OpenFrame.Visible = false
  77. MainFrame.Visible = true
  78. end)
  79.  
  80. MainFrame.Name = "MainFrame"
  81. MainFrame.Parent = Musicify
  82. MainFrame.Active = true
  83. MainFrame.BackgroundColor3 = Color3.new(0.215686, 0.258824, 0.980392)
  84. MainFrame.BackgroundTransparency = 0.11999999731779
  85. MainFrame.BorderColor3 = Color3.new(1, 1, 1)
  86. MainFrame.BorderSizePixel = 3
  87. MainFrame.Draggable = true
  88. MainFrame.Position = UDim2.new(0.0095257787, 0, 0.0228556879, 0)
  89. MainFrame.Selectable = true
  90. MainFrame.Size = UDim2.new(0, 348, 0, 261)
  91. MainFrame.Visible = false
  92.  
  93. TopBar.Name = "TopBar"
  94. TopBar.Parent = MainFrame
  95. TopBar.Active = true
  96. TopBar.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  97. TopBar.BorderSizePixel = 0
  98. TopBar.Selectable = true
  99. TopBar.Size = UDim2.new(0, 348, 0, 31)
  100.  
  101. MusicifyTxt.Name = "MusicifyTxt"
  102. MusicifyTxt.Parent = TopBar
  103. MusicifyTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  104. MusicifyTxt.BackgroundTransparency = 1
  105. MusicifyTxt.BorderSizePixel = 0
  106. MusicifyTxt.Position = UDim2.new(0.493941069, 0, 0.112903222, 0)
  107. MusicifyTxt.Size = UDim2.new(0, 52, 0, 24)
  108. MusicifyTxt.Font = Enum.Font.SciFi
  109. MusicifyTxt.Text = "Musicify"
  110. MusicifyTxt.TextColor3 = Color3.new(1, 1, 1)
  111. MusicifyTxt.TextSize = 25
  112.  
  113. BottomBar.Name = "BottomBar"
  114. BottomBar.Parent = TopBar
  115. BottomBar.BackgroundColor3 = Color3.new(0.129412, 0.180392, 0.619608)
  116. BottomBar.BorderColor3 = Color3.new(1, 1, 1)
  117. BottomBar.BorderSizePixel = 0
  118. BottomBar.Position = UDim2.new(0, 0, 1, 0)
  119. BottomBar.Size = UDim2.new(0, 348, 0, 5)
  120.  
  121. Verison.Name = "Verison"
  122. Verison.Parent = TopBar
  123. Verison.BackgroundColor3 = Color3.new(1, 1, 1)
  124. Verison.BackgroundTransparency = 1
  125. Verison.Position = UDim2.new(0, 0, 0.161290318, 0)
  126. Verison.Size = UDim2.new(0, 70, 0, 31)
  127. Verison.Font = Enum.Font.SciFi
  128. Verison.Text = "Version"
  129. Verison.TextColor3 = Color3.new(1, 1, 1)
  130. Verison.TextSize = 19
  131.  
  132. V.Name = "V#"
  133. V.Parent = TopBar
  134. V.BackgroundColor3 = Color3.new(1, 1, 1)
  135. V.BackgroundTransparency = 1
  136. V.Position = UDim2.new(0.151419565, 0, 0.387096763, 0)
  137. V.Size = UDim2.new(0, 70, 0, 19)
  138. V.Font = Enum.Font.SciFi
  139. V.Text = "0.54"
  140. V.TextColor3 = Color3.new(1, 1, 1)
  141. V.TextSize = 18
  142. V.TextWrapped = true
  143.  
  144. X1.Name = "X1"
  145. X1.Parent = MainFrame
  146. X1.BackgroundColor3 = Color3.new(1, 1, 1)
  147. X1.BackgroundTransparency = 1
  148. X1.LayoutOrder = 1
  149. X1.Position = UDim2.new(0.902298868, 0, 0.0153256701, 0)
  150. X1.Size = UDim2.new(0, 34, 0, 24)
  151. X1.Font = Enum.Font.SourceSans
  152. X1.Text = "X"
  153. X1.TextColor3 = Color3.new(1, 1, 1)
  154. X1.TextSize = 27
  155.  
  156. X1.MouseButton1Down:connect(function()
  157. MainFrame.Visible = false
  158. OpenFrame.Visible = true
  159. end)
  160.  
  161. IDHere.Name = "IDHere"
  162. IDHere.Parent = MainFrame
  163. IDHere.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  164. IDHere.BackgroundTransparency = 0.15999999642372
  165. IDHere.BorderColor3 = Color3.new(1, 1, 1)
  166. IDHere.BorderSizePixel = 2
  167. IDHere.Position = UDim2.new(0.50999999, 0, 0.181999996, 0)
  168. IDHere.Size = UDim2.new(0, 165, 0, 32)
  169. IDHere.Font = Enum.Font.SciFi
  170. IDHere.Text = "ID Here"
  171. IDHere.TextColor3 = Color3.new(1, 1, 1)
  172. IDHere.TextSize = 25
  173.  
  174. Stop.Name = "Stop"
  175. Stop.Parent = MainFrame
  176. Stop.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  177. Stop.BackgroundTransparency = 0.15999999642372
  178. Stop.BorderColor3 = Color3.new(1, 1, 1)
  179. Stop.BorderSizePixel = 2
  180. Stop.Position = UDim2.new(0.787999988, 0, 0.333831429, 0)
  181. Stop.Size = UDim2.new(0, 36, 0, 33)
  182. Stop.Image = "rbxassetid://1380520884"
  183.  
  184. Stop.MouseButton1Down:connect(function()
  185. game.Players.LocalPlayer.Character.Torso.Sound:Destroy()
  186. end)
  187.  
  188. Play.Name = "Play"
  189. Play.Parent = MainFrame
  190. Play.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  191. Play.BackgroundTransparency = 0.15999999642372
  192. Play.BorderColor3 = Color3.new(1, 1, 1)
  193. Play.BorderSizePixel = 2
  194. Play.Position = UDim2.new(0.597701013, 0, 0.335000008, 0)
  195. Play.Size = UDim2.new(0, 36, 0, 33)
  196. Play.Image = "rbxassetid://1380525838"
  197.  
  198. function PlayMusic(ID)
  199. for i, v in pairs (game.Workspace:GetChildren()) do
  200. if v:IsA("Sound") then
  201. v:Remove()
  202. end
  203. end
  204. local music = Instance.new("Sound")
  205. local asset = "rbxassetid://"
  206. music.SoundId = asset .. ID
  207. music.Parent = game.Players.LocalPlayer.Character.Torso
  208. music.Volume = VolumeHere.Text
  209. music.Pitch = PitchHere.Text
  210. music.Looped = true
  211. music:Play()
  212. end
  213.  
  214. Play.MouseButton1Down:connect(function()
  215. PlayMusic(IDHere.Text)
  216. end)
  217.  
  218. PresetSongSlider.Name = "PresetSongSlider"
  219. PresetSongSlider.Parent = MainFrame
  220. PresetSongSlider.BackgroundColor3 = Color3.new(0.215686, 0.258824, 0.980392)
  221. PresetSongSlider.BackgroundTransparency = 0.11999999731779
  222. PresetSongSlider.BorderColor3 = Color3.new(1, 1, 1)
  223. PresetSongSlider.BorderSizePixel = 0
  224. PresetSongSlider.Position = UDim2.new(0, 0, 0.160919547, 0)
  225. PresetSongSlider.Size = UDim2.new(0, 168, 0, 219)
  226. PresetSongSlider.BottomImage = "rbxassetid://1300886086"
  227. PresetSongSlider.CanvasSize = UDim2.new(0, 0, 1, 0)
  228. PresetSongSlider.MidImage = "rbxassetid://1300885335"
  229. PresetSongSlider.ScrollBarThickness = 10
  230. PresetSongSlider.TopImage = "rbxassetid://1300884734"
  231.  
  232. BetrayedID.Name = "BetrayedID"
  233. BetrayedID.Parent = PresetSongSlider
  234. BetrayedID.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  235. BetrayedID.BackgroundTransparency = 0.15999999642372
  236. BetrayedID.BorderColor3 = Color3.new(1, 1, 1)
  237. BetrayedID.BorderSizePixel = 2
  238. BetrayedID.Position = UDim2.new(0.0595238097, 0, 0.0218978096, 0)
  239. BetrayedID.Size = UDim2.new(0, 137, 0, 24)
  240. BetrayedID.Font = Enum.Font.SciFi
  241. BetrayedID.Text = "Lil Xan - Betrayed"
  242. BetrayedID.TextColor3 = Color3.new(1, 1, 1)
  243. BetrayedID.TextSize = 13
  244.  
  245. BetrayedID.MouseButton1Down:connect(function()
  246. local s = Instance.new("Sound")
  247. s.Name = "Sound"
  248. s.SoundId = "http://www.roblox.com/asset/?id=1077150179"
  249. s.Volume = VolumeHere.Text
  250. s.Pitch = PitchHere.Text
  251. s.Looped = true
  252. s.archivable = false
  253. s.Parent = game.Players.LocalPlayer.Character.Torso
  254. s:play()
  255. end)
  256.  
  257. GucciGangID.Name = "GucciGangID"
  258. GucciGangID.Parent = PresetSongSlider
  259. GucciGangID.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  260. GucciGangID.BackgroundTransparency = 0.15999999642372
  261. GucciGangID.BorderColor3 = Color3.new(1, 1, 1)
  262. GucciGangID.BorderSizePixel = 2
  263. GucciGangID.Position = UDim2.new(0.0595238097, 0, 0.149635032, 0)
  264. GucciGangID.Size = UDim2.new(0, 137, 0, 26)
  265. GucciGangID.Font = Enum.Font.SciFi
  266. GucciGangID.Text = "Lil Pump - Gucci Gang"
  267. GucciGangID.TextColor3 = Color3.new(1, 1, 1)
  268. GucciGangID.TextSize = 13
  269.  
  270. GucciGangID.MouseButton1Down:connect(function()
  271. local s = Instance.new("Sound")
  272. s.Name = "Sound"
  273. s.SoundId = "http://www.roblox.com/asset/?id=1298529687"
  274. s.Volume = VolumeHere.Text
  275. s.Pitch = PitchHere.Text
  276. s.Looped = true
  277. s.archivable = false
  278. s.Parent = game.Players.LocalPlayer.Character.Torso
  279. s:play()
  280. end)
  281.  
  282. BankAccID.Name = "BankAccID"
  283. BankAccID.Parent = PresetSongSlider
  284. BankAccID.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  285. BankAccID.BackgroundTransparency = 0.15999999642372
  286. BankAccID.BorderColor3 = Color3.new(1, 1, 1)
  287. BankAccID.BorderSizePixel = 2
  288. BankAccID.Position = UDim2.new(0.0595238097, 0, 0.288321167, 0)
  289. BankAccID.Size = UDim2.new(0, 137, 0, 26)
  290. BankAccID.Font = Enum.Font.SciFi
  291. BankAccID.Text = "21 Savage - Bank Acc"
  292. BankAccID.TextColor3 = Color3.new(1, 1, 1)
  293. BankAccID.TextSize = 13
  294.  
  295. BankAccID.MouseButton1Down:connect(function()
  296. local s = Instance.new("Sound")
  297. s.Name = "Sound"
  298. s.SoundId = "http://www.roblox.com/asset/?id=1127504553"
  299. s.Volume = VolumeHere.Text
  300. s.Pitch = PitchHere.Text
  301. s.Looped = true
  302. s.archivable = false
  303. s.Parent = game.Players.LocalPlayer.Character.Torso
  304. s:play()
  305. end)
  306.  
  307. RockStarID.Name = "RockStarID"
  308. RockStarID.Parent = PresetSongSlider
  309. RockStarID.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  310. RockStarID.BackgroundTransparency = 0.15999999642372
  311. RockStarID.BorderColor3 = Color3.new(1, 1, 1)
  312. RockStarID.BorderSizePixel = 2
  313. RockStarID.Position = UDim2.new(0.0595238097, 0, 0.43065694, 0)
  314. RockStarID.Size = UDim2.new(0, 137, 0, 24)
  315. RockStarID.Font = Enum.Font.SciFi
  316. RockStarID.Text = "Post Malone - Rockstar"
  317. RockStarID.TextColor3 = Color3.new(1, 1, 1)
  318. RockStarID.TextSize = 13
  319.  
  320. RockStarID.MouseButton1Down:connect(function()
  321. local s = Instance.new("Sound")
  322. s.Name = "Sound"
  323. s.SoundId = "http://www.roblox.com/asset/?id=1054415887"
  324. s.Volume = VolumeHere.Text
  325. s.Pitch = PitchHere.Text
  326. s.Looped = true
  327. s.archivable = false
  328. s.Parent = game.Players.LocalPlayer.Character.Torso
  329. s:play()
  330. end)
  331.  
  332. HeathensID.Name = "HeathensID"
  333. HeathensID.Parent = PresetSongSlider
  334. HeathensID.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  335. HeathensID.BackgroundTransparency = 0.15999999642372
  336. HeathensID.BorderColor3 = Color3.new(1, 1, 1)
  337. HeathensID.BorderSizePixel = 2
  338. HeathensID.Position = UDim2.new(0.0595238097, 0, 0.572992682, 0)
  339. HeathensID.Size = UDim2.new(0, 137, 0, 24)
  340. HeathensID.Font = Enum.Font.SciFi
  341. HeathensID.Text = "21 Pilots - Heathens"
  342. HeathensID.TextColor3 = Color3.new(1, 1, 1)
  343. HeathensID.TextSize = 13
  344.  
  345. HeathensID.MouseButton1Down:connect(function()
  346. local s = Instance.new("Sound")
  347. s.Name = "Sound"
  348. s.SoundId = "http://www.roblox.com/asset/?id=437141803"
  349. s.Volume = VolumeHere.Text
  350. s.Pitch = PitchHere.Text
  351. s.Looped = true
  352. s.archivable = false
  353. s.Parent = game.Players.LocalPlayer.Character.Torso
  354. s:play()
  355. end)
  356.  
  357. ThunderID.Name = "ThunderID"
  358. ThunderID.Parent = PresetSongSlider
  359. ThunderID.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  360. ThunderID.BackgroundTransparency = 0.15999999642372
  361. ThunderID.BorderColor3 = Color3.new(1, 1, 1)
  362. ThunderID.BorderSizePixel = 2
  363. ThunderID.Position = UDim2.new(0.0595238097, 0, 0.708029211, 0)
  364. ThunderID.Size = UDim2.new(0, 137, 0, 24)
  365. ThunderID.Font = Enum.Font.SciFi
  366. ThunderID.Text = "ImagineDragons Thunder"
  367. ThunderID.TextColor3 = Color3.new(1, 1, 1)
  368. ThunderID.TextSize = 12
  369.  
  370. ThunderID.MouseButton1Down:connect(function()
  371. local s = Instance.new("Sound")
  372. s.Name = "Sound"
  373. s.SoundId = "http://www.roblox.com/asset/?id=755156652"
  374. s.Volume = VolumeHere.Text
  375. s.Pitch = PitchHere.Text
  376. s.Looped = true
  377. s.archivable = false
  378. s.Parent = game.Players.LocalPlayer.Character.Torso
  379. s:play()
  380. end)
  381.  
  382. GodsPlanID.Name = "GodsPlanID"
  383. GodsPlanID.Parent = PresetSongSlider
  384. GodsPlanID.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  385. GodsPlanID.BackgroundTransparency = 0.15999999642372
  386. GodsPlanID.BorderColor3 = Color3.new(1, 1, 1)
  387. GodsPlanID.BorderSizePixel = 2
  388. GodsPlanID.Position = UDim2.new(0.0599999987, 0, 0.845000029, 0)
  389. GodsPlanID.Size = UDim2.new(0, 137, 0, 24)
  390. GodsPlanID.Font = Enum.Font.SciFi
  391. GodsPlanID.Text = "Drake - God's Plan"
  392. GodsPlanID.TextColor3 = Color3.new(1, 1, 1)
  393. GodsPlanID.TextSize = 13
  394.  
  395. GodsPlanID.MouseButton1Down:connect(function()
  396. local s = Instance.new("Sound")
  397. s.Name = "Sound"
  398. s.SoundId = "http://www.roblox.com/asset/?id=1375384985"
  399. s.Volume = VolumeHere.Text
  400. s.Pitch = PitchHere.Text
  401. s.Looped = true
  402. s.archivable = false
  403. s.Parent = game.Players.LocalPlayer.Character.Torso
  404. s:play()
  405. end)
  406.  
  407. Bar2.Name = "Bar2"
  408. Bar2.Parent = MainFrame
  409. Bar2.BackgroundColor3 = Color3.new(1, 1, 1)
  410. Bar2.BorderSizePixel = 0
  411. Bar2.Position = UDim2.new(0.482758611, 0, 0.157088116, 0)
  412. Bar2.Size = UDim2.new(0, 4, 0, 220)
  413.  
  414. Bar1.Name = "Bar1"
  415. Bar1.Parent = MainFrame
  416. Bar1.BackgroundColor3 = Color3.new(1, 1, 1)
  417. Bar1.BorderSizePixel = 0
  418. Bar1.Position = UDim2.new(0, 0, 0.137931034, 0)
  419. Bar1.Size = UDim2.new(0, 349, 0, 5)
  420.  
  421. DiscoButton.Name = "DiscoButton"
  422. DiscoButton.Parent = MainFrame
  423. DiscoButton.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  424. DiscoButton.BackgroundTransparency = 0.15999999642372
  425. DiscoButton.BorderColor3 = Color3.new(1, 1, 1)
  426. DiscoButton.BorderSizePixel = 2
  427. DiscoButton.Position = UDim2.new(0.597701132, 0, 0.685000002, 0)
  428. DiscoButton.Size = UDim2.new(0, 96, 0, 27)
  429. DiscoButton.Font = Enum.Font.SciFi
  430. DiscoButton.Text = "Disco"
  431. DiscoButton.TextColor3 = Color3.new(1, 1, 1)
  432. DiscoButton.TextSize = 20
  433.  
  434. DiscoButton.MouseButton1Down:connect(function()
  435. while wait(0.3) do
  436. game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random())
  437. end
  438. end)
  439.  
  440. ChangelogBtn.Name = "ChangelogBtn"
  441. ChangelogBtn.Parent = MainFrame
  442. ChangelogBtn.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  443. ChangelogBtn.BackgroundTransparency = 0.15999999642372
  444. ChangelogBtn.BorderColor3 = Color3.new(1, 1, 1)
  445. ChangelogBtn.BorderSizePixel = 2
  446. ChangelogBtn.Position = UDim2.new(0.494252861, 0, 0.819923401, 0)
  447. ChangelogBtn.Size = UDim2.new(0, 86, 0, 20)
  448. ChangelogBtn.Font = Enum.Font.SciFi
  449. ChangelogBtn.Text = "Changelog"
  450. ChangelogBtn.TextColor3 = Color3.new(1, 1, 1)
  451. ChangelogBtn.TextSize = 15
  452.  
  453. ChangelogBtn.MouseButton1Down:connect(function()
  454. ChangelogFrame.Visible = not ChangelogFrame.Visible
  455. end)
  456.  
  457. ChangelogFrame.Name = "ChangelogFrame"
  458. ChangelogFrame.Parent = MainFrame
  459. ChangelogFrame.BackgroundColor3 = Color3.new(0.215686, 0.258824, 0.980392)
  460. ChangelogFrame.BackgroundTransparency = 0.11999999731779
  461. ChangelogFrame.BorderColor3 = Color3.new(1, 1, 1)
  462. ChangelogFrame.BorderSizePixel = 3
  463. ChangelogFrame.Position = UDim2.new(1.00862074, 0, 0.157088116, 0)
  464. ChangelogFrame.Size = UDim2.new(0, 117, 0, 220)
  465. ChangelogFrame.Visible = false
  466.  
  467. ChangelogTxt.Name = "ChangelogTxt"
  468. ChangelogTxt.Parent = ChangelogFrame
  469. ChangelogTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  470. ChangelogTxt.BackgroundTransparency = 1
  471. ChangelogTxt.Position = UDim2.new(0.264957279, 0, 0, 0)
  472. ChangelogTxt.Size = UDim2.new(0, 54, 0, 28)
  473. ChangelogTxt.Font = Enum.Font.SciFi
  474. ChangelogTxt.Text = "Changelog"
  475. ChangelogTxt.TextColor3 = Color3.new(1, 1, 1)
  476. ChangelogTxt.TextSize = 20
  477.  
  478. Bar1_2.Name = "Bar1"
  479. Bar1_2.Parent = ChangelogFrame
  480. Bar1_2.BackgroundColor3 = Color3.new(1, 1, 1)
  481. Bar1_2.BorderSizePixel = 0
  482. Bar1_2.Position = UDim2.new(0.051282052, 0, 0.129032254, 0)
  483. Bar1_2.Size = UDim2.new(0, 105, 0, 1)
  484.  
  485. AddTxt.Name = "Add?Txt"
  486. AddTxt.Parent = ChangelogFrame
  487. AddTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  488. AddTxt.BackgroundTransparency = 1
  489. AddTxt.Position = UDim2.new(-0.282051295, 0, 0.824884772, 0)
  490. AddTxt.Size = UDim2.new(0, 182, 0, 14)
  491. AddTxt.Font = Enum.Font.SourceSans
  492. AddTxt.Text = "What Else Should I add?"
  493. AddTxt.TextColor3 = Color3.new(1, 1, 1)
  494. AddTxt.TextSize = 13
  495.  
  496. PointzDcTxt.Name = "PointzDcTxt"
  497. PointzDcTxt.Parent = ChangelogFrame
  498. PointzDcTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  499. PointzDcTxt.BackgroundTransparency = 1
  500. PointzDcTxt.Position = UDim2.new(-0.282051295, 0, 0.894009233, 0)
  501. PointzDcTxt.Size = UDim2.new(0, 182, 0, 12)
  502. PointzDcTxt.Font = Enum.Font.SourceSans
  503. PointzDcTxt.Text = "Pointz#6115"
  504. PointzDcTxt.TextColor3 = Color3.new(1, 1, 1)
  505. PointzDcTxt.TextSize = 15
  506.  
  507. NothingTxt.Name = "NothingTxt"
  508. NothingTxt.Parent = ChangelogFrame
  509. NothingTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  510. NothingTxt.BackgroundTransparency = 1
  511. NothingTxt.Position = UDim2.new(-0.282051295, 0, 0.129032224, 0)
  512. NothingTxt.Size = UDim2.new(0, 182, 0, 17)
  513. NothingTxt.Font = Enum.Font.SourceSans
  514. NothingTxt.Text = "Added 3 More Songs"
  515. NothingTxt.TextColor3 = Color3.new(1, 1, 1)
  516. NothingTxt.TextSize = 15
  517.  
  518. AddFunTxt.Name = "AddFunTxt"
  519. AddFunTxt.Parent = ChangelogFrame
  520. AddFunTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  521. AddFunTxt.BackgroundTransparency = 1
  522. AddFunTxt.Position = UDim2.new(-0.282051295, 0, 0.200000003, 0)
  523. AddFunTxt.Size = UDim2.new(0, 182, 0, 14)
  524. AddFunTxt.Font = Enum.Font.SourceSans
  525. AddFunTxt.Text = "Added Fun Menu"
  526. AddFunTxt.TextColor3 = Color3.new(1, 1, 1)
  527. AddFunTxt.TextSize = 15
  528.  
  529. PitchandVolTxt.Name = "PitchandVolTxt"
  530. PitchandVolTxt.Parent = ChangelogFrame
  531. PitchandVolTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  532. PitchandVolTxt.BackgroundTransparency = 1
  533. PitchandVolTxt.Position = UDim2.new(-0.282051295, 0, 0.271889389, 0)
  534. PitchandVolTxt.Size = UDim2.new(0, 182, 0, 14)
  535. PitchandVolTxt.Font = Enum.Font.SourceSans
  536. PitchandVolTxt.Text = "Added Pitch + Volume"
  537. PitchandVolTxt.TextColor3 = Color3.new(1, 1, 1)
  538. PitchandVolTxt.TextSize = 14
  539.  
  540. CustomScriptTxt.Name = "CustomScriptTxt"
  541. CustomScriptTxt.Parent = ChangelogFrame
  542. CustomScriptTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  543. CustomScriptTxt.BackgroundTransparency = 1
  544. CustomScriptTxt.Position = UDim2.new(-0.286324799, 0, 0.331797242, 0)
  545. CustomScriptTxt.Size = UDim2.new(0, 182, 0, 14)
  546. CustomScriptTxt.Font = Enum.Font.SourceSans
  547. CustomScriptTxt.Text = "+ Custom Script"
  548. CustomScriptTxt.TextColor3 = Color3.new(1, 1, 1)
  549. CustomScriptTxt.TextSize = 15
  550.  
  551. MusicTorsoTxt.Name = "MusicTorsoTxt"
  552. MusicTorsoTxt.Parent = ChangelogFrame
  553. MusicTorsoTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  554. MusicTorsoTxt.BackgroundTransparency = 1
  555. MusicTorsoTxt.Position = UDim2.new(-0.286324799, 0, 0.396313369, 0)
  556. MusicTorsoTxt.Size = UDim2.new(0, 182, 0, 14)
  557. MusicTorsoTxt.Font = Enum.Font.SourceSans
  558. MusicTorsoTxt.Text = "+ Music From Torso"
  559. MusicTorsoTxt.TextColor3 = Color3.new(1, 1, 1)
  560. MusicTorsoTxt.TextSize = 15
  561.  
  562. TryingtoTxt.Name = "TryingtoTxt"
  563. TryingtoTxt.Parent = ChangelogFrame
  564. TryingtoTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  565. TryingtoTxt.BackgroundTransparency = 1
  566. TryingtoTxt.Position = UDim2.new(-0.282051295, 0, 0.511520743, 0)
  567. TryingtoTxt.Size = UDim2.new(0, 182, 0, 14)
  568. TryingtoTxt.Font = Enum.Font.SourceSans
  569. TryingtoTxt.Text = "Yes I am trying to"
  570. TryingtoTxt.TextColor3 = Color3.new(1, 1, 1)
  571. TryingtoTxt.TextSize = 15
  572.  
  573. AudioVisualTxt.Name = "AudioVisualTxt"
  574. AudioVisualTxt.Parent = ChangelogFrame
  575. AudioVisualTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  576. AudioVisualTxt.BackgroundTransparency = 1
  577. AudioVisualTxt.Position = UDim2.new(-0.282051295, 0, 0.57603687, 0)
  578. AudioVisualTxt.Size = UDim2.new(0, 182, 0, 14)
  579. AudioVisualTxt.Font = Enum.Font.SourceSans
  580. AudioVisualTxt.Text = "Do a Audio Visualizer"
  581. AudioVisualTxt.TextColor3 = Color3.new(1, 1, 1)
  582. AudioVisualTxt.TextSize = 14
  583.  
  584. NextVTxt.Name = "NextV?Txt"
  585. NextVTxt.Parent = ChangelogFrame
  586. NextVTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  587. NextVTxt.BackgroundTransparency = 1
  588. NextVTxt.Position = UDim2.new(-0.282051295, 0, 0.635944724, 0)
  589. NextVTxt.Size = UDim2.new(0, 182, 0, 14)
  590. NextVTxt.Font = Enum.Font.SourceSans
  591. NextVTxt.Text = "Maybe Next Version?"
  592. NextVTxt.TextColor3 = Color3.new(1, 1, 1)
  593. NextVTxt.TextSize = 14
  594.  
  595. LearningLuaTxt.Name = "LearningLuaTxt"
  596. LearningLuaTxt.Parent = ChangelogFrame
  597. LearningLuaTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  598. LearningLuaTxt.BackgroundTransparency = 1
  599. LearningLuaTxt.Position = UDim2.new(-0.282051295, 0, 0.691244245, 0)
  600. LearningLuaTxt.Size = UDim2.new(0, 182, 0, 14)
  601. LearningLuaTxt.Font = Enum.Font.SourceSans
  602. LearningLuaTxt.Text = "Im Just Learning lua"
  603. LearningLuaTxt.TextColor3 = Color3.new(1, 1, 1)
  604. LearningLuaTxt.TextSize = 14
  605.  
  606. VolumeHere.Name = "VolumeHere"
  607. VolumeHere.Parent = MainFrame
  608. VolumeHere.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  609. VolumeHere.BackgroundTransparency = 0.15999999642372
  610. VolumeHere.BorderColor3 = Color3.new(1, 1, 1)
  611. VolumeHere.BorderSizePixel = 2
  612. VolumeHere.Position = UDim2.new(0.74712646, 0, 0.547892749, 0)
  613. VolumeHere.Size = UDim2.new(0, 88, 0, 28)
  614. VolumeHere.Font = Enum.Font.SciFi
  615. VolumeHere.Text = "1"
  616. VolumeHere.TextColor3 = Color3.new(1, 1, 1)
  617. VolumeHere.TextSize = 20
  618.  
  619. PitchHere.Name = "PitchHere"
  620. PitchHere.Parent = MainFrame
  621. PitchHere.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  622. PitchHere.BackgroundTransparency = 0.15999999642372
  623. PitchHere.BorderColor3 = Color3.new(1, 1, 1)
  624. PitchHere.BorderSizePixel = 2
  625. PitchHere.Position = UDim2.new(0.494252861, 0, 0.545977056, 0)
  626. PitchHere.Size = UDim2.new(0, 86, 0, 28)
  627. PitchHere.Font = Enum.Font.SciFi
  628. PitchHere.Text = "1"
  629. PitchHere.TextColor3 = Color3.new(1, 1, 1)
  630. PitchHere.TextSize = 20
  631.  
  632. DestroyGuiBtn.Name = "DestroyGuiBtn"
  633. DestroyGuiBtn.Parent = MainFrame
  634. DestroyGuiBtn.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  635. DestroyGuiBtn.BackgroundTransparency = 0.15999999642372
  636. DestroyGuiBtn.BorderColor3 = Color3.new(1, 1, 1)
  637. DestroyGuiBtn.BorderSizePixel = 2
  638. DestroyGuiBtn.Position = UDim2.new(0.744252861, 0, 0.819999993, 0)
  639. DestroyGuiBtn.Size = UDim2.new(0, 89, 0, 20)
  640. DestroyGuiBtn.Font = Enum.Font.SciFi
  641. DestroyGuiBtn.Text = "Destroy Gui"
  642. DestroyGuiBtn.TextColor3 = Color3.new(1, 1, 1)
  643. DestroyGuiBtn.TextSize = 15
  644.  
  645. DestroyGuiBtn.MouseButton1Down:connect(function()
  646. Musicify:Destroy()
  647. game.Players.LocalPlayer.Character.Torso.Sound:Destroy()
  648. end)
  649.  
  650. FunMenuBtn.Name = "FunMenuBtn"
  651. FunMenuBtn.Parent = MainFrame
  652. FunMenuBtn.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  653. FunMenuBtn.BackgroundTransparency = 0.15999999642372
  654. FunMenuBtn.BorderColor3 = Color3.new(1, 1, 1)
  655. FunMenuBtn.BorderSizePixel = 2
  656. FunMenuBtn.Position = UDim2.new(0.632183909, 0, 0.931034505, 0)
  657. FunMenuBtn.Size = UDim2.new(0, 79, 0, 18)
  658. FunMenuBtn.Font = Enum.Font.SciFi
  659. FunMenuBtn.Text = "Fun Menu"
  660. FunMenuBtn.TextColor3 = Color3.new(1, 1, 1)
  661. FunMenuBtn.TextSize = 15
  662.  
  663. FunMenuBtn.MouseButton1Down:connect(function()
  664. FunMenuFrame.Visible = not FunMenuFrame.Visible
  665. end)
  666.  
  667. FunMenuFrame.Name = "FunMenuFrame"
  668. FunMenuFrame.Parent = MainFrame
  669. FunMenuFrame.BackgroundColor3 = Color3.new(0.215686, 0.258824, 0.980392)
  670. FunMenuFrame.BackgroundTransparency = 0.11999999731779
  671. FunMenuFrame.BorderColor3 = Color3.new(1, 1, 1)
  672. FunMenuFrame.BorderSizePixel = 3
  673. FunMenuFrame.Position = UDim2.new(0, 0, 1.00766289, 0)
  674. FunMenuFrame.Size = UDim2.new(0, 348, 0, 32)
  675. FunMenuFrame.Visible = false
  676.  
  677. UltimateDiscoManBtn.Name = "UltimateDiscoManBtn"
  678. UltimateDiscoManBtn.Parent = FunMenuFrame
  679. UltimateDiscoManBtn.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  680. UltimateDiscoManBtn.BackgroundTransparency = 0.15999999642372
  681. UltimateDiscoManBtn.BorderColor3 = Color3.new(1, 1, 1)
  682. UltimateDiscoManBtn.BorderSizePixel = 2
  683. UltimateDiscoManBtn.Position = UDim2.new(0.0287356321, 0, 0.1875, 0)
  684. UltimateDiscoManBtn.Size = UDim2.new(0, 128, 0, 20)
  685. UltimateDiscoManBtn.Font = Enum.Font.SciFi
  686. UltimateDiscoManBtn.Text = "Ultimate Disco Man"
  687. UltimateDiscoManBtn.TextColor3 = Color3.new(1, 1, 1)
  688. UltimateDiscoManBtn.TextSize = 15
  689.  
  690. UltimateDiscoManBtn.MouseButton1Down:connect(function()
  691. --Put Together By Pointz#6115!
  692. --Credits To Original Script Makers!
  693. --*I DID NOT MAKE ANY OF THE SCRIPTS BUT THE FIRE!!!*
  694.  
  695. local h = Instance.new("Hint")
  696. h.Parent = Workspace
  697. h.Text = "Ultimate Disco Man Is Loading..."
  698. wait(1.5)
  699. h:Remove()
  700.  
  701.  
  702.  
  703. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
  704.  
  705. function PlayMusic(ID)
  706. for i, v in pairs (game.Workspace:GetChildren()) do
  707. if v:IsA("Sound") then
  708. v:Remove()
  709. end
  710. end
  711. local music = Instance.new("Sound")
  712. local asset = "rbxassetid://"
  713. music.SoundId = asset .. ID
  714. music.Parent = game.Players.LocalPlayer.Character.Torso
  715. music.Volume = VolumeHere.Text
  716. music.Pitch = PitchHere.Text
  717. music.Looped = true
  718. music:Play()
  719. end
  720.  
  721. PlayMusic(IDDiscoMan.Text)
  722.  
  723. Parts={}
  724. function GetDiscoColor(hue)
  725. local section = hue % 1 * 3
  726. local secondary = 0.3 * math.pi * (section % 1)
  727. if section < 1 then
  728. return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  729. elseif section < 2 then
  730. return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  731. else
  732. return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  733. end
  734. end
  735. Part = function(x,y,z,color,tr,cc,an,parent)
  736. local p = Instance.new('Part',parent or Weapon)
  737. p.formFactor = 'Custom'
  738. p.Size = Vector3.new(x,y,z)
  739. p.BrickColor = BrickColor.new(color)
  740. p.CanCollide = cc
  741. p.Transparency = tr
  742. p.Anchored = an
  743. p.TopSurface,p.BottomSurface = 0,0
  744. p:BreakJoints''
  745. table.insert(Parts,p)
  746. return p
  747. end
  748. Weld = function(p0,p1)
  749. local w = Instance.new('Motor',p0)
  750. w.Part0 = p0
  751. w.Part1 = p1
  752. return w
  753. end
  754. Mesh = function(par,num,x,y,z)
  755. local msh = 0
  756. if num == 1 then
  757. msh = Instance.new("SpecialMesh",par)
  758. msh.MeshId='rbxasset://fonts/torso.mesh'
  759. msh.TextureId='rbxasset://25701026'
  760. end
  761. if num == 2 then
  762. msh = Instance.new("SpecialMesh",par)
  763. msh.MeshId='rbxasset://fonts/head.mesh'
  764. msh.TextureId='rbxassetid://25701026'
  765. end
  766. msh.Scale = Vector3.new(x,y,z)
  767. return msh
  768. end
  769. plr=Game.Players.LocalPlayer
  770. char=plr.Character
  771. for _,v in pairs(char:GetChildren()) do
  772. if v.ClassName=="Part" then
  773. v.Transparency=1
  774. elseif v.ClassName=="Hat" then
  775. v.Handle.Mesh.TextureId='rbxassetid://25701026'
  776. table.insert(Parts,v.Handle)
  777. end
  778. end
  779. t=Part(1,1,1,'',0,false,false,char)
  780. Mesh(t,1,1,1,1)
  781. Weld(char.Torso,t)
  782. a=Part(1,1,1,'',0,false,false,char)
  783. Mesh(a,1,.5,1,1)
  784. Weld(char['Right Arm'],a)
  785. a=Part(1,1,1,'',0,false,false,char)
  786. Mesh(a,1,.5,1,1)
  787. Weld(char['Left Arm'],a)
  788. l=Part(1,1,1,'',0,false,false,char)
  789. Mesh(l,1,.5,1,1)
  790. Weld(char['Right Leg'],l)
  791. l=Part(1,1,1,'',0,false,false,char)
  792. Mesh(l,1,.5,1,1)
  793. Weld(char['Left Leg'],l)
  794. h=Part(1,1,1,'',0,false,false,char)
  795. Mesh(h,2,1,1,1)
  796. Weld(char.Head,h)
  797. Spawn(function()
  798. while(coroutine.yield())do
  799. for i=1,#Parts do
  800. Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.5)--vertex 4 lyfe
  801. end
  802. end;
  803. end);
  804.  
  805.  
  806.  
  807.  
  808. local verlet = {}
  809. verlet.step_time = 1 / 50
  810. verlet.gravity = Vector3.new(0, -10, 0)
  811.  
  812. local char = game.Players.LocalPlayer.Character
  813. local torso = char:WaitForChild("Torso")
  814. local parts = {}
  815. local render = game:GetService("RunService").RenderStepped
  816.  
  817. wait(2)
  818.  
  819. local point = {}
  820. local link = {}
  821. local rope = {}
  822.  
  823. local function ccw(A,B,C)
  824. return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
  825. end
  826.  
  827. local function intersect(A,B,C,D)
  828. return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
  829. end
  830.  
  831. local function vec2(v)
  832. return Vector2.new(v.x, v.z)
  833. end
  834.  
  835. function point:step()
  836. if not self.fixed then
  837. local derivative = (self.position - self.last_position) * 0.95
  838. self.last_position = self.position
  839. self.position = self.position + derivative + (self.velocity * verlet.step_time ^ 2)
  840. --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
  841. local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
  842. local pointE = self.position + torso.CFrame.lookVector * 100
  843. local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
  844. if not doIntersect then
  845. self.postition = self.position - torso.CFrame.lookVector * 10
  846. end]]
  847. end
  848. end
  849.  
  850. function link:step()
  851. for i = 1, 1 do
  852. local distance = self.point1.position - self.point2.position
  853. local magnitude = distance.magnitude
  854. local differance = (self.length - magnitude) / magnitude
  855. local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
  856. if not self.point1.fixed then
  857. self.point1.position = self.point1.position + translation
  858. end
  859. if not self.point2.fixed then
  860. self.point2.position = self.point2.position - translation
  861. end
  862. end
  863. end
  864.  
  865. function verlet.new(class, a, b, c)
  866. if class == "Point" then
  867. local new = {}
  868. setmetatable(new, {__index = point})
  869. new.class = class
  870. new.position = a or Vector3.new()
  871. new.last_position = new.position
  872. new.velocity = verlet.gravity
  873. new.fixed = false
  874. return new
  875. elseif class == "Link" then
  876. local new = {}
  877. setmetatable(new, {__index = link})
  878. new.class = class
  879. new.point1 = a
  880. new.point2 = b
  881. new.length = c or (a.position - b.position).magnitude
  882. return new
  883. elseif class == "Rope" then
  884. local new = {}
  885. setmetatable(new, {__index = link})
  886. new.class = class
  887. new.start_point = a
  888. new.finish_point = b
  889. new.points = {}
  890. new.links = {}
  891. local inc = (b - a) / 10
  892. for i = 0, 10 do
  893. table.insert(new.points, verlet.new("Point", a + (i * inc)))
  894. end
  895. for i = 2, #new.points do
  896. table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
  897. end
  898. return new
  899. end
  900. end
  901.  
  902. local tris = {}
  903. local triParts = {}
  904.  
  905. local function GetDiscoColor(hue)
  906. local section = hue % 1 * 3
  907. local secondary = 0.5 * math.pi * (section % 1)
  908. if section < 1 then
  909. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  910. elseif section < 2 then
  911. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  912. else
  913. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  914. end
  915. end
  916.  
  917. local function setupPart(part)
  918. part.Anchored = true
  919. part.FormFactor = 3
  920. part.CanCollide = false
  921. part.TopSurface = 10
  922. part.BottomSurface = 10
  923. part.LeftSurface = 10
  924. part.RightSurface = 10
  925. part.FrontSurface = 10
  926. part.BackSurface = 10
  927. part.Material = "Neon"
  928. local m = Instance.new("SpecialMesh", part)
  929. m.MeshType = "Wedge"
  930. m.Scale = Vector3.new(0.2, 1, 1)
  931. return part
  932. end
  933.  
  934. local function CFrameFromTopBack(at, top, back)
  935. local right = top:Cross(back)
  936. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  937. end
  938.  
  939. local function drawTri(parent, a, b, c)
  940. local this = {}
  941. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  942. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  943. function this:Set(a, b, c)
  944. local ab, bc, ca = b-a, c-b, a-c
  945. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  946. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  947. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  948. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  949. if edg1 < edg2 then
  950. if edg1 >= edg3 then
  951. a, b, c = c, a, b
  952. ab, bc, ca = ca, ab, bc
  953. abm = cam
  954. end
  955. else
  956. if edg2 < edg3 then
  957. a, b, c = b, c, a
  958. ab, bc, ca = bc, ca, ab
  959. abm = bcm
  960. else
  961. a, b, c = c, a, b
  962. ab, bc, ca = ca, ab, bc
  963. abm = cam
  964. end
  965. end
  966.  
  967. local len1 = -ca:Dot(ab)/abm
  968. local len2 = abm - len1
  969. local width = (ca + ab.unit*len1).magnitude
  970.  
  971. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  972.  
  973. if len1 > 0.2 then
  974. mPart1.Parent = parent
  975. mPart1.Size = Vector3.new(0.2, width, len1)
  976. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  977. else
  978. mPart1.Parent = nil
  979. end
  980.  
  981. if len2 > 0.2 then
  982. mPart2.Parent = parent
  983. mPart2.Size = Vector3.new(0.2, width, len2)
  984. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  985. else
  986. mPart2.Parent = nil
  987. end
  988. end
  989. function this:SetProperty(prop, value)
  990. mPart1[prop] = value
  991. mPart2[prop] = value
  992. end
  993. this:Set(a, b, c)
  994. function this:Destroy()
  995. mPart1:Destroy()
  996. mPart2:Destroy()
  997. end
  998. this.p1 = mPart1
  999. this.p2 = mPart2
  1000. this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
  1001. this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
  1002. return this
  1003. end
  1004.  
  1005. function verlet.draw(object, id)
  1006. if object.class == "Point" then
  1007. local part = parts[id]
  1008. part.BrickColor = BrickColor.new(1, 1, 1)
  1009. part.Transparency = 0
  1010. part.formFactor = 3
  1011. part.Anchored = true
  1012. part.CanCollide = false
  1013. part.TopSurface = 0
  1014. part.BottomSurface = 0
  1015. part.Size = Vector3.new(0.35, 0.35, 0.35)
  1016. part.Material = "Neon"
  1017. part.CFrame = CFrame.new(object.position)
  1018. part.Parent = torso
  1019. return part
  1020. elseif object.class == "Link" then
  1021. local part = parts[id]
  1022. local dist = (object.point1.position - object.point2.position).magnitude
  1023. part.Size = Vector3.new(0.2, 0.2, dist)
  1024. part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
  1025. part.Parent = torso
  1026. return part
  1027. end
  1028. end
  1029.  
  1030. function verlet.clear()
  1031. for _, v in pairs(workspace:GetChildren()) do
  1032. if v.Name == "Part" then
  1033. v:Destroy()
  1034. end
  1035. end
  1036. end
  1037.  
  1038. local points = {}
  1039. local links = {}
  1040.  
  1041. for x = 0, 2 do
  1042. points[x] = {}
  1043. for y = 0, 3 do
  1044. points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
  1045. points[x][y].fixed = y == 0
  1046. end
  1047. end
  1048.  
  1049. for x = 1, 2 do
  1050. for y = 0, 3 do
  1051. links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
  1052. end
  1053. end
  1054.  
  1055. for x = 0, 2 do
  1056. for y = 1, 3 do
  1057. links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
  1058. end
  1059. end
  1060.  
  1061. render:connect(function()
  1062. for x = 0, 2 do
  1063. for y = 0, 3 do
  1064. if y == 0 then
  1065. points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
  1066. else
  1067. points[x][y]:step()
  1068. end
  1069. end
  1070. end
  1071. for i = 1, #links do
  1072. links[i]:step()
  1073. end
  1074. for i = 1, #tris do
  1075. triParts[#triParts + 1] = tris[i].p1
  1076. triParts[#triParts + 1] = tris[i].p2
  1077. end
  1078. tris = {}
  1079. for x = 1, 2 do
  1080. for y = 1, 3 do
  1081. tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
  1082. tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
  1083. end
  1084. end
  1085. end)
  1086.  
  1087.  
  1088. wait(0.1)
  1089. ---------------------------[[[ VARIABLES ]]]---------------------------
  1090.  
  1091. local plr = game.Players.LocalPlayer
  1092. local chr = plr.Character
  1093. local mou = plr:GetMouse()
  1094. local leftarm = false
  1095. local active = false
  1096. local curkey = "e"
  1097. local stunneds = {}
  1098.  
  1099. ---------------------------[[[ PARTS ]]]---------------------------
  1100. Instance.new("ForceField", game.Players.LocalPlayer.Character). Visible = False
  1101.  
  1102. -- 1 - Glock
  1103. obj1 = Instance.new("Model")
  1104. obj1.Name = "Glock"
  1105. obj1.Parent = chr
  1106.  
  1107. -- 2 - Part
  1108. obj2 = Instance.new("Part")
  1109. obj2.CFrame = CFrame.new(Vector3.new(14.25, 3.51428652, 46.8584824)) * CFrame.Angles(0.69812995195389, 0, -0)
  1110. obj2.TopSurface = Enum.SurfaceType.Smooth
  1111. obj2.BottomSurface = Enum.SurfaceType.Smooth
  1112. obj2.Material = Enum.Material.Neon
  1113. obj2.Size = Vector3.new(0.300000012, 0.200000003, 0.200000003)
  1114. obj2.Anchored = true
  1115. obj2.Friction = 0.30000001192093
  1116. obj2.Shape = Enum.PartType.Block
  1117. obj2.CanCollide = false
  1118. obj2.Parent = obj1
  1119. obj2.Transparency = 0
  1120.  
  1121. -- 3 - Top
  1122. obj3 = Instance.new("Part")
  1123. obj3.CFrame = CFrame.new(Vector3.new(14.25, 3.8499999, 47.1499977)) * CFrame.Angles(-0, 0, -0)
  1124. obj3.TopSurface = Enum.SurfaceType.Smooth
  1125. obj3.BottomSurface = Enum.SurfaceType.Smooth
  1126. obj3.Material = Enum.Material.Neon
  1127. obj3.Size = Vector3.new(0.300000012, 0.300000012, 1.5)
  1128. obj3.Anchored = true
  1129. obj3.Friction = 0.30000001192093
  1130. obj3.Shape = Enum.PartType.Block
  1131. obj3.CanCollide = false
  1132. obj3.Name = "Top"
  1133. obj3.Parent = obj1
  1134. obj3.Transparency = 0
  1135. -----------
  1136. local sound = Instance.new('Sound',obj1)
  1137. sound.SoundId = 'rbxassetid://155561166'
  1138. sound.Volume = 0
  1139. sound.EmitterSize = 10
  1140. sound.MaxDistance = 10
  1141. sound.Looped = true
  1142. sound:Play()
  1143. -----------
  1144.  
  1145. -- 4 - Top
  1146. obj4 = Instance.new("Part")
  1147. obj4.CFrame = CFrame.new(Vector3.new(14.25, 3.8499999, 47.8999977)) * CFrame.Angles(0, 1.5707963705063, 0)
  1148. obj4.TopSurface = Enum.SurfaceType.Smooth
  1149. obj4.BottomSurface = Enum.SurfaceType.Smooth
  1150. obj4.Material = Enum.Material.Neon
  1151. obj4.Size = Vector3.new(0.200000003, 0.299999982, 0.300000012)
  1152. obj4.Anchored = true
  1153. obj4.Friction = 0.30000001192093
  1154. obj4.Shape = Enum.PartType.Cylinder
  1155. obj4.Name = "Top"
  1156. obj4.CanCollide = false
  1157. obj4.Parent = obj1
  1158. obj4.Transparency = 0
  1159.  
  1160. -- 5 - Part
  1161. obj5 = Instance.new("Part")
  1162. obj5.CFrame = CFrame.new(Vector3.new(14.25, 3.35359001, 47.1499939)) * CFrame.Angles(-1.5707978010178, 0, -0)
  1163. obj5.TopSurface = Enum.SurfaceType.Smooth
  1164. obj5.BottomSurface = Enum.SurfaceType.Smooth
  1165. obj5.Material = Enum.Material.Neon
  1166. obj5.Size = Vector3.new(0.300000012, 0.200000003, 0.299999982)
  1167. obj5.Anchored = true
  1168.  
  1169. obj5.Friction = 0.30000001192093
  1170. obj5.Shape = Enum.PartType.Block
  1171. obj5.CanCollide = false
  1172. obj5.Parent = obj1
  1173. obj5.Transparency = 0
  1174.  
  1175. -- 6 - Part
  1176. obj6 = Instance.new("Part")
  1177. obj6.CFrame = CFrame.new(Vector3.new(14.25, 3.5999999, 47.1499977)) * CFrame.Angles(-0, 0, -0)
  1178. obj6.TopSurface = Enum.SurfaceType.Smooth
  1179. obj6.BottomSurface = Enum.SurfaceType.Smooth
  1180. obj6.Material = Enum.Material.Neon
  1181. obj6.Size = Vector3.new(0.300000012, 0.200000003, 1.5)
  1182. obj6.Anchored = true
  1183. obj6.CanCollide = false
  1184. obj6.Friction = 0.30000001192093
  1185. obj6.Shape = Enum.PartType.Block
  1186. obj6.Parent = obj1
  1187. obj6.Transparency = 0
  1188.  
  1189. -- 7 - Part
  1190. obj7 = Instance.new("Part")
  1191. obj7.CFrame = CFrame.new(Vector3.new(14.25, 3.60000014, 47.8999977)) * CFrame.Angles(0, 1.5707963705063, 0)
  1192. obj7.TopSurface = Enum.SurfaceType.Smooth
  1193. obj7.BottomSurface = Enum.SurfaceType.Smooth
  1194. obj7.Material = Enum.Material.Neon
  1195. obj7.Size = Vector3.new(0.200000003, 0.200000003, 0.300000012)
  1196. obj7.Anchored = true
  1197. obj7.CanCollide = false
  1198. obj7.Friction = 0.30000001192093
  1199. obj7.Shape = Enum.PartType.Cylinder
  1200. obj7.Parent = obj1
  1201. obj7.Transparency = 0
  1202.  
  1203. -- 8 - Part
  1204. obj8 = Instance.new("Part")
  1205. obj8.CFrame = CFrame.new(Vector3.new(14.25, 3.15358996, 46.8499985)) * CFrame.Angles(1.1920913323138e-007, 0, -0)
  1206. obj8.TopSurface = Enum.SurfaceType.Smooth
  1207. obj8.BottomSurface = Enum.SurfaceType.Smooth
  1208. obj8.Material = Enum.Material.Neon
  1209. obj8.Size = Vector3.new(0.300000012, 0.200000003, 0.699999988)
  1210. obj8.Anchored = true
  1211. obj8.Friction = 0.30000001192093
  1212. obj8.CanCollide = false
  1213. obj8.Shape = Enum.PartType.Block
  1214. obj8.Parent = obj1
  1215. obj8.Transparency = 0
  1216.  
  1217. -- 9 - Part
  1218. obj9 = Instance.new("Part")
  1219. obj9.CFrame = CFrame.new(Vector3.new(14.25, 3.27858996, 46.5067024)) * CFrame.Angles(-1.0471963882446, 0, -0)
  1220. obj9.TopSurface = Enum.SurfaceType.Smooth
  1221. obj9.BottomSurface = Enum.SurfaceType.Smooth
  1222. obj9.Material = Enum.Material.Neon
  1223. obj9.Size = Vector3.new(0.300000012, 0.300000012, 0.699999988)
  1224. obj9.Anchored = true
  1225. obj9.CanCollide = false
  1226. obj9.Friction = 0.30000001192093
  1227. obj9.Shape = Enum.PartType.Block
  1228. obj9.Parent = obj1
  1229. obj9.Transparency = 0
  1230.  
  1231. local previous = nil
  1232. for i,v in pairs(obj1:GetChildren()) do
  1233. if v:IsA('BasePart') then
  1234. if previous then
  1235. local weld = Instance.new('Weld',v)
  1236. weld.Part0 = v
  1237. weld.Part1 = previous
  1238. weld.C0 = v.CFrame:inverse() * previous.CFrame
  1239. previous.Anchored = false
  1240. end
  1241. previous = v
  1242. end
  1243. end
  1244. previous.Anchored = false
  1245.  
  1246. ---------------------------[[[ FUNCTIONS ]]]---------------------------
  1247.  
  1248. function notify(msg,forever)
  1249. local doit = coroutine.wrap(function()
  1250. for i,v in pairs(plr.PlayerGui:GetChildren()) do
  1251. if v.Name == "Notification" and v:IsA('ScreenGui') then
  1252. v:Destroy()
  1253. end
  1254. end
  1255. print("Original Glock made by ???")
  1256. print("Edited by Knowlton to make it heavy pow and rainbow I guess")
  1257. local gui = Instance.new('ScreenGui',plr.PlayerGui)
  1258. gui.Name = "Notification"
  1259. local frame = Instance.new('Frame',gui)
  1260. frame.Position = UDim2.new(0,0,0,0)
  1261. frame.Size = UDim2.new(1,0,0.2,0)
  1262. frame.BackgroundTransparency = 1
  1263. local txt = Instance.new('TextLabel',frame)
  1264. txt.TextColor3 = Color3.new(255,255,255)
  1265. txt.TextStrokeColor3 = Color3.new(0, 0, 0)
  1266. txt.TextStrokeTransparency = 0
  1267. txt.BackgroundTransparency = 1
  1268. txt.Text = ""
  1269. txt.Size = UDim2.new(1,0,0.3,0)
  1270. txt.Position = UDim2.new(0,0,0.4,0)
  1271. txt.TextScaled = true
  1272. txt.Font = "Code"
  1273. txt.TextXAlignment = "Center"
  1274. local tap = Instance.new("Sound")
  1275. tap.Parent = plr.Backpack
  1276. tap.SoundId = "rbxassetid://147982968"
  1277. tap.TimePosition = 0.1
  1278. local str = msg
  1279. local len = string.len(str)
  1280. for i=1,len do
  1281. txt.Text = string.sub(str,1,i)
  1282. local pitche = math.random(2, 4)
  1283. tap.PlaybackSpeed = pitche
  1284. tap:Play()
  1285. wait(0.05)
  1286. end
  1287. if forever == false then
  1288. wait(1)
  1289. while txt.TextTransparency < 1 do
  1290. txt.TextTransparency = txt.TextTransparency + 0.1
  1291. txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1
  1292. wait()
  1293. end
  1294. gui:Destroy()
  1295. end
  1296. end)
  1297. doit()
  1298. end
  1299.  
  1300.  
  1301. function damage(playa,hita)
  1302. local hitz = hita.Name
  1303. local heyy = hitz
  1304. if hitz == "Right Arm" then
  1305. local Limb = playa:FindFirstChild("Right Arm")
  1306. local ters = playa:FindFirstChild('Torso')
  1307. if Limb and ters then
  1308. if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end
  1309. for i,v in pairs(Limb:GetChildren()) do
  1310. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
  1311. v:Destroy()
  1312. end
  1313. end
  1314. Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0)
  1315. local Joint = Instance.new("Glue")
  1316. Joint.Name = "RightShoulder"
  1317. Joint.Part0 = ters
  1318. Joint.Part1 = Limb
  1319. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1320. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1321. Joint.Parent = ters
  1322.  
  1323. local B = Instance.new("Part")
  1324. B.TopSurface = 0
  1325. B.BottomSurface = 0
  1326. B.formFactor = "Symmetric"
  1327. B.Size = Vector3.new(1, 1, 1)
  1328. B.Transparency = 1
  1329. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1330. B.Parent = playa
  1331. local W = Instance.new("Weld")
  1332. W.Part0 = Limb
  1333. W.Part1 = B
  1334. W.C0 = CFrame.new(0, -0.5, 0)
  1335. W.Parent = Limb
  1336. end
  1337. elseif hitz == "Left Arm" then
  1338. local Limb = playa:FindFirstChild("Left Arm")
  1339. local ters = playa:FindFirstChild('Torso')
  1340. if Limb and ters then
  1341. if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end
  1342. for i,v in pairs(Limb:GetChildren()) do
  1343. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
  1344. v:Destroy()
  1345. end
  1346. end
  1347. Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0)
  1348. local Joint = Instance.new("Glue")
  1349. Joint.Name = "LeftShoulder"
  1350. Joint.Part0 = ters
  1351. Joint.Part1 = Limb
  1352. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1353. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1354. Joint.Parent = ters
  1355. local B = Instance.new("Part")
  1356. B.TopSurface = 0
  1357. B.BottomSurface = 0
  1358. B.formFactor = "Symmetric"
  1359. B.Size = Vector3.new(1, 1, 1)
  1360. B.Transparency = 1
  1361. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1362. B.Parent = playa
  1363. local W = Instance.new("Weld")
  1364. W.Part0 = ters
  1365. W.Part1 = B
  1366. W.C0 = CFrame.new(0, -0.5, 0)
  1367. W.Parent = Limb
  1368. end
  1369. elseif hitz == "Right Leg" then
  1370. local Limb = playa:FindFirstChild("Right Leg")
  1371. local ters = playa:FindFirstChild('Torso')
  1372. if Limb and ters then
  1373. if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end
  1374. for i,v in pairs(Limb:GetChildren()) do
  1375. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
  1376. v:Destroy()
  1377. end
  1378. end
  1379. Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
  1380. local Joint = Instance.new("Glue")
  1381. Joint.Name = "Right Hip"
  1382. Joint.Part0 = ters
  1383. Joint.Part1 = Limb
  1384. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1385. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1386. Joint.Parent = ters
  1387. local B = Instance.new("Part")
  1388. B.TopSurface = 0
  1389. B.BottomSurface = 0
  1390. B.formFactor = "Symmetric"
  1391. B.Size = Vector3.new(1, 1, 1)
  1392. B.Transparency = 1
  1393. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1394. B.Parent = playa
  1395. local W = Instance.new("Weld")
  1396. W.Part0 = Limb
  1397. W.Part1 = B
  1398. W.C0 = CFrame.new(0, -0.5, 0)
  1399. W.Parent = Limb
  1400. if playa:FindFirstChildOfClass('Humanoid') then
  1401. local hum = playa:FindFirstChildOfClass('Humanoid')
  1402. local target = playa
  1403. if target:FindFirstChild('HumanoidRootPart') then
  1404. target.HumanoidRootPart:Destroy()
  1405. end
  1406. local found = false
  1407. for i,v in pairs(stunneds) do
  1408. if v == hum then
  1409. found = true
  1410. end
  1411. end
  1412. if found == false then
  1413. table.insert(stunneds,hum)
  1414. end
  1415. end
  1416. end
  1417. elseif hitz == "Left Leg" then
  1418. local Limb = playa:FindFirstChild("Left Leg")
  1419. local ters = playa:FindFirstChild('Torso')
  1420. if Limb and ters then
  1421. if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end
  1422. for i,v in pairs(Limb:GetChildren()) do
  1423. if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Glue') then
  1424. v:Destroy()
  1425. end
  1426. end
  1427. Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0)
  1428. Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0)
  1429. local Joint = Instance.new("Glue")
  1430. Joint.Name = "LeftHip"
  1431. Joint.Part0 = ters
  1432. Joint.Part1 = Limb
  1433. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1434. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1435. Joint.Parent = ters
  1436.  
  1437. local B = Instance.new("Part")
  1438. B.TopSurface = 0
  1439. B.BottomSurface = 0
  1440. B.formFactor = "Symmetric"
  1441. B.Size = Vector3.new(1, 1, 1)
  1442. B.Transparency = 1
  1443. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1444. B.Parent = playa
  1445. local W = Instance.new("Weld")
  1446. W.Part0 = Limb
  1447. W.Part1 = B
  1448. W.C0 = CFrame.new(0, -0.5, 0)
  1449. W.Parent = Limb
  1450. Limb.CanCollide = false
  1451. if playa:FindFirstChildOfClass('Humanoid') then
  1452. local hum = playa:FindFirstChildOfClass('Humanoid')
  1453. local target = playa
  1454. if target:FindFirstChild('HumanoidRootPart') then
  1455. target.HumanoidRootPart:Destroy()
  1456. end
  1457. local found = false
  1458. for i,v in pairs(stunneds) do
  1459. if v == hum then
  1460. found = true
  1461. end
  1462. end
  1463. if found == false then
  1464. table.insert(stunneds,hum)
  1465. end
  1466. end
  1467. end
  1468. else
  1469. local playa2 = playa
  1470. playa.Archivable = true
  1471. local playa = playa:Clone()
  1472. playa.Archivable = false
  1473. playa2:Destroy()
  1474. playa.Parent = workspace
  1475. local Gibs = game.Workspace
  1476. print(playa)
  1477. local Torso = playa.Torso
  1478. local Head = playa:FindFirstChild("Head")
  1479. local function Scan(ch)
  1480. local e
  1481. for e = 1,#ch do
  1482. Scan(ch[e]:GetChildren())
  1483. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1484. ch[e]:remove()
  1485. end
  1486. end
  1487. end
  1488. Scan(playa:GetChildren())
  1489. if playa:FindFirstChild('HumanoidRootPart') then
  1490. playa:FindFirstChild('HumanoidRootPart'):Destroy()
  1491. end
  1492. local hum2 = playa:FindFirstChildOfClass("Humanoid")
  1493.  
  1494.  
  1495. if hum2 ~= nil then
  1496. hum2.Name = "Humanoid2"
  1497. hum2.PlatformStand = true
  1498. hum2.Health = 0
  1499. end
  1500. local ch = playa:GetChildren()
  1501. local i
  1502. for i = 1,#ch do
  1503. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1504. ch[i]:remove()
  1505. end
  1506. end
  1507.  
  1508. if Head then
  1509. local Neck = Instance.new("Weld")
  1510. Neck.Name = "Neck"
  1511. Neck.Part0 = Torso
  1512. Neck.Part1 = Head
  1513. Neck.C0 = CFrame.new(0, 1.5, 0)
  1514. Neck.C1 = CFrame.new()
  1515. Neck.Parent = Torso
  1516. end
  1517. local Limb = playa:FindFirstChild("Right Arm")
  1518. if Limb then
  1519.  
  1520. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  1521. local Joint = Instance.new("Glue")
  1522. Joint.Name = "RightShoulder"
  1523. Joint.Part0 = Torso
  1524. Joint.Part1 = Limb
  1525. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1526. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1527. Joint.Parent = Torso
  1528.  
  1529. local B = Instance.new("Part")
  1530. B.TopSurface = 0
  1531. B.BottomSurface = 0
  1532. B.formFactor = "Symmetric"
  1533. B.Size = Vector3.new(1, 1, 1)
  1534. B.Transparency = 1
  1535. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1536. B.Parent = playa
  1537. local W = Instance.new("Weld")
  1538. W.Part0 = Limb
  1539. W.Part1 = B
  1540. W.C0 = CFrame.new(0, -0.5, 0)
  1541. W.Parent = Limb
  1542. end
  1543. local Limb = playa:FindFirstChild("Left Arm")
  1544. if Limb then
  1545.  
  1546. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  1547. local Joint = Instance.new("Glue")
  1548. Joint.Name = "LeftShoulder"
  1549. Joint.Part0 = Torso
  1550. Joint.Part1 = Limb
  1551. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1552. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1553. Joint.Parent = Torso
  1554.  
  1555. local B = Instance.new("Part")
  1556. B.TopSurface = 0
  1557. B.BottomSurface = 0
  1558. B.formFactor = "Symmetric"
  1559. B.Size = Vector3.new(1, 1, 1)
  1560. B.Transparency = 1
  1561. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1562. B.Parent = playa
  1563. local W = Instance.new("Weld")
  1564. W.Part0 = Limb
  1565. W.Part1 = B
  1566. W.C0 = CFrame.new(0, -0.5, 0)
  1567. W.Parent = Limb
  1568. end
  1569. local Limb = playa:FindFirstChild("Right Leg")
  1570. if Limb then
  1571.  
  1572. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  1573. local Joint = Instance.new("Glue")
  1574. Joint.Name = "RightHip"
  1575. Joint.Part0 = Torso
  1576. Joint.Part1 = Limb
  1577. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1578. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1579. Joint.Parent = Torso
  1580.  
  1581. local B = Instance.new("Part")
  1582. B.TopSurface = 0
  1583. B.BottomSurface = 0
  1584. B.formFactor = "Symmetric"
  1585. B.Size = Vector3.new(1, 1, 1)
  1586. B.Transparency = 1
  1587. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1588. B.Parent = playa
  1589. local W = Instance.new("Weld")
  1590. W.Part0 = Limb
  1591. W.Part1 = B
  1592. W.C0 = CFrame.new(0, -0.5, 0)
  1593. W.Parent = Limb
  1594. end
  1595. local Limb = playa:FindFirstChild("Left Leg")
  1596. if Limb then
  1597.  
  1598. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  1599. local Joint = Instance.new("Glue")
  1600. Joint.Name = "LeftHip"
  1601. Joint.Part0 = Torso
  1602. Joint.Part1 = Limb
  1603. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1604. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1605. Joint.Parent = Torso
  1606.  
  1607. local B = Instance.new("Part")
  1608. B.TopSurface = 0
  1609. B.BottomSurface = 0
  1610. B.formFactor = "Symmetric"
  1611. B.Size = Vector3.new(1, 1, 1)
  1612. B.Transparency = 1
  1613. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1614. B.Parent = playa
  1615. local W = Instance.new("Weld")
  1616. W.Part0 = Limb
  1617. W.Part1 = B
  1618. W.C0 = CFrame.new(0, -0.5, 0)
  1619. W.Parent = Limb
  1620. end
  1621. --[
  1622. local Bar = Instance.new("Part")
  1623. Bar.TopSurface = 0
  1624. Bar.BottomSurface = 0
  1625. Bar.formFactor = "Symmetric"
  1626. Bar.Size = Vector3.new(1, 1, 1)
  1627. Bar.Transparency = 1
  1628. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  1629. Bar.Parent = playa
  1630. local Weld = Instance.new("Weld")
  1631. Weld.Part0 = Torso
  1632. Weld.Part1 = Bar
  1633. Weld.C0 = CFrame.new(0, 0.5, 0)
  1634. Weld.Parent = Torso
  1635. --]]
  1636. playa.Parent = Gibs
  1637. game.Debris:AddItem(playa, 12)
  1638. end
  1639. end
  1640.  
  1641.  
  1642. function calculate()
  1643. if leftarm and chr:FindFirstChild('Head') and chr:FindFirstChild('Torso') and chr.Torso:FindFirstChild("Left Shoulder") and chr:FindFirstChild('Left Arm') then
  1644. local Head = plr.Character.Head
  1645. local RightShoulder = plr.Character.Torso["Left Shoulder"]
  1646. local RightArm = plr.Character["Left Arm"]
  1647. local MousePosition = mou.Hit.p
  1648. local ToMouse = (MousePosition - Head.Position).unit
  1649. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  1650. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((-Head.Size.X / 2) + (-RightArm.Size.X / 2)), ((-Head.Size.Y / 2) - (-RightArm.Size.Z / 2)), 0)))
  1651. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(-1 ,0, -1)).unit
  1652. local Look = (Head.CFrame.lookVector * Vector3.new(-1, 0, -1)).unit
  1653. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  1654. if tostring(LateralAngle) == "-1.#IND" then
  1655. LateralAngle = 0
  1656. end
  1657. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  1658. --[[
  1659. if LateralAngle > (math.pi / 2) then
  1660. LateralAngle = (math.pi / 2)
  1661. if chr:FindFirstChild('Torso') then
  1662. local Torso = chr.Torso
  1663. local Point = Torso.CFrame:vectorToObjectSpace(mou.Hit.p-Torso.CFrame.p)
  1664. if Point.Z > 0 then
  1665. if Point.X > 0 then
  1666. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mou.Hit.X,Torso.Position.Y,mou.Hit.Z))*CFrame.Angles(0,math.rad(90),0)
  1667. elseif Point.X < 0 then
  1668. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mou.Hit.X,Torso.Position.Y,mou.Hit.Z))*CFrame.Angles(0,math.rad(-90),0)
  1669. end
  1670. end
  1671. end
  1672. end
  1673. ]]--
  1674. print(LateralAngle)
  1675. warn(math.pi / 2)
  1676. if Cross.Y < 0 then
  1677. LateralAngle = -LateralAngle
  1678. end
  1679. return(CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2))
  1680. elseif chr:FindFirstChild('Head') and chr:FindFirstChild('Torso') and chr.Torso:FindFirstChild("Right Shoulder") and chr:FindFirstChild('Right Arm') then
  1681. local Head = plr.Character.Head
  1682. local RightShoulder = plr.Character.Torso["Right Shoulder"]
  1683. local RightArm = plr.Character["Right Arm"]
  1684. local MousePosition = mou.Hit.p
  1685. local ToMouse = (MousePosition - Head.Position).unit
  1686. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  1687. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0)))
  1688. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  1689. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  1690. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  1691. if tostring(LateralAngle) == "-1.#IND" then
  1692. LateralAngle = 0
  1693. end
  1694. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  1695. if LateralAngle > (math.pi / 2) then
  1696. LateralAngle = (math.pi / 2)
  1697. if chr:FindFirstChild('Torso') then
  1698. local Torso = chr.Torso
  1699. local Point = Torso.CFrame:vectorToObjectSpace(mou.Hit.p-Torso.CFrame.p)
  1700. if Point.Z > 0 then
  1701. if Point.X > 0 then
  1702. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mou.Hit.X,Torso.Position.Y,mou.Hit.Z))*CFrame.Angles(0,math.rad(90),0)
  1703. elseif Point.X < 0 then
  1704. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mou.Hit.X,Torso.Position.Y,mou.Hit.Z))*CFrame.Angles(0,math.rad(-90),0)
  1705. end
  1706. end
  1707. end
  1708. end
  1709. if Cross.Y < 0 then
  1710. LateralAngle = -LateralAngle
  1711. end
  1712. return(CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2))
  1713. end
  1714. end
  1715.  
  1716. function fire()
  1717. if mou.Target then
  1718. local humanoid = mou.Target.Parent:FindFirstChildOfClass("Humanoid")
  1719. if not humanoid then
  1720. humanoid = mou.Target.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1721. end
  1722. if humanoid then
  1723. local coru = coroutine.wrap(function()
  1724. damage(humanoid.Parent,mou.Target)
  1725. end)
  1726. coru()
  1727. end
  1728. end
  1729. local beam = Instance.new("Part", workspace)
  1730. beam.BrickColor = BrickColor.random()
  1731. beam.FormFactor = "Custom"
  1732. beam.Material = "Neon"
  1733. beam.Transparency = 0
  1734. beam.Anchored = true
  1735. beam.Locked = true
  1736. beam.CanCollide = false
  1737. local distance = (obj4.CFrame.p - mou.Hit.p).magnitude
  1738. beam.Size = Vector3.new(0.2, 0.2, distance)
  1739. beam.CFrame = CFrame.new(obj4.CFrame.p, mou.Hit.p) * CFrame.new(0, 0, -distance / 2)
  1740. game:GetService("Debris"):AddItem(beam, 0.05)
  1741. local sound = Instance.new('Sound',obj4)
  1742. sound.SoundId = 'rbxassetid://130791043'
  1743. sound.Volume = 0.1
  1744. sound.EmitterSize = 40
  1745. sound.MaxDistance = 450
  1746. sound:Play()
  1747. game:GetService("Debris"):AddItem(beam, sound.TimeLength)
  1748. end
  1749.  
  1750.  
  1751. ---------------------------[[[ SCRIPT ]]]---------------------------
  1752. CFuncs = {
  1753. ["Part"] = {
  1754. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size )
  1755. local Part = Create("Part"){
  1756. Parent = Parent,
  1757. Reflectance = Reflectance,
  1758. Transparency = Transparency,
  1759. CanCollide = false,
  1760. Locked = true,
  1761. BrickColor = BrickColor.random(),
  1762. Name = Name,
  1763. Size = Size,
  1764. Material = Material,
  1765. }
  1766. RemoveOutlines(Part)
  1767. return Part
  1768. end;
  1769. };
  1770.  
  1771. ["Mesh"] = {
  1772. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1773. local Msh = Create(Mesh){
  1774. Parent = Part,
  1775. Offset = OffSet,
  1776. Scale = Scale,
  1777. }
  1778. if Mesh == "SpecialMesh" then
  1779. Msh.MeshType = MeshType
  1780. Msh.MeshId = MeshId
  1781. end
  1782. return Msh
  1783. end;
  1784. };
  1785.  
  1786. ["Mesh"] = {
  1787. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1788. local Msh = Create(Mesh){
  1789. Parent = Part,
  1790. Offset = OffSet,
  1791. Scale = Scale,
  1792. }
  1793. if Mesh == "SpecialMesh" then
  1794. Msh.MeshType = MeshType
  1795. Msh.MeshId = MeshId
  1796. end
  1797. return Msh
  1798. end;
  1799. };
  1800.  
  1801. ["Weld"] = {
  1802. Create = function(Parent, Part0, Part1, C0, C1)
  1803. local Weld = Create("Weld"){
  1804. Parent = Parent,
  1805. Part0 = Part0,
  1806. Part1 = Part1,
  1807. C0 = C0,
  1808. C1 = C1,
  1809. }
  1810. return Weld
  1811. end;
  1812. };
  1813.  
  1814. ["Sound"] = {
  1815. Create = function(id, par, vol, pit)
  1816. coroutine.resume(coroutine.create(function()
  1817. local S = Create("Sound"){
  1818. Volume = vol,
  1819. Pitch = pit or 1,
  1820. SoundId = id,
  1821. Parent = par or workspace,
  1822. }
  1823. wait()
  1824. S:play()
  1825. game:GetService("Debris"):AddItem(S, 6)
  1826. end))
  1827. end;
  1828. };
  1829.  
  1830. ["ParticleEmitter"] = {
  1831. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1832. local fp = Create("ParticleEmitter"){
  1833. Parent = Parent,
  1834. Color = ColorSequence.new(Color1, Color2),
  1835. LightEmission = LightEmission,
  1836. Size = Size,
  1837. Texture = Texture,
  1838. Transparency = Transparency,
  1839. ZOffset = ZOffset,
  1840. Acceleration = Accel,
  1841. Drag = Drag,
  1842. LockedToPart = LockedToPart,
  1843. VelocityInheritance = VelocityInheritance,
  1844. EmissionDirection = EmissionDirection,
  1845. Enabled = Enabled,
  1846. Lifetime = LifeTime,
  1847. Rate = Rate,
  1848. Rotation = Rotation,
  1849. RotSpeed = RotSpeed,
  1850. Speed = Speed,
  1851. VelocitySpread = VelocitySpread,
  1852. }
  1853. return fp
  1854. end;
  1855. };
  1856.  
  1857. CreateTemplate = {
  1858.  
  1859. };
  1860. }
  1861.  
  1862. sound = Instance.new("Sound", Character)
  1863. sound.SoundId = "rbxassetid://362573120"
  1864. sound.Volume = 0
  1865. sound.Pitch = 0
  1866. sound.EmitterSize = 100
  1867. sound:Play()
  1868. sound.Looped = true
  1869. if chr:FindFirstChild('Left Arm') == nil or chr:FindFirstChild('Torso') == nil or chr.Torso:FindFirstChild('Left Shoulder') == nil then
  1870. leftarm = false
  1871. end
  1872. local weldas = Instance.new('Weld',obj2)
  1873. if leftarm and chr:FindFirstChild('Left Arm') then
  1874. weldas.Part0 = obj2
  1875. weldas.Part1 = chr["Left Arm"]
  1876. weldas.C0 = CFrame.new(0,-0.85,-0.30)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(180))
  1877. elseif chr:FindFirstChild('Right Arm') then
  1878. weldas.Part0 = obj2
  1879. weldas.Part1 = chr["Right Arm"]
  1880. weldas.C0 = CFrame.new(0,-0.85,-0.30)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(180))
  1881. end
  1882.  
  1883.  
  1884. if leftarm and chr:FindFirstChild('Left Arm') and chr:FindFirstChild('Torso') and chr.Torso:FindFirstChild('Left Shoulder') then
  1885. chr:FindFirstChild('Left Arm').AncestryChanged:connect(function(me,par)
  1886. if par ~= chr and chr:FindFirstChild('Right Arm') then
  1887. if obj2 and obj2:FindFirstChildOfClass('Weld') then
  1888. obj2:FindFirstChildOfClass('Weld').Part1 = chr["Right Arm"]
  1889. end
  1890. leftarm = false
  1891. end
  1892. end)
  1893. chr.Torso:FindFirstChild('Left Shoulder').AncestryChanged:connect(function(me,par)
  1894. if par ~= chr:FindFirstChild('Torso') and chr:FindFirstChild('Right Arm') then
  1895. if obj2 and obj2:FindFirstChildOfClass('Weld') then
  1896. obj2:FindFirstChildOfClass('Weld').Part1 = chr["Right Arm"]
  1897. end
  1898. end
  1899. leftarm = false
  1900. end)
  1901. elseif leftarm then
  1902. if obj2 and obj2:FindFirstChildOfClass('Weld') and chr:FindFirstChild('Right Arm') then
  1903. obj2:FindFirstChildOfClass('Weld').Part1 = chr["Right Arm"]
  1904. end
  1905. end
  1906.  
  1907. mou.KeyDown:connect(function(key)
  1908. if key == string.lower(curkey) then
  1909. active = not active
  1910. end
  1911. end)
  1912.  
  1913. plr.Chatted:connect(function(msg)
  1914. if string.lower(string.sub(msg,1,5)) == "!bind" then
  1915. curkey = string.lower(string.sub(msg,7,7))
  1916. notify([[Changed key for equip/unequip to "]]..curkey..[[".]],false)
  1917. end
  1918. end)
  1919.  
  1920. game:GetService('RunService').Stepped:connect(function()
  1921. if active and chr:FindFirstChild('Torso') then
  1922. if leftarm then
  1923. chr.Torso["Left Shoulder"].C0 = calculate()
  1924. else
  1925. chr.Torso["Right Shoulder"].C0 = calculate()
  1926. end
  1927. weldas.Part1 = chr["Right Arm"]
  1928. weldas.C0 = CFrame.new(0,-0.85,-0.30)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(180))
  1929. elseif chr:FindFirstChild('Torso') and (chr.Torso:FindFirstChild('Left Shoulder') or chr.Torso:FindFirstChild('Right Shoulder')) then
  1930. if leftarm then
  1931. chr.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0)*CFrame.Angles(0,-math.pi/2,0)
  1932. else
  1933. chr.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0)*CFrame.Angles(0,math.pi/2,0)
  1934. end
  1935. weldas.Part1 = chr.Torso
  1936. weldas.C0 = CFrame.new(-1,0,-1)*CFrame.Angles(math.rad(-90),0,0)
  1937. end
  1938. for i,v in pairs(stunneds) do
  1939. v.PlatformStand = true
  1940. end
  1941. end)
  1942.  
  1943. mou.Button1Down:connect(function()
  1944. if active then
  1945. fire()
  1946. end
  1947. end)
  1948.  
  1949.  
  1950.  
  1951.  
  1952. function guns()
  1953. while true do
  1954. obj2.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random())
  1955. obj3.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random())
  1956. obj4.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random())
  1957. obj5.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random())
  1958. obj6.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random())
  1959. obj7.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random())
  1960. obj8.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random())
  1961. obj9.BrickColor = BrickColor.new (math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random(), math.random())
  1962. wait(0.1)
  1963. end
  1964. end
  1965.  
  1966.  
  1967. script = Instance.new("Fire")
  1968. script.Parent = game.Players.LocalPlayer.Character.Torso
  1969. function fires()
  1970. while true do
  1971. wait(0.5) --If you want colour/color change to slow down, at a number in these brackets.
  1972. script.Color = Color3.new(math.random(), math.random(), math.random())
  1973. script.SecondaryColor = Color3.new(math.random(), math.random(), math.random())
  1974. script.Heat = math.random(8,8) --Remove these two lines if you don't want the fire to change size.
  1975. script.Size = math.random(7,7)
  1976. end
  1977. end
  1978.  
  1979. spawn(guns)
  1980. spawn(fires)
  1981.  
  1982.  
  1983.  
  1984. local h = Instance.new("Hint")
  1985. h.Parent = Workspace
  1986. h.Text = "Ultimate Disco Man Has Loaded Have Fun!!! E to Activate/Deactivate the gun Enjoy!"
  1987. wait(8)
  1988. h:Remove()
  1989.  
  1990.  
  1991.  
  1992. print("DiscoMan Has Successfully Loaded!!!")
  1993.  
  1994.  
  1995. end)
  1996.  
  1997. IDDiscoMan.Name = "IDDiscoMan"
  1998. IDDiscoMan.Parent = FunMenuFrame
  1999. IDDiscoMan.BackgroundColor3 = Color3.new(0.145098, 0.2, 0.678431)
  2000. IDDiscoMan.BackgroundTransparency = 0.15999999642372
  2001. IDDiscoMan.BorderColor3 = Color3.new(1, 1, 1)
  2002. IDDiscoMan.BorderSizePixel = 2
  2003. IDDiscoMan.Position = UDim2.new(0.422413796, 0, 0.1875, 0)
  2004. IDDiscoMan.Size = UDim2.new(0, 77, 0, 20)
  2005. IDDiscoMan.Font = Enum.Font.SciFi
  2006. IDDiscoMan.Text = "ID DiscoMan"
  2007. IDDiscoMan.TextColor3 = Color3.new(1, 1, 1)
  2008. IDDiscoMan.TextSize = 15
  2009.  
  2010. MadeBy2Txt.Name = "MadeBy2Txt"
  2011. MadeBy2Txt.Parent = FunMenuFrame
  2012. MadeBy2Txt.BackgroundColor3 = Color3.new(1, 1, 1)
  2013. MadeBy2Txt.BackgroundTransparency = 1
  2014. MadeBy2Txt.Position = UDim2.new(0.794540286, 0, 0.292145729, 0)
  2015. MadeBy2Txt.Size = UDim2.new(0, 54, 0, 14)
  2016. MadeBy2Txt.Font = Enum.Font.SciFi
  2017. MadeBy2Txt.Text = "Pointz#6115"
  2018. MadeBy2Txt.TextColor3 = Color3.new(1, 1, 1)
  2019. MadeBy2Txt.TextSize = 18
  2020.  
  2021. MadeByTxt.Name = "MadeByTxt"
  2022. MadeByTxt.Parent = FunMenuFrame
  2023. MadeByTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  2024. MadeByTxt.BackgroundTransparency = 1
  2025. MadeByTxt.Position = UDim2.new(0.625, 0, 0.293651342, 0)
  2026. MadeByTxt.Size = UDim2.new(0, 54, 0, 14)
  2027. MadeByTxt.Font = Enum.Font.SciFi
  2028. MadeByTxt.Text = "By"
  2029. MadeByTxt.TextColor3 = Color3.new(1, 1, 1)
  2030. MadeByTxt.TextSize = 18
  2031.  
  2032. TextLabel.Parent = MainFrame
  2033. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  2034. TextLabel.BackgroundTransparency = 1
  2035. TextLabel.Position = UDim2.new(0.568965495, 0, 0.479999989, 0)
  2036. TextLabel.Size = UDim2.new(0, 34, 0, 13)
  2037. TextLabel.Font = Enum.Font.SciFi
  2038. TextLabel.Text = "Pitch"
  2039. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  2040. TextLabel.TextSize = 14
  2041.  
  2042. TextLabel_2.Parent = MainFrame
  2043. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  2044. TextLabel_2.BackgroundTransparency = 1
  2045. TextLabel_2.Position = UDim2.new(0.821839035, 0, 0.479999989, 0)
  2046. TextLabel_2.Size = UDim2.new(0, 34, 0, 13)
  2047. TextLabel_2.Font = Enum.Font.SciFi
  2048. TextLabel_2.Text = "Volume"
  2049. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  2050. TextLabel_2.TextSize = 14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement