Advertisement
Leodu41

lunar edit

Nov 1st, 2019
236
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plr = game:GetService("Players").LocalPlayer
  2. char = plr.Character
  3. hum = char.Humanoid
  4. local cam = game.Workspace.CurrentCamera
  5. Camera = cam
  6. local CamInterrupt = false
  7. local TwoD = false
  8. local TargetInfo = {nil, nil}
  9. cam.CameraType = "Custom"
  10. t = char.Torso
  11. h = char.Head
  12. ra = char["Right Arm"]
  13. la = char["Left Arm"]
  14. rl = char["Right Leg"]
  15. ll = char["Left Leg"]
  16. tors = char.Torso
  17. lleg = char["Left Leg"]
  18. root = char.HumanoidRootPart
  19. hed = char.Head
  20. rleg = char["Right Leg"]
  21. rarm = char["Right Arm"]
  22. larm = char["Left Arm"]
  23. radian = math.rad
  24. random = math.random
  25. Vec3 = Vector3.new
  26. Inst = Instance.new
  27. cFrame = CFrame.new
  28. Euler = CFrame.fromEulerAnglesXYZ
  29. vt = Vector3.new
  30. bc = BrickColor.new
  31. br = BrickColor.random
  32. it = Instance.new
  33. cf = CFrame.new
  34.  
  35. local Booleans = {
  36.   CamFollow = true,
  37.   GyroUse = true
  38. }
  39.  
  40. function lerp(object, newCFrame, alpha)
  41.   return object:lerp(newCFrame, alpha)
  42. end
  43.  
  44. local Directer = Inst("BodyGyro", root)
  45. Directer.MaxTorque = Vec3(0, 0, 0)
  46. Directer.P = 600000
  47. local CPart = Inst("Part")
  48. CPart.Anchored = true
  49. CPart.CanCollide = false
  50. CPart.Locked = true
  51. CPart.Transparency = 1
  52.  
  53. local rainbowmode = false
  54. local chaosmode = false
  55.  
  56. local kan = Instance.new("Sound",char)
  57. kan.Volume = 5
  58. kan.TimePosition = 0
  59. kan.PlaybackSpeed = 1
  60. kan.Pitch = 1
  61. kan.SoundId = "rbxassetid://"
  62. kan.Name = "wrecked"
  63. kan.Looped = true
  64. kan:Play()
  65.  
  66. local currentThemePlaying = kan.SoundId
  67. local currentPitch = kan.Pitch
  68. local currentVol = kan.Volume
  69. function newTheme(ID,timepos,pitch,vol)
  70. local kanz = kan
  71. --kanz:Stop()
  72. kanz.Volume = vol
  73. --kanz.TimePosition = timepos
  74. kanz.PlaybackSpeed = pitch
  75. kanz.Pitch = pitch
  76. kanz.SoundId = ID
  77. kanz.Name = "wrecked"
  78. kanz.Looped = true
  79. currentThemePlaying = kanz.SoundId
  80. currentVol = kanz.Volume
  81. currentPitch = kanz.Pitch
  82. --kanz:Play()
  83. --coroutine.resume(coroutine.create(function()
  84. --wait(0.05)
  85. --end))
  86. end
  87.  
  88.  
  89. function newThemeCust(ID,timepos,pitch,vol)
  90. local kanz = kan
  91. kanz:Stop()
  92. kanz.Volume = vol
  93. kanz.TimePosition = timepos
  94. kanz.PlaybackSpeed = pitch
  95. kanz.Pitch = pitch
  96. kanz.SoundId = ID
  97. kanz.Name = "wrecked"
  98. kanz.Looped = true
  99. currentThemePlaying = kanz.SoundId
  100. currentVol = kanz.Volume
  101. currentPitch = kanz.Pitch
  102. kanz:Play()
  103. coroutine.resume(coroutine.create(function()
  104. wait(0.05)
  105. end))
  106. end
  107.  
  108. local mutedtog = false
  109.  
  110. function CameraEnshaking(Length,Intensity)
  111. coroutine.resume(coroutine.create(function()
  112.       local intensity = 1*Intensity
  113.       local rotM = 0.01*Intensity
  114. for i = 0, Length, 0.1 do
  115. swait()
  116. intensity = intensity - 0.05*Intensity/Length
  117. rotM = rotM - 0.0005*Intensity/Length
  118.       hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  119.       cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  120. end
  121. Humanoid.CameraOffset = Vec3(0, 0, 0)
  122. end))
  123. end
  124. CamShake=function(Part,Distan,Power,Times)
  125. local de=Part.Position
  126. for i,v in pairs(workspace:children()) do
  127.  if v:IsA("Model") and v:findFirstChild("Humanoid") then
  128. for _,c in pairs(v:children()) do
  129. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  130. local Noob=v.Humanoid
  131. if Noob~=nil then
  132. coroutine.resume(coroutine.create(function()
  133. FV = Instance.new("BoolValue", Noob)
  134. FV.Name = "CameraShake"
  135. for ShakeNum=1,Times do
  136. swait()
  137. local ef=Power
  138.   if ef>=1 then
  139.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  140.   else
  141.    ef=Power*10
  142.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  143.   end  
  144. end
  145. Humanoid.CameraOffset = Vector3.new(0,0,0)
  146. FV:Destroy()
  147. end))
  148. CameraShake(Times, Power, Noob)
  149. end
  150. end
  151. end
  152. end
  153. end
  154. end
  155.  
  156.  
  157. function chatfunc(text,color,typet,font,timeex)
  158. local chat = coroutine.wrap(function()
  159. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  160. Character:FindFirstChild("TalkingBillBoard"):destroy()
  161. end
  162. local naeeym2 = Instance.new("BillboardGui",Character)
  163. naeeym2.Size = UDim2.new(0,100,0,40)
  164. naeeym2.StudsOffset = Vector3.new(0,3,0)
  165. naeeym2.Adornee = Character.Head
  166. naeeym2.Name = "TalkingBillBoard"
  167. local tecks2 = Instance.new("TextLabel",naeeym2)
  168. tecks2.BackgroundTransparency = 1
  169. tecks2.BorderSizePixel = 0
  170. tecks2.Text = ""
  171. tecks2.Font = font
  172. tecks2.TextSize = 30
  173. tecks2.TextStrokeTransparency = 0
  174. tecks2.TextColor3 = color
  175. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  176. tecks2.Size = UDim2.new(1,0,0.5,0)
  177. local tecks3 = Instance.new("TextLabel",naeeym2)
  178. tecks3.BackgroundTransparency = 1
  179. tecks3.BorderSizePixel = 0
  180. tecks3.Text = ""
  181. tecks3.Font = font
  182. tecks3.TextSize = 30
  183. tecks3.TextStrokeTransparency = 0
  184. if typet == "Inverted" then
  185. tecks3.TextColor3 = Color3.new(0,0,0)
  186. tecks3.TextStrokeColor3 = color
  187. elseif typet == "Normal" then
  188. tecks3.TextColor3 = color
  189. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  190. end
  191. tecks3.Size = UDim2.new(1,0,0.5,0)
  192. coroutine.resume(coroutine.create(function()
  193. while true do
  194. swait(1)
  195. if chaosmode == true then
  196. tecks2.TextColor3 = BrickColor.random().Color
  197. tecks3.TextStrokeColor3 = BrickColor.random().Color
  198. end
  199. end
  200. end))
  201. modet.TextTransparency = modet.TextTransparency  + 1
  202. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  203. for i = 0, 74*timeex do
  204. swait()
  205. modet.TextTransparency = 1
  206. modet.TextStrokeTransparency = 1
  207. tecks2.Text = text
  208. tecks3.Text = text
  209. end
  210. local randomrot = math.random(1,2)
  211. if randomrot == 1 then
  212. for i = 1, 50 do
  213. swait()
  214. tecks2.Text = text
  215. tecks3.Text = text
  216. modet.TextTransparency = modet.TextTransparency - .02
  217. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  218. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  219. tecks2.TextTransparency = tecks2.TextTransparency + .04
  220. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  221. tecks3.TextTransparency = tecks2.TextTransparency + .04
  222. end
  223. elseif randomrot == 2 then
  224.     for i = 1, 50 do
  225. swait()
  226. tecks2.Text = text
  227. tecks3.Text = text
  228. modet.TextTransparency = modet.TextTransparency - .02
  229. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  230. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  231. tecks2.TextTransparency = tecks2.TextTransparency + .04
  232. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  233. tecks3.TextTransparency = tecks2.TextTransparency + .04
  234. end
  235. end
  236. modet.TextTransparency = 0
  237. modet.TextStrokeTransparency = 0
  238. if toggleTag == false then
  239. modet.TextTransparency = 1
  240. modet.TextStrokeTransparency = 1
  241. end
  242. naeeym2:Destroy()
  243. end)
  244. chat()
  245. end
  246.  
  247. function bosschatfunc(text,color,watval)
  248. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  249. coroutine.resume(coroutine.create(function()
  250. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  251. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  252. end
  253. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  254. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  255. scrg.Name = "Dialog"
  256. local txtlb = Instance.new("TextLabel",scrg)
  257. txtlb.Text = ""
  258. txtlb.Font = "Bodoni"
  259. txtlb.TextColor3 = Color3.new(0,0,0)
  260. txtlb.TextStrokeTransparency = 0
  261. txtlb.BackgroundTransparency = 0.75
  262. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  263. txtlb.TextStrokeColor3 = color
  264. txtlb.TextScaled = true
  265. txtlb.Size = UDim2.new(1,0,0.25,0)
  266. txtlb.TextXAlignment = "Left"
  267. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  268. local txtlb2 = Instance.new("TextLabel",scrg)
  269. txtlb2.Text = "Lunar Banisher"
  270. txtlb2.Font = "Arcade"
  271. txtlb2.TextColor3 = Color3.new(0,0,0)
  272. txtlb2.TextStrokeTransparency = 0
  273. txtlb2.BackgroundTransparency = 1
  274. txtlb2.TextStrokeColor3 = color
  275. txtlb2.TextSize = 40
  276. txtlb2.Size = UDim2.new(1,0,0.25,0)
  277. txtlb2.TextXAlignment = "Left"
  278. txtlb2.Position = UDim2.new(0,0,1,0)
  279. local fvalen = 0.55
  280. local fval = -0.49
  281. coroutine.resume(coroutine.create(function()
  282. while true do
  283. swait()
  284. if chaosmode == true then
  285. txtlb.Rotation = math.random(-1,1)
  286. txtlb2.Rotation = math.random(-1,1)
  287. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  288. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  289. txtlb.TextStrokeColor3 = BrickColor.random().Color
  290. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  291. end
  292. end
  293. end))
  294. coroutine.resume(coroutine.create(function()
  295. while true do
  296. swait()
  297. if scrg.Parent ~= nil then
  298.     fvalen = fvalen - 0.0001
  299. elseif scrg.Parent == nil then
  300. break
  301. end
  302. end
  303. end))
  304. local flol = 1.75
  305. local flil = 1.6
  306. coroutine.resume(coroutine.create(function()
  307.     for i = 0, 9 do
  308.         swait()
  309.         fval = fval + 0.05
  310.         flol = flol - 0.1
  311.         flil = flil - 0.1
  312.         txtlb.Text = ""
  313.         txtlb.Position = UDim2.new(0,0,flol,0)
  314.         txtlb2.Position = UDim2.new(0,0,flil,0)
  315.     end
  316.     txtlb.Text = text
  317. wait(watval)
  318. local valinc = 0
  319. for i = 0, 99 do
  320. swait()
  321. valinc = valinc + 0.0001
  322. flol = flol + valinc
  323. flil = flil + valinc
  324. txtlb.Rotation = txtlb.Rotation + valinc*20
  325. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  326. txtlb.Position = UDim2.new(0,0,flol,0)
  327. txtlb2.Position = UDim2.new(0,0,flil,0)
  328. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  329. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  330. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  331. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  332. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  333. end
  334. scrg:Destroy()
  335. end))
  336. end))
  337. end
  338. end
  339.  
  340. local disably = false
  341. function warnedpeople(text,represfont,color,color2)
  342.     if disably ~= true then
  343. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  344. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  345. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  346. coroutine.resume(coroutine.create(function()
  347. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  348. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  349. end
  350. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  351. scrg.Name = "Spinny"
  352. local frm = Instance.new("Frame",scrg)
  353. frm.BackgroundTransparency = 0.25
  354. frm.BackgroundColor3 = color
  355. frm.BorderSizePixel = 0
  356. frm.Rotation = 45
  357. frm.Size = UDim2.new(3,0,0,100)
  358. frm.Position = UDim2.new(-4,0,0,0)
  359. local frm2 = frm:Clone()
  360. frm2.Parent = scrg
  361. frm2.BackgroundColor3 = color2
  362. frm2.Position = UDim2.new(-4.05,0,0,0)
  363. local imlb = Instance.new("ImageLabel",scrg)
  364. imlb.BackgroundTransparency = 1
  365. imlb.BackgroundColor3 = Color3.new(0,0,0)
  366. imlb.Image = "rbxassetid://2344851144"
  367. imlb.Size = UDim2.new(0,750,0,750)
  368. imlb.ImageColor3 = color2
  369. imlb.ImageTransparency = 0.25
  370. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  371. local imlb2 = imlb:Clone()
  372. imlb2.Image = "rbxassetid://2325939897"
  373. imlb2.Size = UDim2.new(1,0,1,0)
  374. imlb2.ImageColor3 = color
  375. imlb2.ImageTransparency = 0
  376. imlb2.Position = UDim2.new(0,0,0,0)
  377. local imlb3 = imlb:Clone()
  378. imlb3.Image = "rbxassetid://2344830904"
  379. imlb3.Size = UDim2.new(1,0,1,0)
  380. imlb3.ImageColor3 = color2
  381. imlb3.ImageTransparency = 0
  382. imlb3.Position = UDim2.new(0,0,0,0)
  383. local imlb4 = imlb:Clone()
  384. imlb4.Image = "rbxassetid://2344870656"
  385. imlb4.Size = UDim2.new(3,0,3,0)
  386. imlb4.ImageColor3 = Color3.new(1,1,1)
  387. imlb4.ImageTransparency = 0
  388. imlb4.Position = UDim2.new(-1,0,-1,0)
  389. local imlb5 = imlb:Clone()
  390. imlb5.Image = "rbxassetid://2344870656"
  391. imlb5.Size = UDim2.new(10,0,10,0)
  392. imlb5.ImageColor3 = color2
  393. imlb5.ImageTransparency = 0
  394. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  395. imlb2.Parent = imlb
  396. imlb3.Parent = imlb
  397. imlb4.Parent = imlb
  398. imlb5.Parent = imlb
  399. local txtlb2 = Instance.new("TextLabel",imlb)
  400. txtlb2.Text = text
  401. txtlb2.Font = represfont
  402. txtlb2.TextColor3 = color
  403. txtlb2.TextStrokeTransparency = 0
  404. txtlb2.BackgroundTransparency = 1
  405. txtlb2.TextStrokeColor3 = color2
  406. txtlb2.TextScaled = true
  407. txtlb2.Size = UDim2.new(1,0,1,0)
  408. txtlb2.Position = UDim2.new(0,0,0,0)
  409. local fvalen = 0.55
  410. local fval = -0.49
  411. coroutine.resume(coroutine.create(function()
  412. while true do
  413. swait()
  414. if chaosmode == true then
  415. txtlb2.Rotation = math.random(-1,1)
  416. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  417. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  418. imlb.ImageColor3 = BrickColor.random().Color
  419. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  420. end
  421. end
  422. end))
  423. coroutine.resume(coroutine.create(function()
  424. while true do
  425. swait()
  426. if scrg.Parent ~= nil then
  427.     fvalen = fvalen - 0.0001
  428. elseif scrg.Parent == nil then
  429. break
  430. end
  431. end
  432. end))
  433. local flol = -5
  434. local flil = 1.6
  435. coroutine.resume(coroutine.create(function()
  436.     for i = 0, 49 do
  437.         swait()
  438.         flol = flol + 0.125
  439.         flil = flil - 0.1
  440.         frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  441.         frm.Rotation = frm.Rotation - 0.25
  442.         frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  443.         frm2.Rotation = frm.Rotation + 0.325
  444.         imlb3.Rotation = imlb3.Rotation - 10
  445.         imlb2.Rotation = imlb.Rotation + 7.5
  446.         imlb.Rotation = imlb.Rotation + 5
  447.         txtlb2.Rotation = txtlb2.Rotation - 5.125
  448.         imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  449.     end
  450.     for i = 0, 99 do
  451.         swait()
  452.         fval = fval + 0.05
  453.         flol = flol + 0.005
  454.         frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  455.         frm.Rotation = frm.Rotation - 0.075
  456.         frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  457.         frm2.Rotation = frm2.Rotation + 0.125
  458.         imlb3.Rotation = imlb3.Rotation - 2
  459.         imlb2.Rotation = imlb.Rotation + 1.5
  460.         imlb.Rotation = imlb.Rotation + 1
  461.         txtlb2.Rotation = txtlb2.Rotation - 1.125
  462.         imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  463.     end
  464. local valinc = 0
  465. local vinc2 = 1
  466. for i = 0, 99 do
  467. swait()
  468. vinc2 = vinc2 + 0.25
  469. valinc = valinc + 0.0001
  470. flol = flol + valinc
  471. flil = flil + valinc
  472. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  473. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  474. imlb.Rotation = imlb.Rotation + 1*vinc2
  475. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  476. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  477. frm.Rotation = frm.Rotation + 0.1*vinc2
  478. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  479. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  480. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  481. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  482. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  483. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  484. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  485. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  486. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  487. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  488. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  489. end
  490. scrg:Destroy()
  491. end))
  492. end))
  493. end
  494. end
  495. end
  496.  
  497. local Create = LoadLibrary("RbxUtility").Create
  498.  
  499. CFuncs = { 
  500.     ["Part"] = {
  501.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  502.             local Part = Create("Part"){
  503.                 Parent = Parent,
  504.                 Reflectance = Reflectance,
  505.                 Transparency = Transparency,
  506.                 CanCollide = false,
  507.                 Locked = true,
  508.                 BrickColor = BrickColor.new(tostring(BColor)),
  509.                 Name = Name,
  510.                 Size = Size,
  511.                 Material = Material,
  512.             }
  513.             RemoveOutlines(Part)
  514.             return Part
  515.         end;
  516.     };
  517.    
  518.     ["Mesh"] = {
  519.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  520.             local Msh = Create(Mesh){
  521.                 Parent = Part,
  522.                 Offset = OffSet,
  523.                 Scale = Scale,
  524.             }
  525.             if Mesh == "SpecialMesh" then
  526.                 Msh.MeshType = MeshType
  527.                 Msh.MeshId = MeshId
  528.             end
  529.             return Msh
  530.         end;
  531.     };
  532.    
  533.     ["Mesh"] = {
  534.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  535.             local Msh = Create(Mesh){
  536.                 Parent = Part,
  537.                 Offset = OffSet,
  538.                 Scale = Scale,
  539.             }
  540.             if Mesh == "SpecialMesh" then
  541.                 Msh.MeshType = MeshType
  542.                 Msh.MeshId = MeshId
  543.             end
  544.             return Msh
  545.         end;
  546.     };
  547.    
  548.     ["Weld"] = {
  549.         Create = function(Parent, Part0, Part1, C0, C1)
  550.             local Weld = Create("Weld"){
  551.                 Parent = Parent,
  552.                 Part0 = Part0,
  553.                 Part1 = Part1,
  554.                 C0 = C0,
  555.                 C1 = C1,
  556.             }
  557.             return Weld
  558.         end;
  559.     };
  560.  
  561.     ["Sound"] = {
  562.         Create = function(id, par, vol, pit)
  563.             coroutine.resume(coroutine.create(function()
  564.                 local S = Create("Sound"){
  565.                     Volume = vol,
  566.                                         Name = "EffectSoundo",
  567.                     Pitch = pit or 1,
  568.                     SoundId = id,
  569.                     Parent = par or workspace,
  570.                 }
  571.                 wait()
  572.                 S:play()
  573.                 game:GetService("Debris"):AddItem(S, 10)
  574.             end))
  575.         end;
  576.     };
  577.  
  578.     ["TimeSound"] = {
  579.         Create = function(id, par, vol, pit, timepos)
  580.             coroutine.resume(coroutine.create(function()
  581.                 local S = Create("Sound"){
  582.                     Volume = vol,
  583.                                         Name = "EffectSoundo",
  584.                     Pitch = pit or 1,
  585.                     SoundId = id,
  586.                                         TimePosition = timepos,
  587.                     Parent = par or workspace,
  588.                 }
  589.                 wait()
  590.                 S:play()
  591.                 game:GetService("Debris"):AddItem(S, 10)
  592.             end))
  593.         end;
  594.     };
  595.         ["EchoSound"] = {
  596.         Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  597.             coroutine.resume(coroutine.create(function()
  598.                 local Sas = Create("Sound"){
  599.                     Volume = vol,
  600.                     Name = "EffectSoundo",
  601.                     Pitch = pit or 1,
  602.                     SoundId = id,
  603.                     TimePosition = timepos,
  604.                     Parent = par or workspace,
  605.                 }
  606.                 local E = Create("EchoSoundEffect"){
  607.                     Delay = echodelay,
  608.                     Name = "Echo",
  609.                     Feedback = fedb,
  610.                     DryLevel = dryl,
  611.                     Parent = Sas,
  612.                 }
  613.                 wait()
  614.                 Sas:play()
  615.                 game:GetService("Debris"):AddItem(Sas, delays)
  616.             end))
  617.         end;
  618.     };
  619.  
  620. ["LongSound"] = {
  621.         Create = function(id, par, vol, pit)
  622.             coroutine.resume(coroutine.create(function()
  623.                 local S = Create("Sound"){
  624.                     Volume = vol,
  625.                     Pitch = pit or 1,
  626.                     SoundId = id,
  627.                     Parent = par or workspace,
  628.                 }
  629.                 wait()
  630.                 S:play()
  631.                 game:GetService("Debris"):AddItem(S, 60)
  632.             end))
  633.         end;
  634.     };
  635.    
  636.     ["ParticleEmitter"] = {
  637.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  638.             local fp = Create("ParticleEmitter"){
  639.                 Parent = Parent,
  640.                 Color = ColorSequence.new(Color1, Color2),
  641.                 LightEmission = LightEmission,
  642.                 Size = Size,
  643.                 Texture = Texture,
  644.                 Transparency = Transparency,
  645.                 ZOffset = ZOffset,
  646.                 Acceleration = Accel,
  647.                 Drag = Drag,
  648.                 LockedToPart = LockedToPart,
  649.                 VelocityInheritance = VelocityInheritance,
  650.                 EmissionDirection = EmissionDirection,
  651.                 Enabled = Enabled,
  652.                 Lifetime = LifeTime,
  653.                 Rate = Rate,
  654.                 Rotation = Rotation,
  655.                 RotSpeed = RotSpeed,
  656.                 Speed = Speed,
  657.                 VelocitySpread = VelocitySpread,
  658.             }
  659.             return fp
  660.         end;
  661.     };
  662.  
  663.     CreateTemplate = {
  664.    
  665.     };
  666. }
  667.  
  668.  
  669.  
  670. New = function(Object, Parent, Name, Data)
  671.     local Object = Instance.new(Object)
  672.     for Index, Value in pairs(Data or {}) do
  673.         Object[Index] = Value
  674.     end
  675.     Object.Parent = Parent
  676.     Object.Name = Name
  677.     return Object
  678. end
  679. local halocolor = BrickColor.new("Pastel light blue")
  680. local halocolor2 = BrickColor.new("Cool yellow")
  681. local starcolor = BrickColor.new("Bright yellow")
  682. local lunacolor = BrickColor.new("Navy blue")
  683. local lunacolor2 = BrickColor.new("Bright blue")
  684. local wepcolor = BrickColor.new("Really black")
  685. local maincolor = BrickColor.new("Really black")
  686. local m = Instance.new("Model",char)
  687. local m2 = Instance.new("Model",char)
  688. local m3 = Instance.new("Model",char)
  689. local mw1 = Instance.new("Model",char)
  690. local mw2 = Instance.new("Model",char)
  691.  
  692.  
  693.  
  694.  
  695. local extrawingmod1 = Instance.new("Model",char)
  696. local extrawingmod2 = Instance.new("Model",char)
  697.  
  698. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  699. local p = Instance.new("Part")
  700. p.TopSurface = 0
  701. p.BottomSurface = 0
  702. p.Parent = parent
  703. p.Size = Vector3.new(0.1,0.1,0.1)
  704. p.Transparency = transparency
  705. p.Reflectance = reflectance
  706. p.CanCollide = false
  707. p.Locked = true
  708. p.BrickColor = brickcolor
  709. p.Material = material
  710. return p
  711. end
  712.  
  713. function CreateMesh(parent,meshtype,x1,y1,z1)
  714. local mesh = Instance.new("SpecialMesh",parent)
  715. mesh.MeshType = meshtype
  716. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  717. return mesh
  718. end
  719.  
  720. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  721. local mesh = Instance.new("SpecialMesh",parent)
  722. mesh.MeshType = "FileMesh"
  723. mesh.MeshId = meshid
  724. mesh.Scale = Vector3.new(x1,y1,z1)
  725. return mesh
  726. end
  727.  
  728.  
  729. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  730. local mesh = Instance.new("SpecialMesh",parent)
  731. mesh.MeshType = "FileMesh"
  732. mesh.MeshId = meshid
  733. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  734. mesh.Scale = Vector3.new(x1,y1,z1)
  735. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  736. return mesh
  737. end
  738.  
  739. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  740. local weld = Instance.new("Weld")
  741. weld.Parent = parent
  742. weld.Part0 = part0
  743. weld.Part1 = part1
  744. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  745. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  746. return weld
  747. end
  748.  
  749.  
  750. --------------
  751. --------------
  752. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  753. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  754. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  755. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  756.  
  757. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  758. CreateMesh(handle,"Brick",0,0,0)
  759. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  760. local valuaring = 10
  761. for i = 0, 49 do
  762.     valuaring = valuaring + 10
  763. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  764. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  765. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  766. end
  767.  
  768. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  769. CreateMesh(handle,"Brick",0,0,0)
  770. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  771. local valuaring = 10
  772. for i = 0, 49 do
  773.     valuaring = valuaring + 10
  774. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  775. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  776. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  777. end
  778.  
  779.  
  780. local handle = CreateParta(m,1,1,"Neon",maincolor)
  781. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  782. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  783.  
  784. --- Left wing.
  785.  
  786. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  787. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  788. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  789.  
  790. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  791. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  792. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  793. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  794. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  795. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  796. A0 = Instance.new('Attachment',wed)
  797. A0.Position = vt(0,0.25,0.25)
  798. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  799. CreateMesh(wed,"Wedge",0.05,0.5,3)
  800. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  801. A1 = Instance.new('Attachment',wed)
  802. A1.Position = vt(0,-0.25,-2)
  803. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  804. CreateMesh(wed,"Wedge",0.05,3,0.5)
  805. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  806.  
  807. tl1 = Instance.new('Trail',wed)
  808. tl1.Attachment0 = A1
  809. tl1.Attachment1 = A0
  810. tl1.Texture = "rbxassetid://2108945559"
  811. tl1.LightEmission = 1
  812. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  813. tl1.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  814. tl1.Lifetime = 0.6
  815.  
  816.  
  817. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  818. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  819. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  820.  
  821. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  822. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  823. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  824. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  825. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  826. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  827. A0 = Instance.new('Attachment',wed)
  828. A0.Position = vt(0,0.25,0.25)
  829. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  830. CreateMesh(wed,"Wedge",0.05,0.5,3)
  831. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  832. A1 = Instance.new('Attachment',wed)
  833. A1.Position = vt(0,-0.25,-2)
  834. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  835. CreateMesh(wed,"Wedge",0.05,3,0.5)
  836. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  837.  
  838. tl2 = Instance.new('Trail',wed)
  839. tl2.Attachment0 = A1
  840. tl2.Attachment1 = A0
  841. tl2.Texture = "rbxassetid://2108945559"
  842. tl2.LightEmission = 1
  843. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  844. tl2.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  845. tl2.Lifetime = 0.6
  846.  
  847. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  848. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  849. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  850.  
  851. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  852. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  853. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  854. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  855. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  856. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  857. A0 = Instance.new('Attachment',wed)
  858. A0.Position = vt(0,0.25,0.25)
  859. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  860. CreateMesh(wed,"Wedge",0.05,0.5,3)
  861. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  862. A1 = Instance.new('Attachment',wed)
  863. A1.Position = vt(0,-0.25,-2)
  864. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  865. CreateMesh(wed,"Wedge",0.05,3,0.5)
  866. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  867.  
  868. tl3 = Instance.new('Trail',wed)
  869. tl3.Attachment0 = A1
  870. tl3.Attachment1 = A0
  871. tl3.Texture = "rbxassetid://2108945559"
  872. tl3.LightEmission = 1
  873. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  874. tl3.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  875. tl3.Lifetime = 0.6
  876.  
  877. tl1.Enabled = false
  878. tl2.Enabled = false
  879. tl3.Enabled = false
  880. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  881. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  882. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  883.  
  884. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  885. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  886. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  887. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  888. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  889. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  890. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  891. CreateMesh(wed,"Wedge",0.05,0.5,3)
  892. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  893. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  894. CreateMesh(wed,"Wedge",0.05,3,0.5)
  895. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  896.  
  897. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  898. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  899. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  900.  
  901. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  902. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  903. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  904. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  905. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  906. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  907. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  908. CreateMesh(wed,"Wedge",0.05,0.5,3)
  909. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  910. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  911. CreateMesh(wed,"Wedge",0.05,3,0.5)
  912. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  913.  
  914. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  915. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  916. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  917.  
  918. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  919. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  920. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  921. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  922. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  923. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  924. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  925. CreateMesh(wed,"Wedge",0.05,0.5,3)
  926. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  927. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  928. CreateMesh(wed,"Wedge",0.05,3,0.5)
  929. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  930.  
  931. -- Right wing.
  932.  
  933. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  934. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  935. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  936.  
  937. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  938. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  939. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  940. A0 = Instance.new('Attachment',wed)
  941. A0.Position = vt(0,0.25,0.25)
  942. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  943. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  944. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  945. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  946. CreateMesh(wed,"Wedge",0.05,0.5,3)
  947. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  948. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  949. CreateMesh(wed,"Wedge",0.05,3,0.5)
  950. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  951. A1 = Instance.new('Attachment',wed)
  952. A1.Position = vt(0,2,0.25)
  953.  
  954. tr1 = Instance.new('Trail',wed)
  955. tr1.Attachment0 = A1
  956. tr1.Attachment1 = A0
  957. tr1.Texture = "rbxassetid://2108945559"
  958. tr1.LightEmission = 1
  959. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  960. tr1.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  961. tr1.Lifetime = 0.6
  962.  
  963. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  964. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  965. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  966.  
  967. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  968. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  969. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  970. A0 = Instance.new('Attachment',wed)
  971. A0.Position = vt(0,0.25,0.25)
  972. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  973. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  974. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  975. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  976. CreateMesh(wed,"Wedge",0.05,0.5,3)
  977. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  978. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  979. CreateMesh(wed,"Wedge",0.05,3,0.5)
  980. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  981. A1 = Instance.new('Attachment',wed)
  982. A1.Position = vt(0,2,0.25)
  983.  
  984. tr2 = Instance.new('Trail',wed)
  985. tr2.Attachment0 = A1
  986. tr2.Attachment1 = A0
  987. tr2.Texture = "rbxassetid://2108945559"
  988. tr2.LightEmission = 1
  989. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  990. tr2.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  991. tr2.Lifetime = 0.6
  992.  
  993. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  994. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  995. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  996.  
  997. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  998. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  999. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1000. A0 = Instance.new('Attachment',wed)
  1001. A0.Position = vt(0,0.25,0.25)
  1002. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1003. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1004. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1005. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1006. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1007. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1008. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1009. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1010. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1011. A1 = Instance.new('Attachment',wed)
  1012. A1.Position = vt(0,2,0.25)
  1013.  
  1014. tr3 = Instance.new('Trail',wed)
  1015. tr3.Attachment0 = A1
  1016. tr3.Attachment1 = A0
  1017. tr3.Texture = "rbxassetid://2108945559"
  1018. tr3.LightEmission = 1
  1019. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1020. tr3.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  1021. tr3.Lifetime = 0.6
  1022.  
  1023.  
  1024. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1025. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1026. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1027.  
  1028. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1029. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1030. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1031. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1032. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1033. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1034. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1035. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1036. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1037. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1038. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1039. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1040.  
  1041. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1042. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1043. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1044.  
  1045. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1046. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1047. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1048. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1049. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1050. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1051. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1052. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1053. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1054. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1055. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1056. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1057.  
  1058. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1059. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1060. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1061.  
  1062. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1063. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1064. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1065. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1066. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1067. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1068. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1069. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1070. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1071. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1072. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1073. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1074.  
  1075. --HERES THE RING
  1076.  
  1077.  
  1078. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1079. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1080. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1081. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1082. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1083. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1084. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1085. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1086. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1087.  
  1088.  
  1089. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1090. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1091. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1092.  
  1093. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1094. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1095. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1096.  
  1097.  
  1098.  
  1099. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1100. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1101. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1102.  
  1103. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1104. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1105. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1106.  
  1107. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1108. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1109. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1110.  
  1111. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1112. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1113. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1114. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1115. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1116. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1117.  
  1118. --- second ring
  1119.  
  1120.  
  1121. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1122. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1123. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1124.  
  1125. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1126. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1127. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1128.  
  1129.  
  1130.  
  1131. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1132. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1133. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1134.  
  1135. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1136. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1137. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1138.  
  1139. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1140. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1141. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1142.  
  1143. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1144. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1145. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1146. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1147. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1148. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1149.  
  1150.  
  1151.  
  1152. for i, v in pairs(m:GetChildren()) do
  1153. if v:IsA("Part") then
  1154. v.BrickColor = BrickColor.new("Really black")
  1155. v.Material = "Glass"
  1156. end
  1157. end
  1158. for i, v in pairs(m2:GetChildren()) do
  1159. if v:IsA("Part") then
  1160. v.BrickColor = BrickColor.new("Crimson")
  1161. v.Material = "Granite"
  1162. end
  1163. end
  1164. for i, v in pairs(m3:GetChildren()) do
  1165. if v:IsA("Part") then
  1166. v.BrickColor = BrickColor.new("Really blue")
  1167. v.Material = "Neon"
  1168. end
  1169. end
  1170. for i, v in pairs(mw2:GetChildren()) do
  1171. if v:IsA("Part") then
  1172. v.BrickColor = BrickColor.new("Really blue")
  1173. v.Material = "Neon"
  1174. end
  1175. end
  1176. for i, v in pairs(mw1:GetChildren()) do
  1177. if v:IsA("Part") then
  1178. v.Transparency = 1
  1179. v.BrickColor = BrickColor.new("Really blue")
  1180. v.Material = "Neon"
  1181. end
  1182. end
  1183. for i, v in pairs(extrawingmod1:GetChildren()) do
  1184. if v:IsA("Part") then
  1185. v.Transparency = 1
  1186. v.BrickColor = BrickColor.new("White")
  1187. v.Material = "Neon"
  1188. end
  1189. end
  1190. for i, v in pairs(extrawingmod2:GetChildren()) do
  1191. if v:IsA("Part") then
  1192. v.Transparency = 1
  1193. v.BrickColor = BrickColor.new("White")
  1194. v.Material = "Neon"
  1195. end
  1196. end
  1197. local MAINRUINCOLOR = BrickColor.new("Navy blue")
  1198. local SECONDRUINCOLOR  = BrickColor.new("Navy blue")
  1199. local THIRDRUINCOLOR = BrickColor.new("Really black")
  1200.  
  1201. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
  1202. for i, v in pairs(mw2:GetChildren()) do
  1203. if v:IsA("Part") then
  1204. v.BrickColor = one
  1205. v.Material = "Neon"
  1206. end
  1207. end
  1208. refec.Color = ColorSequence.new(one.Color)
  1209. refec2.Color = ColorSequence.new(one.Color)
  1210. refec3.Color = ColorSequence.new(one.Color)
  1211. tr1.Color = ColorSequence.new(one.Color)
  1212. tr2.Color = ColorSequence.new(one.Color)
  1213. tr3.Color = ColorSequence.new(one.Color)
  1214. imgl2.ImageColor3 = one.Color
  1215. circl.ImageColor3 = two.Color
  1216. techc.ImageColor3 = one.Color
  1217. circl2.ImageColor3 = one.Color
  1218. ned.TextColor3 = two.Color
  1219. ned.TextStrokeColor3 = one.Color
  1220. for i, v in pairs(mw1:GetChildren()) do
  1221. if v:IsA("Part") then
  1222. v.Transparency = 0
  1223. v.BrickColor = two
  1224. v.Material = "Neon"
  1225. end
  1226. end
  1227. tl1.Color = ColorSequence.new(two.Color)
  1228. tl2.Color = ColorSequence.new(two.Color)
  1229. tl3.Color = ColorSequence.new(two.Color)
  1230. for i, v in pairs(m:GetChildren()) do
  1231. if v:IsA("Part") then
  1232. v.BrickColor = three
  1233. v.Material = "Ice"
  1234. end
  1235. end
  1236. for i, v in pairs(m2:GetChildren()) do
  1237. if v:IsA("Part") then
  1238. v.BrickColor = four
  1239. v.Material = "Ice"
  1240. end
  1241. end
  1242. for i, v in pairs(m3:GetChildren()) do
  1243. if v:IsA("Part") then
  1244. v.BrickColor = five
  1245. v.Material = "Neon"
  1246. end
  1247. end
  1248. for i, v in pairs(extrawingmod1:GetChildren()) do
  1249. if v:IsA("Part") then
  1250. v.Transparency = exonetran
  1251. v.BrickColor = exone
  1252. v.Material = "Neon"
  1253. end
  1254. end
  1255. for i, v in pairs(extrawingmod2:GetChildren()) do
  1256. if v:IsA("Part") then
  1257. v.Transparency = extwotran
  1258. v.BrickColor = extwo
  1259. v.Material = "Neon"
  1260. end
  1261. end
  1262. end
  1263.  
  1264. function bosschatfunc(text,color,watval)
  1265. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1266. coroutine.resume(coroutine.create(function()
  1267. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  1268. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  1269. end
  1270. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1271. scrg.Name = "Dialog"
  1272. local txtlb = Instance.new("TextLabel",scrg)
  1273. txtlb.Text = ""
  1274. txtlb.Font = "Bodoni"
  1275. txtlb.TextColor3 = Color3.new(0,0,0)
  1276. txtlb.TextStrokeTransparency = 0
  1277. txtlb.BackgroundTransparency = 0.75
  1278. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  1279. txtlb.TextStrokeColor3 = color
  1280. txtlb.TextScaled = true
  1281. txtlb.Size = UDim2.new(1,0,0.25,0)
  1282. txtlb.TextXAlignment = "Left"
  1283. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  1284. local txtlb2 = Instance.new("TextLabel",scrg)
  1285. txtlb2.Text = "Chaotic:"
  1286. txtlb2.Font = "Arcade"
  1287. txtlb2.TextColor3 = Color3.new(0,0,0)
  1288. txtlb2.TextStrokeTransparency = 0
  1289. txtlb2.BackgroundTransparency = 1
  1290. txtlb2.TextStrokeColor3 = color
  1291. txtlb2.TextSize = 40
  1292. txtlb2.Size = UDim2.new(1,0,0.25,0)
  1293. txtlb2.TextXAlignment = "Left"
  1294. txtlb2.Position = UDim2.new(0,0,1,0)
  1295. local fvalen = 0.55
  1296. local fval = -0.49
  1297. coroutine.resume(coroutine.create(function()
  1298. while true do
  1299. Swait()
  1300. if MODE == "Sanity" then
  1301. txtlb.Rotation = math.random(-1,1)
  1302. txtlb2.Rotation = math.random(-1,1)
  1303. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1304. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1305. txtlb.TextStrokeColor3 = BrickColor.random().Color
  1306. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1307. end
  1308. end
  1309. end))
  1310. coroutine.resume(coroutine.create(function()
  1311. while true do
  1312. Swait()
  1313. if scrg.Parent ~= nil then
  1314.     fvalen = fvalen - 0.0001
  1315. elseif scrg.Parent == nil then
  1316. break
  1317. end
  1318. end
  1319. end))
  1320. local flol = 1.75
  1321. local flil = 1.6
  1322. coroutine.resume(coroutine.create(function()
  1323.     for i = 0, 9 do
  1324.         Swait()
  1325.         fval = fval + 0.05
  1326.         flol = flol - 0.1
  1327.         flil = flil - 0.1
  1328.         txtlb.Text = ""
  1329.         txtlb.Position = UDim2.new(0,0,flol,0)
  1330.         txtlb2.Position = UDim2.new(0,0,flil,0)
  1331.     end
  1332.     txtlb.Text = text
  1333. wait(watval)
  1334. local valinc = 0
  1335. for i = 0, 99 do
  1336. Swait()
  1337. valinc = valinc + 0.0001
  1338. flol = flol + valinc
  1339. flil = flil + valinc
  1340. txtlb.Rotation = txtlb.Rotation + valinc*20
  1341. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  1342. txtlb.Position = UDim2.new(0,0,flol,0)
  1343. txtlb2.Position = UDim2.new(0,0,flil,0)
  1344. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  1345. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  1346. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1347. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1348. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  1349. end
  1350. scrg:Destroy()
  1351. end))
  1352. end))
  1353. end
  1354. end
  1355.  
  1356. function BigBlack(text,color,watval)
  1357. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1358. coroutine.resume(coroutine.create(function()
  1359. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  1360. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  1361. end
  1362. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1363. scrg.Name = "Dialog"
  1364. local txtlb = Instance.new("TextLabel",scrg)
  1365. txtlb.Text = ""
  1366. txtlb.Font = "Bodoni"
  1367. txtlb.TextColor3 = Color3.new(0,0,0)
  1368. txtlb.TextStrokeTransparency = 1
  1369. txtlb.BackgroundTransparency = 1
  1370. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  1371. txtlb.TextStrokeColor3 = color
  1372. txtlb.TextScaled = true
  1373. txtlb.Size = UDim2.new(1,0,1,0)
  1374. txtlb.TextXAlignment = "Center"
  1375. txtlb.Position = UDim2.new(0,0,6.75 + 1,0)
  1376. local txtlb2 = Instance.new("TextLabel",scrg)
  1377. txtlb2.Text = "Chaotic:"
  1378. txtlb2.Font = "Arcade"
  1379. txtlb2.TextColor3 = Color3.new(0,0,0)
  1380. txtlb2.TextStrokeTransparency = 0
  1381. txtlb2.BackgroundTransparency = 1
  1382. txtlb2.TextStrokeColor3 = color
  1383. txtlb2.TextSize = 40
  1384. txtlb2.Size = UDim2.new(1,0,0.25,0)
  1385. txtlb2.TextXAlignment = "Left"
  1386. txtlb2.Position = UDim2.new(0,0,1,0)
  1387. local fvalen = 0.55
  1388. local fval = -0.49
  1389. coroutine.resume(coroutine.create(function()
  1390. while true do
  1391. Swait()
  1392. if MODE == "Sanity" then
  1393. txtlb.Rotation = math.random(-1,1)
  1394. txtlb2.Rotation = math.random(-1,1)
  1395. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1396. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1397. txtlb.TextStrokeColor3 = BrickColor.random().Color
  1398. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1399. end
  1400. end
  1401. end))
  1402. coroutine.resume(coroutine.create(function()
  1403. while true do
  1404. Swait()
  1405. if scrg.Parent ~= nil then
  1406.     fvalen = fvalen - 0.0001
  1407. elseif scrg.Parent == nil then
  1408. break
  1409. end
  1410. end
  1411. end))
  1412. local flol = 1.05
  1413. local flil = 0.75
  1414. local flil2 = -0.2
  1415.     coroutine.resume(coroutine.create(function()
  1416.     for i = 1,string.len(text),1 do
  1417.         wait()
  1418.         text.Text = string.sub(text,1,i)
  1419.     end
  1420.     end))
  1421. coroutine.resume(coroutine.create(function()
  1422.     for i = 0, 1 do
  1423.         fval = fval + 0.05
  1424.         flol = flol - 0.1
  1425.         flil2 = flil2 + 0.1
  1426.         txtlb.Text = ""
  1427.         txtlb.Position = UDim2.new(flil2,0,0,0)
  1428.         txtlb.BackgroundTransparency = 1 - 0.1
  1429.         txtlb2.Position = UDim2.new(flil2,0,0,0)
  1430.     end
  1431.    
  1432.         for i = 0, 99 do
  1433. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency - 0.01
  1434. txtlb.TextTransparency = txtlb.TextTransparency - 0.01
  1435. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency - 0.01
  1436. txtlb2.TextTransparency = txtlb2.TextTransparency - 0.01
  1437. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency - 0.0025
  1438.     end
  1439.    
  1440.     txtlb.Text = text
  1441. wait(watval)
  1442. local valinc = 0
  1443. for i = 0, 99 do
  1444. Swait()
  1445. valinc = valinc + 0.0002
  1446. flol = flol + valinc
  1447. flil2 = flil2 + valinc
  1448. txtlb.Rotation = txtlb.Rotation + valinc*15
  1449. txtlb2.Rotation = txtlb2.Rotation - valinc*15
  1450. txtlb.Position = UDim2.new(flil2,0,0,0)
  1451. txtlb2.Position = UDim2.new(flil2,0,0,0)
  1452. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  1453. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  1454. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1455. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1456. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  1457. end
  1458. scrg:Destroy()
  1459. end))
  1460. end))
  1461. end
  1462. end
  1463. ------
  1464.  
  1465.  
  1466. function RemoveOutlines(part)
  1467.   part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1468. end
  1469. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1470.   local Part = Create("Part")({
  1471.     Parent = Parent,
  1472.     Reflectance = Reflectance,
  1473.     Transparency = Transparency,
  1474.     CanCollide = false,
  1475.     Locked = true,
  1476.     BrickColor = BrickColor.new(tostring(BColor)),
  1477.     Name = Name,
  1478.     Size = Size,
  1479.     Material = Material
  1480.   })
  1481.   Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1482.   RemoveOutlines(Part)
  1483.   return Part
  1484. end
  1485. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1486.   local Msh = Create(Mesh)({
  1487.     Parent = Part,
  1488.     Offset = OffSet,
  1489.     Scale = Scale
  1490.   })
  1491.   if Mesh == "SpecialMesh" then
  1492.     Msh.MeshType = MeshType
  1493.     Msh.MeshId = MeshId
  1494.   end
  1495.   return Msh
  1496. end
  1497. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1498.   local Weld = Create("Weld")({
  1499.     Parent = Parent,
  1500.     Part0 = Part0,
  1501.     Part1 = Part1,
  1502.     C0 = C0,
  1503.     C1 = C1
  1504.   })
  1505.   return Weld
  1506. end
  1507.  
  1508.  
  1509.  
  1510. Player = plr
  1511. PlayerGui = Player.PlayerGui
  1512. Cam = workspace.CurrentCamera
  1513. Backpack = Player.Backpack
  1514. Character = Player.Character
  1515. Humanoid = Character.Humanoid
  1516. RootPart = Character["HumanoidRootPart"]
  1517. Torso = Character["Torso"]
  1518. Head = Character["Head"]
  1519. RightArm = Character["Right Arm"]
  1520. LeftArm = Character["Left Arm"]
  1521. RightLeg = Character["Right Leg"]
  1522. LeftLeg = Character["Left Leg"]
  1523. RootJoint = RootPart["RootJoint"]
  1524. Neck = Torso["Neck"]
  1525. RightShoulder = Torso["Right Shoulder"]
  1526. LeftShoulder = Torso["Left Shoulder"]
  1527. RightHip = Torso["Right Hip"]
  1528. LeftHip = Torso["Left Hip"]
  1529. local sick = Instance.new("Sound",Torso)
  1530. sick.SoundId = "rbxassetid://1306847940"
  1531. sick.Looped = true
  1532. sick.Pitch = 1
  1533. sick.Volume = 0
  1534. sick.TimePosition = 0
  1535. Character.Archivable = true
  1536. Humanoid.DisplayDistanceType = "None"
  1537.  
  1538. local naeeym2 = Instance.new("BillboardGui",Character)
  1539. naeeym2.AlwaysOnTop = true
  1540. naeeym2.Size = UDim2.new(5,35,2,35)
  1541. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1542. naeeym2.Adornee = Character.Head
  1543. naeeym2.Name = "Name"
  1544. local tecks2 = Instance.new("TextLabel",naeeym2)
  1545. tecks2.BackgroundTransparency = 1
  1546. tecks2.TextScaled = true
  1547. tecks2.BorderSizePixel = 0
  1548. tecks2.Text = "Lunar"
  1549. tecks2.Font = "Antique"
  1550. tecks2.TextSize = 30
  1551. tecks2.TextTransparency = 1
  1552. tecks2.TextStrokeTransparency = 1
  1553. tecks2.TextColor3 = Color3.new(0/255,0/255,255/255)
  1554. tecks2.Size = UDim2.new(1,0,0.5,0)
  1555. tecks2.Parent = naeeym2
  1556.  
  1557. IT = Instance.new
  1558. CF = CFrame.new
  1559. VT = Vector3.new
  1560. RAD = math.rad
  1561. C3 = Color3.new
  1562. UD2 = UDim2.new
  1563. BRICKC = BrickColor.new
  1564. ANGLES = CFrame.Angles
  1565. EULER = CFrame.fromEulerAnglesXYZ
  1566. COS = math.cos
  1567. ACOS = math.acos
  1568. SIN = math.sin
  1569. ASIN = math.asin
  1570. ABS = math.abs
  1571. MRANDOM = math.random
  1572. FLOOR = math.floor
  1573.  
  1574. --//=================================\\
  1575. --||          USEFUL VALUES
  1576. --\\=================================//
  1577.  
  1578. Animation_Speed = 3
  1579. local FORCERESET = false
  1580. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1581. local Speed = 16
  1582. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1583. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1584. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1585. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1586. local DAMAGEMULTIPLIER = 1
  1587. local ANIM = "Idle"
  1588. local ATTACK = false
  1589. local EQUIPPED = false
  1590. local HOLD = false
  1591. local COMBO = 1
  1592. local Rooted = false
  1593. local INTRO = false
  1594. local Gun = IT("Model")
  1595. Gun.Name = "Gun"
  1596. local SINE = 0
  1597. local KEYHOLD = false
  1598. local CHANGE = 2 / Animation_Speed
  1599. local WALKINGANIM = false
  1600. local VALUE1 = false
  1601. local VALUE2 = false
  1602. local ROBLOXIDLEANIMATION = IT("Animation")
  1603. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1604. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1605. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1606. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1607. WEAPONGUI.Name = "BanishV3Gui"
  1608. local Weapon = IT("Model")
  1609. Weapon.Name = "Adds"
  1610. local FaceGradient = IT("Folder", Character)
  1611. FaceGradient.Name = "FaceGradient"
  1612. local Effects = IT("Folder", Weapon)
  1613. Effects.Name = "Effects"
  1614. local ANIMATOR = Humanoid.Animator
  1615. local ANIMATE = Character:FindFirstChild("Animate")
  1616. local UNANCHOR = true
  1617. local TOBANISH = {}
  1618. script.Parent = PlayerGui
  1619.  
  1620. --//=================================\\
  1621. --\\=================================//
  1622.  
  1623.  
  1624. --//=================================\\
  1625. --||          CUSTOMIZATION
  1626. --\\=================================//
  1627.  
  1628. Class_Name = "Sharpshooter"
  1629. Weapon_Name = "Add-ons"
  1630.  
  1631.     Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
  1632.     Custom_Color_2 = BRICKC("Maroon"); --2nd color for the weapon.
  1633.  
  1634.     Custom_Color_3 = BRICKC("Navy blue"); --Color for the abilities.
  1635.     Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  1636.     Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  1637.     Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  1638.     Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  1639.  
  1640.     Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  1641.     Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  1642.     Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  1643.     Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  1644.     Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  1645.  
  1646.  
  1647. Player_Size = 1 --Size of the player.
  1648. Animation_Speed = 3
  1649. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1650.  
  1651. local Speed = 16
  1652. local Effects2 = {}
  1653.  
  1654. --//=================================\\
  1655. --||      END OF CUSTOMIZATION
  1656. --\\=================================//
  1657.  
  1658.  
  1659. --//=================================\\
  1660. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1661. --\\=================================//
  1662.  
  1663. ArtificialHB = Instance.new("BindableEvent", script)
  1664. ArtificialHB.Name = "ArtificialHB"
  1665.  
  1666. script:WaitForChild("ArtificialHB")
  1667.  
  1668. frame = Frame_Speed
  1669. tf = 0
  1670. allowframeloss = false
  1671. tossremainder = false
  1672. lastframe = tick()
  1673. script.ArtificialHB:Fire()
  1674.  
  1675. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1676.     tf = tf + s
  1677.     if tf >= frame then
  1678.         if allowframeloss then
  1679.             script.ArtificialHB:Fire()
  1680.             lastframe = tick()
  1681.         else
  1682.             for i = 1, math.floor(tf / frame) do
  1683.                 script.ArtificialHB:Fire()
  1684.             end
  1685.         lastframe = tick()
  1686.         end
  1687.         if tossremainder then
  1688.             tf = 0
  1689.         else
  1690.             tf = tf - frame * math.floor(tf / frame)
  1691.         end
  1692.     end
  1693. end)
  1694.  
  1695. --//=================================\\
  1696. --\\=================================//
  1697.  
  1698. --//=================================\\
  1699. --||          SOME FUNCTIONS
  1700. --\\=================================//
  1701.  
  1702. function Clerp(a, b, t)
  1703.     local qa = {QuaternionFromCFrame(a)}
  1704.     local qb = {QuaternionFromCFrame(b)}
  1705.     local ax, ay, az = a.x, a.y, a.z
  1706.     local bx, by, bz = b.x, b.y, b.z
  1707.     local _t = 1 - t
  1708.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1709. end
  1710.  
  1711. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1712.     local frame = IT("Frame")
  1713.     frame.BackgroundTransparency = TRANSPARENCY
  1714.     frame.BorderSizePixel = BORDERSIZEPIXEL
  1715.     frame.Position = POSITION
  1716.     frame.Size = SIZE
  1717.     frame.BackgroundColor3 = COLOR
  1718.     frame.BorderColor3 = BORDERCOLOR
  1719.     frame.Name = NAME
  1720.     frame.Parent = PARENT
  1721.     return frame
  1722. end
  1723.  
  1724. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1725.     local label = IT("TextLabel")
  1726.     label.BackgroundTransparency = 1
  1727.     label.Size = UD2(1, 0, 1, 0)
  1728.     label.Position = UD2(0, 0, 0, 0)
  1729.     label.TextColor3 = TEXTCOLOR
  1730.     label.TextStrokeTransparency = STROKETRANSPARENCY
  1731.     label.TextTransparency = TRANSPARENCY
  1732.     label.FontSize = TEXTFONTSIZE
  1733.     label.Font = TEXTFONT
  1734.     label.BorderSizePixel = BORDERSIZEPIXEL
  1735.     label.TextScaled = false
  1736.     label.Text = TEXT
  1737.     label.Name = NAME
  1738.     label.Parent = PARENT
  1739.     return label
  1740. end
  1741.  
  1742. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1743.     if FLOOR ~= nil then
  1744.         coroutine.resume(coroutine.create(function()
  1745.             local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  1746.             PART.CFrame = CF(POSITION)
  1747.             for i = 1, 45 do
  1748.                 local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1749.                 RingPiece.Material = FLOOR.Material
  1750.                 RingPiece.Color = FLOOR.Color
  1751.                 RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1752.                 Debris:AddItem(RingPiece,SWAIT)
  1753.             end
  1754.             PART:remove()
  1755.         end))
  1756.     end
  1757. end
  1758.  
  1759. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1760.     if FLOOR ~= nil then
  1761.         for i = 1, AMOUNT do
  1762.             local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  1763.             DEBREE.Material = FLOOR.Material
  1764.             DEBREE.Color = FLOOR.Color
  1765.             DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1766.             DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  1767.             coroutine.resume(coroutine.create(function()
  1768.                 Swait(15)
  1769.                 DEBREE.Parent = workspace
  1770.                 DEBREE.CanCollide = true
  1771.                 Debris:AddItem(DEBREE,SWAIT)
  1772.             end))
  1773.         end
  1774.     end
  1775. end
  1776.  
  1777. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1778.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1779. end
  1780.  
  1781. function PositiveAngle(NUMBER)
  1782.     if NUMBER >= 0 then
  1783.         NUMBER = 0
  1784.     end
  1785.     return NUMBER
  1786. end
  1787.  
  1788. function NegativeAngle(NUMBER)
  1789.     if NUMBER <= 0 then
  1790.         NUMBER = 0
  1791.     end
  1792.     return NUMBER
  1793. end
  1794.  
  1795. function Swait(NUMBER)
  1796.     if NUMBER == 0 or NUMBER == nil then
  1797.         ArtificialHB.Event:wait()
  1798.     else
  1799.         for i = 1, NUMBER do
  1800.             ArtificialHB.Event:wait()
  1801.         end
  1802.     end
  1803. end
  1804.  
  1805. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1806.     local NEWMESH = IT(MESH)
  1807.     if MESH == "SpecialMesh" then
  1808.         NEWMESH.MeshType = MESHTYPE
  1809.         if MESHID ~= "nil" and MESHID ~= "" then
  1810.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1811.         end
  1812.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1813.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1814.         end
  1815.     end
  1816.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1817.     NEWMESH.Scale = SCALE
  1818.     NEWMESH.Parent = PARENT
  1819.     return NEWMESH
  1820. end
  1821.  
  1822. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1823.     local NEWPART = IT("Part")
  1824.     NEWPART.formFactor = FORMFACTOR
  1825.     NEWPART.Reflectance = REFLECTANCE
  1826.     NEWPART.Transparency = TRANSPARENCY
  1827.     NEWPART.CanCollide = false
  1828.     NEWPART.Locked = true
  1829.     NEWPART.Anchored = true
  1830.     if ANCHOR == false then
  1831.         NEWPART.Anchored = false
  1832.     end
  1833.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1834.     NEWPART.Name = NAME
  1835.     NEWPART.Size = SIZE
  1836.     NEWPART.Position = Torso.Position
  1837.     NEWPART.Material = MATERIAL
  1838.     NEWPART:BreakJoints()
  1839.     NEWPART.Parent = PARENT
  1840.     return NEWPART
  1841. end
  1842.  
  1843.     local function weldBetween(a, b)
  1844.         local weldd = Instance.new("ManualWeld")
  1845.         weldd.Part0 = a
  1846.         weldd.Part1 = b
  1847.         weldd.C0 = CFrame.new()
  1848.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  1849.         weldd.Parent = a
  1850.         return weldd
  1851.     end
  1852.  
  1853.  
  1854. function QuaternionFromCFrame(cf)
  1855.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1856.     local trace = m00 + m11 + m22
  1857.     if trace > 0 then
  1858.         local s = math.sqrt(1 + trace)
  1859.         local recip = 0.5 / s
  1860.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1861.     else
  1862.         local i = 0
  1863.         if m11 > m00 then
  1864.             i = 1
  1865.         end
  1866.         if m22 > (i == 0 and m00 or m11) then
  1867.             i = 2
  1868.         end
  1869.         if i == 0 then
  1870.             local s = math.sqrt(m00 - m11 - m22 + 1)
  1871.             local recip = 0.5 / s
  1872.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1873.         elseif i == 1 then
  1874.             local s = math.sqrt(m11 - m22 - m00 + 1)
  1875.             local recip = 0.5 / s
  1876.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1877.         elseif i == 2 then
  1878.             local s = math.sqrt(m22 - m00 - m11 + 1)
  1879.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1880.         end
  1881.     end
  1882. end
  1883.  
  1884. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1885.     local xs, ys, zs = x + x, y + y, z + z
  1886.     local wx, wy, wz = w * xs, w * ys, w * zs
  1887.     local xx = x * xs
  1888.     local xy = x * ys
  1889.     local xz = x * zs
  1890.     local yy = y * ys
  1891.     local yz = y * zs
  1892.     local zz = z * zs
  1893.     return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  1894. end
  1895.  
  1896. function QuaternionSlerp(a, b, t)
  1897.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1898.     local startInterp, finishInterp;
  1899.     if cosTheta >= 0.0001 then
  1900.         if (1 - cosTheta) > 0.0001 then
  1901.             local theta = ACOS(cosTheta)
  1902.             local invSinTheta = 1 / SIN(theta)
  1903.             startInterp = SIN((1 - t) * theta) * invSinTheta
  1904.             finishInterp = SIN(t * theta) * invSinTheta
  1905.         else
  1906.             startInterp = 1 - t
  1907.             finishInterp = t
  1908.         end
  1909.     else
  1910.         if (1 + cosTheta) > 0.0001 then
  1911.             local theta = ACOS(-cosTheta)
  1912.             local invSinTheta = 1 / SIN(theta)
  1913.             startInterp = SIN((t - 1) * theta) * invSinTheta
  1914.             finishInterp = SIN(t * theta) * invSinTheta
  1915.         else
  1916.             startInterp = t - 1
  1917.             finishInterp = t
  1918.         end
  1919.     end
  1920.     return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  1921. end
  1922.  
  1923. function Clerp(a, b, t)
  1924.     local qa = {QuaternionFromCFrame(a)}
  1925.     local qb = {QuaternionFromCFrame(b)}
  1926.     local ax, ay, az = a.x, a.y, a.z
  1927.     local bx, by, bz = b.x, b.y, b.z
  1928.     local _t = 1 - t
  1929.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1930. end
  1931.  
  1932. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1933.     local frame = IT("Frame")
  1934.     frame.BackgroundTransparency = TRANSPARENCY
  1935.     frame.BorderSizePixel = BORDERSIZEPIXEL
  1936.     frame.Position = POSITION
  1937.     frame.Size = SIZE
  1938.     frame.BackgroundColor3 = COLOR
  1939.     frame.BorderColor3 = BORDERCOLOR
  1940.     frame.Name = NAME
  1941.     frame.Parent = PARENT
  1942.     return frame
  1943. end
  1944.  
  1945. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1946.     local label = IT("TextLabel")
  1947.     label.BackgroundTransparency = 1
  1948.     label.Size = UD2(1, 0, 1, 0)
  1949.     label.Position = UD2(0, 0, 0, 0)
  1950.     label.TextColor3 = TEXTCOLOR
  1951.     label.TextStrokeTransparency = STROKETRANSPARENCY
  1952.     label.TextTransparency = TRANSPARENCY
  1953.     label.FontSize = TEXTFONTSIZE
  1954.     label.Font = TEXTFONT
  1955.     label.BorderSizePixel = BORDERSIZEPIXEL
  1956.     label.TextScaled = false
  1957.     label.Text = TEXT
  1958.     label.Name = NAME
  1959.     label.Parent = PARENT
  1960.     return label
  1961. end
  1962.  
  1963. function NoOutlines(PART)
  1964.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1965. end
  1966.  
  1967. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1968.     local NEWWELD = IT(TYPE)
  1969.     NEWWELD.Part0 = PART0
  1970.     NEWWELD.Part1 = PART1
  1971.     NEWWELD.C0 = C0
  1972.     NEWWELD.C1 = C1
  1973.     NEWWELD.Parent = PARENT
  1974.     return NEWWELD
  1975. end
  1976.  
  1977. local S = IT("Sound")
  1978. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1979.     local NEWSOUND = nil
  1980.     coroutine.resume(coroutine.create(function()
  1981.         NEWSOUND = S:Clone()
  1982.         NEWSOUND.Parent = PARENT
  1983.         NEWSOUND.Volume = VOLUME
  1984.         NEWSOUND.Pitch = PITCH
  1985.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1986.         NEWSOUND:play()
  1987.         if DOESLOOP == true then
  1988.             NEWSOUND.Looped = true
  1989.         else
  1990.             repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  1991.             NEWSOUND:remove()
  1992.         end
  1993.     end))
  1994.     return NEWSOUND
  1995. end
  1996.  
  1997. function CFrameFromTopBack(at, top, back)
  1998.     local right = top:Cross(back)
  1999.     return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  2000. end
  2001.  
  2002. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2003. function WACKYEFFECT(Table)
  2004.     local TYPE = (Table.EffectType or "Sphere")
  2005.     local SIZE = (Table.Size or VT(1,1,1))
  2006.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2007.     local TRANSPARENCY = (Table.Transparency or 0)
  2008.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2009.     local CFRAME = (Table.CFrame or Torso.CFrame)
  2010.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  2011.     local ROTATION1 = (Table.RotationX or 0)
  2012.     local ROTATION2 = (Table.RotationY or 0)
  2013.     local ROTATION3 = (Table.RotationZ or 0)
  2014.     local MATERIAL = (Table.Material or "Neon")
  2015.     local COLOR = (Table.Color or C3(1,1,1))
  2016.     local TIME = (Table.Time or 45)
  2017.     local SOUNDID = (Table.SoundID or nil)
  2018.     local SOUNDPITCH = (Table.SoundPitch or nil)
  2019.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  2020.     coroutine.resume(coroutine.create(function()
  2021.         local PLAYSSOUND = false
  2022.         local SOUND = nil
  2023.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2024.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2025.             PLAYSSOUND = true
  2026.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2027.         end
  2028.         EFFECT.Color = COLOR
  2029.         local MSH = nil
  2030.         if TYPE == "Sphere" then
  2031.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2032.         elseif TYPE == "Block" then
  2033.             MSH = IT("BlockMesh",EFFECT)
  2034.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2035.         elseif TYPE == "Wave" then
  2036.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2037.         elseif TYPE == "Ring" then
  2038.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2039.         elseif TYPE == "Slash" then
  2040.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2041.         elseif TYPE == "Round Slash" then
  2042.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2043.         elseif TYPE == "Swirl" then
  2044.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2045.         elseif TYPE == "Skull" then
  2046.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2047.         elseif TYPE == "Crystal" then
  2048.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2049.         end
  2050.         if MSH ~= nil then
  2051.             local MOVESPEED = nil
  2052.             if MOVEDIRECTION ~= nil then
  2053.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2054.             end
  2055.             local GROWTH = SIZE - ENDSIZE
  2056.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2057.             if TYPE == "Block" then
  2058.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2059.             else
  2060.                 EFFECT.CFrame = CFRAME
  2061.             end
  2062.             for LOOP = 1, TIME+1 do
  2063.                 Swait()
  2064.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  2065.                 if TYPE == "Wave" then
  2066.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2067.                 end
  2068.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2069.                 if TYPE == "Block" then
  2070.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2071.                 else
  2072.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2073.                 end
  2074.                 if MOVEDIRECTION ~= nil then
  2075.                     local ORI = EFFECT.Orientation
  2076.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2077.                     EFFECT.Orientation = ORI
  2078.                 end
  2079.             end
  2080.             if PLAYSSOUND == false then
  2081.                 EFFECT:remove()
  2082.             else
  2083.                 SOUND.Stopped:Connect(function()
  2084.                     EFFECT:remove()
  2085.                 end)
  2086.             end
  2087.         else
  2088.             if PLAYSSOUND == false then
  2089.                 EFFECT:remove()
  2090.             else
  2091.                 repeat Swait() until SOUND.Playing == false
  2092.                 EFFECT:remove()
  2093.             end
  2094.         end
  2095.     end))
  2096. end
  2097.  
  2098. local DECAL = IT("Decal")
  2099. function MakeRing()
  2100.     local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Navy blue"), "MagicRing", VT(0, 0, 0), true)
  2101.     local MSH = IT("BlockMesh", RING)
  2102.     local TOP = DECAL:Clone()
  2103.     local BOTTOM = DECAL:Clone()
  2104.     TOP.Parent = RING
  2105.     BOTTOM.Parent = RING
  2106.     TOP.Face = "Top"
  2107.     BOTTOM.Face = "Bottom"
  2108.     TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  2109.     BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  2110.     local function REMOVE()
  2111.         coroutine.resume(coroutine.create(function()
  2112.             local SIZE = MSH.Scale.X
  2113.             for i = 1, 35 do
  2114.                 Swait()
  2115.                 MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  2116.                 TOP.Transparency = TOP.Transparency + 0.02857142857142857
  2117.                 BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  2118.                 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  2119.             end
  2120.             RING:remove()
  2121.         end))
  2122.     end
  2123.     return RING, MSH, REMOVE
  2124. end
  2125.  
  2126. function MakeForm(PART,TYPE)
  2127.     if TYPE == "Cyl" then
  2128.         local MSH = IT("CylinderMesh",PART)
  2129.     elseif TYPE == "Ball" then
  2130.         local MSH = IT("SpecialMesh",PART)
  2131.         MSH.MeshType = "Sphere"
  2132.     elseif TYPE == "Wedge" then
  2133.         local MSH = IT("SpecialMesh",PART)
  2134.         MSH.MeshType = "Wedge"
  2135.     end
  2136. end
  2137.  
  2138. function SpawnTrail(FROM,TO,BIG)
  2139.     local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Navy blue", "Trail", VT(0,0,0))
  2140.     MakeForm(TRAIL,"Cyl")
  2141.     local DIST = (FROM - TO).Magnitude
  2142.     if BIG == true then
  2143.         TRAIL.Size = VT(0.5,DIST,0.5)
  2144.     else
  2145.         TRAIL.Size = VT(0.25,DIST,0.25)
  2146.     end
  2147.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2148.     coroutine.resume(coroutine.create(function()
  2149.         for i = 1, 5 do
  2150.             Swait()
  2151.             TRAIL.Transparency = TRAIL.Transparency + 0.1
  2152.         end
  2153.         TRAIL:remove()
  2154.     end))
  2155. end
  2156. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2157. function WACKYEFFECT(Table)
  2158.     local TYPE = (Table.EffectType or "Sphere")
  2159.     local SIZE = (Table.Size or VT(1,1,1))
  2160.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2161.     local TRANSPARENCY = (Table.Transparency or 0)
  2162.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2163.     local CFRAME = (Table.CFrame or Torso.CFrame)
  2164.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  2165.     local ROTATION1 = (Table.RotationX or 0)
  2166.     local ROTATION2 = (Table.RotationY or 0)
  2167.     local ROTATION3 = (Table.RotationZ or 0)
  2168.     local MATERIAL = (Table.Material or "Neon")
  2169.     local COLOR = (Table.Color or C3(1,1,1))
  2170.     local TIME = (Table.Time or 45)
  2171.     local SOUNDID = (Table.SoundID or nil)
  2172.     local SOUNDPITCH = (Table.SoundPitch or nil)
  2173.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  2174.     coroutine.resume(coroutine.create(function()
  2175.         local PLAYSSOUND = false
  2176.         local SOUND = nil
  2177.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2178.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2179.             PLAYSSOUND = true
  2180.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2181.         end
  2182.         EFFECT.Color = COLOR
  2183.         local MSH = nil
  2184.         if TYPE == "Sphere" then
  2185.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2186.         elseif TYPE == "Block" or TYPE == "Box" then
  2187.             MSH = IT("BlockMesh",EFFECT)
  2188.             MSH.Scale = SIZE
  2189.         elseif TYPE == "Wave" then
  2190.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2191.         elseif TYPE == "Ring" then
  2192.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2193.         elseif TYPE == "Slash" then
  2194.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2195.         elseif TYPE == "Round Slash" then
  2196.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2197.         elseif TYPE == "Swirl" then
  2198.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2199.         elseif TYPE == "Skull" then
  2200.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2201.         elseif TYPE == "Crystal" then
  2202.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2203.         end
  2204.         if MSH ~= nil then
  2205.             local MOVESPEED = nil
  2206.             if MOVEDIRECTION ~= nil then
  2207.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2208.             end
  2209.             local GROWTH = SIZE - ENDSIZE
  2210.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2211.             if TYPE == "Block" then
  2212.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2213.             else
  2214.                 EFFECT.CFrame = CFRAME
  2215.             end
  2216.             for LOOP = 1, TIME+1 do
  2217.                 Swait()
  2218.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  2219.                 if TYPE == "Wave" then
  2220.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2221.                 end
  2222.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2223.                 if TYPE == "Block" then
  2224.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2225.                 else
  2226.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2227.                 end
  2228.                 if MOVEDIRECTION ~= nil then
  2229.                     local ORI = EFFECT.Orientation
  2230.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2231.                     EFFECT.Orientation = ORI
  2232.                 end
  2233.             end
  2234.             if PLAYSSOUND == false then
  2235.                 EFFECT:remove()
  2236.             else
  2237.                 repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  2238.                 EFFECT:remove()
  2239.             end
  2240.         else
  2241.             if PLAYSSOUND == false then
  2242.                 EFFECT:remove()
  2243.             else
  2244.                 repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  2245.                 EFFECT:remove()
  2246.             end
  2247.         end
  2248.     end))
  2249. end
  2250.  
  2251. function MakeForm(PART,TYPE)
  2252.     if TYPE == "Cyl" then
  2253.         local MSH = IT("CylinderMesh",PART)
  2254.     elseif TYPE == "Ball" then
  2255.         local MSH = IT("SpecialMesh",PART)
  2256.         MSH.MeshType = "Sphere"
  2257.     elseif TYPE == "Wedge" then
  2258.         local MSH = IT("SpecialMesh",PART)
  2259.         MSH.MeshType = "Wedge"
  2260.     end
  2261. end
  2262.  
  2263. function SpawnTrail(FROM,TO,BIG)
  2264.     local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Navy blue", "Trail", VT(0,0,0))
  2265.     MakeForm(TRAIL,"Cyl")
  2266.     local DIST = (FROM - TO).Magnitude
  2267.     if BIG == true then
  2268.         TRAIL.Size = VT(0.5,DIST,0.5)
  2269.     else
  2270.         TRAIL.Size = VT(0.25,DIST,0.25)
  2271.     end
  2272.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2273.     coroutine.resume(coroutine.create(function()
  2274.         for i = 1, 5 do
  2275.             Swait()
  2276.             TRAIL.Transparency = TRAIL.Transparency + 0.1
  2277.         end
  2278.         TRAIL:remove()
  2279.     end))
  2280. end
  2281.  
  2282. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  2283.     local TORSO = Torso
  2284.     local HUM = Humanoid
  2285.     if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2286.         coroutine.wrap(function()
  2287.             VT = Vector3.new
  2288.             MRANDOM = math.random
  2289.             local A = TIME
  2290.             local B = INTENSITY
  2291.             local C = true
  2292.             local HUMANOID = Humanoid
  2293.             local TIMER = A or 35
  2294.             local SHAKE = B or 5
  2295.             local FADE = C or true
  2296.             if HUMANOID then
  2297.                 local FADER = SHAKE / TIMER
  2298.                 for i = 1, TIMER do
  2299.                     wait()
  2300.                     HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  2301.                 end
  2302.                 HUMANOID.CameraOffset = VT(0, 0, 0)
  2303.             end
  2304.  
  2305.         end)()
  2306.     end
  2307. end
  2308.  
  2309. function chatfunc(text)
  2310.     local chat = coroutine.wrap(function()
  2311.     if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2312.         Character:FindFirstChild("TalkingBillBoard"):destroy()
  2313.     end
  2314.     local Bill = Instance.new("BillboardGui",Character)
  2315.     Bill.Size = UDim2.new(0,100,0,40)
  2316.     Bill.StudsOffset = Vector3.new(0,3,0)
  2317.     Bill.Adornee = Character.Head
  2318.     Bill.Name = "TalkingBillBoard"
  2319.     local Hehe = Instance.new("TextLabel",Bill)
  2320.     Hehe.BackgroundTransparency = 1
  2321.     Hehe.BorderSizePixel = 0
  2322.     Hehe.Text = ""
  2323.     Hehe.Font = "Bodoni"
  2324.     Hehe.TextSize = 40
  2325.     Hehe.TextStrokeTransparency = 0
  2326.     Hehe.Size = UDim2.new(1,0,0.5,0)
  2327.     coroutine.resume(coroutine.create(function()
  2328.         while Hehe ~= nil do
  2329.             Swait()
  2330.             Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) 
  2331.             Hehe.Rotation = math.random(-2.5,2.5)
  2332.             Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0)
  2333.             Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  2334.         end
  2335.     end))
  2336.     for i = 1,string.len(text),1 do
  2337.         Swait()
  2338.         Hehe.Text = string.sub(text,1,i)
  2339.     end
  2340.     Swait(90)--Re[math.random(1, 93)]
  2341.     for i = 0, 1, .025 do
  2342.         Swait()
  2343.         Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2344.         Hehe.TextStrokeTransparency = i
  2345.         Hehe.TextTransparency = i
  2346.     end
  2347.     Bill:Destroy()
  2348.     end)
  2349. chat()
  2350. end
  2351.  
  2352. Debris = game:GetService("Debris")
  2353.  
  2354. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2355.     local DIRECTION = CF(StartPos,EndPos).lookVector
  2356.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2357. end
  2358.  
  2359. function turnto(position)
  2360.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2361. end
  2362.  
  2363. --//=================================\\
  2364. --||         RAGDOLL STUFF
  2365. --\\=================================//
  2366.  
  2367. function recurse(root,callback,i)
  2368.     i= i or 0
  2369.     for _,v in pairs(root:GetChildren()) do
  2370.         i = i + 1
  2371.         callback(i,v)
  2372.        
  2373.         if #v:GetChildren() > 0 then
  2374.             i = recurse(v,callback,i)
  2375.         end
  2376.     end
  2377.    
  2378.     return i
  2379. end
  2380.  
  2381. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  2382.     attachmentName = attachmentName.."RigAttachment"
  2383.     local constraint = Instance.new(className.."Constraint")
  2384.     constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  2385.     constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  2386.     constraint.Name = "RagdollConstraint"..part1.Name
  2387.    
  2388.     for _,propertyData in next,properties or {} do
  2389.         constraint[propertyData[1]] = propertyData[2]
  2390.     end
  2391.    
  2392.     constraint.Parent = character
  2393. end
  2394.  
  2395. function getAttachment0(character, attachmentName)
  2396.     for _,child in next,character:GetChildren() do
  2397.         local attachment = child:FindFirstChild(attachmentName)
  2398.         if attachment then
  2399.             return attachment
  2400.         end
  2401.     end
  2402. end
  2403.  
  2404. function ArtificialHitbox(Part)
  2405.     local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  2406.     HITBOX.CanCollide = true
  2407.     HITBOX.CFrame = Part.CFrame
  2408.     weldBetween(Part,HITBOX)
  2409. end
  2410.  
  2411. function R15Ragdoll(character,KeepArms)
  2412.     character:BreakJoints()
  2413.     coroutine.resume(coroutine.create(function()
  2414.         recurse(character, function(_,v)
  2415.             if v:IsA("Attachment") then
  2416.                 v.Axis = Vector3.new(0, 1, 0)
  2417.                 v.SecondaryAxis = Vector3.new(0, 0, 1)
  2418.                 v.Rotation = Vector3.new(0, 0, 0)
  2419.             end
  2420.         end)
  2421.         for _,child in next,character:GetChildren() do
  2422.             if child:IsA("Accoutrement") then
  2423.                 for _,part in next,child:GetChildren() do
  2424.                     if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  2425.                         local attachment1 = part:FindFirstChildOfClass("Attachment")
  2426.                         local attachment0 = getAttachment0(character,attachment1.Name)
  2427.                         if attachment0 and attachment1 then
  2428.                             local constraint = Instance.new("HingeConstraint")
  2429.                             constraint.Attachment0 = attachment0
  2430.                             constraint.Attachment1 = attachment1
  2431.                             constraint.LimitsEnabled = true
  2432.                             constraint.UpperAngle = 0
  2433.                             constraint.LowerAngle = 0
  2434.                             constraint.Parent = character
  2435.                         end
  2436.                         ArtificialHitbox(part)
  2437.                     elseif part.Name == "HumanoidRootPart" then
  2438.                         part:remove()
  2439.                     end
  2440.                 end
  2441.             end
  2442.         end
  2443.        
  2444.         ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  2445.             {"LimitsEnabled",true};
  2446.             {"UpperAngle",5};
  2447.         })
  2448.         if character:FindFirstChild("Head") then
  2449.             ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  2450.                 {"LimitsEnabled",true};
  2451.                 {"UpperAngle",15};
  2452.             })
  2453.         end
  2454.        
  2455.         local handProperties = {
  2456.             {"LimitsEnabled", true};
  2457.             {"UpperAngle",0};
  2458.             {"LowerAngle",0};
  2459.         }
  2460.         ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  2461.         ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  2462.        
  2463.         local shinProperties = {
  2464.             {"LimitsEnabled", true};
  2465.             {"UpperAngle", 0};
  2466.             {"LowerAngle", -75};
  2467.         }
  2468.         ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  2469.         ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  2470.        
  2471.         local footProperties = {
  2472.             {"LimitsEnabled", true};
  2473.             {"UpperAngle", 15};
  2474.             {"LowerAngle", -45};
  2475.         }
  2476.         ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  2477.         ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  2478.         if KeepArms == true then
  2479.             ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  2480.             ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  2481.             ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  2482.             ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  2483.         end
  2484.         ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  2485.         ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  2486.         Debris:AddItem(character,5)
  2487.     end))
  2488. end
  2489.  
  2490. function Ragdoll(Character2,CharTorso,KeepArms)
  2491.     coroutine.resume(coroutine.create(function()
  2492.         Character2:BreakJoints()
  2493.         local hum = Character2:findFirstChild("Humanoid")
  2494.         hum:remove()
  2495.         local function Scan(ch)
  2496.             local e
  2497.             for e = 1,#ch do
  2498.                 Scan(ch[e]:GetChildren())
  2499.                 if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2500.                     ch[e]:remove()
  2501.                 end
  2502.             end
  2503.         end
  2504.         local NEWHUM = IT("Humanoid")
  2505.         NEWHUM.Name = "Corpse"
  2506.         NEWHUM.Health = 0
  2507.         NEWHUM.MaxHealth = 0
  2508.         NEWHUM.PlatformStand = true
  2509.         NEWHUM.Parent = Character2
  2510.         NEWHUM.DisplayDistanceType = "None"
  2511.    
  2512.         local ch = Character2:GetChildren()
  2513.         local i
  2514.         for i = 1,#ch do
  2515.             if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2516.                 ch[i]:remove()
  2517.             end
  2518.         end
  2519.    
  2520.         local Torso2 = Character2.Torso
  2521.         local movevector = Vector3.new()
  2522.    
  2523.         if Torso2 then
  2524.             movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  2525.             local Head = Character2:FindFirstChild("Head")
  2526.             if Head then
  2527.                 local Neck = Instance.new("Weld")
  2528.                 Neck.Name = "Neck"
  2529.                 Neck.Part0 = Torso2
  2530.                 Neck.Part1 = Head
  2531.                 Neck.C0 = CFrame.new(0, 1.5, 0)
  2532.                 Neck.C1 = CFrame.new()
  2533.                 Neck.Parent = Torso2
  2534.    
  2535.             end
  2536.             local Limb = Character2:FindFirstChild("Right Arm")
  2537.             if Limb and KeepArms == true then
  2538.    
  2539.                 Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  2540.                 local Joint = Instance.new("Glue")
  2541.                 Joint.Name = "RightShoulder"
  2542.                 Joint.Part0 = Torso2
  2543.                 Joint.Part1 = Limb
  2544.                 Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2545.                 Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2546.                 Joint.Parent = Torso2
  2547.    
  2548.                 local B = Instance.new("Part")
  2549.                 B.TopSurface = 0
  2550.                 B.BottomSurface = 0
  2551.                 B.formFactor = "Symmetric"
  2552.                 B.Size = Vector3.new(1, 1, 1)
  2553.                 B.Transparency = 1
  2554.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2555.                 B.Parent = Character2
  2556.                 local W = Instance.new("Weld")
  2557.                 W.Part0 = Limb
  2558.                 W.Part1 = B
  2559.                 W.C0 = CFrame.new(0, -0.5, 0)
  2560.                 W.Parent = Limb
  2561.    
  2562.             end
  2563.             local Limb = Character2:FindFirstChild("Left Arm")
  2564.             if Limb and KeepArms == true then
  2565.    
  2566.                 Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  2567.                 local Joint = Instance.new("Glue")
  2568.                 Joint.Name = "LeftShoulder"
  2569.                 Joint.Part0 = Torso2
  2570.                 Joint.Part1 = Limb
  2571.                 Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2572.                 Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2573.                 Joint.Parent = Torso2
  2574.    
  2575.                 local B = Instance.new("Part")
  2576.                 B.TopSurface = 0
  2577.                 B.BottomSurface = 0
  2578.                 B.formFactor = "Symmetric"
  2579.                 B.Size = Vector3.new(1, 1, 1)
  2580.                 B.Transparency = 1
  2581.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2582.                 B.Parent = Character2
  2583.                 local W = Instance.new("Weld")
  2584.                 W.Part0 = Limb
  2585.                 W.Part1 = B
  2586.                 W.C0 = CFrame.new(0, -0.5, 0)
  2587.                 W.Parent = Limb
  2588.    
  2589.             end
  2590.             local Limb = Character2:FindFirstChild("Right Leg")
  2591.             if Limb then
  2592.    
  2593.                 Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  2594.                 local Joint = Instance.new("Glue")
  2595.                 Joint.Name = "RightHip"
  2596.                 Joint.Part0 = Torso2
  2597.                 Joint.Part1 = Limb
  2598.                 Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2599.                 Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2600.                 Joint.Parent = Torso2
  2601.    
  2602.                 local B = Instance.new("Part")
  2603.                 B.TopSurface = 0
  2604.                 B.BottomSurface = 0
  2605.                 B.formFactor = "Symmetric"
  2606.                 B.Size = Vector3.new(1, 1, 1)
  2607.                 B.Transparency = 1
  2608.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2609.                 B.Parent = Character2
  2610.                 local W = Instance.new("Weld")
  2611.                 W.Part0 = Limb
  2612.                 W.Part1 = B
  2613.                 W.C0 = CFrame.new(0, -0.5, 0)
  2614.                 W.Parent = Limb
  2615.    
  2616.             end
  2617.             local Limb = Character2:FindFirstChild("Left Leg")
  2618.             if Limb then
  2619.    
  2620.                 Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  2621.                 local Joint = Instance.new("Glue")
  2622.                 Joint.Name = "LeftHip"
  2623.                 Joint.Part0 = Torso2
  2624.                 Joint.Part1 = Limb
  2625.                 Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2626.                 Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2627.                 Joint.Parent = Torso2
  2628.    
  2629.                 local B = Instance.new("Part")
  2630.                 B.TopSurface = 0
  2631.                 B.BottomSurface = 0
  2632.                 B.formFactor = "Symmetric"
  2633.                 B.Size = Vector3.new(1, 1, 1)
  2634.                 B.Transparency = 1
  2635.                 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2636.                 B.Parent = Character2
  2637.                 local W = Instance.new("Weld")
  2638.                 W.Part0 = Limb
  2639.                 W.Part1 = B
  2640.                 W.C0 = CFrame.new(0, -0.5, 0)
  2641.                 W.Parent = Limb
  2642.    
  2643.             end
  2644.             --[
  2645.             local Bar = Instance.new("Part")
  2646.             Bar.TopSurface = 0
  2647.             Bar.BottomSurface = 0
  2648.             Bar.formFactor = "Symmetric"
  2649.             Bar.Size = Vector3.new(1, 1, 1)
  2650.             Bar.Transparency = 1
  2651.             Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  2652.             Bar.Parent = Character2
  2653.             local Weld = Instance.new("Weld")
  2654.             Weld.Part0 = Torso2
  2655.             Weld.Part1 = Bar
  2656.             Weld.C0 = CFrame.new(0, 0.5, 0)
  2657.             Weld.Parent = Torso2
  2658.             --]]
  2659.         end
  2660.         Character2.Parent = workspace
  2661.         Debris:AddItem(Character2,5)
  2662.    
  2663.         return Character2,Torso2
  2664.     end))
  2665. end
  2666.  
  2667. --//=================================\\
  2668. --||         WEAPON CREATION
  2669. --\\=================================//
  2670.  
  2671.  
  2672. local Particle = IT("ParticleEmitter",nil)
  2673. Particle.Enabled = false
  2674. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2675. Particle.LightEmission = 0.5
  2676. Particle.Rate = 150
  2677. Particle.ZOffset = 0.2
  2678. Particle.Rotation = NumberRange.new(-180, 180)
  2679. Particle.RotSpeed = NumberRange.new(-180, 180)
  2680. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2681. Particle.Color = ColorSequence.new(C3(0/255,0/255,255/255),C3(0.4,0,0))
  2682.  
  2683. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2684. function ParticleEmitter(Table)
  2685.     local PRTCL = Particle:Clone()
  2686.     local Speed = Table.Speed or 5
  2687.     local Drag = Table.Drag or 0
  2688.     local Size1 = Table.Size1 or 1
  2689.     local Size2 = Table.Size2 or 5
  2690.     local Lifetime1 = Table.Lifetime1 or 1
  2691.     local Lifetime2 = Table.Lifetime2 or 1.5
  2692.     local Parent = Table.Parent or Torso
  2693.     local Emit = Table.Emit or 100
  2694.     local Offset = Table.Offset or 360
  2695.     local Acel = Table.Acel or VT(0,0,0)
  2696.     local Enabled = Table.Enabled or false
  2697.     PRTCL.Parent = Parent
  2698.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  2699.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2700.     PRTCL.Speed = NumberRange.new(Speed)
  2701.     PRTCL.VelocitySpread = Offset
  2702.     PRTCL.Drag = Drag
  2703.     PRTCL.Acceleration = Acel
  2704.     if Enabled == false then
  2705.         PRTCL:Emit(Emit)
  2706.         Debris:AddItem(PRTCL,Lifetime2)
  2707.     else
  2708.         PRTCL.Enabled = true
  2709.     end
  2710.     return PRTCL
  2711. end
  2712.  
  2713. local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2714. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2715. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2716. MakeForm(Part,"Wedge")
  2717. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2718. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2719. MakeForm(Part,"Wedge")
  2720. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2721. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2722. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2723. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2724. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2725. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2726. MakeForm(Part,"Cyl")
  2727. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2728. for i = 1, 8 do
  2729.     local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2730.     CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2731. end
  2732. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2733. MakeForm(Part,"Cyl")
  2734. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2735. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2736. MakeForm(Part,"Ball")
  2737. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2738. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2739. MakeForm(Part,"Wedge")
  2740. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2741. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2742. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2743. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2744. MakeForm(Part,"Cyl")
  2745. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2746. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2747. MakeForm(Part,"Cyl")
  2748. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2749. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2750. MakeForm(Part,"Cyl")
  2751. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2752. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
  2753. MakeForm(Part,"Wedge")
  2754. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
  2755. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2756. MakeForm(Part,"Cyl")
  2757. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2758. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
  2759. MakeForm(Part,"Wedge")
  2760. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2761. local LASTPART = Handle
  2762. for i = 1, 10 do
  2763.     if LASTPART == Handle then
  2764.         local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2765.         LASTPART = Part
  2766.         CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2767.     else
  2768.         local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  2769.         CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2770.         LASTPART = Part
  2771.     end
  2772. end
  2773.  
  2774. local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
  2775. MakeForm(Barrel,"Cyl")
  2776. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2777. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  2778. MakeForm(Part,"Cyl")
  2779. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2780. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2781. MakeForm(Part,"Wedge")
  2782. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2783. local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2784. MakeForm(Hole,"Cyl")
  2785. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2.5, 0), CF(0, 0, 0))
  2786. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2787. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2788. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2789. local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2790. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2791. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2792. coroutine.resume(coroutine.create(function()
  2793.     while wait() do
  2794.         GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2795.         GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2796.     end
  2797. end))
  2798.  
  2799. for _, c in pairs(Gun:GetDescendants()) do
  2800.     if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2801.         c.Material = "Glass"
  2802.         c.Color = C3(0,0,0)
  2803.     elseif c.ClassName == "Part" and c.Name == "Eye" then
  2804.         c.Color = C3(0/255,0/255,255/255)
  2805.         c.Material = "Neon"
  2806.     end
  2807. end
  2808.  
  2809. for i = 1, 35 do
  2810.     local FACE = CreatePart(3, FaceGradient, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  2811.     FACE.Color = C3(0,0,0)
  2812.     Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  2813.     CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  2814. end
  2815.  
  2816. local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.6,0.1,1)/2,false)
  2817. MakeForm(Eye,"Ball")
  2818. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  2819. local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.6,0.1,1)/2,false)
  2820. MakeForm(Eye,"Ball")
  2821. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  2822. local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.1,1,1)/2,false)
  2823. MakeForm(Eye,"Ball")
  2824. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  2825. local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.1,1,1)/2,false)
  2826. MakeForm(Eye,"Ball")
  2827. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  2828.  
  2829. local A = IT("Attachment",Torso)
  2830. A.Position = VT(1,1.3,0)
  2831. A.Orientation = VT(-0.098, -89.999, 0.227)
  2832. local B = IT("Attachment",Torso)
  2833. B.Position = VT(-1.3,-0.6,0)
  2834. B.Orientation = VT(-88.911, -68.808, 158.782)
  2835. local ChainLink = IT("Beam",Torso)
  2836. ChainLink.Texture = "rbxassetid://73042633"
  2837. ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
  2838. ChainLink.TextureSpeed = 1
  2839. ChainLink.FaceCamera = true
  2840. ChainLink.Width0 = 1
  2841. ChainLink.Width1 = 1
  2842. ChainLink.TextureLength = 3
  2843. ChainLink.Attachment0 = A
  2844. ChainLink.Attachment1 = B
  2845. ChainLink.CurveSize0 = 1.6
  2846. ChainLink.CurveSize1 = 1.6
  2847. ChainLink.FaceCamera = true
  2848. ChainLink.Transparency = NumberSequence.new(0)
  2849. local ChainLink = IT("Beam",Torso)
  2850. ChainLink.Texture = "rbxassetid://73042633"
  2851. ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
  2852. ChainLink.TextureSpeed = 1
  2853. ChainLink.FaceCamera = true
  2854. ChainLink.Width0 = 1
  2855. ChainLink.Width1 = 1
  2856. ChainLink.TextureLength = 3
  2857. ChainLink.Attachment0 = B
  2858. ChainLink.Attachment1 = A
  2859. ChainLink.CurveSize0 = 1.6
  2860. ChainLink.CurveSize1 = 1.6
  2861. ChainLink.FaceCamera = true
  2862. ChainLink.Transparency = NumberSequence.new(0)
  2863. local A = IT("Attachment",Torso)
  2864. A.Position = VT(1.3,-0.85,0)
  2865. A.Orientation = VT(-0.098, -89.999, 0.227)
  2866. local B = IT("Attachment",Torso)
  2867. B.Position = VT(-1,2,0)
  2868. B.Orientation = VT(-88.911, -68.808, 158.782)
  2869. local ChainLink = IT("Beam",Torso)
  2870. ChainLink.Texture = "rbxassetid://73042633"
  2871. ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
  2872. ChainLink.TextureSpeed = 1
  2873. ChainLink.FaceCamera = true
  2874. ChainLink.Width0 = 1
  2875. ChainLink.Width1 = 1
  2876. ChainLink.TextureLength = 3
  2877. ChainLink.Attachment0 = A
  2878. ChainLink.Attachment1 = B
  2879. ChainLink.CurveSize0 = 1.3
  2880. ChainLink.CurveSize1 = 1.3
  2881. ChainLink.FaceCamera = true
  2882. ChainLink.Transparency = NumberSequence.new(0)
  2883. local ChainLink = IT("Beam",Torso)
  2884. ChainLink.Texture = "rbxassetid://73042633"
  2885. ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
  2886. ChainLink.TextureSpeed = 1
  2887. ChainLink.FaceCamera = true
  2888. ChainLink.Width0 = 1
  2889. ChainLink.Width1 = 1
  2890. ChainLink.TextureLength = 3
  2891. ChainLink.Attachment0 = B
  2892. ChainLink.Attachment1 = A
  2893. ChainLink.CurveSize0 = 1.3
  2894. ChainLink.CurveSize1 = 1.3
  2895. ChainLink.FaceCamera = true
  2896. ChainLink.Transparency = NumberSequence.new(0)
  2897.  
  2898. Weapon.Parent = Character
  2899. for _, c in pairs(Weapon:GetChildren()) do
  2900.     if c.ClassName == "Part" then
  2901.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2902.     end
  2903. end
  2904.  
  2905. Weapon.Parent = Character
  2906. Gun.Parent = nil
  2907.  
  2908. for _, c in pairs(Gun:GetChildren()) do
  2909.     if c.ClassName == "Part" then
  2910.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2911.     end
  2912. end
  2913.  
  2914. for _, c in pairs(Weapon:GetChildren()) do
  2915.     if c.ClassName == "Part" then
  2916.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2917.     end
  2918. end
  2919.  
  2920. local EXE = Instance.new("Shirt")
  2921. EXE.ShirtTemplate = "rbxassetid://338740550"
  2922. EXE.Parent = Character
  2923. EXE.Name = "Cloth"
  2924. local LOL = Instance.new("Pants")
  2925. LOL.PantsTemplate = "rbxassetid://338750779"
  2926. LOL.Parent = Character
  2927. LOL.Name = "Cloth"
  2928.  
  2929. Head.Color = C3(21,71,109)
  2930. Torso.Color = C3(21,71,109)
  2931. LeftArm.Color = C3(21,71,109)
  2932. LeftLeg.Color = C3(21,71,109)
  2933. RightArm.Color = C3(21,71,109)
  2934. RightLeg.Color = C3(21,71,109)
  2935.  
  2936. local SKILLTEXTCOLOR = C3(0/255,0/255,255/255)
  2937. local SKILLFONT = "Antique"
  2938. local SKILLTEXTSIZE = 7
  2939.  
  2940. Humanoid.Died:connect(function()
  2941.     ATTACK = true
  2942. end)
  2943.  
  2944. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 1 Frame")
  2945. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 2 Frame")
  2946. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 3 Frame")
  2947. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 4 Frame")
  2948. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 5 Frame")
  2949.  
  2950. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  2951. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Kill", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  2952. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Sleep", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  2953. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Ultimate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  2954. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  2955.  
  2956. function printbye(Name)
  2957.     local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  2958.     warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2959. end
  2960.     if INTRO == false and INSTANT == false then
  2961.         INTRO = true
  2962.         coroutine.resume(coroutine.create(function()
  2963.             sick:Play()
  2964.             Intro()
  2965.         end))
  2966.     end
  2967.  
  2968. workspace.ChildAdded:connect(function(instance)
  2969.     for BANISH = 1, #TOBANISH do
  2970.         if TOBANISH[BANISH] ~= nil then
  2971.             if instance.Name == TOBANISH[BANISH] then
  2972.                 coroutine.resume(coroutine.create(function()
  2973.                     printbye(instance.Name)
  2974.                     instance:ClearAllChildren()
  2975.                     Debris:AddItem(instance,0.0005)
  2976.                 end))
  2977.             end
  2978.         end
  2979.     end
  2980. end)
  2981.  
  2982. --//=================================\\
  2983. --||            DAMAGING
  2984. --\\=================================//
  2985.  
  2986. function ApplyDamage(Humanoid,Damage,OneShot)
  2987.     Damage = Damage * DAMAGEMULTIPLIER
  2988.     local DEAD = false
  2989.     if Humanoid.Health < 2000 and OneShot == false then
  2990.         if Humanoid.Health - Damage > 0 then
  2991.             Humanoid.Health = Humanoid.Health - Damage
  2992.         else
  2993.             Humanoid.Parent:BreakJoints()
  2994.             DEAD = true
  2995.         end
  2996.     else
  2997.         DEAD = true
  2998.         Humanoid.Parent:BreakJoints()
  2999.     end
  3000.     if DEAD == true then
  3001.         local PARTS = {}
  3002.         for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  3003.             if CHILD:IsA("BasePart") then
  3004.                 table.insert(PARTS,CHILD)
  3005.             end
  3006.         end
  3007.         coroutine.resume(coroutine.create(function()
  3008.             wait(2)
  3009.             repeat
  3010.                 Swait()
  3011.                 local PIECE = nil
  3012.                 if MRANDOM(1,5) == 1 then
  3013.                     for E = 1, #PARTS do
  3014.                         if MRANDOM(1,5) == 1 then
  3015.                             PIECE = PARTS[E]
  3016.                             table.remove(PARTS,E)
  3017.                             break
  3018.                         end
  3019.                     end
  3020.                 end
  3021.                 if PIECE ~= nil then
  3022.                     if PIECE.Name == "Head" then
  3023.                         WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  3024.                     else
  3025.                         WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  3026.                     end
  3027.                     PIECE:remove()
  3028.                 end
  3029.             until #PARTS == 0
  3030.         end))
  3031.     end
  3032. end
  3033.  
  3034.  
  3035. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  3036.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  3037.     defence.Name = ("HitBy"..Player.Name)
  3038.     game:GetService("Debris"):AddItem(defence, 0.001)
  3039.     Damage = Damage * DAMAGEMULTIPLIER
  3040.     if Humanoid.Health ~= 0 then
  3041.         local CritChance = MRANDOM(1,100)
  3042.         if Damage > Humanoid.Health then
  3043.             Damage = math.ceil(Humanoid.Health)
  3044.             if Damage == 0 then
  3045.                 Damage = 0.1
  3046.             end
  3047.         end
  3048.         Humanoid.Health = Humanoid.Health - Damage
  3049.     end
  3050. end
  3051.  
  3052. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  3053.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  3054.     defence.Name = ("HitBy"..Player.Name)
  3055.     game:GetService("Debris"):AddItem(defence, 0.001)
  3056.     Damage = Damage * DAMAGEMULTIPLIER
  3057.     if Humanoid.Health ~= 0 then
  3058.         local CritChance = MRANDOM(1,100)
  3059.         if Damage > Humanoid.Health then
  3060.             Damage = math.ceil(Humanoid.Health)
  3061.             if Damage == 0 then
  3062.                 Damage = 0.1
  3063.             end
  3064.         end
  3065.         Humanoid.Health = Humanoid.Health - Damage
  3066.     end
  3067. end
  3068.  
  3069. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3070.     local CHILDREN = workspace:GetDescendants()
  3071.     for index, CHILD in pairs(CHILDREN) do
  3072.         if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3073.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3074.             if HUM then
  3075.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3076.                 if TORSO then
  3077.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3078.                         if INSTAKILL == true then
  3079.                             CHILD:BreakJoints()
  3080.                         else
  3081.                             local DMG = MRANDOM(MINDMG,MAXDMG)
  3082.                             ApplyDamage(HUM,DMG,TORSO)
  3083.                         end
  3084.                         if FLING > 0 then
  3085.                             for _, c in pairs(CHILD:GetChildren()) do
  3086.                                 if c:IsA("BasePart") then
  3087.                                     local bv = Instance.new("BodyVelocity")
  3088.                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3089.                                     bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3090.                                     bv.Parent = c
  3091.                                     Debris:AddItem(bv,0.05)
  3092.                                 end
  3093.                             end
  3094.                         end
  3095.                     end
  3096.                 end
  3097.             end
  3098.         end
  3099.     end
  3100. end
  3101.  
  3102. function CameraEnshaking(Length, Intensity)
  3103.     coroutine.resume(coroutine.create(function()
  3104.         local intensity = 1 * Intensity
  3105.         local rotM = 0.01 * Intensity
  3106.         for i = 0, Length, 0.1 do
  3107.             Swait()
  3108.             intensity = intensity - 0.05 * Intensity / Length
  3109.             rotM = rotM - 5.0E-4 * Intensity / Length
  3110.             Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  3111.             Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
  3112.         end
  3113.         Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  3114.     end))
  3115. end
  3116.  
  3117. function KillChildren(v)
  3118.     v:BreakJoints()
  3119.     for _, c in pairs(v:GetChildren()) do
  3120.         if c:IsA("BasePart") then
  3121.             if c.Transparency < 1 then
  3122.                 if c:FindFirstChildOfClass("Decal") then
  3123.                     c:FindFirstChildOfClass("Decal"):remove()
  3124.                 end
  3125.                 particles(c)
  3126.                 c.PE.Enabled = true
  3127.                 c.Parent = Effects
  3128.                 c.CanCollide = false
  3129.                 c.Material = "Neon"
  3130.                 c.Color = C3(0/255,0/255,255/255)
  3131.                 c.Transparency = 1
  3132.                 local grav = Instance.new("BodyPosition",c)
  3133.                 grav.P = 20000
  3134.                 grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3135.                 grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  3136.                 grav.Name = "GravityForce"
  3137.                 coroutine.resume(coroutine.create(function()
  3138.                     for i = 1, 20 do
  3139.                         Swait()
  3140.                         c.Transparency = c.Transparency + 1/20
  3141.                     end
  3142.                     c.PE.Enabled = false
  3143.                     Debris:AddItem(c,2)
  3144.                 end))
  3145.             end
  3146.         end
  3147.     end
  3148. end
  3149.  
  3150. function ApplyAoE(POSITION,RANGE)
  3151.     local CHILDREN = workspace:GetDescendants()
  3152.     for index, CHILD in pairs(CHILDREN) do
  3153.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  3154.             local LISTED = false
  3155.             for LIST = 1, #WHITELIST do
  3156.                 if WHITELIST[LIST] ~= nil then
  3157.                     if CHILD.Name == WHITELIST[LIST] then
  3158.                         LISTED = true
  3159.                     end
  3160.                 end
  3161.             end
  3162.             if LISTED == false then
  3163.                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3164.                 if HUM then
  3165.                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3166.                     if TORSO then
  3167.                         if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  3168.                             KillChildren(CHILD)
  3169.                         end
  3170.                     end
  3171.                 end
  3172.             end
  3173.         end
  3174.     end
  3175. end
  3176.  
  3177. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  3178.     coroutine.resume(coroutine.create(function()
  3179.         local METEOR = IT("Model",Effects)
  3180.         METEOR.Name = "Meteorite"
  3181.         local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  3182.         METEOR.PrimaryPart = CENTER
  3183.         local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  3184.         PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3185.         for i = 1, 15 do
  3186.             local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Navy blue", "Fire", VT(5.1,1,5.1)*SIZE)
  3187.             FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3188.         end
  3189.         if ISDEBREE ~= true then
  3190.             METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3191.         else
  3192.             METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3193.         end
  3194.         local IMPACT = false
  3195.         CreateSound(463593339, CENTER, 10, 0.6)
  3196.         if SIZE >= 3.5 then
  3197.             for i = 1, MRANDOM(3,7) do
  3198.                 SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  3199.             end
  3200.         end
  3201.         for i = 1, 200 do
  3202.             Swait()
  3203.             local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  3204.             if HITFLOOR == nil then
  3205.                 local ORI = CENTER.Orientation
  3206.                 METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3207.             else
  3208.                 if HITFLOOR.Anchored == true then
  3209.                     CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  3210.                     CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  3211.                 end
  3212.                 IMPACT = true
  3213.                 break
  3214.             end
  3215.         end
  3216.         if IMPACT == true then
  3217.             WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3218.             WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  3219.             WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3220.             ApplyAoE(CENTER.Position,30*SIZE)
  3221.         end
  3222.         METEOR:remove()
  3223.     end))
  3224. end
  3225.  
  3226. function ApplyAoE4(POSITION,RANGE,BRUTAL)
  3227.     local CHILDREN = workspace:GetDescendants()
  3228.     for index, CHILD in pairs(CHILDREN) do
  3229.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  3230.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3231.             if HUM then
  3232.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3233.                 if TORSO then
  3234.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3235.                         if BRUTAL == true then
  3236.                             Kill(CHILD)
  3237.                         else
  3238.                             CHILD:BreakJoints()
  3239.                         end
  3240.                     end
  3241.                 end
  3242.             end
  3243.         end
  3244.     end
  3245. end
  3246.  
  3247. function Kill(Char)
  3248.     local NewCharacter = IT("Model",Effects)
  3249.     NewCharacter.Name = "Ow im ded ;-;"
  3250.     for _, c in pairs(Char:GetDescendants()) do
  3251.         if c:IsA("BasePart") and c.Transparency == 0 then
  3252.             c:BreakJoints()
  3253.             c.Material = "Glass"
  3254.             c.Color = C3(0/255,0/255,255/255)
  3255.             c.CanCollide = true
  3256.             c.Transparency = 0.3
  3257.             if c:FindFirstChildOfClass("SpecialMesh") then
  3258.                 c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3259.             end
  3260.             if c.Name == "Head" then
  3261.                 c:ClearAllChildren()
  3262.                 c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  3263.             end
  3264.             if c.ClassName == "MeshPart" then
  3265.                 c.TextureID = ""
  3266.             end
  3267.             if c:FindFirstChildOfClass("BodyPosition") then
  3268.                 c:FindFirstChildOfClass("BodyPosition"):remove()
  3269.             end
  3270.             if c:FindFirstChildOfClass("ParticleEmitter") then
  3271.                 c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3272.             end
  3273.             c.Parent = NewCharacter
  3274.             c.Name = "DeadPart"
  3275.             c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  3276.             c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  3277.         end
  3278.     end
  3279.     Char:remove()
  3280.     Debris:AddItem(NewCharacter,5)
  3281. end
  3282.  
  3283. function ApplyAoE(POSITION,RANGE,BRUTAL)
  3284.     local CHILDREN = workspace:GetDescendants()
  3285.     for index, CHILD in pairs(CHILDREN) do
  3286.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  3287.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3288.             if HUM then
  3289.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3290.                 if TORSO then
  3291.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3292.                         if BRUTAL == true then
  3293.                             Kill(CHILD)
  3294.                         else
  3295.                             CHILD:BreakJoints()
  3296.                         end
  3297.                     end
  3298.                 end
  3299.             end
  3300.         end
  3301.     end
  3302. end
  3303.  
  3304. function ApplyAoE(POSITION,RANGE,BRUTAL)
  3305.     local CHILDREN = workspace:GetDescendants()
  3306.     for index, CHILD in pairs(CHILDREN) do
  3307.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  3308.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3309.             if HUM then
  3310.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3311.                 if TORSO then
  3312.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3313.                         if BRUTAL == true then
  3314.                             Kill(CHILD)
  3315.                         else
  3316.                             CHILD:BreakJoints()
  3317.                         end
  3318.                     end
  3319.                 end
  3320.             end
  3321.         end
  3322.     end
  3323. end
  3324.  
  3325. function Banish(Foe)
  3326.     if Foe then
  3327.         coroutine.resume(coroutine.create(function()
  3328.             --if game.Players:FindFirstChild(Foe.Name) then
  3329.                 table.insert(TOBANISH,Foe.Name)
  3330.                 printbye(Foe.Name)
  3331.             --end
  3332.             Foe.Archivable = true
  3333.             local CLONE = Foe:Clone()
  3334.             Foe:Destroy()
  3335.             CLONE.Parent = Effects
  3336.             CLONE:BreakJoints()
  3337.             local MATERIALS = {"Glass","Neon"}
  3338.             for _, c in pairs(CLONE:GetDescendants()) do
  3339.                 if c:IsA("BasePart") then
  3340.                     if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  3341.                         CreateSound(138271815, c, 10, 1, false)
  3342.                     end
  3343.                     c.Anchored = true
  3344.                     c.Transparency = c.Transparency + 0.2
  3345.                     c.Material = MATERIALS[MRANDOM(1,2)]
  3346.                     c.Color = C3(0/255,0/255,255/255)
  3347.                     if c.ClassName == "MeshPart" then
  3348.                         c.TextureID = ""
  3349.                     end
  3350.                     if c:FindFirstChildOfClass("SpecialMesh") then
  3351.                         c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3352.                     end
  3353.                     if c:FindFirstChildOfClass("Decal") then
  3354.                         c:FindFirstChildOfClass("Decal"):remove()
  3355.                     end
  3356.                     c.Name = "Banished"
  3357.                     c.CanCollide = false
  3358.                 else
  3359.                     c:remove()
  3360.                 end
  3361.             end
  3362.             local A = false
  3363.             for i = 1, 35 do
  3364.                 if A == false then
  3365.                     A = true
  3366.                 elseif A == true then
  3367.                     A = false
  3368.                 end
  3369.                 for _, c in pairs(CLONE:GetDescendants()) do
  3370.                     if c:IsA("BasePart") then
  3371.                         c.Anchored = true
  3372.                         c.Material = MATERIALS[MRANDOM(1,2)]
  3373.                         c.Transparency = c.Transparency + 0.8/35
  3374.                         if A == false then
  3375.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3376.                         elseif A == true then
  3377.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)                       
  3378.                         end
  3379.                     end
  3380.                 end
  3381.                 Swait()
  3382.             end
  3383.             CLONE:remove()
  3384.         end))
  3385.     end
  3386. end
  3387.  
  3388.  
  3389. function ApplyAoE(POSITION,RANGE,ISBANISH)
  3390.     local CHILDREN = workspace:GetDescendants()
  3391.     for index, CHILD in pairs(CHILDREN) do
  3392.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  3393.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3394.             if HUM then
  3395.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3396.                 if TORSO then
  3397.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3398.                         if ISBANISH == true then
  3399.                             Banish(CHILD)
  3400.                         else
  3401.                             if ISBANISH == "Gravity" then
  3402.                                 HUM.PlatformStand = true
  3403.                                 if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3404.                                     local grav = Instance.new("BodyPosition",TORSO)
  3405.                                     grav.D = 15
  3406.                                     grav.P = 20000
  3407.                                     grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3408.                                     grav.position = TORSO.Position
  3409.                                     grav.Name = "V3BanishForce"..Player.Name
  3410.                                 else
  3411.                                     TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  3412.                                     TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  3413.                                 end
  3414.                             else
  3415.                                 HUM.PlatformStand = false
  3416.                             end
  3417.                         end
  3418.                     elseif ISBANISH == "Gravity" then
  3419.                         if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3420.                             TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  3421.                             HUM.PlatformStand = false
  3422.                         end
  3423.                     end
  3424.                 end
  3425.             end
  3426.         end
  3427.     end
  3428. end
  3429.  
  3430. function SpawnSmite(POS)
  3431.     local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  3432.     local EMITPOS = HITPOS
  3433.     if HITFLOOR ~= nil then
  3434.         if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  3435.             HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  3436.             EMITPOS = HITPOS
  3437.         elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  3438.             HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  3439.             EMITPOS = HITPOS
  3440.         end
  3441.     end
  3442.     if HITFLOOR ~= nil then
  3443.         ApplyAoE(EMITPOS,10)
  3444.         WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  3445.         WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3446.         WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3447.         for i = 1, 5 do
  3448.             local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  3449.             WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  3450.         end
  3451.     end
  3452. end
  3453.  
  3454. --//=================================\\
  3455. --||    ATTACK FUNCTIONS AND STUFF
  3456. --\\=================================//
  3457.  
  3458. function eh()
  3459.     ATTACK = true
  3460.     Rooted = false
  3461.     Speed = 20
  3462.         Swait()
  3463.         local CHILDREN = workspace:GetDescendants()
  3464.         for index, CHILD in pairs(CHILDREN) do
  3465.             if CHILD.ClassName == "Model" and CHILD ~= Character then
  3466.                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3467.                 if HUM then
  3468.                     local TORSO = CHILD:FindFirstChild("Head")
  3469.                     if TORSO then
  3470.                         if (TORSO.Position - Head.Position).Magnitude <= 25 then
  3471.                             WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3472.                             TORSO:remove()
  3473.                             if CHILD:FindFirstChild("Torso") then
  3474.                                 Ragdoll(CHILD,Torso,true)
  3475.                             elseif CHILD:FindFirstChild("UpperTorso") then
  3476.                                 R15Ragdoll(CHILD,true)
  3477.                             end
  3478.                         end
  3479.                     end
  3480.                 end
  3481.             end
  3482.         end
  3483.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3484.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 1})
  3485.     for i=0, 0.3, 0.1 / Animation_Speed do
  3486.         Swait()
  3487.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  3488.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  3489.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  3490.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  3491.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  3492.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  3493. end
  3494.     Speed = 20
  3495.     ATTACK = false
  3496.     Rooted = false
  3497. end
  3498.  
  3499. function Taunt()
  3500.     ATTACK = true
  3501.     Rooted = true
  3502.             CreateSound("1238240145", Torso, 6, 0.9)
  3503.         for i=0, 0.6, 0.1 / Animation_Speed do
  3504.             Swait()
  3505.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3506. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3507. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3508.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3509.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3510.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3511.         end
  3512.         for i=0, 0.6, 0.1 / Animation_Speed do
  3513.             Swait()
  3514.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3515. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3516. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3517.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3518.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3519.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3520.         end
  3521.         for i=0, 0.6, 0.1 / Animation_Speed do
  3522.             Swait()
  3523.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3524. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3525. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3526.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3527.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3528.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3529.         end
  3530.         for i=0, 0.6, 0.1 / Animation_Speed do
  3531.             Swait()
  3532.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3533. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3534. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3535.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3536.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3537.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3538.         end
  3539.         for i=0, 0.6, 0.1 / Animation_Speed do
  3540.             Swait()
  3541.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3542. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3543. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3544.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3545.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3546.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3547.         end
  3548.         for i=0, 0.6, 0.1 / Animation_Speed do
  3549.             Swait()
  3550.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3551. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3552. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3553.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3554.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3555.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3556.         end
  3557.     ATTACK = false
  3558.     Rooted = false
  3559. end
  3560.  
  3561. function TakeOnMe()
  3562.     Speed = 16
  3563.     local MEME = CreateSound(1171341451, Effects, 2, 1, false)
  3564.     ATTACK = true
  3565.     Rooted = false
  3566.     local DANCE = true
  3567.     local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  3568.         if NEWKEY == "p" then
  3569.             DANCE = false
  3570.         end
  3571.     end)
  3572.     PLAYSONG = false
  3573.     while true do
  3574.         for i = 1, 15 do
  3575.             Swait()
  3576.             MEME.Parent = Effects
  3577.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3578.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3579.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3580.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3581.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3582.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3583.         end
  3584.         if DANCE == false then
  3585.             break
  3586.         end
  3587.         for i = 1, 15 do
  3588.             Swait()
  3589.             MEME.Parent = Effects
  3590.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3591.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  3592.             if MRANDOM(1,7) == 1 then
  3593.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3594.             end         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(150), RAD(65), RAD(85)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3595.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(65), RAD(85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3596.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3597.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3598.         end
  3599.     end
  3600.     PLAYSONG = true
  3601.     KEY:Disconnect()
  3602.     MEME:remove()
  3603.     Speed = 25
  3604.     ATTACK = false
  3605.     Rooted = false
  3606. end
  3607.  
  3608. function Intro()
  3609.     ATTACK = true
  3610.     Rooted = true
  3611.     local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3612.     local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0,1,0).p
  3613.     BigBlack("GoodBye Script Showcaser!!!",MAINRUINCOLOR.Color,3)
  3614.     for i=0, 6, 0.1 / Animation_Speed do
  3615.         Swait()
  3616.             WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolu