Advertisement
Leodu41

dd

Oct 1st, 2019
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 360.09 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = owner
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83. plr = owner
  84. char = plr.Character
  85. hum = char.Humanoid
  86. local cam = game.Workspace.CurrentCamera
  87. Camera = cam
  88. local CamInterrupt = false
  89. local TwoD = false
  90. local TargetInfo = {nil, nil}
  91. cam.CameraType = "Custom"
  92. t = char.Torso
  93. h = char.Head
  94. ra = char["Right Arm"]
  95. la = char["Left Arm"]
  96. rl = char["Right Leg"]
  97. ll = char["Left Leg"]
  98. tors = char.Torso
  99. lleg = char["Left Leg"]
  100. root = char.HumanoidRootPart
  101. hed = char.Head
  102. rleg = char["Right Leg"]
  103. rarm = char["Right Arm"]
  104. larm = char["Left Arm"]
  105. radian = math.rad
  106. random = math.random
  107. Vec3 = Vector3.new
  108. Inst = Instance.new
  109. cFrame = CFrame.new
  110. Euler = CFrame.fromEulerAnglesXYZ
  111. vt = Vector3.new
  112. bc = BrickColor.new
  113. br = BrickColor.random
  114. it = Instance.new
  115. cf = CFrame.new
  116.  
  117. local Booleans = {
  118. CamFollow = true,
  119. GyroUse = true
  120. }
  121.  
  122. function lerp(object, newCFrame, alpha)
  123. return object:lerp(newCFrame, alpha)
  124. end
  125.  
  126. local Directer = Inst("BodyGyro", root)
  127. Directer.MaxTorque = Vec3(0, 0, 0)
  128. Directer.P = 600000
  129. local CPart = Inst("Part")
  130. CPart.Anchored = true
  131. CPart.CanCollide = false
  132. CPart.Locked = true
  133. CPart.Transparency = 1
  134.  
  135. local rainbowmode = false
  136. local chaosmode = false
  137.  
  138. local kan = Instance.new("Sound",char)
  139. kan.Volume = 5
  140. kan.TimePosition = 0
  141. kan.PlaybackSpeed = 1
  142. kan.Pitch = 1
  143. kan.SoundId = "rbxassetid://"
  144. kan.Name = "wrecked"
  145. kan.Looped = true
  146. kan:Play()
  147.  
  148. local currentThemePlaying = kan.SoundId
  149. local currentPitch = kan.Pitch
  150. local currentVol = kan.Volume
  151. function newTheme(ID,timepos,pitch,vol)
  152. local kanz = kan
  153. --kanz:Stop()
  154. kanz.Volume = vol
  155. --kanz.TimePosition = timepos
  156. kanz.PlaybackSpeed = pitch
  157. kanz.Pitch = pitch
  158. kanz.SoundId = ID
  159. kanz.Name = "wrecked"
  160. kanz.Looped = true
  161. currentThemePlaying = kanz.SoundId
  162. currentVol = kanz.Volume
  163. currentPitch = kanz.Pitch
  164. --kanz:Play()
  165. --coroutine.resume(coroutine.create(function()
  166. --wait(0.05)
  167. --end))
  168. end
  169.  
  170.  
  171. function newThemeCust(ID,timepos,pitch,vol)
  172. local kanz = kan
  173. kanz:Stop()
  174. kanz.Volume = vol
  175. kanz.TimePosition = timepos
  176. kanz.PlaybackSpeed = pitch
  177. kanz.Pitch = pitch
  178. kanz.SoundId = ID
  179. kanz.Name = "wrecked"
  180. kanz.Looped = true
  181. currentThemePlaying = kanz.SoundId
  182. currentVol = kanz.Volume
  183. currentPitch = kanz.Pitch
  184. kanz:Play()
  185. coroutine.resume(coroutine.create(function()
  186. wait(0.05)
  187. end))
  188. end
  189.  
  190. local mutedtog = false
  191.  
  192. function CameraEnshaking(Length,Intensity)
  193. coroutine.resume(coroutine.create(function()
  194. local intensity = 1*Intensity
  195. local rotM = 0.01*Intensity
  196. for i = 0, Length, 0.1 do
  197. swait()
  198. intensity = intensity - 0.05*Intensity/Length
  199. rotM = rotM - 0.0005*Intensity/Length
  200. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  201. 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)
  202. end
  203. Humanoid.CameraOffset = Vec3(0, 0, 0)
  204. end))
  205. end
  206. CamShake=function(Part,Distan,Power,Times)
  207. local de=Part.Position
  208. for i,v in pairs(workspace:children()) do
  209. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  210. for _,c in pairs(v:children()) do
  211. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  212. local Noob=v.Humanoid
  213. if Noob~=nil then
  214. coroutine.resume(coroutine.create(function()
  215. FV = Instance.new("BoolValue", Noob)
  216. FV.Name = "CameraShake"
  217. for ShakeNum=1,Times do
  218. swait()
  219. local ef=Power
  220. if ef>=1 then
  221. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  222. else
  223. ef=Power*10
  224. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  225. end
  226. end
  227. Humanoid.CameraOffset = Vector3.new(0,0,0)
  228. FV:Destroy()
  229. end))
  230. CameraShake(Times, Power, Noob)
  231. end
  232. end
  233. end
  234. end
  235. end
  236. end
  237.  
  238.  
  239. function chatfunc(text,color,typet,font,timeex)
  240. local chat = coroutine.wrap(function()
  241. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  242. Character:FindFirstChild("TalkingBillBoard"):destroy()
  243. end
  244. local naeeym2 = Instance.new("BillboardGui",Character)
  245. naeeym2.Size = UDim2.new(0,100,0,40)
  246. naeeym2.StudsOffset = Vector3.new(0,3,0)
  247. naeeym2.Adornee = Character.Head
  248. naeeym2.Name = "TalkingBillBoard"
  249. local tecks2 = Instance.new("TextLabel",naeeym2)
  250. tecks2.BackgroundTransparency = 1
  251. tecks2.BorderSizePixel = 0
  252. tecks2.Text = ""
  253. tecks2.Font = font
  254. tecks2.TextSize = 30
  255. tecks2.TextStrokeTransparency = 0
  256. tecks2.TextColor3 = color
  257. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  258. tecks2.Size = UDim2.new(1,0,0.5,0)
  259. local tecks3 = Instance.new("TextLabel",naeeym2)
  260. tecks3.BackgroundTransparency = 1
  261. tecks3.BorderSizePixel = 0
  262. tecks3.Text = ""
  263. tecks3.Font = font
  264. tecks3.TextSize = 30
  265. tecks3.TextStrokeTransparency = 0
  266. if typet == "Inverted" then
  267. tecks3.TextColor3 = Color3.new(0,0,0)
  268. tecks3.TextStrokeColor3 = color
  269. elseif typet == "Normal" then
  270. tecks3.TextColor3 = color
  271. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  272. end
  273. tecks3.Size = UDim2.new(1,0,0.5,0)
  274. coroutine.resume(coroutine.create(function()
  275. while true do
  276. swait(1)
  277. if chaosmode == true then
  278. tecks2.TextColor3 = BrickColor.random().Color
  279. tecks3.TextStrokeColor3 = BrickColor.random().Color
  280. end
  281. end
  282. end))
  283. modet.TextTransparency = modet.TextTransparency + 1
  284. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  285. for i = 0, 74*timeex do
  286. swait()
  287. modet.TextTransparency = 1
  288. modet.TextStrokeTransparency = 1
  289. tecks2.Text = text
  290. tecks3.Text = text
  291. end
  292. local randomrot = math.random(1,2)
  293. if randomrot == 1 then
  294. for i = 1, 50 do
  295. swait()
  296. tecks2.Text = text
  297. tecks3.Text = text
  298. modet.TextTransparency = modet.TextTransparency - .02
  299. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  300. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  301. tecks2.TextTransparency = tecks2.TextTransparency + .04
  302. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  303. tecks3.TextTransparency = tecks2.TextTransparency + .04
  304. end
  305. elseif randomrot == 2 then
  306. for i = 1, 50 do
  307. swait()
  308. tecks2.Text = text
  309. tecks3.Text = text
  310. modet.TextTransparency = modet.TextTransparency - .02
  311. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  312. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  313. tecks2.TextTransparency = tecks2.TextTransparency + .04
  314. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  315. tecks3.TextTransparency = tecks2.TextTransparency + .04
  316. end
  317. end
  318. modet.TextTransparency = 0
  319. modet.TextStrokeTransparency = 0
  320. if toggleTag == false then
  321. modet.TextTransparency = 1
  322. modet.TextStrokeTransparency = 1
  323. end
  324. naeeym2:Destroy()
  325. end)
  326. chat()
  327. end
  328.  
  329. function bosschatfunc(text,color,watval)
  330. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  331. coroutine.resume(coroutine.create(function()
  332. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  333. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  334. end
  335. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  336. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  337. scrg.Name = "Dialog"
  338. local txtlb = Instance.new("TextLabel",scrg)
  339. txtlb.Text = ""
  340. txtlb.Font = "Bodoni"
  341. txtlb.TextColor3 = Color3.new(0,0,0)
  342. txtlb.TextStrokeTransparency = 0
  343. txtlb.BackgroundTransparency = 0.75
  344. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  345. txtlb.TextStrokeColor3 = color
  346. txtlb.TextScaled = true
  347. txtlb.Size = UDim2.new(1,0,0.25,0)
  348. txtlb.TextXAlignment = "Left"
  349. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  350. local txtlb2 = Instance.new("TextLabel",scrg)
  351. txtlb2.Text = "Lunar Banisher"
  352. txtlb2.Font = "Arcade"
  353. txtlb2.TextColor3 = Color3.new(0,0,0)
  354. txtlb2.TextStrokeTransparency = 0
  355. txtlb2.BackgroundTransparency = 1
  356. txtlb2.TextStrokeColor3 = color
  357. txtlb2.TextSize = 40
  358. txtlb2.Size = UDim2.new(1,0,0.25,0)
  359. txtlb2.TextXAlignment = "Left"
  360. txtlb2.Position = UDim2.new(0,0,1,0)
  361. local fvalen = 0.55
  362. local fval = -0.49
  363. coroutine.resume(coroutine.create(function()
  364. while true do
  365. swait()
  366. if chaosmode == true then
  367. txtlb.Rotation = math.random(-1,1)
  368. txtlb2.Rotation = math.random(-1,1)
  369. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  370. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  371. txtlb.TextStrokeColor3 = BrickColor.random().Color
  372. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  373. end
  374. end
  375. end))
  376. coroutine.resume(coroutine.create(function()
  377. while true do
  378. swait()
  379. if scrg.Parent ~= nil then
  380. fvalen = fvalen - 0.0001
  381. elseif scrg.Parent == nil then
  382. break
  383. end
  384. end
  385. end))
  386. local flol = 1.75
  387. local flil = 1.6
  388. coroutine.resume(coroutine.create(function()
  389. for i = 0, 9 do
  390. swait()
  391. fval = fval + 0.05
  392. flol = flol - 0.1
  393. flil = flil - 0.1
  394. txtlb.Text = ""
  395. txtlb.Position = UDim2.new(0,0,flol,0)
  396. txtlb2.Position = UDim2.new(0,0,flil,0)
  397. end
  398. txtlb.Text = text
  399. wait(watval)
  400. local valinc = 0
  401. for i = 0, 99 do
  402. swait()
  403. valinc = valinc + 0.0001
  404. flol = flol + valinc
  405. flil = flil + valinc
  406. txtlb.Rotation = txtlb.Rotation + valinc*20
  407. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  408. txtlb.Position = UDim2.new(0,0,flol,0)
  409. txtlb2.Position = UDim2.new(0,0,flil,0)
  410. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  411. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  412. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  413. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  414. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  415. end
  416. scrg:Destroy()
  417. end))
  418. end))
  419. end
  420. end
  421.  
  422. local disably = false
  423. function warnedpeople(text,represfont,color,color2)
  424. if disably ~= true then
  425. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  426. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  427. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  428. coroutine.resume(coroutine.create(function()
  429. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  430. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  431. end
  432. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  433. scrg.Name = "Spinny"
  434. local frm = Instance.new("Frame",scrg)
  435. frm.BackgroundTransparency = 0.25
  436. frm.BackgroundColor3 = color
  437. frm.BorderSizePixel = 0
  438. frm.Rotation = 45
  439. frm.Size = UDim2.new(3,0,0,100)
  440. frm.Position = UDim2.new(-4,0,0,0)
  441. local frm2 = frm:Clone()
  442. frm2.Parent = scrg
  443. frm2.BackgroundColor3 = color2
  444. frm2.Position = UDim2.new(-4.05,0,0,0)
  445. local imlb = Instance.new("ImageLabel",scrg)
  446. imlb.BackgroundTransparency = 1
  447. imlb.BackgroundColor3 = Color3.new(0,0,0)
  448. imlb.Image = "rbxassetid://2344851144"
  449. imlb.Size = UDim2.new(0,750,0,750)
  450. imlb.ImageColor3 = color2
  451. imlb.ImageTransparency = 0.25
  452. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  453. local imlb2 = imlb:Clone()
  454. imlb2.Image = "rbxassetid://2325939897"
  455. imlb2.Size = UDim2.new(1,0,1,0)
  456. imlb2.ImageColor3 = color
  457. imlb2.ImageTransparency = 0
  458. imlb2.Position = UDim2.new(0,0,0,0)
  459. local imlb3 = imlb:Clone()
  460. imlb3.Image = "rbxassetid://2344830904"
  461. imlb3.Size = UDim2.new(1,0,1,0)
  462. imlb3.ImageColor3 = color2
  463. imlb3.ImageTransparency = 0
  464. imlb3.Position = UDim2.new(0,0,0,0)
  465. local imlb4 = imlb:Clone()
  466. imlb4.Image = "rbxassetid://2344870656"
  467. imlb4.Size = UDim2.new(3,0,3,0)
  468. imlb4.ImageColor3 = Color3.new(1,1,1)
  469. imlb4.ImageTransparency = 0
  470. imlb4.Position = UDim2.new(-1,0,-1,0)
  471. local imlb5 = imlb:Clone()
  472. imlb5.Image = "rbxassetid://2344870656"
  473. imlb5.Size = UDim2.new(10,0,10,0)
  474. imlb5.ImageColor3 = color2
  475. imlb5.ImageTransparency = 0
  476. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  477. imlb2.Parent = imlb
  478. imlb3.Parent = imlb
  479. imlb4.Parent = imlb
  480. imlb5.Parent = imlb
  481. local txtlb2 = Instance.new("TextLabel",imlb)
  482. txtlb2.Text = text
  483. txtlb2.Font = represfont
  484. txtlb2.TextColor3 = color
  485. txtlb2.TextStrokeTransparency = 0
  486. txtlb2.BackgroundTransparency = 1
  487. txtlb2.TextStrokeColor3 = color2
  488. txtlb2.TextScaled = true
  489. txtlb2.Size = UDim2.new(1,0,1,0)
  490. txtlb2.Position = UDim2.new(0,0,0,0)
  491. local fvalen = 0.55
  492. local fval = -0.49
  493. coroutine.resume(coroutine.create(function()
  494. while true do
  495. swait()
  496. if chaosmode == true then
  497. txtlb2.Rotation = math.random(-1,1)
  498. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  499. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  500. imlb.ImageColor3 = BrickColor.random().Color
  501. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  502. end
  503. end
  504. end))
  505. coroutine.resume(coroutine.create(function()
  506. while true do
  507. swait()
  508. if scrg.Parent ~= nil then
  509. fvalen = fvalen - 0.0001
  510. elseif scrg.Parent == nil then
  511. break
  512. end
  513. end
  514. end))
  515. local flol = -5
  516. local flil = 1.6
  517. coroutine.resume(coroutine.create(function()
  518. for i = 0, 49 do
  519. swait()
  520. flol = flol + 0.125
  521. flil = flil - 0.1
  522. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  523. frm.Rotation = frm.Rotation - 0.25
  524. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  525. frm2.Rotation = frm.Rotation + 0.325
  526. imlb3.Rotation = imlb3.Rotation - 10
  527. imlb2.Rotation = imlb.Rotation + 7.5
  528. imlb.Rotation = imlb.Rotation + 5
  529. txtlb2.Rotation = txtlb2.Rotation - 5.125
  530. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  531. end
  532. for i = 0, 99 do
  533. swait()
  534. fval = fval + 0.05
  535. flol = flol + 0.005
  536. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  537. frm.Rotation = frm.Rotation - 0.075
  538. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  539. frm2.Rotation = frm2.Rotation + 0.125
  540. imlb3.Rotation = imlb3.Rotation - 2
  541. imlb2.Rotation = imlb.Rotation + 1.5
  542. imlb.Rotation = imlb.Rotation + 1
  543. txtlb2.Rotation = txtlb2.Rotation - 1.125
  544. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  545. end
  546. local valinc = 0
  547. local vinc2 = 1
  548. for i = 0, 99 do
  549. swait()
  550. vinc2 = vinc2 + 0.25
  551. valinc = valinc + 0.0001
  552. flol = flol + valinc
  553. flil = flil + valinc
  554. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  555. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  556. imlb.Rotation = imlb.Rotation + 1*vinc2
  557. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  558. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  559. frm.Rotation = frm.Rotation + 0.1*vinc2
  560. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  561. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  562. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  563. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  564. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  565. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  566. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  567. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  568. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  569. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  570. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  571. end
  572. scrg:Destroy()
  573. end))
  574. end))
  575. end
  576. end
  577. end
  578.  
  579. local Create = LoadLibrary("RbxUtility").Create
  580.  
  581. CFuncs = {
  582. ["Part"] = {
  583. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  584. local Part = Create("Part"){
  585. Parent = Parent,
  586. Reflectance = Reflectance,
  587. Transparency = Transparency,
  588. CanCollide = false,
  589. Locked = true,
  590. BrickColor = BrickColor.new(tostring(BColor)),
  591. Name = Name,
  592. Size = Size,
  593. Material = Material,
  594. }
  595. RemoveOutlines(Part)
  596. return Part
  597. end;
  598. };
  599.  
  600. ["Mesh"] = {
  601. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  602. local Msh = Create(Mesh){
  603. Parent = Part,
  604. Offset = OffSet,
  605. Scale = Scale,
  606. }
  607. if Mesh == "SpecialMesh" then
  608. Msh.MeshType = MeshType
  609. Msh.MeshId = MeshId
  610. end
  611. return Msh
  612. end;
  613. };
  614.  
  615. ["Mesh"] = {
  616. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  617. local Msh = Create(Mesh){
  618. Parent = Part,
  619. Offset = OffSet,
  620. Scale = Scale,
  621. }
  622. if Mesh == "SpecialMesh" then
  623. Msh.MeshType = MeshType
  624. Msh.MeshId = MeshId
  625. end
  626. return Msh
  627. end;
  628. };
  629.  
  630. ["Weld"] = {
  631. Create = function(Parent, Part0, Part1, C0, C1)
  632. local Weld = Create("Weld"){
  633. Parent = Parent,
  634. Part0 = Part0,
  635. Part1 = Part1,
  636. C0 = C0,
  637. C1 = C1,
  638. }
  639. return Weld
  640. end;
  641. };
  642.  
  643. ["Sound"] = {
  644. Create = function(id, par, vol, pit)
  645. coroutine.resume(coroutine.create(function()
  646. local S = Create("Sound"){
  647. Volume = vol,
  648. Name = "EffectSoundo",
  649. Pitch = pit or 1,
  650. SoundId = id,
  651. Parent = par or workspace,
  652. }
  653. wait()
  654. S:play()
  655. game:GetService("Debris"):AddItem(S, 10)
  656. end))
  657. end;
  658. };
  659.  
  660. ["TimeSound"] = {
  661. Create = function(id, par, vol, pit, timepos)
  662. coroutine.resume(coroutine.create(function()
  663. local S = Create("Sound"){
  664. Volume = vol,
  665. Name = "EffectSoundo",
  666. Pitch = pit or 1,
  667. SoundId = id,
  668. TimePosition = timepos,
  669. Parent = par or workspace,
  670. }
  671. wait()
  672. S:play()
  673. game:GetService("Debris"):AddItem(S, 10)
  674. end))
  675. end;
  676. };
  677. ["EchoSound"] = {
  678. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  679. coroutine.resume(coroutine.create(function()
  680. local Sas = Create("Sound"){
  681. Volume = vol,
  682. Name = "EffectSoundo",
  683. Pitch = pit or 1,
  684. SoundId = id,
  685. TimePosition = timepos,
  686. Parent = par or workspace,
  687. }
  688. local E = Create("EchoSoundEffect"){
  689. Delay = echodelay,
  690. Name = "Echo",
  691. Feedback = fedb,
  692. DryLevel = dryl,
  693. Parent = Sas,
  694. }
  695. wait()
  696. Sas:play()
  697. game:GetService("Debris"):AddItem(Sas, delays)
  698. end))
  699. end;
  700. };
  701.  
  702. ["LongSound"] = {
  703. Create = function(id, par, vol, pit)
  704. coroutine.resume(coroutine.create(function()
  705. local S = Create("Sound"){
  706. Volume = vol,
  707. Pitch = pit or 1,
  708. SoundId = id,
  709. Parent = par or workspace,
  710. }
  711. wait()
  712. S:play()
  713. game:GetService("Debris"):AddItem(S, 60)
  714. end))
  715. end;
  716. };
  717.  
  718. ["ParticleEmitter"] = {
  719. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  720. local fp = Create("ParticleEmitter"){
  721. Parent = Parent,
  722. Color = ColorSequence.new(Color1, Color2),
  723. LightEmission = LightEmission,
  724. Size = Size,
  725. Texture = Texture,
  726. Transparency = Transparency,
  727. ZOffset = ZOffset,
  728. Acceleration = Accel,
  729. Drag = Drag,
  730. LockedToPart = LockedToPart,
  731. VelocityInheritance = VelocityInheritance,
  732. EmissionDirection = EmissionDirection,
  733. Enabled = Enabled,
  734. Lifetime = LifeTime,
  735. Rate = Rate,
  736. Rotation = Rotation,
  737. RotSpeed = RotSpeed,
  738. Speed = Speed,
  739. VelocitySpread = VelocitySpread,
  740. }
  741. return fp
  742. end;
  743. };
  744.  
  745. CreateTemplate = {
  746.  
  747. };
  748. }
  749.  
  750.  
  751.  
  752. New = function(Object, Parent, Name, Data)
  753. local Object = Instance.new(Object)
  754. for Index, Value in pairs(Data or {}) do
  755. Object[Index] = Value
  756. end
  757. Object.Parent = Parent
  758. Object.Name = Name
  759. return Object
  760. end
  761. local halocolor = BrickColor.new("Pastel light blue")
  762. local halocolor2 = BrickColor.new("Cool yellow")
  763. local starcolor = BrickColor.new("Bright yellow")
  764. local lunacolor = BrickColor.new("Navy blue")
  765. local lunacolor2 = BrickColor.new("Bright blue")
  766. local wepcolor = BrickColor.new("Really black")
  767. local maincolor = BrickColor.new("Really black")
  768. local m = Instance.new("Model",char)
  769. local m2 = Instance.new("Model",char)
  770. local m3 = Instance.new("Model",char)
  771. local mw1 = Instance.new("Model",char)
  772. local mw2 = Instance.new("Model",char)
  773.  
  774.  
  775.  
  776.  
  777. local extrawingmod1 = Instance.new("Model",char)
  778. local extrawingmod2 = Instance.new("Model",char)
  779.  
  780. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  781. local p = Instance.new("Part")
  782. p.TopSurface = 0
  783. p.BottomSurface = 0
  784. p.Parent = parent
  785. p.Size = Vector3.new(0.1,0.1,0.1)
  786. p.Transparency = transparency
  787. p.Reflectance = reflectance
  788. p.CanCollide = false
  789. p.Locked = true
  790. p.BrickColor = brickcolor
  791. p.Material = material
  792. return p
  793. end
  794.  
  795. function CreateMesh(parent,meshtype,x1,y1,z1)
  796. local mesh = Instance.new("SpecialMesh",parent)
  797. mesh.MeshType = meshtype
  798. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  799. return mesh
  800. end
  801.  
  802. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  803. local mesh = Instance.new("SpecialMesh",parent)
  804. mesh.MeshType = "FileMesh"
  805. mesh.MeshId = meshid
  806. mesh.Scale = Vector3.new(x1,y1,z1)
  807. return mesh
  808. end
  809.  
  810.  
  811. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  812. local mesh = Instance.new("SpecialMesh",parent)
  813. mesh.MeshType = "FileMesh"
  814. mesh.MeshId = meshid
  815. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  816. mesh.Scale = Vector3.new(x1,y1,z1)
  817. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  818. return mesh
  819. end
  820.  
  821. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  822. local weld = Instance.new("Weld")
  823. weld.Parent = parent
  824. weld.Part0 = part0
  825. weld.Part1 = part1
  826. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  827. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  828. return weld
  829. end
  830.  
  831.  
  832. --------------
  833. --------------
  834. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  835. 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))
  836. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  837. 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))
  838.  
  839. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  840. CreateMesh(handle,"Brick",0,0,0)
  841. 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))
  842. local valuaring = 10
  843. for i = 0, 49 do
  844. valuaring = valuaring + 10
  845. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  846. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  847. 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))
  848. end
  849.  
  850. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  851. CreateMesh(handle,"Brick",0,0,0)
  852. 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))
  853. local valuaring = 10
  854. for i = 0, 49 do
  855. valuaring = valuaring + 10
  856. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  857. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  858. 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))
  859. end
  860.  
  861.  
  862. local handle = CreateParta(m,1,1,"Neon",maincolor)
  863. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  864. 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))
  865.  
  866. --- Left wing.
  867.  
  868. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  869. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  870. 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))
  871.  
  872. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  873. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  874. 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))
  875. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  876. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  877. 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))
  878. A0 = Instance.new('Attachment',wed)
  879. A0.Position = vt(0,0.25,0.25)
  880. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  881. CreateMesh(wed,"Wedge",0.05,0.5,3)
  882. 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))
  883. A1 = Instance.new('Attachment',wed)
  884. A1.Position = vt(0,-0.25,-2)
  885. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  886. CreateMesh(wed,"Wedge",0.05,3,0.5)
  887. 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))
  888.  
  889. tl1 = Instance.new('Trail',wed)
  890. tl1.Attachment0 = A1
  891. tl1.Attachment1 = A0
  892. tl1.Texture = "rbxassetid://2108945559"
  893. tl1.LightEmission = 1
  894. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  895. tl1.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  896. tl1.Lifetime = 0.6
  897.  
  898.  
  899. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  900. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  901. 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))
  902.  
  903. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  904. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  905. 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))
  906. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  907. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  908. 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))
  909. A0 = Instance.new('Attachment',wed)
  910. A0.Position = vt(0,0.25,0.25)
  911. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  912. CreateMesh(wed,"Wedge",0.05,0.5,3)
  913. 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))
  914. A1 = Instance.new('Attachment',wed)
  915. A1.Position = vt(0,-0.25,-2)
  916. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  917. CreateMesh(wed,"Wedge",0.05,3,0.5)
  918. 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))
  919.  
  920. tl2 = Instance.new('Trail',wed)
  921. tl2.Attachment0 = A1
  922. tl2.Attachment1 = A0
  923. tl2.Texture = "rbxassetid://2108945559"
  924. tl2.LightEmission = 1
  925. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  926. tl2.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  927. tl2.Lifetime = 0.6
  928.  
  929. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  930. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  931. 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))
  932.  
  933. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  934. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  935. 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))
  936. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  937. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  938. 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))
  939. A0 = Instance.new('Attachment',wed)
  940. A0.Position = vt(0,0.25,0.25)
  941. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  942. CreateMesh(wed,"Wedge",0.05,0.5,3)
  943. 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))
  944. A1 = Instance.new('Attachment',wed)
  945. A1.Position = vt(0,-0.25,-2)
  946. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  947. CreateMesh(wed,"Wedge",0.05,3,0.5)
  948. 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))
  949.  
  950. tl3 = Instance.new('Trail',wed)
  951. tl3.Attachment0 = A1
  952. tl3.Attachment1 = A0
  953. tl3.Texture = "rbxassetid://2108945559"
  954. tl3.LightEmission = 1
  955. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  956. tl3.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  957. tl3.Lifetime = 0.6
  958.  
  959. tl1.Enabled = false
  960. tl2.Enabled = false
  961. tl3.Enabled = false
  962. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  963. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  964. 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))
  965.  
  966. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  967. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  968. 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))
  969. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  970. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  971. 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))
  972. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  973. CreateMesh(wed,"Wedge",0.05,0.5,3)
  974. 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))
  975. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  976. CreateMesh(wed,"Wedge",0.05,3,0.5)
  977. 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))
  978.  
  979. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  980. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  981. 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))
  982.  
  983. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  984. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  985. 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))
  986. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  987. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  988. 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))
  989. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  990. CreateMesh(wed,"Wedge",0.05,0.5,3)
  991. 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))
  992. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  993. CreateMesh(wed,"Wedge",0.05,3,0.5)
  994. 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))
  995.  
  996. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  997. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  998. 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))
  999.  
  1000. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1001. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1002. 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))
  1003. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1004. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1005. 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))
  1006. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1007. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1008. 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))
  1009. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1010. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1011. 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))
  1012.  
  1013. -- Right wing.
  1014.  
  1015. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1016. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1017. 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))
  1018.  
  1019. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1020. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1021. 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))
  1022. A0 = Instance.new('Attachment',wed)
  1023. A0.Position = vt(0,0.25,0.25)
  1024. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1025. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1026. 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))
  1027. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1028. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1029. 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))
  1030. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1031. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1032. 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))
  1033. A1 = Instance.new('Attachment',wed)
  1034. A1.Position = vt(0,2,0.25)
  1035.  
  1036. tr1 = Instance.new('Trail',wed)
  1037. tr1.Attachment0 = A1
  1038. tr1.Attachment1 = A0
  1039. tr1.Texture = "rbxassetid://2108945559"
  1040. tr1.LightEmission = 1
  1041. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1042. tr1.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  1043. tr1.Lifetime = 0.6
  1044.  
  1045. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1046. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1047. 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))
  1048.  
  1049. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1050. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1051. 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))
  1052. A0 = Instance.new('Attachment',wed)
  1053. A0.Position = vt(0,0.25,0.25)
  1054. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1055. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1056. 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))
  1057. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1058. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1059. 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))
  1060. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1061. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1062. 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))
  1063. A1 = Instance.new('Attachment',wed)
  1064. A1.Position = vt(0,2,0.25)
  1065.  
  1066. tr2 = Instance.new('Trail',wed)
  1067. tr2.Attachment0 = A1
  1068. tr2.Attachment1 = A0
  1069. tr2.Texture = "rbxassetid://2108945559"
  1070. tr2.LightEmission = 1
  1071. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1072. tr2.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  1073. tr2.Lifetime = 0.6
  1074.  
  1075. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1076. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1077. 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))
  1078.  
  1079. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1080. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1081. 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))
  1082. A0 = Instance.new('Attachment',wed)
  1083. A0.Position = vt(0,0.25,0.25)
  1084. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1085. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1086. 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))
  1087. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1088. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1089. 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))
  1090. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1091. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1092. 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))
  1093. A1 = Instance.new('Attachment',wed)
  1094. A1.Position = vt(0,2,0.25)
  1095.  
  1096. tr3 = Instance.new('Trail',wed)
  1097. tr3.Attachment0 = A1
  1098. tr3.Attachment1 = A0
  1099. tr3.Texture = "rbxassetid://2108945559"
  1100. tr3.LightEmission = 1
  1101. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1102. tr3.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  1103. tr3.Lifetime = 0.6
  1104.  
  1105.  
  1106. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1107. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1108. 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))
  1109.  
  1110. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1111. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1112. 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))
  1113. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1114. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1115. 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))
  1116. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1117. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1118. 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))
  1119. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1120. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1121. 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))
  1122.  
  1123. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1124. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1125. 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))
  1126.  
  1127. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1128. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1129. 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))
  1130. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1131. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1132. 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))
  1133. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1135. 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))
  1136. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1137. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1138. 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))
  1139.  
  1140. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1141. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1142. 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))
  1143.  
  1144. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1145. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1146. 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))
  1147. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1148. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1149. 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))
  1150. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1151. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1152. 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))
  1153. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1154. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1155. 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))
  1156.  
  1157. --HERES THE RING
  1158.  
  1159.  
  1160. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1161. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1162. 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))
  1163. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1164. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1165. 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))
  1166. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1167. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1168. 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))
  1169.  
  1170.  
  1171. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1172. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1173. 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))
  1174.  
  1175. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1176. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1177. 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))
  1178.  
  1179.  
  1180.  
  1181. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1182. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1183. 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))
  1184.  
  1185. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1186. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1187. 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))
  1188.  
  1189. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1190. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1191. 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))
  1192.  
  1193. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1194. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1195. 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))
  1196. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1197. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1198. 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))]]--
  1199.  
  1200. --- second ring
  1201.  
  1202.  
  1203. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1204. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1205. 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))
  1206.  
  1207. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1208. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1209. 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))
  1210.  
  1211.  
  1212.  
  1213. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1214. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1215. 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))
  1216.  
  1217. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1218. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1219. 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))
  1220.  
  1221. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1222. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1223. 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))
  1224.  
  1225. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1226. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1227. 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))
  1228. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1229. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1230. 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))
  1231.  
  1232.  
  1233.  
  1234. for i, v in pairs(m:GetChildren()) do
  1235. if v:IsA("Part") then
  1236. v.BrickColor = BrickColor.new("Really black")
  1237. v.Material = "Glass"
  1238. end
  1239. end
  1240. for i, v in pairs(m2:GetChildren()) do
  1241. if v:IsA("Part") then
  1242. v.BrickColor = BrickColor.new("Crimson")
  1243. v.Material = "Granite"
  1244. end
  1245. end
  1246. for i, v in pairs(m3:GetChildren()) do
  1247. if v:IsA("Part") then
  1248. v.BrickColor = BrickColor.new("Really blue")
  1249. v.Material = "Neon"
  1250. end
  1251. end
  1252. for i, v in pairs(mw2:GetChildren()) do
  1253. if v:IsA("Part") then
  1254. v.BrickColor = BrickColor.new("Really blue")
  1255. v.Material = "Neon"
  1256. end
  1257. end
  1258. for i, v in pairs(mw1:GetChildren()) do
  1259. if v:IsA("Part") then
  1260. v.Transparency = 1
  1261. v.BrickColor = BrickColor.new("Really blue")
  1262. v.Material = "Neon"
  1263. end
  1264. end
  1265. for i, v in pairs(extrawingmod1:GetChildren()) do
  1266. if v:IsA("Part") then
  1267. v.Transparency = 1
  1268. v.BrickColor = BrickColor.new("White")
  1269. v.Material = "Neon"
  1270. end
  1271. end
  1272. for i, v in pairs(extrawingmod2:GetChildren()) do
  1273. if v:IsA("Part") then
  1274. v.Transparency = 1
  1275. v.BrickColor = BrickColor.new("White")
  1276. v.Material = "Neon"
  1277. end
  1278. end
  1279. local MAINRUINCOLOR = BrickColor.new("Navy blue")
  1280. local SECONDRUINCOLOR = BrickColor.new("Navy blue")
  1281. local THIRDRUINCOLOR = BrickColor.new("Really black")
  1282.  
  1283. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
  1284. for i, v in pairs(mw2:GetChildren()) do
  1285. if v:IsA("Part") then
  1286. v.BrickColor = one
  1287. v.Material = "Neon"
  1288. end
  1289. end
  1290. refec.Color = ColorSequence.new(one.Color)
  1291. refec2.Color = ColorSequence.new(one.Color)
  1292. refec3.Color = ColorSequence.new(one.Color)
  1293. tr1.Color = ColorSequence.new(one.Color)
  1294. tr2.Color = ColorSequence.new(one.Color)
  1295. tr3.Color = ColorSequence.new(one.Color)
  1296. imgl2.ImageColor3 = one.Color
  1297. circl.ImageColor3 = two.Color
  1298. techc.ImageColor3 = one.Color
  1299. circl2.ImageColor3 = one.Color
  1300. ned.TextColor3 = two.Color
  1301. ned.TextStrokeColor3 = one.Color
  1302. for i, v in pairs(mw1:GetChildren()) do
  1303. if v:IsA("Part") then
  1304. v.Transparency = 0
  1305. v.BrickColor = two
  1306. v.Material = "Neon"
  1307. end
  1308. end
  1309. tl1.Color = ColorSequence.new(two.Color)
  1310. tl2.Color = ColorSequence.new(two.Color)
  1311. tl3.Color = ColorSequence.new(two.Color)
  1312. for i, v in pairs(m:GetChildren()) do
  1313. if v:IsA("Part") then
  1314. v.BrickColor = three
  1315. v.Material = "Ice"
  1316. end
  1317. end
  1318. for i, v in pairs(m2:GetChildren()) do
  1319. if v:IsA("Part") then
  1320. v.BrickColor = four
  1321. v.Material = "Ice"
  1322. end
  1323. end
  1324. for i, v in pairs(m3:GetChildren()) do
  1325. if v:IsA("Part") then
  1326. v.BrickColor = five
  1327. v.Material = "Neon"
  1328. end
  1329. end
  1330. for i, v in pairs(extrawingmod1:GetChildren()) do
  1331. if v:IsA("Part") then
  1332. v.Transparency = exonetran
  1333. v.BrickColor = exone
  1334. v.Material = "Neon"
  1335. end
  1336. end
  1337. for i, v in pairs(extrawingmod2:GetChildren()) do
  1338. if v:IsA("Part") then
  1339. v.Transparency = extwotran
  1340. v.BrickColor = extwo
  1341. v.Material = "Neon"
  1342. end
  1343. end
  1344. end
  1345.  
  1346. function bosschatfunc(text,color,watval)
  1347. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1348. coroutine.resume(coroutine.create(function()
  1349. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  1350. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  1351. end
  1352. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1353. scrg.Name = "Dialog"
  1354. local txtlb = Instance.new("TextLabel",scrg)
  1355. txtlb.Text = ""
  1356. txtlb.Font = "Bodoni"
  1357. txtlb.TextColor3 = Color3.new(0,0,0)
  1358. txtlb.TextStrokeTransparency = 0
  1359. txtlb.BackgroundTransparency = 0.75
  1360. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  1361. txtlb.TextStrokeColor3 = color
  1362. txtlb.TextScaled = true
  1363. txtlb.Size = UDim2.new(1,0,0.25,0)
  1364. txtlb.TextXAlignment = "Left"
  1365. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  1366. local txtlb2 = Instance.new("TextLabel",scrg)
  1367. txtlb2.Text = "Chaotic:"
  1368. txtlb2.Font = "Arcade"
  1369. txtlb2.TextColor3 = Color3.new(0,0,0)
  1370. txtlb2.TextStrokeTransparency = 0
  1371. txtlb2.BackgroundTransparency = 1
  1372. txtlb2.TextStrokeColor3 = color
  1373. txtlb2.TextSize = 40
  1374. txtlb2.Size = UDim2.new(1,0,0.25,0)
  1375. txtlb2.TextXAlignment = "Left"
  1376. txtlb2.Position = UDim2.new(0,0,1,0)
  1377. local fvalen = 0.55
  1378. local fval = -0.49
  1379. coroutine.resume(coroutine.create(function()
  1380. while true do
  1381. Swait()
  1382. if MODE == "Sanity" then
  1383. txtlb.Rotation = math.random(-1,1)
  1384. txtlb2.Rotation = math.random(-1,1)
  1385. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1386. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1387. txtlb.TextStrokeColor3 = BrickColor.random().Color
  1388. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1389. end
  1390. end
  1391. end))
  1392. coroutine.resume(coroutine.create(function()
  1393. while true do
  1394. Swait()
  1395. if scrg.Parent ~= nil then
  1396. fvalen = fvalen - 0.0001
  1397. elseif scrg.Parent == nil then
  1398. break
  1399. end
  1400. end
  1401. end))
  1402. local flol = 1.75
  1403. local flil = 1.6
  1404. coroutine.resume(coroutine.create(function()
  1405. for i = 0, 9 do
  1406. Swait()
  1407. fval = fval + 0.05
  1408. flol = flol - 0.1
  1409. flil = flil - 0.1
  1410. txtlb.Text = ""
  1411. txtlb.Position = UDim2.new(0,0,flol,0)
  1412. txtlb2.Position = UDim2.new(0,0,flil,0)
  1413. end
  1414. txtlb.Text = text
  1415. wait(watval)
  1416. local valinc = 0
  1417. for i = 0, 99 do
  1418. Swait()
  1419. valinc = valinc + 0.0001
  1420. flol = flol + valinc
  1421. flil = flil + valinc
  1422. txtlb.Rotation = txtlb.Rotation + valinc*20
  1423. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  1424. txtlb.Position = UDim2.new(0,0,flol,0)
  1425. txtlb2.Position = UDim2.new(0,0,flil,0)
  1426. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  1427. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  1428. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1429. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1430. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  1431. end
  1432. scrg:Destroy()
  1433. end))
  1434. end))
  1435. end
  1436. end
  1437.  
  1438. function BigBlack(text,color,watval)
  1439. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1440. coroutine.resume(coroutine.create(function()
  1441. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  1442. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  1443. end
  1444. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1445. scrg.Name = "Dialog"
  1446. local txtlb = Instance.new("TextLabel",scrg)
  1447. txtlb.Text = ""
  1448. txtlb.Font = "Bodoni"
  1449. txtlb.TextColor3 = Color3.new(0,0,0)
  1450. txtlb.TextStrokeTransparency = 1
  1451. txtlb.BackgroundTransparency = 1
  1452. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  1453. txtlb.TextStrokeColor3 = color
  1454. txtlb.TextScaled = true
  1455. txtlb.Size = UDim2.new(1,0,1,0)
  1456. txtlb.TextXAlignment = "Center"
  1457. txtlb.Position = UDim2.new(0,0,6.75 + 1,0)
  1458. local txtlb2 = Instance.new("TextLabel",scrg)
  1459. txtlb2.Text = "Chaotic:"
  1460. txtlb2.Font = "Arcade"
  1461. txtlb2.TextColor3 = Color3.new(0,0,0)
  1462. txtlb2.TextStrokeTransparency = 0
  1463. txtlb2.BackgroundTransparency = 1
  1464. txtlb2.TextStrokeColor3 = color
  1465. txtlb2.TextSize = 40
  1466. txtlb2.Size = UDim2.new(1,0,0.25,0)
  1467. txtlb2.TextXAlignment = "Left"
  1468. txtlb2.Position = UDim2.new(0,0,1,0)
  1469. local fvalen = 0.55
  1470. local fval = -0.49
  1471. coroutine.resume(coroutine.create(function()
  1472. while true do
  1473. Swait()
  1474. if MODE == "Sanity" then
  1475. txtlb.Rotation = math.random(-1,1)
  1476. txtlb2.Rotation = math.random(-1,1)
  1477. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1478. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1479. txtlb.TextStrokeColor3 = BrickColor.random().Color
  1480. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1481. end
  1482. end
  1483. end))
  1484. coroutine.resume(coroutine.create(function()
  1485. while true do
  1486. Swait()
  1487. if scrg.Parent ~= nil then
  1488. fvalen = fvalen - 0.0001
  1489. elseif scrg.Parent == nil then
  1490. break
  1491. end
  1492. end
  1493. end))
  1494. local flol = 1.05
  1495. local flil = 0.75
  1496. local flil2 = -0.2
  1497. coroutine.resume(coroutine.create(function()
  1498. for i = 1,string.len(text),1 do
  1499. wait()
  1500. text.Text = string.sub(text,1,i)
  1501. end
  1502. end))
  1503. coroutine.resume(coroutine.create(function()
  1504. for i = 0, 1 do
  1505. fval = fval + 0.05
  1506. flol = flol - 0.1
  1507. flil2 = flil2 + 0.1
  1508. txtlb.Text = ""
  1509. txtlb.Position = UDim2.new(flil2,0,0,0)
  1510. txtlb.BackgroundTransparency = 1 - 0.1
  1511. txtlb2.Position = UDim2.new(flil2,0,0,0)
  1512. end
  1513.  
  1514. for i = 0, 99 do
  1515. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency - 0.01
  1516. txtlb.TextTransparency = txtlb.TextTransparency - 0.01
  1517. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency - 0.01
  1518. txtlb2.TextTransparency = txtlb2.TextTransparency - 0.01
  1519. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency - 0.0025
  1520. end
  1521.  
  1522. txtlb.Text = text
  1523. wait(watval)
  1524. local valinc = 0
  1525. for i = 0, 99 do
  1526. Swait()
  1527. valinc = valinc + 0.0002
  1528. flol = flol + valinc
  1529. flil2 = flil2 + valinc
  1530. txtlb.Rotation = txtlb.Rotation + valinc*15
  1531. txtlb2.Rotation = txtlb2.Rotation - valinc*15
  1532. txtlb.Position = UDim2.new(flil2,0,0,0)
  1533. txtlb2.Position = UDim2.new(flil2,0,0,0)
  1534. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  1535. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  1536. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1537. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1538. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  1539. end
  1540. scrg:Destroy()
  1541. end))
  1542. end))
  1543. end
  1544. end
  1545. ------
  1546.  
  1547.  
  1548. function RemoveOutlines(part)
  1549. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1550. end
  1551. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1552. local Part = Create("Part")({
  1553. Parent = Parent,
  1554. Reflectance = Reflectance,
  1555. Transparency = Transparency,
  1556. CanCollide = false,
  1557. Locked = true,
  1558. BrickColor = BrickColor.new(tostring(BColor)),
  1559. Name = Name,
  1560. Size = Size,
  1561. Material = Material
  1562. })
  1563. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1564. RemoveOutlines(Part)
  1565. return Part
  1566. end
  1567. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1568. local Msh = Create(Mesh)({
  1569. Parent = Part,
  1570. Offset = OffSet,
  1571. Scale = Scale
  1572. })
  1573. if Mesh == "SpecialMesh" then
  1574. Msh.MeshType = MeshType
  1575. Msh.MeshId = MeshId
  1576. end
  1577. return Msh
  1578. end
  1579. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1580. local Weld = Create("Weld")({
  1581. Parent = Parent,
  1582. Part0 = Part0,
  1583. Part1 = Part1,
  1584. C0 = C0,
  1585. C1 = C1
  1586. })
  1587. return Weld
  1588. end
  1589.  
  1590.  
  1591.  
  1592. Player = plr
  1593. PlayerGui = Player.PlayerGui
  1594. Cam = workspace.CurrentCamera
  1595. Backpack = Player.Backpack
  1596. Character = Player.Character
  1597. Humanoid = Character.Humanoid
  1598. RootPart = Character["HumanoidRootPart"]
  1599. Torso = Character["Torso"]
  1600. Head = Character["Head"]
  1601. RightArm = Character["Right Arm"]
  1602. LeftArm = Character["Left Arm"]
  1603. RightLeg = Character["Right Leg"]
  1604. LeftLeg = Character["Left Leg"]
  1605. RootJoint = RootPart["RootJoint"]
  1606. Neck = Torso["Neck"]
  1607. RightShoulder = Torso["Right Shoulder"]
  1608. LeftShoulder = Torso["Left Shoulder"]
  1609. RightHip = Torso["Right Hip"]
  1610. LeftHip = Torso["Left Hip"]
  1611. local sick = Instance.new("Sound",Torso)
  1612. sick.SoundId = "rbxassetid://1306847940"
  1613. sick.Looped = true
  1614. sick.Pitch = 1
  1615. sick.Volume = 0
  1616. sick.TimePosition = 0
  1617. Character.Archivable = true
  1618. Humanoid.DisplayDistanceType = "None"
  1619.  
  1620. local naeeym2 = Instance.new("BillboardGui",Character)
  1621. naeeym2.AlwaysOnTop = true
  1622. naeeym2.Size = UDim2.new(5,35,2,35)
  1623. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1624. naeeym2.Adornee = Character.Head
  1625. naeeym2.Name = "Name"
  1626. local tecks2 = Instance.new("TextLabel",naeeym2)
  1627. tecks2.BackgroundTransparency = 1
  1628. tecks2.TextScaled = true
  1629. tecks2.BorderSizePixel = 0
  1630. tecks2.Text = "Lunar"
  1631. tecks2.Font = "Antique"
  1632. tecks2.TextSize = 30
  1633. tecks2.TextTransparency = 1
  1634. tecks2.TextStrokeTransparency = 1
  1635. tecks2.TextColor3 = Color3.new(0/255,0/255,255/255)
  1636. tecks2.Size = UDim2.new(1,0,0.5,0)
  1637. tecks2.Parent = naeeym2
  1638.  
  1639. IT = Instance.new
  1640. CF = CFrame.new
  1641. VT = Vector3.new
  1642. RAD = math.rad
  1643. C3 = Color3.new
  1644. UD2 = UDim2.new
  1645. BRICKC = BrickColor.new
  1646. ANGLES = CFrame.Angles
  1647. EULER = CFrame.fromEulerAnglesXYZ
  1648. COS = math.cos
  1649. ACOS = math.acos
  1650. SIN = math.sin
  1651. ASIN = math.asin
  1652. ABS = math.abs
  1653. MRANDOM = math.random
  1654. FLOOR = math.floor
  1655.  
  1656. --//=================================\\
  1657. --|| USEFUL VALUES
  1658. --\\=================================//
  1659.  
  1660. Animation_Speed = 3
  1661. local FORCERESET = false
  1662. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1663. local Speed = 16
  1664. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1665. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1666. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1667. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1668. local DAMAGEMULTIPLIER = 1
  1669. local ANIM = "Idle"
  1670. local ATTACK = false
  1671. local EQUIPPED = false
  1672. local HOLD = false
  1673. local COMBO = 1
  1674. local Rooted = false
  1675. local INTRO = false
  1676. local Gun = IT("Model")
  1677. Gun.Name = "Gun"
  1678. local SINE = 0
  1679. local KEYHOLD = false
  1680. local CHANGE = 2 / Animation_Speed
  1681. local WALKINGANIM = false
  1682. local VALUE1 = false
  1683. local VALUE2 = false
  1684. local ROBLOXIDLEANIMATION = IT("Animation")
  1685. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1686. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1687. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1688. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1689. WEAPONGUI.Name = "BanishV3Gui"
  1690. local Weapon = IT("Model")
  1691. Weapon.Name = "Adds"
  1692. local FaceGradient = IT("Folder", Character)
  1693. FaceGradient.Name = "FaceGradient"
  1694. local Effects = IT("Folder", Weapon)
  1695. Effects.Name = "Effects"
  1696. local ANIMATOR = Humanoid.Animator
  1697. local ANIMATE = Character:FindFirstChild("Animate")
  1698. local UNANCHOR = true
  1699. local TOBANISH = {}
  1700. script.Parent = PlayerGui
  1701.  
  1702. --//=================================\\
  1703. --\\=================================//
  1704.  
  1705.  
  1706. --//=================================\\
  1707. --|| CUSTOMIZATION
  1708. --\\=================================//
  1709.  
  1710. Class_Name = "Sharpshooter"
  1711. Weapon_Name = "Add-ons"
  1712.  
  1713. Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
  1714. Custom_Color_2 = BRICKC("Maroon"); --2nd color for the weapon.
  1715.  
  1716. Custom_Color_3 = BRICKC("Navy blue"); --Color for the abilities.
  1717. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  1718. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  1719. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  1720. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  1721.  
  1722. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  1723. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  1724. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  1725. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  1726. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  1727.  
  1728.  
  1729. Player_Size = 1 --Size of the player.
  1730. Animation_Speed = 3
  1731. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1732.  
  1733. local Speed = 16
  1734. local Effects2 = {}
  1735.  
  1736. --//=================================\\
  1737. --|| END OF CUSTOMIZATION
  1738. --\\=================================//
  1739.  
  1740.  
  1741. --//=================================\\
  1742. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1743. --\\=================================//
  1744.  
  1745. ArtificialHB = Instance.new("BindableEvent", script)
  1746. ArtificialHB.Name = "ArtificialHB"
  1747.  
  1748. script:WaitForChild("ArtificialHB")
  1749.  
  1750. frame = Frame_Speed
  1751. tf = 0
  1752. allowframeloss = false
  1753. tossremainder = false
  1754. lastframe = tick()
  1755. script.ArtificialHB:Fire()
  1756.  
  1757. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1758. tf = tf + s
  1759. if tf >= frame then
  1760. if allowframeloss then
  1761. script.ArtificialHB:Fire()
  1762. lastframe = tick()
  1763. else
  1764. for i = 1, math.floor(tf / frame) do
  1765. script.ArtificialHB:Fire()
  1766. end
  1767. lastframe = tick()
  1768. end
  1769. if tossremainder then
  1770. tf = 0
  1771. else
  1772. tf = tf - frame * math.floor(tf / frame)
  1773. end
  1774. end
  1775. end)
  1776.  
  1777. --//=================================\\
  1778. --\\=================================//
  1779.  
  1780. --//=================================\\
  1781. --|| SOME FUNCTIONS
  1782. --\\=================================//
  1783.  
  1784. function Clerp(a, b, t)
  1785. local qa = {QuaternionFromCFrame(a)}
  1786. local qb = {QuaternionFromCFrame(b)}
  1787. local ax, ay, az = a.x, a.y, a.z
  1788. local bx, by, bz = b.x, b.y, b.z
  1789. local _t = 1 - t
  1790. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1791. end
  1792.  
  1793. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1794. local frame = IT("Frame")
  1795. frame.BackgroundTransparency = TRANSPARENCY
  1796. frame.BorderSizePixel = BORDERSIZEPIXEL
  1797. frame.Position = POSITION
  1798. frame.Size = SIZE
  1799. frame.BackgroundColor3 = COLOR
  1800. frame.BorderColor3 = BORDERCOLOR
  1801. frame.Name = NAME
  1802. frame.Parent = PARENT
  1803. return frame
  1804. end
  1805.  
  1806. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1807. local label = IT("TextLabel")
  1808. label.BackgroundTransparency = 1
  1809. label.Size = UD2(1, 0, 1, 0)
  1810. label.Position = UD2(0, 0, 0, 0)
  1811. label.TextColor3 = TEXTCOLOR
  1812. label.TextStrokeTransparency = STROKETRANSPARENCY
  1813. label.TextTransparency = TRANSPARENCY
  1814. label.FontSize = TEXTFONTSIZE
  1815. label.Font = TEXTFONT
  1816. label.BorderSizePixel = BORDERSIZEPIXEL
  1817. label.TextScaled = false
  1818. label.Text = TEXT
  1819. label.Name = NAME
  1820. label.Parent = PARENT
  1821. return label
  1822. end
  1823.  
  1824. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1825. if FLOOR ~= nil then
  1826. coroutine.resume(coroutine.create(function()
  1827. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  1828. PART.CFrame = CF(POSITION)
  1829. for i = 1, 45 do
  1830. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1831. RingPiece.Material = FLOOR.Material
  1832. RingPiece.Color = FLOOR.Color
  1833. 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)))
  1834. Debris:AddItem(RingPiece,SWAIT)
  1835. end
  1836. PART:remove()
  1837. end))
  1838. end
  1839. end
  1840.  
  1841. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1842. if FLOOR ~= nil then
  1843. for i = 1, AMOUNT do
  1844. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  1845. DEBREE.Material = FLOOR.Material
  1846. DEBREE.Color = FLOOR.Color
  1847. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1848. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  1849. coroutine.resume(coroutine.create(function()
  1850. Swait(15)
  1851. DEBREE.Parent = workspace
  1852. DEBREE.CanCollide = true
  1853. Debris:AddItem(DEBREE,SWAIT)
  1854. end))
  1855. end
  1856. end
  1857. end
  1858.  
  1859. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1860. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1861. end
  1862.  
  1863. function PositiveAngle(NUMBER)
  1864. if NUMBER >= 0 then
  1865. NUMBER = 0
  1866. end
  1867. return NUMBER
  1868. end
  1869.  
  1870. function NegativeAngle(NUMBER)
  1871. if NUMBER <= 0 then
  1872. NUMBER = 0
  1873. end
  1874. return NUMBER
  1875. end
  1876.  
  1877. function Swait(NUMBER)
  1878. if NUMBER == 0 or NUMBER == nil then
  1879. ArtificialHB.Event:wait()
  1880. else
  1881. for i = 1, NUMBER do
  1882. ArtificialHB.Event:wait()
  1883. end
  1884. end
  1885. end
  1886.  
  1887. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1888. local NEWMESH = IT(MESH)
  1889. if MESH == "SpecialMesh" then
  1890. NEWMESH.MeshType = MESHTYPE
  1891. if MESHID ~= "nil" and MESHID ~= "" then
  1892. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1893. end
  1894. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1895. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1896. end
  1897. end
  1898. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1899. NEWMESH.Scale = SCALE
  1900. NEWMESH.Parent = PARENT
  1901. return NEWMESH
  1902. end
  1903.  
  1904. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1905. local NEWPART = IT("Part")
  1906. NEWPART.formFactor = FORMFACTOR
  1907. NEWPART.Reflectance = REFLECTANCE
  1908. NEWPART.Transparency = TRANSPARENCY
  1909. NEWPART.CanCollide = false
  1910. NEWPART.Locked = true
  1911. NEWPART.Anchored = true
  1912. if ANCHOR == false then
  1913. NEWPART.Anchored = false
  1914. end
  1915. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1916. NEWPART.Name = NAME
  1917. NEWPART.Size = SIZE
  1918. NEWPART.Position = Torso.Position
  1919. NEWPART.Material = MATERIAL
  1920. NEWPART:BreakJoints()
  1921. NEWPART.Parent = PARENT
  1922. return NEWPART
  1923. end
  1924.  
  1925. local function weldBetween(a, b)
  1926. local weldd = Instance.new("ManualWeld")
  1927. weldd.Part0 = a
  1928. weldd.Part1 = b
  1929. weldd.C0 = CFrame.new()
  1930. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1931. weldd.Parent = a
  1932. return weldd
  1933. end
  1934.  
  1935.  
  1936. function QuaternionFromCFrame(cf)
  1937. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1938. local trace = m00 + m11 + m22
  1939. if trace > 0 then
  1940. local s = math.sqrt(1 + trace)
  1941. local recip = 0.5 / s
  1942. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1943. else
  1944. local i = 0
  1945. if m11 > m00 then
  1946. i = 1
  1947. end
  1948. if m22 > (i == 0 and m00 or m11) then
  1949. i = 2
  1950. end
  1951. if i == 0 then
  1952. local s = math.sqrt(m00 - m11 - m22 + 1)
  1953. local recip = 0.5 / s
  1954. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1955. elseif i == 1 then
  1956. local s = math.sqrt(m11 - m22 - m00 + 1)
  1957. local recip = 0.5 / s
  1958. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1959. elseif i == 2 then
  1960. local s = math.sqrt(m22 - m00 - m11 + 1)
  1961. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1962. end
  1963. end
  1964. end
  1965.  
  1966. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1967. local xs, ys, zs = x + x, y + y, z + z
  1968. local wx, wy, wz = w * xs, w * ys, w * zs
  1969. local xx = x * xs
  1970. local xy = x * ys
  1971. local xz = x * zs
  1972. local yy = y * ys
  1973. local yz = y * zs
  1974. local zz = z * zs
  1975. 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))
  1976. end
  1977.  
  1978. function QuaternionSlerp(a, b, t)
  1979. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1980. local startInterp, finishInterp;
  1981. if cosTheta >= 0.0001 then
  1982. if (1 - cosTheta) > 0.0001 then
  1983. local theta = ACOS(cosTheta)
  1984. local invSinTheta = 1 / SIN(theta)
  1985. startInterp = SIN((1 - t) * theta) * invSinTheta
  1986. finishInterp = SIN(t * theta) * invSinTheta
  1987. else
  1988. startInterp = 1 - t
  1989. finishInterp = t
  1990. end
  1991. else
  1992. if (1 + cosTheta) > 0.0001 then
  1993. local theta = ACOS(-cosTheta)
  1994. local invSinTheta = 1 / SIN(theta)
  1995. startInterp = SIN((t - 1) * theta) * invSinTheta
  1996. finishInterp = SIN(t * theta) * invSinTheta
  1997. else
  1998. startInterp = t - 1
  1999. finishInterp = t
  2000. end
  2001. end
  2002. 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
  2003. end
  2004.  
  2005. function Clerp(a, b, t)
  2006. local qa = {QuaternionFromCFrame(a)}
  2007. local qb = {QuaternionFromCFrame(b)}
  2008. local ax, ay, az = a.x, a.y, a.z
  2009. local bx, by, bz = b.x, b.y, b.z
  2010. local _t = 1 - t
  2011. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2012. end
  2013.  
  2014. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2015. local frame = IT("Frame")
  2016. frame.BackgroundTransparency = TRANSPARENCY
  2017. frame.BorderSizePixel = BORDERSIZEPIXEL
  2018. frame.Position = POSITION
  2019. frame.Size = SIZE
  2020. frame.BackgroundColor3 = COLOR
  2021. frame.BorderColor3 = BORDERCOLOR
  2022. frame.Name = NAME
  2023. frame.Parent = PARENT
  2024. return frame
  2025. end
  2026.  
  2027. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2028. local label = IT("TextLabel")
  2029. label.BackgroundTransparency = 1
  2030. label.Size = UD2(1, 0, 1, 0)
  2031. label.Position = UD2(0, 0, 0, 0)
  2032. label.TextColor3 = TEXTCOLOR
  2033. label.TextStrokeTransparency = STROKETRANSPARENCY
  2034. label.TextTransparency = TRANSPARENCY
  2035. label.FontSize = TEXTFONTSIZE
  2036. label.Font = TEXTFONT
  2037. label.BorderSizePixel = BORDERSIZEPIXEL
  2038. label.TextScaled = false
  2039. label.Text = TEXT
  2040. label.Name = NAME
  2041. label.Parent = PARENT
  2042. return label
  2043. end
  2044.  
  2045. function NoOutlines(PART)
  2046. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2047. end
  2048.  
  2049. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2050. local NEWWELD = IT(TYPE)
  2051. NEWWELD.Part0 = PART0
  2052. NEWWELD.Part1 = PART1
  2053. NEWWELD.C0 = C0
  2054. NEWWELD.C1 = C1
  2055. NEWWELD.Parent = PARENT
  2056. return NEWWELD
  2057. end
  2058.  
  2059. local S = IT("Sound")
  2060. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2061. local NEWSOUND = nil
  2062. coroutine.resume(coroutine.create(function()
  2063. NEWSOUND = S:Clone()
  2064. NEWSOUND.Parent = PARENT
  2065. NEWSOUND.Volume = VOLUME
  2066. NEWSOUND.Pitch = PITCH
  2067. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2068. NEWSOUND:play()
  2069. if DOESLOOP == true then
  2070. NEWSOUND.Looped = true
  2071. else
  2072. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  2073. NEWSOUND:remove()
  2074. end
  2075. end))
  2076. return NEWSOUND
  2077. end
  2078.  
  2079. function CFrameFromTopBack(at, top, back)
  2080. local right = top:Cross(back)
  2081. 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)
  2082. end
  2083.  
  2084. --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})
  2085. function WACKYEFFECT(Table)
  2086. local TYPE = (Table.EffectType or "Sphere")
  2087. local SIZE = (Table.Size or VT(1,1,1))
  2088. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2089. local TRANSPARENCY = (Table.Transparency or 0)
  2090. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2091. local CFRAME = (Table.CFrame or Torso.CFrame)
  2092. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2093. local ROTATION1 = (Table.RotationX or 0)
  2094. local ROTATION2 = (Table.RotationY or 0)
  2095. local ROTATION3 = (Table.RotationZ or 0)
  2096. local MATERIAL = (Table.Material or "Neon")
  2097. local COLOR = (Table.Color or C3(1,1,1))
  2098. local TIME = (Table.Time or 45)
  2099. local SOUNDID = (Table.SoundID or nil)
  2100. local SOUNDPITCH = (Table.SoundPitch or nil)
  2101. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2102. coroutine.resume(coroutine.create(function()
  2103. local PLAYSSOUND = false
  2104. local SOUND = nil
  2105. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2106. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2107. PLAYSSOUND = true
  2108. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2109. end
  2110. EFFECT.Color = COLOR
  2111. local MSH = nil
  2112. if TYPE == "Sphere" then
  2113. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2114. elseif TYPE == "Block" then
  2115. MSH = IT("BlockMesh",EFFECT)
  2116. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2117. elseif TYPE == "Wave" then
  2118. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2119. elseif TYPE == "Ring" then
  2120. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2121. elseif TYPE == "Slash" then
  2122. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2123. elseif TYPE == "Round Slash" then
  2124. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2125. elseif TYPE == "Swirl" then
  2126. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2127. elseif TYPE == "Skull" then
  2128. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2129. elseif TYPE == "Crystal" then
  2130. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2131. end
  2132. if MSH ~= nil then
  2133. local MOVESPEED = nil
  2134. if MOVEDIRECTION ~= nil then
  2135. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2136. end
  2137. local GROWTH = SIZE - ENDSIZE
  2138. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2139. if TYPE == "Block" then
  2140. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2141. else
  2142. EFFECT.CFrame = CFRAME
  2143. end
  2144. for LOOP = 1, TIME+1 do
  2145. Swait()
  2146. MSH.Scale = MSH.Scale - GROWTH/TIME
  2147. if TYPE == "Wave" then
  2148. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2149. end
  2150. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2151. if TYPE == "Block" then
  2152. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2153. else
  2154. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2155. end
  2156. if MOVEDIRECTION ~= nil then
  2157. local ORI = EFFECT.Orientation
  2158. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2159. EFFECT.Orientation = ORI
  2160. end
  2161. end
  2162. if PLAYSSOUND == false then
  2163. EFFECT:remove()
  2164. else
  2165. SOUND.Stopped:Connect(function()
  2166. EFFECT:remove()
  2167. end)
  2168. end
  2169. else
  2170. if PLAYSSOUND == false then
  2171. EFFECT:remove()
  2172. else
  2173. repeat Swait() until SOUND.Playing == false
  2174. EFFECT:remove()
  2175. end
  2176. end
  2177. end))
  2178. end
  2179.  
  2180. local DECAL = IT("Decal")
  2181. function MakeRing()
  2182. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Navy blue"), "MagicRing", VT(0, 0, 0), true)
  2183. local MSH = IT("BlockMesh", RING)
  2184. local TOP = DECAL:Clone()
  2185. local BOTTOM = DECAL:Clone()
  2186. TOP.Parent = RING
  2187. BOTTOM.Parent = RING
  2188. TOP.Face = "Top"
  2189. BOTTOM.Face = "Bottom"
  2190. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  2191. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  2192. local function REMOVE()
  2193. coroutine.resume(coroutine.create(function()
  2194. local SIZE = MSH.Scale.X
  2195. for i = 1, 35 do
  2196. Swait()
  2197. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  2198. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  2199. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  2200. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  2201. end
  2202. RING:remove()
  2203. end))
  2204. end
  2205. return RING, MSH, REMOVE
  2206. end
  2207.  
  2208. function MakeForm(PART,TYPE)
  2209. if TYPE == "Cyl" then
  2210. local MSH = IT("CylinderMesh",PART)
  2211. elseif TYPE == "Ball" then
  2212. local MSH = IT("SpecialMesh",PART)
  2213. MSH.MeshType = "Sphere"
  2214. elseif TYPE == "Wedge" then
  2215. local MSH = IT("SpecialMesh",PART)
  2216. MSH.MeshType = "Wedge"
  2217. end
  2218. end
  2219.  
  2220. function SpawnTrail(FROM,TO,BIG)
  2221. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Navy blue", "Trail", VT(0,0,0))
  2222. MakeForm(TRAIL,"Cyl")
  2223. local DIST = (FROM - TO).Magnitude
  2224. if BIG == true then
  2225. TRAIL.Size = VT(0.5,DIST,0.5)
  2226. else
  2227. TRAIL.Size = VT(0.25,DIST,0.25)
  2228. end
  2229. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2230. coroutine.resume(coroutine.create(function()
  2231. for i = 1, 5 do
  2232. Swait()
  2233. TRAIL.Transparency = TRAIL.Transparency + 0.1
  2234. end
  2235. TRAIL:remove()
  2236. end))
  2237. end
  2238. --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})
  2239. function WACKYEFFECT(Table)
  2240. local TYPE = (Table.EffectType or "Sphere")
  2241. local SIZE = (Table.Size or VT(1,1,1))
  2242. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2243. local TRANSPARENCY = (Table.Transparency or 0)
  2244. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2245. local CFRAME = (Table.CFrame or Torso.CFrame)
  2246. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2247. local ROTATION1 = (Table.RotationX or 0)
  2248. local ROTATION2 = (Table.RotationY or 0)
  2249. local ROTATION3 = (Table.RotationZ or 0)
  2250. local MATERIAL = (Table.Material or "Neon")
  2251. local COLOR = (Table.Color or C3(1,1,1))
  2252. local TIME = (Table.Time or 45)
  2253. local SOUNDID = (Table.SoundID or nil)
  2254. local SOUNDPITCH = (Table.SoundPitch or nil)
  2255. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2256. coroutine.resume(coroutine.create(function()
  2257. local PLAYSSOUND = false
  2258. local SOUND = nil
  2259. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2260. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2261. PLAYSSOUND = true
  2262. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2263. end
  2264. EFFECT.Color = COLOR
  2265. local MSH = nil
  2266. if TYPE == "Sphere" then
  2267. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2268. elseif TYPE == "Block" or TYPE == "Box" then
  2269. MSH = IT("BlockMesh",EFFECT)
  2270. MSH.Scale = SIZE
  2271. elseif TYPE == "Wave" then
  2272. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2273. elseif TYPE == "Ring" then
  2274. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2275. elseif TYPE == "Slash" then
  2276. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2277. elseif TYPE == "Round Slash" then
  2278. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2279. elseif TYPE == "Swirl" then
  2280. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2281. elseif TYPE == "Skull" then
  2282. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2283. elseif TYPE == "Crystal" then
  2284. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2285. end
  2286. if MSH ~= nil then
  2287. local MOVESPEED = nil
  2288. if MOVEDIRECTION ~= nil then
  2289. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2290. end
  2291. local GROWTH = SIZE - ENDSIZE
  2292. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2293. if TYPE == "Block" then
  2294. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2295. else
  2296. EFFECT.CFrame = CFRAME
  2297. end
  2298. for LOOP = 1, TIME+1 do
  2299. Swait()
  2300. MSH.Scale = MSH.Scale - GROWTH/TIME
  2301. if TYPE == "Wave" then
  2302. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2303. end
  2304. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2305. if TYPE == "Block" then
  2306. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2307. else
  2308. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2309. end
  2310. if MOVEDIRECTION ~= nil then
  2311. local ORI = EFFECT.Orientation
  2312. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2313. EFFECT.Orientation = ORI
  2314. end
  2315. end
  2316. if PLAYSSOUND == false then
  2317. EFFECT:remove()
  2318. else
  2319. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  2320. EFFECT:remove()
  2321. end
  2322. else
  2323. if PLAYSSOUND == false then
  2324. EFFECT:remove()
  2325. else
  2326. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  2327. EFFECT:remove()
  2328. end
  2329. end
  2330. end))
  2331. end
  2332.  
  2333. function MakeForm(PART,TYPE)
  2334. if TYPE == "Cyl" then
  2335. local MSH = IT("CylinderMesh",PART)
  2336. elseif TYPE == "Ball" then
  2337. local MSH = IT("SpecialMesh",PART)
  2338. MSH.MeshType = "Sphere"
  2339. elseif TYPE == "Wedge" then
  2340. local MSH = IT("SpecialMesh",PART)
  2341. MSH.MeshType = "Wedge"
  2342. end
  2343. end
  2344.  
  2345. function SpawnTrail(FROM,TO,BIG)
  2346. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Navy blue", "Trail", VT(0,0,0))
  2347. MakeForm(TRAIL,"Cyl")
  2348. local DIST = (FROM - TO).Magnitude
  2349. if BIG == true then
  2350. TRAIL.Size = VT(0.5,DIST,0.5)
  2351. else
  2352. TRAIL.Size = VT(0.25,DIST,0.25)
  2353. end
  2354. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2355. coroutine.resume(coroutine.create(function()
  2356. for i = 1, 5 do
  2357. Swait()
  2358. TRAIL.Transparency = TRAIL.Transparency + 0.1
  2359. end
  2360. TRAIL:remove()
  2361. end))
  2362. end
  2363.  
  2364. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  2365. local TORSO = Torso
  2366. local HUM = Humanoid
  2367. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2368. coroutine.wrap(function()
  2369. VT = Vector3.new
  2370. MRANDOM = math.random
  2371. local A = TIME
  2372. local B = INTENSITY
  2373. local C = true
  2374. local HUMANOID = Humanoid
  2375. local TIMER = A or 35
  2376. local SHAKE = B or 5
  2377. local FADE = C or true
  2378. if HUMANOID then
  2379. local FADER = SHAKE / TIMER
  2380. for i = 1, TIMER do
  2381. wait()
  2382. 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)
  2383. end
  2384. HUMANOID.CameraOffset = VT(0, 0, 0)
  2385. end
  2386.  
  2387. end)()
  2388. end
  2389. end
  2390.  
  2391. function chatfunc(text)
  2392. local chat = coroutine.wrap(function()
  2393. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2394. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2395. end
  2396. local Bill = Instance.new("BillboardGui",Character)
  2397. Bill.Size = UDim2.new(0,100,0,40)
  2398. Bill.StudsOffset = Vector3.new(0,3,0)
  2399. Bill.Adornee = Character.Head
  2400. Bill.Name = "TalkingBillBoard"
  2401. local Hehe = Instance.new("TextLabel",Bill)
  2402. Hehe.BackgroundTransparency = 1
  2403. Hehe.BorderSizePixel = 0
  2404. Hehe.Text = ""
  2405. Hehe.Font = "Bodoni"
  2406. Hehe.TextSize = 40
  2407. Hehe.TextStrokeTransparency = 0
  2408. Hehe.Size = UDim2.new(1,0,0.5,0)
  2409. coroutine.resume(coroutine.create(function()
  2410. while Hehe ~= nil do
  2411. Swait()
  2412. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  2413. Hehe.Rotation = math.random(-2.5,2.5)
  2414. Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0)
  2415. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  2416. end
  2417. end))
  2418. for i = 1,string.len(text),1 do
  2419. Swait()
  2420. Hehe.Text = string.sub(text,1,i)
  2421. end
  2422. Swait(90)--Re[math.random(1, 93)]
  2423. for i = 0, 1, .025 do
  2424. Swait()
  2425. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2426. Hehe.TextStrokeTransparency = i
  2427. Hehe.TextTransparency = i
  2428. end
  2429. Bill:Destroy()
  2430. end)
  2431. chat()
  2432. end
  2433.  
  2434. Debris = game:GetService("Debris")
  2435.  
  2436. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2437. local DIRECTION = CF(StartPos,EndPos).lookVector
  2438. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2439. end
  2440.  
  2441. function turnto(position)
  2442. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2443. end
  2444.  
  2445. --//=================================\\
  2446. --|| RAGDOLL STUFF
  2447. --\\=================================//
  2448.  
  2449. function recurse(root,callback,i)
  2450. i= i or 0
  2451. for _,v in pairs(root:GetChildren()) do
  2452. i = i + 1
  2453. callback(i,v)
  2454.  
  2455. if #v:GetChildren() > 0 then
  2456. i = recurse(v,callback,i)
  2457. end
  2458. end
  2459.  
  2460. return i
  2461. end
  2462.  
  2463. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  2464. attachmentName = attachmentName.."RigAttachment"
  2465. local constraint = Instance.new(className.."Constraint")
  2466. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  2467. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  2468. constraint.Name = "RagdollConstraint"..part1.Name
  2469.  
  2470. for _,propertyData in next,properties or {} do
  2471. constraint[propertyData[1]] = propertyData[2]
  2472. end
  2473.  
  2474. constraint.Parent = character
  2475. end
  2476.  
  2477. function getAttachment0(character, attachmentName)
  2478. for _,child in next,character:GetChildren() do
  2479. local attachment = child:FindFirstChild(attachmentName)
  2480. if attachment then
  2481. return attachment
  2482. end
  2483. end
  2484. end
  2485.  
  2486. function ArtificialHitbox(Part)
  2487. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  2488. HITBOX.CanCollide = true
  2489. HITBOX.CFrame = Part.CFrame
  2490. weldBetween(Part,HITBOX)
  2491. end
  2492.  
  2493. function R15Ragdoll(character,KeepArms)
  2494. character:BreakJoints()
  2495. coroutine.resume(coroutine.create(function()
  2496. recurse(character, function(_,v)
  2497. if v:IsA("Attachment") then
  2498. v.Axis = Vector3.new(0, 1, 0)
  2499. v.SecondaryAxis = Vector3.new(0, 0, 1)
  2500. v.Rotation = Vector3.new(0, 0, 0)
  2501. end
  2502. end)
  2503. for _,child in next,character:GetChildren() do
  2504. if child:IsA("Accoutrement") then
  2505. for _,part in next,child:GetChildren() do
  2506. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  2507. local attachment1 = part:FindFirstChildOfClass("Attachment")
  2508. local attachment0 = getAttachment0(character,attachment1.Name)
  2509. if attachment0 and attachment1 then
  2510. local constraint = Instance.new("HingeConstraint")
  2511. constraint.Attachment0 = attachment0
  2512. constraint.Attachment1 = attachment1
  2513. constraint.LimitsEnabled = true
  2514. constraint.UpperAngle = 0
  2515. constraint.LowerAngle = 0
  2516. constraint.Parent = character
  2517. end
  2518. ArtificialHitbox(part)
  2519. elseif part.Name == "HumanoidRootPart" then
  2520. part:remove()
  2521. end
  2522. end
  2523. end
  2524. end
  2525.  
  2526. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  2527. {"LimitsEnabled",true};
  2528. {"UpperAngle",5};
  2529. })
  2530. if character:FindFirstChild("Head") then
  2531. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  2532. {"LimitsEnabled",true};
  2533. {"UpperAngle",15};
  2534. })
  2535. end
  2536.  
  2537. local handProperties = {
  2538. {"LimitsEnabled", true};
  2539. {"UpperAngle",0};
  2540. {"LowerAngle",0};
  2541. }
  2542. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  2543. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  2544.  
  2545. local shinProperties = {
  2546. {"LimitsEnabled", true};
  2547. {"UpperAngle", 0};
  2548. {"LowerAngle", -75};
  2549. }
  2550. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  2551. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  2552.  
  2553. local footProperties = {
  2554. {"LimitsEnabled", true};
  2555. {"UpperAngle", 15};
  2556. {"LowerAngle", -45};
  2557. }
  2558. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  2559. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  2560. if KeepArms == true then
  2561. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  2562. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  2563. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  2564. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  2565. end
  2566. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  2567. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  2568. Debris:AddItem(character,5)
  2569. end))
  2570. end
  2571.  
  2572. function Ragdoll(Character2,CharTorso,KeepArms)
  2573. coroutine.resume(coroutine.create(function()
  2574. Character2:BreakJoints()
  2575. local hum = Character2:findFirstChild("Humanoid")
  2576. hum:remove()
  2577. local function Scan(ch)
  2578. local e
  2579. for e = 1,#ch do
  2580. Scan(ch[e]:GetChildren())
  2581. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2582. ch[e]:remove()
  2583. end
  2584. end
  2585. end
  2586. local NEWHUM = IT("Humanoid")
  2587. NEWHUM.Name = "Corpse"
  2588. NEWHUM.Health = 0
  2589. NEWHUM.MaxHealth = 0
  2590. NEWHUM.PlatformStand = true
  2591. NEWHUM.Parent = Character2
  2592. NEWHUM.DisplayDistanceType = "None"
  2593.  
  2594. local ch = Character2:GetChildren()
  2595. local i
  2596. for i = 1,#ch do
  2597. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2598. ch[i]:remove()
  2599. end
  2600. end
  2601.  
  2602. local Torso2 = Character2.Torso
  2603. local movevector = Vector3.new()
  2604.  
  2605. if Torso2 then
  2606. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  2607. local Head = Character2:FindFirstChild("Head")
  2608. if Head then
  2609. local Neck = Instance.new("Weld")
  2610. Neck.Name = "Neck"
  2611. Neck.Part0 = Torso2
  2612. Neck.Part1 = Head
  2613. Neck.C0 = CFrame.new(0, 1.5, 0)
  2614. Neck.C1 = CFrame.new()
  2615. Neck.Parent = Torso2
  2616.  
  2617. end
  2618. local Limb = Character2:FindFirstChild("Right Arm")
  2619. if Limb and KeepArms == true then
  2620.  
  2621. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  2622. local Joint = Instance.new("Glue")
  2623. Joint.Name = "RightShoulder"
  2624. Joint.Part0 = Torso2
  2625. Joint.Part1 = Limb
  2626. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2627. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2628. Joint.Parent = Torso2
  2629.  
  2630. local B = Instance.new("Part")
  2631. B.TopSurface = 0
  2632. B.BottomSurface = 0
  2633. B.formFactor = "Symmetric"
  2634. B.Size = Vector3.new(1, 1, 1)
  2635. B.Transparency = 1
  2636. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2637. B.Parent = Character2
  2638. local W = Instance.new("Weld")
  2639. W.Part0 = Limb
  2640. W.Part1 = B
  2641. W.C0 = CFrame.new(0, -0.5, 0)
  2642. W.Parent = Limb
  2643.  
  2644. end
  2645. local Limb = Character2:FindFirstChild("Left Arm")
  2646. if Limb and KeepArms == true then
  2647.  
  2648. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  2649. local Joint = Instance.new("Glue")
  2650. Joint.Name = "LeftShoulder"
  2651. Joint.Part0 = Torso2
  2652. Joint.Part1 = Limb
  2653. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2654. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2655. Joint.Parent = Torso2
  2656.  
  2657. local B = Instance.new("Part")
  2658. B.TopSurface = 0
  2659. B.BottomSurface = 0
  2660. B.formFactor = "Symmetric"
  2661. B.Size = Vector3.new(1, 1, 1)
  2662. B.Transparency = 1
  2663. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2664. B.Parent = Character2
  2665. local W = Instance.new("Weld")
  2666. W.Part0 = Limb
  2667. W.Part1 = B
  2668. W.C0 = CFrame.new(0, -0.5, 0)
  2669. W.Parent = Limb
  2670.  
  2671. end
  2672. local Limb = Character2:FindFirstChild("Right Leg")
  2673. if Limb then
  2674.  
  2675. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  2676. local Joint = Instance.new("Glue")
  2677. Joint.Name = "RightHip"
  2678. Joint.Part0 = Torso2
  2679. Joint.Part1 = Limb
  2680. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2681. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2682. Joint.Parent = Torso2
  2683.  
  2684. local B = Instance.new("Part")
  2685. B.TopSurface = 0
  2686. B.BottomSurface = 0
  2687. B.formFactor = "Symmetric"
  2688. B.Size = Vector3.new(1, 1, 1)
  2689. B.Transparency = 1
  2690. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2691. B.Parent = Character2
  2692. local W = Instance.new("Weld")
  2693. W.Part0 = Limb
  2694. W.Part1 = B
  2695. W.C0 = CFrame.new(0, -0.5, 0)
  2696. W.Parent = Limb
  2697.  
  2698. end
  2699. local Limb = Character2:FindFirstChild("Left Leg")
  2700. if Limb then
  2701.  
  2702. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  2703. local Joint = Instance.new("Glue")
  2704. Joint.Name = "LeftHip"
  2705. Joint.Part0 = Torso2
  2706. Joint.Part1 = Limb
  2707. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2708. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2709. Joint.Parent = Torso2
  2710.  
  2711. local B = Instance.new("Part")
  2712. B.TopSurface = 0
  2713. B.BottomSurface = 0
  2714. B.formFactor = "Symmetric"
  2715. B.Size = Vector3.new(1, 1, 1)
  2716. B.Transparency = 1
  2717. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2718. B.Parent = Character2
  2719. local W = Instance.new("Weld")
  2720. W.Part0 = Limb
  2721. W.Part1 = B
  2722. W.C0 = CFrame.new(0, -0.5, 0)
  2723. W.Parent = Limb
  2724.  
  2725. end
  2726. --[
  2727. local Bar = Instance.new("Part")
  2728. Bar.TopSurface = 0
  2729. Bar.BottomSurface = 0
  2730. Bar.formFactor = "Symmetric"
  2731. Bar.Size = Vector3.new(1, 1, 1)
  2732. Bar.Transparency = 1
  2733. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  2734. Bar.Parent = Character2
  2735. local Weld = Instance.new("Weld")
  2736. Weld.Part0 = Torso2
  2737. Weld.Part1 = Bar
  2738. Weld.C0 = CFrame.new(0, 0.5, 0)
  2739. Weld.Parent = Torso2
  2740. --]]
  2741. end
  2742. Character2.Parent = workspace
  2743. Debris:AddItem(Character2,5)
  2744.  
  2745. return Character2,Torso2
  2746. end))
  2747. end
  2748.  
  2749. --//=================================\\
  2750. --|| WEAPON CREATION
  2751. --\\=================================//
  2752.  
  2753.  
  2754. local Particle = IT("ParticleEmitter",nil)
  2755. Particle.Enabled = false
  2756. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2757. Particle.LightEmission = 0.5
  2758. Particle.Rate = 150
  2759. Particle.ZOffset = 0.2
  2760. Particle.Rotation = NumberRange.new(-180, 180)
  2761. Particle.RotSpeed = NumberRange.new(-180, 180)
  2762. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2763. Particle.Color = ColorSequence.new(C3(0/255,0/255,255/255),C3(0.4,0,0))
  2764.  
  2765. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2766. function ParticleEmitter(Table)
  2767. local PRTCL = Particle:Clone()
  2768. local Speed = Table.Speed or 5
  2769. local Drag = Table.Drag or 0
  2770. local Size1 = Table.Size1 or 1
  2771. local Size2 = Table.Size2 or 5
  2772. local Lifetime1 = Table.Lifetime1 or 1
  2773. local Lifetime2 = Table.Lifetime2 or 1.5
  2774. local Parent = Table.Parent or Torso
  2775. local Emit = Table.Emit or 100
  2776. local Offset = Table.Offset or 360
  2777. local Acel = Table.Acel or VT(0,0,0)
  2778. local Enabled = Table.Enabled or false
  2779. PRTCL.Parent = Parent
  2780. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2781. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2782. PRTCL.Speed = NumberRange.new(Speed)
  2783. PRTCL.VelocitySpread = Offset
  2784. PRTCL.Drag = Drag
  2785. PRTCL.Acceleration = Acel
  2786. if Enabled == false then
  2787. PRTCL:Emit(Emit)
  2788. Debris:AddItem(PRTCL,Lifetime2)
  2789. else
  2790. PRTCL.Enabled = true
  2791. end
  2792. return PRTCL
  2793. end
  2794.  
  2795. local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2796. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2797. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2798. MakeForm(Part,"Wedge")
  2799. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2800. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2801. MakeForm(Part,"Wedge")
  2802. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2803. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2804. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2805. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2806. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2807. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2808. MakeForm(Part,"Cyl")
  2809. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2810. for i = 1, 8 do
  2811. local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2812. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2813. end
  2814. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2815. MakeForm(Part,"Cyl")
  2816. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2817. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2818. MakeForm(Part,"Ball")
  2819. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2820. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2821. MakeForm(Part,"Wedge")
  2822. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2823. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2824. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2825. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2826. MakeForm(Part,"Cyl")
  2827. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2828. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2829. MakeForm(Part,"Cyl")
  2830. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2831. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2832. MakeForm(Part,"Cyl")
  2833. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2834. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
  2835. MakeForm(Part,"Wedge")
  2836. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
  2837. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2838. MakeForm(Part,"Cyl")
  2839. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2840. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
  2841. MakeForm(Part,"Wedge")
  2842. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2843. local LASTPART = Handle
  2844. for i = 1, 10 do
  2845. if LASTPART == Handle then
  2846. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2847. LASTPART = Part
  2848. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2849. else
  2850. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  2851. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2852. LASTPART = Part
  2853. end
  2854. end
  2855.  
  2856. local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
  2857. MakeForm(Barrel,"Cyl")
  2858. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2859. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  2860. MakeForm(Part,"Cyl")
  2861. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2862. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2863. MakeForm(Part,"Wedge")
  2864. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2865. local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2866. MakeForm(Hole,"Cyl")
  2867. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2.5, 0), CF(0, 0, 0))
  2868. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2869. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2870. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2871. local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2872. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2873. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2874. coroutine.resume(coroutine.create(function()
  2875. while wait() do
  2876. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2877. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2878. end
  2879. end))
  2880.  
  2881. for _, c in pairs(Gun:GetDescendants()) do
  2882. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2883. c.Material = "Glass"
  2884. c.Color = C3(0,0,0)
  2885. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2886. c.Color = C3(0/255,0/255,255/255)
  2887. c.Material = "Neon"
  2888. end
  2889. end
  2890.  
  2891. for i = 1, 35 do
  2892. local FACE = CreatePart(3, FaceGradient, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  2893. FACE.Color = C3(0,0,0)
  2894. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  2895. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  2896. end
  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. for i=0, 0.3, 0.1 / Animation_Speed do
  3484. Swait()
  3485. 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)
  3486. 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)
  3487. 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)
  3488. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  3489. 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)
  3490. 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)
  3491. end
  3492. Speed = 20
  3493. ATTACK = false
  3494. Rooted = false
  3495. end
  3496.  
  3497. function Taunt()
  3498. ATTACK = true
  3499. Rooted = true
  3500. CreateSound("1238240145", Torso, 6, 0.9)
  3501. for i=0, 0.6, 0.1 / Animation_Speed do
  3502. Swait()
  3503. 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)
  3504. 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)
  3505. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3506. 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)
  3507. 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)
  3508. 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)
  3509. end
  3510. for i=0, 0.6, 0.1 / Animation_Speed do
  3511. Swait()
  3512. 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)
  3513. 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)
  3514. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3515. 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)
  3516. 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)
  3517. 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)
  3518. end
  3519. for i=0, 0.6, 0.1 / Animation_Speed do
  3520. Swait()
  3521. 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)
  3522. 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)
  3523. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3524. 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)
  3525. 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)
  3526. 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)
  3527. end
  3528. for i=0, 0.6, 0.1 / Animation_Speed do
  3529. Swait()
  3530. 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)
  3531. 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)
  3532. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3533. 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)
  3534. 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)
  3535. 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)
  3536. end
  3537. for i=0, 0.6, 0.1 / Animation_Speed do
  3538. Swait()
  3539. 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)
  3540. 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)
  3541. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3542. 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)
  3543. 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)
  3544. 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)
  3545. end
  3546. for i=0, 0.6, 0.1 / Animation_Speed do
  3547. Swait()
  3548. 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)
  3549. 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)
  3550. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3551. 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)
  3552. 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)
  3553. 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)
  3554. end
  3555. ATTACK = false
  3556. Rooted = false
  3557. end
  3558.  
  3559. function TakeOnMe()
  3560. Speed = 16
  3561. local MEME = CreateSound(1171341451, Effects, 2, 1, false)
  3562. ATTACK = true
  3563. Rooted = false
  3564. local DANCE = true
  3565. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  3566. if NEWKEY == "p" then
  3567. DANCE = false
  3568. end
  3569. end)
  3570. PLAYSONG = false
  3571. while true do
  3572. for i = 1, 15 do
  3573. Swait()
  3574. MEME.Parent = Effects
  3575. 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)
  3576. 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)
  3577. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3578. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3579. 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)
  3580. 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)
  3581. end
  3582. if DANCE == false then
  3583. break
  3584. end
  3585. for i = 1, 15 do
  3586. Swait()
  3587. MEME.Parent = Effects
  3588. 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)
  3589. 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)
  3590. if MRANDOM(1,7) == 1 then
  3591. 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)
  3592. end RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(150), RAD(65), RAD(85)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3593. 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)
  3594. 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)
  3595. 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)
  3596. end
  3597. end
  3598. PLAYSONG = true
  3599. KEY:Disconnect()
  3600. MEME:remove()
  3601. Speed = 25
  3602. ATTACK = false
  3603. Rooted = false
  3604. end
  3605.  
  3606. function Intro()
  3607. ATTACK = true
  3608. Rooted = true
  3609. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3610. local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0,1,0).p
  3611. for i=0, 6, 0.1 / Animation_Speed do
  3612. Swait()
  3613. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 5 + 0.05 * COS(SINE / 30)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3614. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 30)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3615. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  3616. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  3617. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3618. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3619. end
  3620. CreateSound(1208650519, Torso, 2, 0.8)
  3621. CreateSound(333446256, Character, 10, 1)
  3622. for i=0, 17, 0.1 / Animation_Speed do
  3623. Swait()
  3624. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 4 + 0.05 * COS(SINE / 30)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3625. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 30)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3626. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  3627. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  3628. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3629. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  3630. end
  3631. CreateSound(1841058541,Character,3,1,false)
  3632. for i=0, 0.7, 0.1 / Animation_Speed do
  3633. Swait()
  3634. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  3635. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3636. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
  3637. 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)
  3638. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3639. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3640. end
  3641. Head.Color = C3(0/255,0/255,255/255)
  3642. Torso.Color = C3(0/255,0/255,255/255)
  3643. LeftArm.Color = C3(0/255,0/255,255/255)
  3644. LeftLeg.Color = C3(0/255,0/255,255/255)
  3645. RightArm.Color = C3(0/255,0/255,255/255)
  3646. RightLeg.Color = C3(0/255,0/255,255/255)
  3647. EXE.ShirtTemplate = "rbxassetid://760717023"
  3648. LOL.PantsTemplate = "rbxassetid://770508500"
  3649. Gun.Parent = Character
  3650. tecks2.TextTransparency = 0
  3651. for i = 1, 100 do
  3652. Swait()
  3653. for _, c in pairs(Character:GetChildren()) do
  3654. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  3655. c.Transparency = 0
  3656. end
  3657. end
  3658. for _, c in pairs(Weapon:GetChildren()) do
  3659. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  3660. c.Transparency = 0
  3661. end
  3662. end
  3663. end
  3664. TRANSFORMED = true
  3665. ATTACK = false
  3666. Rooted = false
  3667. end
  3668.  
  3669. function Shot()
  3670. ATTACK = true
  3671. Rooted = false
  3672. for i=0, 0.2, 0.05 / Animation_Speed do
  3673. Swait()
  3674. turnto(Mouse.Hit.p)
  3675. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3676. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3677. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3678. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3679. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3680. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3681. end
  3682. repeat
  3683. for i=0, 0.2, 0.05 / Animation_Speed do
  3684. Swait()
  3685. turnto(Mouse.Hit.p)
  3686. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3687. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3688. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3689. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3690. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3691. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3692. end
  3693. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3694. SpawnTrail(Hole.Position,POS)
  3695. if HIT ~= nil then
  3696. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3697. Banish(HIT.Parent)
  3698. end
  3699. end
  3700. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  3701. for i=0, 0.2, 0.05 / Animation_Speed do
  3702. Swait()
  3703. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3704. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3705. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3706. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3707. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3708. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3709. end
  3710. until KEYHOLD == false
  3711. ATTACK = false
  3712. Rooted = false
  3713. end
  3714.  
  3715. function MagicMissiles()
  3716. ATTACK = true
  3717. Rooted = true
  3718. local SELECTING = true
  3719. local SPOTS = {}
  3720. coroutine.resume(coroutine.create(function()
  3721. local LOOP = 0
  3722. repeat
  3723. LOOP = LOOP + 1
  3724. Swait()
  3725. if LOOP >= 10 then
  3726. LOOP = 0
  3727. for i = 1, #SPOTS do
  3728. if SPOTS[i] ~= nil then
  3729. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3730. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3731. end
  3732. end
  3733. end
  3734. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  3735. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3736. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3737. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3738. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3739. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3740. until SELECTING == false
  3741. Rooted = false
  3742. repeat
  3743. LOOP = LOOP + 1
  3744. Swait()
  3745. if LOOP >= 10 then
  3746. LOOP = 0
  3747. for i = 1, #SPOTS do
  3748. if SPOTS[i] ~= nil then
  3749. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3750. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3751. end
  3752. end
  3753. end
  3754. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  3755. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  3756. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3757. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3758. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3759. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3760. until ATTACK == false
  3761. end))
  3762. repeat
  3763. repeat Swait() until HOLD == true
  3764. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  3765. if DIST > 65 then
  3766. DIST = 65
  3767. end
  3768. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  3769. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  3770. if HITFLOOR ~= nil then
  3771. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  3772. end
  3773. repeat Swait() until HOLD == false
  3774. until #SPOTS == 5
  3775. SELECTING = false
  3776. for i = 1, #SPOTS do
  3777. if SPOTS[i] ~= nil then
  3778. local POS = SPOTS[i]
  3779. coroutine.resume(coroutine.create(function()
  3780. local MISSILE = IT("Model",Effects)
  3781. MISSILE.Name = "Missile"
  3782. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,2,2))
  3783. MakeForm(BASEPART,"Cyl")
  3784. MISSILE.PrimaryPart = BASEPART
  3785. BASEPART.CFrame = POS*CF(0,-30*3,0)
  3786. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,4,2))
  3787. MakeForm(HEAD,"Ball")
  3788. HEAD.CFrame = BASEPART.CFrame*CF(0,-1,0)
  3789. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2.5,0.1,2.5))
  3790. MakeForm(TAIL,"Cyl")
  3791. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  3792. for i = 1, 10 do
  3793. Swait()
  3794. for _, c in pairs(MISSILE:GetChildren()) do
  3795. if c.ClassName == "Part" then
  3796. c.Transparency = c.Transparency - 1/10
  3797. end
  3798. end
  3799. end
  3800. for i = 1, 15*1.5 do
  3801. Swait()
  3802. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  3803. end
  3804. ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  3805. MISSILE:remove()
  3806. end))
  3807. end
  3808. end
  3809. wait(0.6)
  3810. ATTACK = false
  3811. Rooted = false
  3812. end
  3813.  
  3814. function Shot2()
  3815. ATTACK = true
  3816. Rooted = false
  3817. for i=0, 0.2, 0.05 / Animation_Speed do
  3818. Swait()
  3819. turnto(Mouse.Hit.p)
  3820. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3821. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3822. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3823. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3824. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3825. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3826. end
  3827. repeat
  3828. for i=0, 0.2, 0.05 / Animation_Speed do
  3829. Swait()
  3830. turnto(Mouse.Hit.p)
  3831. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3832. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3833. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3834. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3835. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3836. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3837. end
  3838. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3839. SpawnTrail(Hole.Position,POS)
  3840. if HIT ~= nil then
  3841. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3842. Kill(HIT.Parent)
  3843. end
  3844. end
  3845. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  3846. for i=0, 0.2, 0.05 / Animation_Speed do
  3847. Swait()
  3848. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3849. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3850. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3851. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3852. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3853. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3854. end
  3855. until KEYHOLD == false
  3856. ATTACK = false
  3857. Rooted = false
  3858. end
  3859.  
  3860. function AttackTemplate()
  3861. ATTACK = true
  3862. Rooted = false
  3863. for i=0, 1, 0.1 / Animation_Speed do
  3864. Swait()
  3865. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3866. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3867. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3868. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3869. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3870. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3871. end
  3872. ATTACK = false
  3873. Rooted = false
  3874. end
  3875.  
  3876. function Finisher()
  3877. local TARGET = Mouse.Target
  3878. if TARGET ~= nil then
  3879. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  3880. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  3881. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  3882. if ROOT and HUM.Health > 0 then
  3883. local FOE = Mouse.Target.Parent
  3884. ATTACK = true
  3885. Rooted = true
  3886. RootPart.CFrame = ROOT.CFrame*CF(-1.35,0,4)
  3887. ROOT.Anchored = true
  3888. CreateSound(670796769, Torso, 9999, 0.6, false)
  3889. CreateSound(159882598, Torso, 5, 0.9, false)
  3890. for i=0, 0.4, 0.1 / Animation_Speed do
  3891. Swait()
  3892. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3893. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3894. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3895. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3896. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3897. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3898. end
  3899. HUM.PlatformStand = true
  3900. ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0))
  3901. coroutine.resume(coroutine.create(function()
  3902. Swait()
  3903. ROOT.Anchored = true
  3904. end))
  3905. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
  3906. for i=0, 0.2, 0.1 / Animation_Speed do
  3907. Swait()
  3908. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3909. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3910. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3911. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3912. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3913. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  3914. end
  3915. for i=0, 0.2, 0.1 / Animation_Speed do
  3916. Swait()
  3917. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  3918. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  3919. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3920. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3921. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3922. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3923. end
  3924. local AMMO = 6
  3925. local FIRING = true
  3926. local SHOOTING = false
  3927. local TIMER = 70
  3928. CreateSound(147722227, GunPoint, 6, 1.3, false)
  3929. for i=0, 0.2, 0.1 / Animation_Speed do
  3930. Swait()
  3931. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3932. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3933. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3934. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3935. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3936. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  3937. end
  3938. for i = 1, 6 do
  3939. local GUNPOS = Hole.CFrame*CF(0, 0, 0).p
  3940. local DISTANCE = (FOE.Head.Position - GUNPOS).Magnitude
  3941. HUM.Health = HUM.Health/1.5
  3942. for i=0, 0.2, 0.1 / Animation_Speed do
  3943. Swait()
  3944. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3945. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3946. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3947. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3948. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3949. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  3950. end
  3951. for i=0, 0.2, 0.1 / Animation_Speed do
  3952. Swait()
  3953. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3954. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3955. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3956. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3957. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3958. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  3959. end
  3960. end
  3961. ApplyDamage(HUM,0,true)
  3962. FOE:BreakJoints()
  3963. ROOT.Anchored = false
  3964. for i=0, 0.3, 0.1 / Animation_Speed do
  3965. Swait()
  3966. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3967. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  3968. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3969. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3970. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3971. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3972. end
  3973. ATTACK = false
  3974. Rooted = false
  3975. end
  3976. end
  3977. end
  3978. end
  3979.  
  3980. --//=================================\\
  3981. --|| ASSIGN THINGS TO KEYS
  3982. --\\=================================//
  3983.  
  3984. function MouseDown(Mouse)
  3985. if ATTACK == false then
  3986. end
  3987. end
  3988.  
  3989. function MouseUp(Mouse)
  3990. HOLD = false
  3991. end
  3992.  
  3993. function KeyDown(Key)
  3994. KEYHOLD = true
  3995.  
  3996. if Key == "b" and ATTACK == false then
  3997. MagicMissiles()
  3998. end
  3999.  
  4000. if Key == "z" and ATTACK == false then
  4001. Shot()
  4002. end
  4003.  
  4004. if Key == "v" and ATTACK == false then
  4005. Shot2()
  4006. end
  4007.  
  4008. if Key == "x" and ATTACK == false then
  4009. Finisher()
  4010. end
  4011.  
  4012. if Key == "t" and ATTACK == false then
  4013. Taunt()
  4014. end
  4015.  
  4016. if Key == "c" and ATTACK == false then
  4017. eh()
  4018. end
  4019. end
  4020.  
  4021. local OVMID = 561833161
  4022. local OVMPIT = 1
  4023. local OVMVOL = 1
  4024. plr.Chatted:connect(function(message)
  4025. if ATTACK == false then
  4026. if message:sub(1,5) == "play/" then
  4027. OVMID = message:sub(6)
  4028. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4029. elseif message:sub(1,6) == "pitch/" then
  4030. OVMPIT = message:sub(7)
  4031. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4032. elseif message:sub(1,4) == "vol/" then
  4033. OVMVOL = message:sub(5)
  4034. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  4035. elseif message:sub(1,7) == "sr/" then
  4036. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4037. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  4038. elseif message:sub(1,9) == "te/" then
  4039. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4040. end
  4041. end
  4042. end)
  4043.  
  4044. function KeyUp(Key)
  4045. KEYHOLD = false
  4046. end
  4047.  
  4048. Mouse.Button1Down:connect(function(NEWKEY)
  4049. MouseDown(NEWKEY)
  4050. end)
  4051. Mouse.Button1Up:connect(function(NEWKEY)
  4052. MouseUp(NEWKEY)
  4053. end)
  4054. Mouse.KeyDown:connect(function(NEWKEY)
  4055. KeyDown(NEWKEY)
  4056. end)
  4057. Mouse.KeyUp:connect(function(NEWKEY)
  4058. KeyUp(NEWKEY)
  4059. end)
  4060.  
  4061. --//=================================\\
  4062. --\\=================================//
  4063.  
  4064.  
  4065. function unanchor()
  4066. if UNANCHOR == true then
  4067. g = Character:GetChildren()
  4068. for i = 1, #g do
  4069. if g[i].ClassName == "Part" then
  4070. g[i].Anchored = false
  4071. end
  4072. end
  4073. end
  4074. end
  4075.  
  4076.  
  4077. --//=================================\\
  4078. --|| WRAP THE WHOLE SCRIPT UP
  4079. --\\=================================//
  4080.  
  4081. Humanoid.Changed:connect(function(Jump)
  4082. if Jump == "Jump" and (Disable_Jump == true) then
  4083. Humanoid.Jump = false
  4084. end
  4085. end)
  4086.  
  4087. local FF = IT("ForceField",Character)
  4088. FF.Visible = false
  4089. INSTANT = false
  4090. Speed = 20
  4091.  
  4092. while true do
  4093. Swait()
  4094. SINE = SINE + CHANGE
  4095. ANIMATE.Parent = nil
  4096. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  4097. IDLEANIMATION:Play()
  4098. if TRANSFORMED == true then
  4099. tecks2.TextTransparency = 0
  4100. for _, c in pairs(Character:GetChildren()) do
  4101. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  4102. c.Anchored = false
  4103. c.Transparency = 0
  4104. end
  4105. end
  4106. for _, c in pairs(Weapon:GetChildren()) do
  4107. if c.ClassName == "Part" then
  4108. c.Transparency = 0
  4109. end
  4110. end
  4111. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  4112. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  4113. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  4114. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  4115. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  4116. if ATTACK == false and VALUE2 == false then
  4117. end
  4118. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  4119. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4120. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4121. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4122. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4123. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  4124. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4125. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4126. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4127. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4128. end
  4129. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  4130. ANIM = "Jump"
  4131. if ATTACK == false then
  4132. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4133. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4134. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4135. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4136. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  4137. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4138. end
  4139. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  4140. ANIM = "Fall"
  4141. if ATTACK == false then
  4142. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4143. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4144. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4145. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4146. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4147. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  4148. end
  4149. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  4150. ANIM = "Idle"
  4151. if ATTACK == false then
  4152. 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)
  4153. if MRANDOM(1,7) == 1 then
  4154. 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)
  4155. end
  4156. 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)
  4157. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  4158. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  4159. 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)
  4160. 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)
  4161. end
  4162. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  4163. ANIM = "Walk"
  4164. if ATTACK == false then
  4165. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4166. 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)
  4167. if MRANDOM(1,7) == 1 then
  4168. 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)
  4169. end
  4170. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4171. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  4172. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  4173. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  4174. end
  4175. end
  4176. end
  4177. --end
  4178. Humanoid.DisplayDistanceType = "None"
  4179. unanchor()
  4180. Humanoid.MaxHealth = "inf"
  4181. Humanoid.Health = "inf"
  4182. if Rooted == false then
  4183. Disable_Jump = false
  4184. Humanoid.WalkSpeed = Speed
  4185. elseif Rooted == true then
  4186. Disable_Jump = true
  4187. Humanoid.WalkSpeed = 0
  4188. end
  4189. if Head:FindFirstChild("face") then
  4190. Head.face.Texture = "rbxassetid://403870689"
  4191. end
  4192. for _, c in pairs(Character:GetChildren()) do
  4193. if (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  4194. c:remove()
  4195. end
  4196. if c:FindFirstChildOfClass("ParticleEmitter") then
  4197. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  4198. end
  4199. end
  4200. local MATHS = {"0","1"}
  4201. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  4202. Humanoid.PlatformStand = false
  4203. if INTRO == false and INSTANT == false then
  4204. INTRO = true
  4205. coroutine.resume(coroutine.create(function()
  4206. sick:Play()
  4207. Intro()
  4208. end))
  4209. end
  4210. if INSTANT == true then
  4211. if TRANSFORMED == false then
  4212. sick.TimePosition = 60
  4213. sick:Play()
  4214. end
  4215. TRANSFORMED = true
  4216. end
  4217. script.Parent = PlayerGui
  4218. Character.Parent = workspace
  4219. Humanoid.Parent = Character
  4220. end
  4221. --//=================================\\
  4222. --\\=================================//
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228. --//====================================================\\--
  4229. --|| END OF SCRIPT
  4230. --\\====================================================//--
  4231. plr = game:GetService("Players").LocalPlayer
  4232. char = plr.Character
  4233. hum = char.Humanoid
  4234. local cam = game.Workspace.CurrentCamera
  4235. Camera = cam
  4236. local CamInterrupt = false
  4237. local TwoD = false
  4238. local TargetInfo = {nil, nil}
  4239. cam.CameraType = "Custom"
  4240. t = char.Torso
  4241. h = char.Head
  4242. ra = char["Right Arm"]
  4243. la = char["Left Arm"]
  4244. rl = char["Right Leg"]
  4245. ll = char["Left Leg"]
  4246. tors = char.Torso
  4247. lleg = char["Left Leg"]
  4248. root = char.HumanoidRootPart
  4249. hed = char.Head
  4250. rleg = char["Right Leg"]
  4251. rarm = char["Right Arm"]
  4252. larm = char["Left Arm"]
  4253. radian = math.rad
  4254. random = math.random
  4255. Vec3 = Vector3.new
  4256. Inst = Instance.new
  4257. cFrame = CFrame.new
  4258. Euler = CFrame.fromEulerAnglesXYZ
  4259. vt = Vector3.new
  4260. bc = BrickColor.new
  4261. br = BrickColor.random
  4262. it = Instance.new
  4263. cf = CFrame.new
  4264.  
  4265. local Booleans = {
  4266. CamFollow = true,
  4267. GyroUse = true
  4268. }
  4269.  
  4270. function lerp(object, newCFrame, alpha)
  4271. return object:lerp(newCFrame, alpha)
  4272. end
  4273.  
  4274. local Directer = Inst("BodyGyro", root)
  4275. Directer.MaxTorque = Vec3(0, 0, 0)
  4276. Directer.P = 600000
  4277. local CPart = Inst("Part")
  4278. CPart.Anchored = true
  4279. CPart.CanCollide = false
  4280. CPart.Locked = true
  4281. CPart.Transparency = 1
  4282.  
  4283. local rainbowmode = false
  4284. local chaosmode = false
  4285.  
  4286. local kan = Instance.new("Sound",char)
  4287. kan.Volume = 5
  4288. kan.TimePosition = 0
  4289. kan.PlaybackSpeed = 1
  4290. kan.Pitch = 1
  4291. kan.SoundId = "rbxassetid://3592649229"
  4292. kan.Name = "wrecked"
  4293. kan.Looped = true
  4294. kan:Play()
  4295.  
  4296. local currentThemePlaying = kan.SoundId
  4297. local currentPitch = kan.Pitch
  4298. local currentVol = kan.Volume
  4299. function newTheme(ID,timepos,pitch,vol)
  4300. local kanz = kan
  4301. --kanz:Stop()
  4302. kanz.Volume = vol
  4303. --kanz.TimePosition = timepos
  4304. kanz.PlaybackSpeed = pitch
  4305. kanz.Pitch = pitch
  4306. kanz.SoundId = ID
  4307. kanz.Name = "wrecked"
  4308. kanz.Looped = true
  4309. currentThemePlaying = kanz.SoundId
  4310. currentVol = kanz.Volume
  4311. currentPitch = kanz.Pitch
  4312. --kanz:Play()
  4313. --coroutine.resume(coroutine.create(function()
  4314. --wait(0.05)
  4315. --end))
  4316. end
  4317.  
  4318.  
  4319. function newThemeCust(ID,timepos,pitch,vol)
  4320. local kanz = kan
  4321. kanz:Stop()
  4322. kanz.Volume = vol
  4323. kanz.TimePosition = timepos
  4324. kanz.PlaybackSpeed = pitch
  4325. kanz.Pitch = pitch
  4326. kanz.SoundId = ID
  4327. kanz.Name = "wrecked"
  4328. kanz.Looped = true
  4329. currentThemePlaying = kanz.SoundId
  4330. currentVol = kanz.Volume
  4331. currentPitch = kanz.Pitch
  4332. kanz:Play()
  4333. coroutine.resume(coroutine.create(function()
  4334. wait(0.05)
  4335. end))
  4336. end
  4337.  
  4338. local mutedtog = false
  4339.  
  4340. function CameraEnshaking(Length,Intensity)
  4341. coroutine.resume(coroutine.create(function()
  4342. local intensity = 1*Intensity
  4343. local rotM = 0.01*Intensity
  4344. for i = 0, Length, 0.1 do
  4345. swait()
  4346. intensity = intensity - 0.05*Intensity/Length
  4347. rotM = rotM - 0.0005*Intensity/Length
  4348. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  4349. 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)
  4350. end
  4351. Humanoid.CameraOffset = Vec3(0, 0, 0)
  4352. end))
  4353. end
  4354. CamShake=function(Part,Distan,Power,Times)
  4355. local de=Part.Position
  4356. for i,v in pairs(workspace:children()) do
  4357. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  4358. for _,c in pairs(v:children()) do
  4359. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  4360. local Noob=v.Humanoid
  4361. if Noob~=nil then
  4362. coroutine.resume(coroutine.create(function()
  4363. FV = Instance.new("BoolValue", Noob)
  4364. FV.Name = "CameraShake"
  4365. for ShakeNum=1,Times do
  4366. swait()
  4367. local ef=Power
  4368. if ef>=1 then
  4369. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  4370. else
  4371. ef=Power*10
  4372. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  4373. end
  4374. end
  4375. Humanoid.CameraOffset = Vector3.new(0,0,0)
  4376. FV:Destroy()
  4377. end))
  4378. CameraShake(Times, Power, Noob)
  4379. end
  4380. end
  4381. end
  4382. end
  4383. end
  4384. end
  4385.  
  4386.  
  4387. function chatfunc(text,color,typet,font,timeex)
  4388. local chat = coroutine.wrap(function()
  4389. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  4390. Character:FindFirstChild("TalkingBillBoard"):destroy()
  4391. end
  4392. local naeeym2 = Instance.new("BillboardGui",Character)
  4393. naeeym2.Size = UDim2.new(0,100,0,40)
  4394. naeeym2.StudsOffset = Vector3.new(0,3,0)
  4395. naeeym2.Adornee = Character.Head
  4396. naeeym2.Name = "TalkingBillBoard"
  4397. local tecks2 = Instance.new("TextLabel",naeeym2)
  4398. tecks2.BackgroundTransparency = 1
  4399. tecks2.BorderSizePixel = 0
  4400. tecks2.Text = "lunar"
  4401. tecks2.Font = font
  4402. tecks2.TextSize = 30
  4403. tecks2.TextStrokeTransparency = 0
  4404. tecks2.TextColor3 = color
  4405. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  4406. tecks2.Size = UDim2.new(1,0,0.5,0)
  4407. local tecks3 = Instance.new("TextLabel",naeeym2)
  4408. tecks3.BackgroundTransparency = 1
  4409. tecks3.BorderSizePixel = 0
  4410. tecks3.Text = ""
  4411. tecks3.Font = font
  4412. tecks3.TextSize = 30
  4413. tecks3.TextStrokeTransparency = 0
  4414. if typet == "Inverted" then
  4415. tecks3.TextColor3 = Color3.new(0,0,0)
  4416. tecks3.TextStrokeColor3 = color
  4417. elseif typet == "Normal" then
  4418. tecks3.TextColor3 = color
  4419. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  4420. end
  4421. tecks3.Size = UDim2.new(1,0,0.5,0)
  4422. coroutine.resume(coroutine.create(function()
  4423. while true do
  4424. swait(1)
  4425. if chaosmode == true then
  4426. tecks2.TextColor3 = BrickColor.random().Color
  4427. tecks3.TextStrokeColor3 = BrickColor.random().Color
  4428. end
  4429. end
  4430. end))
  4431. modet.TextTransparency = modet.TextTransparency + 1
  4432. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  4433. for i = 0, 74*timeex do
  4434. swait()
  4435. modet.TextTransparency = 1
  4436. modet.TextStrokeTransparency = 1
  4437. tecks2.Text = text
  4438. tecks3.Text = text
  4439. end
  4440. local randomrot = math.random(1,2)
  4441. if randomrot == 1 then
  4442. for i = 1, 50 do
  4443. swait()
  4444. tecks2.Text = text
  4445. tecks3.Text = text
  4446. modet.TextTransparency = modet.TextTransparency - .02
  4447. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  4448. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  4449. tecks2.TextTransparency = tecks2.TextTransparency + .04
  4450. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  4451. tecks3.TextTransparency = tecks2.TextTransparency + .04
  4452. end
  4453. elseif randomrot == 2 then
  4454. for i = 1, 50 do
  4455. swait()
  4456. tecks2.Text = text
  4457. tecks3.Text = text
  4458. modet.TextTransparency = modet.TextTransparency - .02
  4459. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  4460. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  4461. tecks2.TextTransparency = tecks2.TextTransparency + .04
  4462. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  4463. tecks3.TextTransparency = tecks2.TextTransparency + .04
  4464. end
  4465. end
  4466. modet.TextTransparency = 0
  4467. modet.TextStrokeTransparency = 0
  4468. if toggleTag == false then
  4469. modet.TextTransparency = 1
  4470. modet.TextStrokeTransparency = 1
  4471. end
  4472. naeeym2:Destroy()
  4473. end)
  4474. chat()
  4475. end
  4476.  
  4477. function bosschatfunc(text,color,watval)
  4478. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4479. coroutine.resume(coroutine.create(function()
  4480. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  4481. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  4482. end
  4483. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  4484. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  4485. scrg.Name = "Dialog"
  4486. local txtlb = Instance.new("TextLabel",scrg)
  4487. txtlb.Text = ""
  4488. txtlb.Font = "Bodoni"
  4489. txtlb.TextColor3 = Color3.new(0,0,0)
  4490. txtlb.TextStrokeTransparency = 0
  4491. txtlb.BackgroundTransparency = 0.75
  4492. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  4493. txtlb.TextStrokeColor3 = color
  4494. txtlb.TextScaled = true
  4495. txtlb.Size = UDim2.new(1,0,0.25,0)
  4496. txtlb.TextXAlignment = "Left"
  4497. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  4498. local txtlb2 = Instance.new("TextLabel",scrg)
  4499. txtlb2.Text = "Lunar Banisher"
  4500. txtlb2.Font = "Arcade"
  4501. txtlb2.TextColor3 = Color3.new(0,0,0)
  4502. txtlb2.TextStrokeTransparency = 0
  4503. txtlb2.BackgroundTransparency = 1
  4504. txtlb2.TextStrokeColor3 = color
  4505. txtlb2.TextSize = 40
  4506. txtlb2.Size = UDim2.new(1,0,0.25,0)
  4507. txtlb2.TextXAlignment = "Left"
  4508. txtlb2.Position = UDim2.new(0,0,1,0)
  4509. local fvalen = 0.55
  4510. local fval = -0.49
  4511. coroutine.resume(coroutine.create(function()
  4512. while true do
  4513. swait()
  4514. if chaosmode == true then
  4515. txtlb.Rotation = math.random(-1,1)
  4516. txtlb2.Rotation = math.random(-1,1)
  4517. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  4518. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  4519. txtlb.TextStrokeColor3 = BrickColor.random().Color
  4520. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  4521. end
  4522. end
  4523. end))
  4524. coroutine.resume(coroutine.create(function()
  4525. while true do
  4526. swait()
  4527. if scrg.Parent ~= nil then
  4528. fvalen = fvalen - 0.0001
  4529. elseif scrg.Parent == nil then
  4530. break
  4531. end
  4532. end
  4533. end))
  4534. local flol = 1.75
  4535. local flil = 1.6
  4536. coroutine.resume(coroutine.create(function()
  4537. for i = 0, 9 do
  4538. swait()
  4539. fval = fval + 0.05
  4540. flol = flol - 0.1
  4541. flil = flil - 0.1
  4542. txtlb.Text = ""
  4543. txtlb.Position = UDim2.new(0,0,flol,0)
  4544. txtlb2.Position = UDim2.new(0,0,flil,0)
  4545. end
  4546. txtlb.Text = text
  4547. wait(watval)
  4548. local valinc = 0
  4549. for i = 0, 99 do
  4550. swait()
  4551. valinc = valinc + 0.0001
  4552. flol = flol + valinc
  4553. flil = flil + valinc
  4554. txtlb.Rotation = txtlb.Rotation + valinc*20
  4555. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  4556. txtlb.Position = UDim2.new(0,0,flol,0)
  4557. txtlb2.Position = UDim2.new(0,0,flil,0)
  4558. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  4559. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  4560. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  4561. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  4562. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  4563. end
  4564. scrg:Destroy()
  4565. end))
  4566. end))
  4567. end
  4568. end
  4569.  
  4570. local disably = false
  4571. function warnedpeople(text,represfont,color,color2)
  4572. if disably ~= true then
  4573. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  4574. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  4575. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4576. coroutine.resume(coroutine.create(function()
  4577. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  4578. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  4579. end
  4580. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  4581. scrg.Name = "Spinny"
  4582. local frm = Instance.new("Frame",scrg)
  4583. frm.BackgroundTransparency = 0.25
  4584. frm.BackgroundColor3 = color
  4585. frm.BorderSizePixel = 0
  4586. frm.Rotation = 45
  4587. frm.Size = UDim2.new(3,0,0,100)
  4588. frm.Position = UDim2.new(-4,0,0,0)
  4589. local frm2 = frm:Clone()
  4590. frm2.Parent = scrg
  4591. frm2.BackgroundColor3 = color2
  4592. frm2.Position = UDim2.new(-4.05,0,0,0)
  4593. local imlb = Instance.new("ImageLabel",scrg)
  4594. imlb.BackgroundTransparency = 1
  4595. imlb.BackgroundColor3 = Color3.new(0,0,0)
  4596. imlb.Image = "rbxassetid://2344851144"
  4597. imlb.Size = UDim2.new(0,750,0,750)
  4598. imlb.ImageColor3 = color2
  4599. imlb.ImageTransparency = 0.25
  4600. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  4601. local imlb2 = imlb:Clone()
  4602. imlb2.Image = "rbxassetid://2325939897"
  4603. imlb2.Size = UDim2.new(1,0,1,0)
  4604. imlb2.ImageColor3 = color
  4605. imlb2.ImageTransparency = 0
  4606. imlb2.Position = UDim2.new(0,0,0,0)
  4607. local imlb3 = imlb:Clone()
  4608. imlb3.Image = "rbxassetid://2344830904"
  4609. imlb3.Size = UDim2.new(1,0,1,0)
  4610. imlb3.ImageColor3 = color2
  4611. imlb3.ImageTransparency = 0
  4612. imlb3.Position = UDim2.new(0,0,0,0)
  4613. local imlb4 = imlb:Clone()
  4614. imlb4.Image = "rbxassetid://2344870656"
  4615. imlb4.Size = UDim2.new(3,0,3,0)
  4616. imlb4.ImageColor3 = Color3.new(1,1,1)
  4617. imlb4.ImageTransparency = 0
  4618. imlb4.Position = UDim2.new(-1,0,-1,0)
  4619. local imlb5 = imlb:Clone()
  4620. imlb5.Image = "rbxassetid://2344870656"
  4621. imlb5.Size = UDim2.new(10,0,10,0)
  4622. imlb5.ImageColor3 = color2
  4623. imlb5.ImageTransparency = 0
  4624. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  4625. imlb2.Parent = imlb
  4626. imlb3.Parent = imlb
  4627. imlb4.Parent = imlb
  4628. imlb5.Parent = imlb
  4629. local txtlb2 = Instance.new("TextLabel",imlb)
  4630. txtlb2.Text = text
  4631. txtlb2.Font = represfont
  4632. txtlb2.TextColor3 = color
  4633. txtlb2.TextStrokeTransparency = 0
  4634. txtlb2.BackgroundTransparency = 1
  4635. txtlb2.TextStrokeColor3 = color2
  4636. txtlb2.TextScaled = true
  4637. txtlb2.Size = UDim2.new(1,0,1,0)
  4638. txtlb2.Position = UDim2.new(0,0,0,0)
  4639. local fvalen = 0.55
  4640. local fval = -0.49
  4641. coroutine.resume(coroutine.create(function()
  4642. while true do
  4643. swait()
  4644. if chaosmode == true then
  4645. txtlb2.Rotation = math.random(-1,1)
  4646. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  4647. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  4648. imlb.ImageColor3 = BrickColor.random().Color
  4649. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  4650. end
  4651. end
  4652. end))
  4653. coroutine.resume(coroutine.create(function()
  4654. while true do
  4655. swait()
  4656. if scrg.Parent ~= nil then
  4657. fvalen = fvalen - 0.0001
  4658. elseif scrg.Parent == nil then
  4659. break
  4660. end
  4661. end
  4662. end))
  4663. local flol = -5
  4664. local flil = 1.6
  4665. coroutine.resume(coroutine.create(function()
  4666. for i = 0, 49 do
  4667. swait()
  4668. flol = flol + 0.125
  4669. flil = flil - 0.1
  4670. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  4671. frm.Rotation = frm.Rotation - 0.25
  4672. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  4673. frm2.Rotation = frm.Rotation + 0.325
  4674. imlb3.Rotation = imlb3.Rotation - 10
  4675. imlb2.Rotation = imlb.Rotation + 7.5
  4676. imlb.Rotation = imlb.Rotation + 5
  4677. txtlb2.Rotation = txtlb2.Rotation - 5.125
  4678. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  4679. end
  4680. for i = 0, 99 do
  4681. swait()
  4682. fval = fval + 0.05
  4683. flol = flol + 0.005
  4684. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  4685. frm.Rotation = frm.Rotation - 0.075
  4686. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  4687. frm2.Rotation = frm2.Rotation + 0.125
  4688. imlb3.Rotation = imlb3.Rotation - 2
  4689. imlb2.Rotation = imlb.Rotation + 1.5
  4690. imlb.Rotation = imlb.Rotation + 1
  4691. txtlb2.Rotation = txtlb2.Rotation - 1.125
  4692. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  4693. end
  4694. local valinc = 0
  4695. local vinc2 = 1
  4696. for i = 0, 99 do
  4697. swait()
  4698. vinc2 = vinc2 + 0.25
  4699. valinc = valinc + 0.0001
  4700. flol = flol + valinc
  4701. flil = flil + valinc
  4702. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  4703. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  4704. imlb.Rotation = imlb.Rotation + 1*vinc2
  4705. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  4706. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  4707. frm.Rotation = frm.Rotation + 0.1*vinc2
  4708. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  4709. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  4710. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  4711. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  4712. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  4713. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  4714. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  4715. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  4716. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  4717. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  4718. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  4719. end
  4720. scrg:Destroy()
  4721. end))
  4722. end))
  4723. end
  4724. end
  4725. end
  4726.  
  4727. local Create = LoadLibrary("RbxUtility").Create
  4728.  
  4729. CFuncs = {
  4730. ["Part"] = {
  4731. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  4732. local Part = Create("Part"){
  4733. Parent = Parent,
  4734. Reflectance = Reflectance,
  4735. Transparency = Transparency,
  4736. CanCollide = false,
  4737. Locked = true,
  4738. BrickColor = BrickColor.new(tostring(BColor)),
  4739. Name = Name,
  4740. Size = Size,
  4741. Material = Material,
  4742. }
  4743. RemoveOutlines(Part)
  4744. return Part
  4745. end;
  4746. };
  4747.  
  4748. ["Mesh"] = {
  4749. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  4750. local Msh = Create(Mesh){
  4751. Parent = Part,
  4752. Offset = OffSet,
  4753. Scale = Scale,
  4754. }
  4755. if Mesh == "SpecialMesh" then
  4756. Msh.MeshType = MeshType
  4757. Msh.MeshId = MeshId
  4758. end
  4759. return Msh
  4760. end;
  4761. };
  4762.  
  4763. ["Mesh"] = {
  4764. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  4765. local Msh = Create(Mesh){
  4766. Parent = Part,
  4767. Offset = OffSet,
  4768. Scale = Scale,
  4769. }
  4770. if Mesh == "SpecialMesh" then
  4771. Msh.MeshType = MeshType
  4772. Msh.MeshId = MeshId
  4773. end
  4774. return Msh
  4775. end;
  4776. };
  4777.  
  4778. ["Weld"] = {
  4779. Create = function(Parent, Part0, Part1, C0, C1)
  4780. local Weld = Create("Weld"){
  4781. Parent = Parent,
  4782. Part0 = Part0,
  4783. Part1 = Part1,
  4784. C0 = C0,
  4785. C1 = C1,
  4786. }
  4787. return Weld
  4788. end;
  4789. };
  4790.  
  4791. ["Sound"] = {
  4792. Create = function(id, par, vol, pit)
  4793. coroutine.resume(coroutine.create(function()
  4794. local S = Create("Sound"){
  4795. Volume = vol,
  4796. Name = "EffectSoundo",
  4797. Pitch = pit or 1,
  4798. SoundId = id,
  4799. Parent = par or workspace,
  4800. }
  4801. wait()
  4802. S:play()
  4803. game:GetService("Debris"):AddItem(S, 10)
  4804. end))
  4805. end;
  4806. };
  4807.  
  4808. ["TimeSound"] = {
  4809. Create = function(id, par, vol, pit, timepos)
  4810. coroutine.resume(coroutine.create(function()
  4811. local S = Create("Sound"){
  4812. Volume = vol,
  4813. Name = "EffectSoundo",
  4814. Pitch = pit or 1,
  4815. SoundId = id,
  4816. TimePosition = timepos,
  4817. Parent = par or workspace,
  4818. }
  4819. wait()
  4820. S:play()
  4821. game:GetService("Debris"):AddItem(S, 10)
  4822. end))
  4823. end;
  4824. };
  4825. ["EchoSound"] = {
  4826. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  4827. coroutine.resume(coroutine.create(function()
  4828. local Sas = Create("Sound"){
  4829. Volume = vol,
  4830. Name = "EffectSoundo",
  4831. Pitch = pit or 1,
  4832. SoundId = id,
  4833. TimePosition = timepos,
  4834. Parent = par or workspace,
  4835. }
  4836. local E = Create("EchoSoundEffect"){
  4837. Delay = echodelay,
  4838. Name = "Echo",
  4839. Feedback = fedb,
  4840. DryLevel = dryl,
  4841. Parent = Sas,
  4842. }
  4843. wait()
  4844. Sas:play()
  4845. game:GetService("Debris"):AddItem(Sas, delays)
  4846. end))
  4847. end;
  4848. };
  4849.  
  4850. ["LongSound"] = {
  4851. Create = function(id, par, vol, pit)
  4852. coroutine.resume(coroutine.create(function()
  4853. local S = Create("Sound"){
  4854. Volume = vol,
  4855. Pitch = pit or 1,
  4856. SoundId = id,
  4857. Parent = par or workspace,
  4858. }
  4859. wait()
  4860. S:play()
  4861. game:GetService("Debris"):AddItem(S, 60)
  4862. end))
  4863. end;
  4864. };
  4865.  
  4866. ["ParticleEmitter"] = {
  4867. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  4868. local fp = Create("ParticleEmitter"){
  4869. Parent = Parent,
  4870. Color = ColorSequence.new(Color1, Color2),
  4871. LightEmission = LightEmission,
  4872. Size = Size,
  4873. Texture = Texture,
  4874. Transparency = Transparency,
  4875. ZOffset = ZOffset,
  4876. Acceleration = Accel,
  4877. Drag = Drag,
  4878. LockedToPart = LockedToPart,
  4879. VelocityInheritance = VelocityInheritance,
  4880. EmissionDirection = EmissionDirection,
  4881. Enabled = Enabled,
  4882. Lifetime = LifeTime,
  4883. Rate = Rate,
  4884. Rotation = Rotation,
  4885. RotSpeed = RotSpeed,
  4886. Speed = Speed,
  4887. VelocitySpread = VelocitySpread,
  4888. }
  4889. return fp
  4890. end;
  4891. };
  4892.  
  4893. CreateTemplate = {
  4894.  
  4895. };
  4896. }
  4897.  
  4898.  
  4899.  
  4900. New = function(Object, Parent, Name, Data)
  4901. local Object = Instance.new(Object)
  4902. for Index, Value in pairs(Data or {}) do
  4903. Object[Index] = Value
  4904. end
  4905. Object.Parent = Parent
  4906. Object.Name = Name
  4907. return Object
  4908. end
  4909. local halocolor = BrickColor.new("Pastel light blue")
  4910. local halocolor2 = BrickColor.new("Cool yellow")
  4911. local starcolor = BrickColor.new("Bright yellow")
  4912. local lunacolor = BrickColor.new("Navy blue")
  4913. local lunacolor2 = BrickColor.new("Bright blue")
  4914. local wepcolor = BrickColor.new("Really black")
  4915. local maincolor = BrickColor.new("Really black")
  4916. local m = Instance.new("Model",char)
  4917. local m2 = Instance.new("Model",char)
  4918. local m3 = Instance.new("Model",char)
  4919. local mw1 = Instance.new("Model",char)
  4920. local mw2 = Instance.new("Model",char)
  4921.  
  4922.  
  4923.  
  4924.  
  4925. local extrawingmod1 = Instance.new("Model",char)
  4926. local extrawingmod2 = Instance.new("Model",char)
  4927.  
  4928. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  4929. local p = Instance.new("Part")
  4930. p.TopSurface = 0
  4931. p.BottomSurface = 0
  4932. p.Parent = parent
  4933. p.Size = Vector3.new(0.1,0.1,0.1)
  4934. p.Transparency = transparency
  4935. p.Reflectance = reflectance
  4936. p.CanCollide = false
  4937. p.Locked = true
  4938. p.BrickColor = brickcolor
  4939. p.Material = material
  4940. return p
  4941. end
  4942.  
  4943. function CreateMesh(parent,meshtype,x1,y1,z1)
  4944. local mesh = Instance.new("SpecialMesh",parent)
  4945. mesh.MeshType = meshtype
  4946. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  4947. return mesh
  4948. end
  4949.  
  4950. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  4951. local mesh = Instance.new("SpecialMesh",parent)
  4952. mesh.MeshType = "FileMesh"
  4953. mesh.MeshId = meshid
  4954. mesh.Scale = Vector3.new(x1,y1,z1)
  4955. return mesh
  4956. end
  4957.  
  4958.  
  4959. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  4960. local mesh = Instance.new("SpecialMesh",parent)
  4961. mesh.MeshType = "FileMesh"
  4962. mesh.MeshId = meshid
  4963. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  4964. mesh.Scale = Vector3.new(x1,y1,z1)
  4965. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  4966. return mesh
  4967. end
  4968.  
  4969. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  4970. local weld = Instance.new("Weld")
  4971. weld.Parent = parent
  4972. weld.Part0 = part0
  4973. weld.Part1 = part1
  4974. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  4975. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  4976. return weld
  4977. end
  4978.  
  4979.  
  4980. --------------
  4981. --------------
  4982. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4983. 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))
  4984. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4985. 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))
  4986.  
  4987. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  4988. CreateMesh(handle,"Brick",0,0,0)
  4989. 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))
  4990. local valuaring = 10
  4991. for i = 0, 49 do
  4992. valuaring = valuaring + 10
  4993. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  4994. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  4995. 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))
  4996. end
  4997.  
  4998. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  4999. CreateMesh(handle,"Brick",0,0,0)
  5000. 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))
  5001. local valuaring = 10
  5002. for i = 0, 49 do
  5003. valuaring = valuaring + 10
  5004. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5005. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  5006. 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))
  5007. end
  5008.  
  5009.  
  5010. local handle = CreateParta(m,1,1,"Neon",maincolor)
  5011. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5012. 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))
  5013.  
  5014. --- Left wing.
  5015.  
  5016. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  5017. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5018. 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))
  5019.  
  5020. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5021. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5022. 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))
  5023. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5024. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5025. 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))
  5026. A0 = Instance.new('Attachment',wed)
  5027. A0.Position = vt(0,0.25,0.25)
  5028. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5029. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5030. 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))
  5031. A1 = Instance.new('Attachment',wed)
  5032. A1.Position = vt(0,-0.25,-2)
  5033. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5034. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5035. 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))
  5036.  
  5037. tl1 = Instance.new('Trail',wed)
  5038. tl1.Attachment0 = A1
  5039. tl1.Attachment1 = A0
  5040. tl1.Texture = "rbxassetid://2108945559"
  5041. tl1.LightEmission = 1
  5042. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5043. tl1.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  5044. tl1.Lifetime = 0.6
  5045.  
  5046.  
  5047. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  5048. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5049. 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))
  5050.  
  5051. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5052. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5053. 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))
  5054. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5055. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5056. 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))
  5057. A0 = Instance.new('Attachment',wed)
  5058. A0.Position = vt(0,0.25,0.25)
  5059. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5060. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5061. 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))
  5062. A1 = Instance.new('Attachment',wed)
  5063. A1.Position = vt(0,-0.25,-2)
  5064. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5065. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5066. 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))
  5067.  
  5068. tl2 = Instance.new('Trail',wed)
  5069. tl2.Attachment0 = A1
  5070. tl2.Attachment1 = A0
  5071. tl2.Texture = "rbxassetid://2108945559"
  5072. tl2.LightEmission = 1
  5073. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5074. tl2.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  5075. tl2.Lifetime = 0.6
  5076.  
  5077. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  5078. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5079. 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))
  5080.  
  5081. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5082. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5083. 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))
  5084. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5085. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5086. 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))
  5087. A0 = Instance.new('Attachment',wed)
  5088. A0.Position = vt(0,0.25,0.25)
  5089. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5090. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5091. 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))
  5092. A1 = Instance.new('Attachment',wed)
  5093. A1.Position = vt(0,-0.25,-2)
  5094. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  5095. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5096. 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))
  5097.  
  5098. tl3 = Instance.new('Trail',wed)
  5099. tl3.Attachment0 = A1
  5100. tl3.Attachment1 = A0
  5101. tl3.Texture = "rbxassetid://2108945559"
  5102. tl3.LightEmission = 1
  5103. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5104. tl3.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  5105. tl3.Lifetime = 0.6
  5106.  
  5107. tl1.Enabled = false
  5108. tl2.Enabled = false
  5109. tl3.Enabled = false
  5110. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  5111. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5112. 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))
  5113.  
  5114. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5115. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5116. 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))
  5117. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5118. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5119. 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))
  5120. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5121. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5122. 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))
  5123. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5124. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5125. 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))
  5126.  
  5127. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  5128. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5129. 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))
  5130.  
  5131. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5132. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5133. 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))
  5134. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5135. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5136. 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))
  5137. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5138. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5139. 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))
  5140. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5141. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5142. 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))
  5143.  
  5144. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  5145. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5146. 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))
  5147.  
  5148. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5149. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5150. 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))
  5151. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5152. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5153. 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))
  5154. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5155. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5156. 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))
  5157. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  5158. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5159. 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))
  5160.  
  5161. -- Right wing.
  5162.  
  5163. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  5164. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5165. 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))
  5166.  
  5167. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5168. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5169. 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))
  5170. A0 = Instance.new('Attachment',wed)
  5171. A0.Position = vt(0,0.25,0.25)
  5172. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5173. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5174. 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))
  5175. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5176. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5177. 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))
  5178. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5179. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5180. 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))
  5181. A1 = Instance.new('Attachment',wed)
  5182. A1.Position = vt(0,2,0.25)
  5183.  
  5184. tr1 = Instance.new('Trail',wed)
  5185. tr1.Attachment0 = A1
  5186. tr1.Attachment1 = A0
  5187. tr1.Texture = "rbxassetid://2108945559"
  5188. tr1.LightEmission = 1
  5189. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5190. tr1.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  5191. tr1.Lifetime = 0.6
  5192.  
  5193. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  5194. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5195. 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))
  5196.  
  5197. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5198. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5199. 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))
  5200. A0 = Instance.new('Attachment',wed)
  5201. A0.Position = vt(0,0.25,0.25)
  5202. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5203. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5204. 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))
  5205. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5206. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5207. 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))
  5208. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5209. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5210. 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))
  5211. A1 = Instance.new('Attachment',wed)
  5212. A1.Position = vt(0,2,0.25)
  5213.  
  5214. tr2 = Instance.new('Trail',wed)
  5215. tr2.Attachment0 = A1
  5216. tr2.Attachment1 = A0
  5217. tr2.Texture = "rbxassetid://2108945559"
  5218. tr2.LightEmission = 1
  5219. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5220. tr2.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  5221. tr2.Lifetime = 0.6
  5222.  
  5223. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  5224. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5225. 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))
  5226.  
  5227. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5228. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5229. 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))
  5230. A0 = Instance.new('Attachment',wed)
  5231. A0.Position = vt(0,0.25,0.25)
  5232. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5233. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5234. 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))
  5235. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5236. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5237. 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))
  5238. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  5239. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5240. 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))
  5241. A1 = Instance.new('Attachment',wed)
  5242. A1.Position = vt(0,2,0.25)
  5243.  
  5244. tr3 = Instance.new('Trail',wed)
  5245. tr3.Attachment0 = A1
  5246. tr3.Attachment1 = A0
  5247. tr3.Texture = "rbxassetid://2108945559"
  5248. tr3.LightEmission = 1
  5249. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5250. tr3.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
  5251. tr3.Lifetime = 0.6
  5252.  
  5253.  
  5254. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  5255. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5256. 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))
  5257.  
  5258. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5259. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5260. 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))
  5261. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5262. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5263. 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))
  5264. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5265. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5266. 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))
  5267. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5268. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5269. 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))
  5270.  
  5271. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  5272. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5273. 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))
  5274.  
  5275. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5276. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5277. 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))
  5278. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5279. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5280. 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))
  5281. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5282. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5283. 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))
  5284. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5285. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5286. 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))
  5287.  
  5288. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  5289. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  5290. 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))
  5291.  
  5292. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5293. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5294. 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))
  5295. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5296. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  5297. 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))
  5298. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5299. CreateMesh(wed,"Wedge",0.05,0.5,3)
  5300. 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))
  5301. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  5302. CreateMesh(wed,"Wedge",0.05,3,0.5)
  5303. 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))
  5304.  
  5305. --HERES THE RING
  5306.  
  5307.  
  5308. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  5309. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  5310. 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))
  5311. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5312. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  5313. 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))
  5314. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5315. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  5316. 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))
  5317.  
  5318.  
  5319. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5320. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  5321. 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))
  5322.  
  5323. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5324. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  5325. 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))
  5326.  
  5327.  
  5328.  
  5329. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  5330. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  5331. 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))
  5332.  
  5333. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  5334. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  5335. 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))
  5336.  
  5337. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  5338. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  5339. 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))
  5340.  
  5341. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5342. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  5343. 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))
  5344. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  5345. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  5346. 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))]]--
  5347.  
  5348. --- second ring
  5349.  
  5350.  
  5351. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5352. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  5353. 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))
  5354.  
  5355. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5356. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  5357. 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))
  5358.  
  5359.  
  5360.  
  5361. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  5362. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  5363. 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))
  5364.  
  5365. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  5366. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  5367. 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))
  5368.  
  5369. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  5370. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  5371. 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))
  5372.  
  5373. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  5374. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  5375. 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))
  5376. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  5377. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  5378. 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))
  5379.  
  5380.  
  5381.  
  5382. for i, v in pairs(m:GetChildren()) do
  5383. if v:IsA("Part") then
  5384. v.BrickColor = BrickColor.new("Really black")
  5385. v.Material = "Glass"
  5386. end
  5387. end
  5388. for i, v in pairs(m2:GetChildren()) do
  5389. if v:IsA("Part") then
  5390. v.BrickColor = BrickColor.new("Crimson")
  5391. v.Material = "Granite"
  5392. end
  5393. end
  5394. for i, v in pairs(m3:GetChildren()) do
  5395. if v:IsA("Part") then
  5396. v.BrickColor = BrickColor.new("Really blue")
  5397. v.Material = "Neon"
  5398. end
  5399. end
  5400. for i, v in pairs(mw2:GetChildren()) do
  5401. if v:IsA("Part") then
  5402. v.BrickColor = BrickColor.new("Really blue")
  5403. v.Material = "Neon"
  5404. end
  5405. end
  5406. for i, v in pairs(mw1:GetChildren()) do
  5407. if v:IsA("Part") then
  5408. v.Transparency = 1
  5409. v.BrickColor = BrickColor.new("Really blue")
  5410. v.Material = "Neon"
  5411. end
  5412. end
  5413. for i, v in pairs(extrawingmod1:GetChildren()) do
  5414. if v:IsA("Part") then
  5415. v.Transparency = 1
  5416. v.BrickColor = BrickColor.new("White")
  5417. v.Material = "Neon"
  5418. end
  5419. end
  5420. for i, v in pairs(extrawingmod2:GetChildren()) do
  5421. if v:IsA("Part") then
  5422. v.Transparency = 1
  5423. v.BrickColor = BrickColor.new("White")
  5424. v.Material = "Neon"
  5425. end
  5426. end
  5427. local MAINRUINCOLOR = BrickColor.new("Navy blue")
  5428. local SECONDRUINCOLOR = BrickColor.new("Navy blue")
  5429. local THIRDRUINCOLOR = BrickColor.new("Really black")
  5430.  
  5431. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
  5432. for i, v in pairs(mw2:GetChildren()) do
  5433. if v:IsA("Part") then
  5434. v.BrickColor = one
  5435. v.Material = "Neon"
  5436. end
  5437. end
  5438. refec.Color = ColorSequence.new(one.Color)
  5439. refec2.Color = ColorSequence.new(one.Color)
  5440. refec3.Color = ColorSequence.new(one.Color)
  5441. tr1.Color = ColorSequence.new(one.Color)
  5442. tr2.Color = ColorSequence.new(one.Color)
  5443. tr3.Color = ColorSequence.new(one.Color)
  5444. imgl2.ImageColor3 = one.Color
  5445. circl.ImageColor3 = two.Color
  5446. techc.ImageColor3 = one.Color
  5447. circl2.ImageColor3 = one.Color
  5448. ned.TextColor3 = two.Color
  5449. ned.TextStrokeColor3 = one.Color
  5450. for i, v in pairs(mw1:GetChildren()) do
  5451. if v:IsA("Part") then
  5452. v.Transparency = 0
  5453. v.BrickColor = two
  5454. v.Material = "Neon"
  5455. end
  5456. end
  5457. tl1.Color = ColorSequence.new(two.Color)
  5458. tl2.Color = ColorSequence.new(two.Color)
  5459. tl3.Color = ColorSequence.new(two.Color)
  5460. for i, v in pairs(m:GetChildren()) do
  5461. if v:IsA("Part") then
  5462. v.BrickColor = three
  5463. v.Material = "Ice"
  5464. end
  5465. end
  5466. for i, v in pairs(m2:GetChildren()) do
  5467. if v:IsA("Part") then
  5468. v.BrickColor = four
  5469. v.Material = "Ice"
  5470. end
  5471. end
  5472. for i, v in pairs(m3:GetChildren()) do
  5473. if v:IsA("Part") then
  5474. v.BrickColor = five
  5475. v.Material = "Neon"
  5476. end
  5477. end
  5478. for i, v in pairs(extrawingmod1:GetChildren()) do
  5479. if v:IsA("Part") then
  5480. v.Transparency = exonetran
  5481. v.BrickColor = exone
  5482. v.Material = "Neon"
  5483. end
  5484. end
  5485. for i, v in pairs(extrawingmod2:GetChildren()) do
  5486. if v:IsA("Part") then
  5487. v.Transparency = extwotran
  5488. v.BrickColor = extwo
  5489. v.Material = "Neon"
  5490. end
  5491. end
  5492. end
  5493.  
  5494. function bosschatfunc(text,color,watval)
  5495. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  5496. coroutine.resume(coroutine.create(function()
  5497. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  5498. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  5499. end
  5500. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  5501. scrg.Name = "Dialog"
  5502. local txtlb = Instance.new("TextLabel",scrg)
  5503. txtlb.Text = ""
  5504. txtlb.Font = "Bodoni"
  5505. txtlb.TextColor3 = Color3.new(0,0,0)
  5506. txtlb.TextStrokeTransparency = 0
  5507. txtlb.BackgroundTransparency = 0.75
  5508. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  5509. txtlb.TextStrokeColor3 = color
  5510. txtlb.TextScaled = true
  5511. txtlb.Size = UDim2.new(1,0,0.25,0)
  5512. txtlb.TextXAlignment = "Left"
  5513. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  5514. local txtlb2 = Instance.new("TextLabel",scrg)
  5515. txtlb2.Text = "Chaotic:"
  5516. txtlb2.Font = "Arcade"
  5517. txtlb2.TextColor3 = Color3.new(0,0,0)
  5518. txtlb2.TextStrokeTransparency = 0
  5519. txtlb2.BackgroundTransparency = 1
  5520. txtlb2.TextStrokeColor3 = color
  5521. txtlb2.TextSize = 40
  5522. txtlb2.Size = UDim2.new(1,0,0.25,0)
  5523. txtlb2.TextXAlignment = "Left"
  5524. txtlb2.Position = UDim2.new(0,0,1,0)
  5525. local fvalen = 0.55
  5526. local fval = -0.49
  5527. coroutine.resume(coroutine.create(function()
  5528. while true do
  5529. Swait()
  5530. if MODE == "Sanity" then
  5531. txtlb.Rotation = math.random(-1,1)
  5532. txtlb2.Rotation = math.random(-1,1)
  5533. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  5534. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  5535. txtlb.TextStrokeColor3 = BrickColor.random().Color
  5536. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  5537. end
  5538. end
  5539. end))
  5540. coroutine.resume(coroutine.create(function()
  5541. while true do
  5542. Swait()
  5543. if scrg.Parent ~= nil then
  5544. fvalen = fvalen - 0.0001
  5545. elseif scrg.Parent == nil then
  5546. break
  5547. end
  5548. end
  5549. end))
  5550. local flol = 1.75
  5551. local flil = 1.6
  5552. coroutine.resume(coroutine.create(function()
  5553. for i = 0, 9 do
  5554. Swait()
  5555. fval = fval + 0.05
  5556. flol = flol - 0.1
  5557. flil = flil - 0.1
  5558. txtlb.Text = ""
  5559. txtlb.Position = UDim2.new(0,0,flol,0)
  5560. txtlb2.Position = UDim2.new(0,0,flil,0)
  5561. end
  5562. txtlb.Text = text
  5563. wait(watval)
  5564. local valinc = 0
  5565. for i = 0, 99 do
  5566. Swait()
  5567. valinc = valinc + 0.0001
  5568. flol = flol + valinc
  5569. flil = flil + valinc
  5570. txtlb.Rotation = txtlb.Rotation + valinc*20
  5571. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  5572. txtlb.Position = UDim2.new(0,0,flol,0)
  5573. txtlb2.Position = UDim2.new(0,0,flil,0)
  5574. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  5575. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  5576. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  5577. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  5578. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  5579. end
  5580. scrg:Destroy()
  5581. end))
  5582. end))
  5583. end
  5584. end
  5585.  
  5586. function BigBlack(text,color,watval)
  5587. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  5588. coroutine.resume(coroutine.create(function()
  5589. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  5590. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  5591. end
  5592. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  5593. scrg.Name = "Dialog"
  5594. local txtlb = Instance.new("TextLabel",scrg)
  5595. txtlb.Text = ""
  5596. txtlb.Font = "Bodoni"
  5597. txtlb.TextColor3 = Color3.new(0,0,0)
  5598. txtlb.TextStrokeTransparency = 1
  5599. txtlb.BackgroundTransparency = 1
  5600. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  5601. txtlb.TextStrokeColor3 = color
  5602. txtlb.TextScaled = true
  5603. txtlb.Size = UDim2.new(1,0,1,0)
  5604. txtlb.TextXAlignment = "Center"
  5605. txtlb.Position = UDim2.new(0,0,6.75 + 1,0)
  5606. local txtlb2 = Instance.new("TextLabel",scrg)
  5607. txtlb2.Text = "Chaotic:"
  5608. txtlb2.Font = "Arcade"
  5609. txtlb2.TextColor3 = Color3.new(0,0,0)
  5610. txtlb2.TextStrokeTransparency = 0
  5611. txtlb2.BackgroundTransparency = 1
  5612. txtlb2.TextStrokeColor3 = color
  5613. txtlb2.TextSize = 40
  5614. txtlb2.Size = UDim2.new(1,0,0.25,0)
  5615. txtlb2.TextXAlignment = "Left"
  5616. txtlb2.Position = UDim2.new(0,0,1,0)
  5617. local fvalen = 0.55
  5618. local fval = -0.49
  5619. coroutine.resume(coroutine.create(function()
  5620. while true do
  5621. Swait()
  5622. if MODE == "Sanity" then
  5623. txtlb.Rotation = math.random(-1,1)
  5624. txtlb2.Rotation = math.random(-1,1)
  5625. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  5626. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  5627. txtlb.TextStrokeColor3 = BrickColor.random().Color
  5628. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  5629. end
  5630. end
  5631. end))
  5632. coroutine.resume(coroutine.create(function()
  5633. while true do
  5634. Swait()
  5635. if scrg.Parent ~= nil then
  5636. fvalen = fvalen - 0.0001
  5637. elseif scrg.Parent == nil then
  5638. break
  5639. end
  5640. end
  5641. end))
  5642. local flol = 1.05
  5643. local flil = 0.75
  5644. local flil2 = -0.2
  5645. coroutine.resume(coroutine.create(function()
  5646. for i = 1,string.len(text),1 do
  5647. wait()
  5648. text.Text = string.sub(text,1,i)
  5649. end
  5650. end))
  5651. coroutine.resume(coroutine.create(function()
  5652. for i = 0, 1 do
  5653. fval = fval + 0.05
  5654. flol = flol - 0.1
  5655. flil2 = flil2 + 0.1
  5656. txtlb.Text = ""
  5657. txtlb.Position = UDim2.new(flil2,0,0,0)
  5658. txtlb.BackgroundTransparency = 1 - 0.1
  5659. txtlb2.Position = UDim2.new(flil2,0,0,0)
  5660. end
  5661.  
  5662. for i = 0, 99 do
  5663. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency - 0.01
  5664. txtlb.TextTransparency = txtlb.TextTransparency - 0.01
  5665. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency - 0.01
  5666. txtlb2.TextTransparency = txtlb2.TextTransparency - 0.01
  5667. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency - 0.0025
  5668. end
  5669.  
  5670. txtlb.Text = text
  5671. wait(watval)
  5672. local valinc = 0
  5673. for i = 0, 99 do
  5674. Swait()
  5675. valinc = valinc + 0.0002
  5676. flol = flol + valinc
  5677. flil2 = flil2 + valinc
  5678. txtlb.Rotation = txtlb.Rotation + valinc*15
  5679. txtlb2.Rotation = txtlb2.Rotation - valinc*15
  5680. txtlb.Position = UDim2.new(flil2,0,0,0)
  5681. txtlb2.Position = UDim2.new(flil2,0,0,0)
  5682. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  5683. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  5684. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  5685. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  5686. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  5687. end
  5688. scrg:Destroy()
  5689. end))
  5690. end))
  5691. end
  5692. end
  5693. ------
  5694.  
  5695.  
  5696. function RemoveOutlines(part)
  5697. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  5698. end
  5699. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  5700. local Part = Create("Part")({
  5701. Parent = Parent,
  5702. Reflectance = Reflectance,
  5703. Transparency = Transparency,
  5704. CanCollide = false,
  5705. Locked = true,
  5706. BrickColor = BrickColor.new(tostring(BColor)),
  5707. Name = Name,
  5708. Size = Size,
  5709. Material = Material
  5710. })
  5711. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  5712. RemoveOutlines(Part)
  5713. return Part
  5714. end
  5715. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  5716. local Msh = Create(Mesh)({
  5717. Parent = Part,
  5718. Offset = OffSet,
  5719. Scale = Scale
  5720. })
  5721. if Mesh == "SpecialMesh" then
  5722. Msh.MeshType = MeshType
  5723. Msh.MeshId = MeshId
  5724. end
  5725. return Msh
  5726. end
  5727. function CreateWeld(Parent, Part0, Part1, C0, C1)
  5728. local Weld = Create("Weld")({
  5729. Parent = Parent,
  5730. Part0 = Part0,
  5731. Part1 = Part1,
  5732. C0 = C0,
  5733. C1 = C1
  5734. })
  5735. return Weld
  5736. end
  5737.  
  5738.  
  5739.  
  5740. Player = plr
  5741. PlayerGui = Player.PlayerGui
  5742. Cam = workspace.CurrentCamera
  5743. Backpack = Player.Backpack
  5744. Character = Player.Character
  5745. Humanoid = Character.Humanoid
  5746. RootPart = Character["HumanoidRootPart"]
  5747. Torso = Character["Torso"]
  5748. Head = Character["Head"]
  5749. RightArm = Character["Right Arm"]
  5750. LeftArm = Character["Left Arm"]
  5751. RightLeg = Character["Right Leg"]
  5752. LeftLeg = Character["Left Leg"]
  5753. RootJoint = RootPart["RootJoint"]
  5754. Neck = Torso["Neck"]
  5755. RightShoulder = Torso["Right Shoulder"]
  5756. LeftShoulder = Torso["Left Shoulder"]
  5757. RightHip = Torso["Right Hip"]
  5758. LeftHip = Torso["Left Hip"]
  5759. local sick = Instance.new("Sound",Torso)
  5760. sick.SoundId = "rbxassetid://1306847940"
  5761. sick.Looped = true
  5762. sick.Pitch = 1
  5763. sick.Volume = 0
  5764. sick.TimePosition = 0
  5765. Character.Archivable = true
  5766. Humanoid.DisplayDistanceType = "None"
  5767.  
  5768. local naeeym2 = Instance.new("BillboardGui",Character)
  5769. naeeym2.AlwaysOnTop = true
  5770. naeeym2.Size = UDim2.new(5,35,2,35)
  5771. naeeym2.StudsOffset = Vector3.new(0,3,0)
  5772. naeeym2.Adornee = Character.Head
  5773. naeeym2.Name = "Name"
  5774. local tecks2 = Instance.new("TextLabel",naeeym2)
  5775. tecks2.BackgroundTransparency = 1
  5776. tecks2.TextScaled = true
  5777. tecks2.BorderSizePixel = 0
  5778. tecks2.Text = "Lunar"
  5779. tecks2.Font = "Antique"
  5780. tecks2.TextSize = 30
  5781. tecks2.TextTransparency = 1
  5782. tecks2.TextStrokeTransparency = 1
  5783. tecks2.TextColor3 = Color3.new(0/255,0/255,255/255)
  5784. tecks2.Size = UDim2.new(1,0,0.5,0)
  5785. tecks2.Parent = naeeym2
  5786.  
  5787. IT = Instance.new
  5788. CF = CFrame.new
  5789. VT = Vector3.new
  5790. RAD = math.rad
  5791. C3 = Color3.new
  5792. UD2 = UDim2.new
  5793. BRICKC = BrickColor.new
  5794. ANGLES = CFrame.Angles
  5795. EULER = CFrame.fromEulerAnglesXYZ
  5796. COS = math.cos
  5797. ACOS = math.acos
  5798. SIN = math.sin
  5799. ASIN = math.asin
  5800. ABS = math.abs
  5801. MRANDOM = math.random
  5802. FLOOR = math.floor
  5803.  
  5804. --//=================================\\
  5805. --|| USEFUL VALUES
  5806. --\\=================================//
  5807.  
  5808. Animation_Speed = 3
  5809. local FORCERESET = false
  5810. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  5811. local Speed = 16
  5812. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  5813. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  5814. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  5815. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  5816. local DAMAGEMULTIPLIER = 1
  5817. local ANIM = "Idle"
  5818. local ATTACK = false
  5819. local EQUIPPED = false
  5820. local HOLD = false
  5821. local COMBO = 1
  5822. local Rooted = false
  5823. local INTRO = false
  5824. local Gun = IT("Model")
  5825. Gun.Name = "Gun"
  5826. local SINE = 0
  5827. local KEYHOLD = false
  5828. local CHANGE = 2 / Animation_Speed
  5829. local WALKINGANIM = false
  5830. local VALUE1 = false
  5831. local VALUE2 = false
  5832. local ROBLOXIDLEANIMATION = IT("Animation")
  5833. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  5834. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  5835. --ROBLOXIDLEANIMATION.Parent = Humanoid
  5836. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  5837. WEAPONGUI.Name = "BanishV3Gui"
  5838. local Weapon = IT("Model")
  5839. Weapon.Name = "Adds"
  5840. local FaceGradient = IT("Folder", Character)
  5841. FaceGradient.Name = "FaceGradient"
  5842. local Effects = IT("Folder", Weapon)
  5843. Effects.Name = "Effects"
  5844. local ANIMATOR = Humanoid.Animator
  5845. local ANIMATE = Character:FindFirstChild("Animate")
  5846. local UNANCHOR = true
  5847. local TOBANISH = {}
  5848. script.Parent = PlayerGui
  5849.  
  5850. --//=================================\\
  5851. --\\=================================//
  5852.  
  5853.  
  5854. --//=================================\\
  5855. --|| CUSTOMIZATION
  5856. --\\=================================//
  5857.  
  5858. Class_Name = "Sharpshooter"
  5859. Weapon_Name = "Add-ons"
  5860.  
  5861. Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
  5862. Custom_Color_2 = BRICKC("Maroon"); --2nd color for the weapon.
  5863.  
  5864. Custom_Color_3 = BRICKC("Navy blue"); --Color for the abilities.
  5865. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  5866. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  5867. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  5868. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  5869.  
  5870. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  5871. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  5872. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  5873. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  5874. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  5875.  
  5876.  
  5877. Player_Size = 1 --Size of the player.
  5878. Animation_Speed = 3
  5879. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  5880.  
  5881. local Speed = 16
  5882. local Effects2 = {}
  5883.  
  5884. --//=================================\\
  5885. --|| END OF CUSTOMIZATION
  5886. --\\=================================//
  5887.  
  5888.  
  5889. --//=================================\\
  5890. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  5891. --\\=================================//
  5892.  
  5893. ArtificialHB = Instance.new("BindableEvent", script)
  5894. ArtificialHB.Name = "ArtificialHB"
  5895.  
  5896. script:WaitForChild("ArtificialHB")
  5897.  
  5898. frame = Frame_Speed
  5899. tf = 0
  5900. allowframeloss = false
  5901. tossremainder = false
  5902. lastframe = tick()
  5903. script.ArtificialHB:Fire()
  5904.  
  5905. game:GetService("RunService").Heartbeat:connect(function(s, p)
  5906. tf = tf + s
  5907. if tf >= frame then
  5908. if allowframeloss then
  5909. script.ArtificialHB:Fire()
  5910. lastframe = tick()
  5911. else
  5912. for i = 1, math.floor(tf / frame) do
  5913. script.ArtificialHB:Fire()
  5914. end
  5915. lastframe = tick()
  5916. end
  5917. if tossremainder then
  5918. tf = 0
  5919. else
  5920. tf = tf - frame * math.floor(tf / frame)
  5921. end
  5922. end
  5923. end)
  5924.  
  5925. --//=================================\\
  5926. --\\=================================//
  5927.  
  5928. --//=================================\\
  5929. --|| SOME FUNCTIONS
  5930. --\\=================================//
  5931.  
  5932. function Clerp(a, b, t)
  5933. local qa = {QuaternionFromCFrame(a)}
  5934. local qb = {QuaternionFromCFrame(b)}
  5935. local ax, ay, az = a.x, a.y, a.z
  5936. local bx, by, bz = b.x, b.y, b.z
  5937. local _t = 1 - t
  5938. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  5939. end
  5940.  
  5941. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  5942. local frame = IT("Frame")
  5943. frame.BackgroundTransparency = TRANSPARENCY
  5944. frame.BorderSizePixel = BORDERSIZEPIXEL
  5945. frame.Position = POSITION
  5946. frame.Size = SIZE
  5947. frame.BackgroundColor3 = COLOR
  5948. frame.BorderColor3 = BORDERCOLOR
  5949. frame.Name = NAME
  5950. frame.Parent = PARENT
  5951. return frame
  5952. end
  5953.  
  5954. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  5955. local label = IT("TextLabel")
  5956. label.BackgroundTransparency = 1
  5957. label.Size = UD2(1, 0, 1, 0)
  5958. label.Position = UD2(0, 0, 0, 0)
  5959. label.TextColor3 = TEXTCOLOR
  5960. label.TextStrokeTransparency = STROKETRANSPARENCY
  5961. label.TextTransparency = TRANSPARENCY
  5962. label.FontSize = TEXTFONTSIZE
  5963. label.Font = TEXTFONT
  5964. label.BorderSizePixel = BORDERSIZEPIXEL
  5965. label.TextScaled = false
  5966. label.Text = TEXT
  5967. label.Name = NAME
  5968. label.Parent = PARENT
  5969. return label
  5970. end
  5971.  
  5972. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  5973. if FLOOR ~= nil then
  5974. coroutine.resume(coroutine.create(function()
  5975. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  5976. PART.CFrame = CF(POSITION)
  5977. for i = 1, 45 do
  5978. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  5979. RingPiece.Material = FLOOR.Material
  5980. RingPiece.Color = FLOOR.Color
  5981. 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)))
  5982. Debris:AddItem(RingPiece,SWAIT)
  5983. end
  5984. PART:remove()
  5985. end))
  5986. end
  5987. end
  5988.  
  5989. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  5990. if FLOOR ~= nil then
  5991. for i = 1, AMOUNT do
  5992. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  5993. DEBREE.Material = FLOOR.Material
  5994. DEBREE.Color = FLOOR.Color
  5995. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  5996. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  5997. coroutine.resume(coroutine.create(function()
  5998. Swait(15)
  5999. DEBREE.Parent = workspace
  6000. DEBREE.CanCollide = true
  6001. Debris:AddItem(DEBREE,SWAIT)
  6002. end))
  6003. end
  6004. end
  6005. end
  6006.  
  6007. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  6008. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  6009. end
  6010.  
  6011. function PositiveAngle(NUMBER)
  6012. if NUMBER >= 0 then
  6013. NUMBER = 0
  6014. end
  6015. return NUMBER
  6016. end
  6017.  
  6018. function NegativeAngle(NUMBER)
  6019. if NUMBER <= 0 then
  6020. NUMBER = 0
  6021. end
  6022. return NUMBER
  6023. end
  6024.  
  6025. function Swait(NUMBER)
  6026. if NUMBER == 0 or NUMBER == nil then
  6027. ArtificialHB.Event:wait()
  6028. else
  6029. for i = 1, NUMBER do
  6030. ArtificialHB.Event:wait()
  6031. end
  6032. end
  6033. end
  6034.  
  6035. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  6036. local NEWMESH = IT(MESH)
  6037. if MESH == "SpecialMesh" then
  6038. NEWMESH.MeshType = MESHTYPE
  6039. if MESHID ~= "nil" and MESHID ~= "" then
  6040. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  6041. end
  6042. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  6043. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  6044. end
  6045. end
  6046. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  6047. NEWMESH.Scale = SCALE
  6048. NEWMESH.Parent = PARENT
  6049. return NEWMESH
  6050. end
  6051.  
  6052. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  6053. local NEWPART = IT("Part")
  6054. NEWPART.formFactor = FORMFACTOR
  6055. NEWPART.Reflectance = REFLECTANCE
  6056. NEWPART.Transparency = TRANSPARENCY
  6057. NEWPART.CanCollide = false
  6058. NEWPART.Locked = true
  6059. NEWPART.Anchored = true
  6060. if ANCHOR == false then
  6061. NEWPART.Anchored = false
  6062. end
  6063. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  6064. NEWPART.Name = NAME
  6065. NEWPART.Size = SIZE
  6066. NEWPART.Position = Torso.Position
  6067. NEWPART.Material = MATERIAL
  6068. NEWPART:BreakJoints()
  6069. NEWPART.Parent = PARENT
  6070. return NEWPART
  6071. end
  6072.  
  6073. local function weldBetween(a, b)
  6074. local weldd = Instance.new("ManualWeld")
  6075. weldd.Part0 = a
  6076. weldd.Part1 = b
  6077. weldd.C0 = CFrame.new()
  6078. weldd.C1 = b.CFrame:inverse() * a.CFrame
  6079. weldd.Parent = a
  6080. return weldd
  6081. end
  6082.  
  6083.  
  6084. function QuaternionFromCFrame(cf)
  6085. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  6086. local trace = m00 + m11 + m22
  6087. if trace > 0 then
  6088. local s = math.sqrt(1 + trace)
  6089. local recip = 0.5 / s
  6090. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  6091. else
  6092. local i = 0
  6093. if m11 > m00 then
  6094. i = 1
  6095. end
  6096. if m22 > (i == 0 and m00 or m11) then
  6097. i = 2
  6098. end
  6099. if i == 0 then
  6100. local s = math.sqrt(m00 - m11 - m22 + 1)
  6101. local recip = 0.5 / s
  6102. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  6103. elseif i == 1 then
  6104. local s = math.sqrt(m11 - m22 - m00 + 1)
  6105. local recip = 0.5 / s
  6106. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  6107. elseif i == 2 then
  6108. local s = math.sqrt(m22 - m00 - m11 + 1)
  6109. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  6110. end
  6111. end
  6112. end
  6113.  
  6114. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  6115. local xs, ys, zs = x + x, y + y, z + z
  6116. local wx, wy, wz = w * xs, w * ys, w * zs
  6117. local xx = x * xs
  6118. local xy = x * ys
  6119. local xz = x * zs
  6120. local yy = y * ys
  6121. local yz = y * zs
  6122. local zz = z * zs
  6123. 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))
  6124. end
  6125.  
  6126. function QuaternionSlerp(a, b, t)
  6127. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  6128. local startInterp, finishInterp;
  6129. if cosTheta >= 0.0001 then
  6130. if (1 - cosTheta) > 0.0001 then
  6131. local theta = ACOS(cosTheta)
  6132. local invSinTheta = 1 / SIN(theta)
  6133. startInterp = SIN((1 - t) * theta) * invSinTheta
  6134. finishInterp = SIN(t * theta) * invSinTheta
  6135. else
  6136. startInterp = 1 - t
  6137. finishInterp = t
  6138. end
  6139. else
  6140. if (1 + cosTheta) > 0.0001 then
  6141. local theta = ACOS(-cosTheta)
  6142. local invSinTheta = 1 / SIN(theta)
  6143. startInterp = SIN((t - 1) * theta) * invSinTheta
  6144. finishInterp = SIN(t * theta) * invSinTheta
  6145. else
  6146. startInterp = t - 1
  6147. finishInterp = t
  6148. end
  6149. end
  6150. 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
  6151. end
  6152.  
  6153. function Clerp(a, b, t)
  6154. local qa = {QuaternionFromCFrame(a)}
  6155. local qb = {QuaternionFromCFrame(b)}
  6156. local ax, ay, az = a.x, a.y, a.z
  6157. local bx, by, bz = b.x, b.y, b.z
  6158. local _t = 1 - t
  6159. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  6160. end
  6161.  
  6162. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  6163. local frame = IT("Frame")
  6164. frame.BackgroundTransparency = TRANSPARENCY
  6165. frame.BorderSizePixel = BORDERSIZEPIXEL
  6166. frame.Position = POSITION
  6167. frame.Size = SIZE
  6168. frame.BackgroundColor3 = COLOR
  6169. frame.BorderColor3 = BORDERCOLOR
  6170. frame.Name = NAME
  6171. frame.Parent = PARENT
  6172. return frame
  6173. end
  6174.  
  6175. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  6176. local label = IT("TextLabel")
  6177. label.BackgroundTransparency = 1
  6178. label.Size = UD2(1, 0, 1, 0)
  6179. label.Position = UD2(0, 0, 0, 0)
  6180. label.TextColor3 = TEXTCOLOR
  6181. label.TextStrokeTransparency = STROKETRANSPARENCY
  6182. label.TextTransparency = TRANSPARENCY
  6183. label.FontSize = TEXTFONTSIZE
  6184. label.Font = TEXTFONT
  6185. label.BorderSizePixel = BORDERSIZEPIXEL
  6186. label.TextScaled = false
  6187. label.Text = TEXT
  6188. label.Name = NAME
  6189. label.Parent = PARENT
  6190. return label
  6191. end
  6192.  
  6193. function NoOutlines(PART)
  6194. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  6195. end
  6196.  
  6197. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  6198. local NEWWELD = IT(TYPE)
  6199. NEWWELD.Part0 = PART0
  6200. NEWWELD.Part1 = PART1
  6201. NEWWELD.C0 = C0
  6202. NEWWELD.C1 = C1
  6203. NEWWELD.Parent = PARENT
  6204. return NEWWELD
  6205. end
  6206.  
  6207. local S = IT("Sound")
  6208. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  6209. local NEWSOUND = nil
  6210. coroutine.resume(coroutine.create(function()
  6211. NEWSOUND = S:Clone()
  6212. NEWSOUND.Parent = PARENT
  6213. NEWSOUND.Volume = VOLUME
  6214. NEWSOUND.Pitch = PITCH
  6215. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  6216. NEWSOUND:play()
  6217. if DOESLOOP == true then
  6218. NEWSOUND.Looped = true
  6219. else
  6220. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  6221. NEWSOUND:remove()
  6222. end
  6223. end))
  6224. return NEWSOUND
  6225. end
  6226.  
  6227. function CFrameFromTopBack(at, top, back)
  6228. local right = top:Cross(back)
  6229. 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)
  6230. end
  6231.  
  6232. --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})
  6233. function WACKYEFFECT(Table)
  6234. local TYPE = (Table.EffectType or "Sphere")
  6235. local SIZE = (Table.Size or VT(1,1,1))
  6236. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  6237. local TRANSPARENCY = (Table.Transparency or 0)
  6238. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  6239. local CFRAME = (Table.CFrame or Torso.CFrame)
  6240. local MOVEDIRECTION = (Table.MoveToPos or nil)
  6241. local ROTATION1 = (Table.RotationX or 0)
  6242. local ROTATION2 = (Table.RotationY or 0)
  6243. local ROTATION3 = (Table.RotationZ or 0)
  6244. local MATERIAL = (Table.Material or "Neon")
  6245. local COLOR = (Table.Color or C3(1,1,1))
  6246. local TIME = (Table.Time or 45)
  6247. local SOUNDID = (Table.SoundID or nil)
  6248. local SOUNDPITCH = (Table.SoundPitch or nil)
  6249. local SOUNDVOLUME = (Table.SoundVolume or nil)
  6250. coroutine.resume(coroutine.create(function()
  6251. local PLAYSSOUND = false
  6252. local SOUND = nil
  6253. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  6254. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  6255. PLAYSSOUND = true
  6256. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  6257. end
  6258. EFFECT.Color = COLOR
  6259. local MSH = nil
  6260. if TYPE == "Sphere" then
  6261. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  6262. elseif TYPE == "Block" then
  6263. MSH = IT("BlockMesh",EFFECT)
  6264. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  6265. elseif TYPE == "Wave" then
  6266. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  6267. elseif TYPE == "Ring" then
  6268. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  6269. elseif TYPE == "Slash" then
  6270. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  6271. elseif TYPE == "Round Slash" then
  6272. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  6273. elseif TYPE == "Swirl" then
  6274. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  6275. elseif TYPE == "Skull" then
  6276. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  6277. elseif TYPE == "Crystal" then
  6278. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  6279. end
  6280. if MSH ~= nil then
  6281. local MOVESPEED = nil
  6282. if MOVEDIRECTION ~= nil then
  6283. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  6284. end
  6285. local GROWTH = SIZE - ENDSIZE
  6286. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  6287. if TYPE == "Block" then
  6288. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  6289. else
  6290. EFFECT.CFrame = CFRAME
  6291. end
  6292. for LOOP = 1, TIME+1 do
  6293. Swait()
  6294. MSH.Scale = MSH.Scale - GROWTH/TIME
  6295. if TYPE == "Wave" then
  6296. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  6297. end
  6298. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  6299. if TYPE == "Block" then
  6300. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  6301. else
  6302. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  6303. end
  6304. if MOVEDIRECTION ~= nil then
  6305. local ORI = EFFECT.Orientation
  6306. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  6307. EFFECT.Orientation = ORI
  6308. end
  6309. end
  6310. if PLAYSSOUND == false then
  6311. EFFECT:remove()
  6312. else
  6313. SOUND.Stopped:Connect(function()
  6314. EFFECT:remove()
  6315. end)
  6316. end
  6317. else
  6318. if PLAYSSOUND == false then
  6319. EFFECT:remove()
  6320. else
  6321. repeat Swait() until SOUND.Playing == false
  6322. EFFECT:remove()
  6323. end
  6324. end
  6325. end))
  6326. end
  6327.  
  6328. local DECAL = IT("Decal")
  6329. function MakeRing()
  6330. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Navy blue"), "MagicRing", VT(0, 0, 0), true)
  6331. local MSH = IT("BlockMesh", RING)
  6332. local TOP = DECAL:Clone()
  6333. local BOTTOM = DECAL:Clone()
  6334. TOP.Parent = RING
  6335. BOTTOM.Parent = RING
  6336. TOP.Face = "Top"
  6337. BOTTOM.Face = "Bottom"
  6338. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  6339. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  6340. local function REMOVE()
  6341. coroutine.resume(coroutine.create(function()
  6342. local SIZE = MSH.Scale.X
  6343. for i = 1, 35 do
  6344. Swait()
  6345. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  6346. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  6347. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  6348. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  6349. end
  6350. RING:remove()
  6351. end))
  6352. end
  6353. return RING, MSH, REMOVE
  6354. end
  6355.  
  6356. function MakeForm(PART,TYPE)
  6357. if TYPE == "Cyl" then
  6358. local MSH = IT("CylinderMesh",PART)
  6359. elseif TYPE == "Ball" then
  6360. local MSH = IT("SpecialMesh",PART)
  6361. MSH.MeshType = "Sphere"
  6362. elseif TYPE == "Wedge" then
  6363. local MSH = IT("SpecialMesh",PART)
  6364. MSH.MeshType = "Wedge"
  6365. end
  6366. end
  6367.  
  6368. function SpawnTrail(FROM,TO,BIG)
  6369. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Navy blue", "Trail", VT(0,0,0))
  6370. MakeForm(TRAIL,"Cyl")
  6371. local DIST = (FROM - TO).Magnitude
  6372. if BIG == true then
  6373. TRAIL.Size = VT(0.5,DIST,0.5)
  6374. else
  6375. TRAIL.Size = VT(0.25,DIST,0.25)
  6376. end
  6377. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  6378. coroutine.resume(coroutine.create(function()
  6379. for i = 1, 5 do
  6380. Swait()
  6381. TRAIL.Transparency = TRAIL.Transparency + 0.1
  6382. end
  6383. TRAIL:remove()
  6384. end))
  6385. end
  6386. --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})
  6387. function WACKYEFFECT(Table)
  6388. local TYPE = (Table.EffectType or "Sphere")
  6389. local SIZE = (Table.Size or VT(1,1,1))
  6390. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  6391. local TRANSPARENCY = (Table.Transparency or 0)
  6392. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  6393. local CFRAME = (Table.CFrame or Torso.CFrame)
  6394. local MOVEDIRECTION = (Table.MoveToPos or nil)
  6395. local ROTATION1 = (Table.RotationX or 0)
  6396. local ROTATION2 = (Table.RotationY or 0)
  6397. local ROTATION3 = (Table.RotationZ or 0)
  6398. local MATERIAL = (Table.Material or "Neon")
  6399. local COLOR = (Table.Color or C3(1,1,1))
  6400. local TIME = (Table.Time or 45)
  6401. local SOUNDID = (Table.SoundID or nil)
  6402. local SOUNDPITCH = (Table.SoundPitch or nil)
  6403. local SOUNDVOLUME = (Table.SoundVolume or nil)
  6404. coroutine.resume(coroutine.create(function()
  6405. local PLAYSSOUND = false
  6406. local SOUND = nil
  6407. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  6408. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  6409. PLAYSSOUND = true
  6410. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  6411. end
  6412. EFFECT.Color = COLOR
  6413. local MSH = nil
  6414. if TYPE == "Sphere" then
  6415. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  6416. elseif TYPE == "Block" or TYPE == "Box" then
  6417. MSH = IT("BlockMesh",EFFECT)
  6418. MSH.Scale = SIZE
  6419. elseif TYPE == "Wave" then
  6420. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  6421. elseif TYPE == "Ring" then
  6422. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  6423. elseif TYPE == "Slash" then
  6424. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  6425. elseif TYPE == "Round Slash" then
  6426. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  6427. elseif TYPE == "Swirl" then
  6428. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  6429. elseif TYPE == "Skull" then
  6430. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  6431. elseif TYPE == "Crystal" then
  6432. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  6433. end
  6434. if MSH ~= nil then
  6435. local MOVESPEED = nil
  6436. if MOVEDIRECTION ~= nil then
  6437. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  6438. end
  6439. local GROWTH = SIZE - ENDSIZE
  6440. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  6441. if TYPE == "Block" then
  6442. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  6443. else
  6444. EFFECT.CFrame = CFRAME
  6445. end
  6446. for LOOP = 1, TIME+1 do
  6447. Swait()
  6448. MSH.Scale = MSH.Scale - GROWTH/TIME
  6449. if TYPE == "Wave" then
  6450. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  6451. end
  6452. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  6453. if TYPE == "Block" then
  6454. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  6455. else
  6456. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  6457. end
  6458. if MOVEDIRECTION ~= nil then
  6459. local ORI = EFFECT.Orientation
  6460. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  6461. EFFECT.Orientation = ORI
  6462. end
  6463. end
  6464. if PLAYSSOUND == false then
  6465. EFFECT:remove()
  6466. else
  6467. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  6468. EFFECT:remove()
  6469. end
  6470. else
  6471. if PLAYSSOUND == false then
  6472. EFFECT:remove()
  6473. else
  6474. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  6475. EFFECT:remove()
  6476. end
  6477. end
  6478. end))
  6479. end
  6480.  
  6481. function MakeForm(PART,TYPE)
  6482. if TYPE == "Cyl" then
  6483. local MSH = IT("CylinderMesh",PART)
  6484. elseif TYPE == "Ball" then
  6485. local MSH = IT("SpecialMesh",PART)
  6486. MSH.MeshType = "Sphere"
  6487. elseif TYPE == "Wedge" then
  6488. local MSH = IT("SpecialMesh",PART)
  6489. MSH.MeshType = "Wedge"
  6490. end
  6491. end
  6492.  
  6493. function SpawnTrail(FROM,TO,BIG)
  6494. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Navy blue", "Trail", VT(0,0,0))
  6495. MakeForm(TRAIL,"Cyl")
  6496. local DIST = (FROM - TO).Magnitude
  6497. if BIG == true then
  6498. TRAIL.Size = VT(0.5,DIST,0.5)
  6499. else
  6500. TRAIL.Size = VT(0.25,DIST,0.25)
  6501. end
  6502. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  6503. coroutine.resume(coroutine.create(function()
  6504. for i = 1, 5 do
  6505. Swait()
  6506. TRAIL.Transparency = TRAIL.Transparency + 0.1
  6507. end
  6508. TRAIL:remove()
  6509. end))
  6510. end
  6511.  
  6512. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  6513. local TORSO = Torso
  6514. local HUM = Humanoid
  6515. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  6516. coroutine.wrap(function()
  6517. VT = Vector3.new
  6518. MRANDOM = math.random
  6519. local A = TIME
  6520. local B = INTENSITY
  6521. local C = true
  6522. local HUMANOID = Humanoid
  6523. local TIMER = A or 35
  6524. local SHAKE = B or 5
  6525. local FADE = C or true
  6526. if HUMANOID then
  6527. local FADER = SHAKE / TIMER
  6528. for i = 1, TIMER do
  6529. wait()
  6530. 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)
  6531. end
  6532. HUMANOID.CameraOffset = VT(0, 0, 0)
  6533. end
  6534.  
  6535. end)()
  6536. end
  6537. end
  6538.  
  6539. function chatfunc(text)
  6540. local chat = coroutine.wrap(function()
  6541. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  6542. Character:FindFirstChild("TalkingBillBoard"):destroy()
  6543. end
  6544. local Bill = Instance.new("BillboardGui",Character)
  6545. Bill.Size = UDim2.new(0,100,0,40)
  6546. Bill.StudsOffset = Vector3.new(0,3,0)
  6547. Bill.Adornee = Character.Head
  6548. Bill.Name = "TalkingBillBoard"
  6549. local Hehe = Instance.new("TextLabel",Bill)
  6550. Hehe.BackgroundTransparency = 1
  6551. Hehe.BorderSizePixel = 0
  6552. Hehe.Text = ""
  6553. Hehe.Font = "Bodoni"
  6554. Hehe.TextSize = 40
  6555. Hehe.TextStrokeTransparency = 0
  6556. Hehe.Size = UDim2.new(1,0,0.5,0)
  6557. coroutine.resume(coroutine.create(function()
  6558. while Hehe ~= nil do
  6559. Swait()
  6560. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  6561. Hehe.Rotation = math.random(-2.5,2.5)
  6562. Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0)
  6563. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  6564. end
  6565. end))
  6566. for i = 1,string.len(text),1 do
  6567. Swait()
  6568. Hehe.Text = string.sub(text,1,i)
  6569. end
  6570. Swait(90)--Re[math.random(1, 93)]
  6571. for i = 0, 1, .025 do
  6572. Swait()
  6573. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  6574. Hehe.TextStrokeTransparency = i
  6575. Hehe.TextTransparency = i
  6576. end
  6577. Bill:Destroy()
  6578. end)
  6579. chat()
  6580. end
  6581.  
  6582. Debris = game:GetService("Debris")
  6583.  
  6584. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  6585. local DIRECTION = CF(StartPos,EndPos).lookVector
  6586. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  6587. end
  6588.  
  6589. function turnto(position)
  6590. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  6591. end
  6592.  
  6593. --//=================================\\
  6594. --|| RAGDOLL STUFF
  6595. --\\=================================//
  6596.  
  6597. function recurse(root,callback,i)
  6598. i= i or 0
  6599. for _,v in pairs(root:GetChildren()) do
  6600. i = i + 1
  6601. callback(i,v)
  6602.  
  6603. if #v:GetChildren() > 0 then
  6604. i = recurse(v,callback,i)
  6605. end
  6606. end
  6607.  
  6608. return i
  6609. end
  6610.  
  6611. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  6612. attachmentName = attachmentName.."RigAttachment"
  6613. local constraint = Instance.new(className.."Constraint")
  6614. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  6615. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  6616. constraint.Name = "RagdollConstraint"..part1.Name
  6617.  
  6618. for _,propertyData in next,properties or {} do
  6619. constraint[propertyData[1]] = propertyData[2]
  6620. end
  6621.  
  6622. constraint.Parent = character
  6623. end
  6624.  
  6625. function getAttachment0(character, attachmentName)
  6626. for _,child in next,character:GetChildren() do
  6627. local attachment = child:FindFirstChild(attachmentName)
  6628. if attachment then
  6629. return attachment
  6630. end
  6631. end
  6632. end
  6633.  
  6634. function ArtificialHitbox(Part)
  6635. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  6636. HITBOX.CanCollide = true
  6637. HITBOX.CFrame = Part.CFrame
  6638. weldBetween(Part,HITBOX)
  6639. end
  6640.  
  6641. function R15Ragdoll(character,KeepArms)
  6642. character:BreakJoints()
  6643. coroutine.resume(coroutine.create(function()
  6644. recurse(character, function(_,v)
  6645. if v:IsA("Attachment") then
  6646. v.Axis = Vector3.new(0, 1, 0)
  6647. v.SecondaryAxis = Vector3.new(0, 0, 1)
  6648. v.Rotation = Vector3.new(0, 0, 0)
  6649. end
  6650. end)
  6651. for _,child in next,character:GetChildren() do
  6652. if child:IsA("Accoutrement") then
  6653. for _,part in next,child:GetChildren() do
  6654. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  6655. local attachment1 = part:FindFirstChildOfClass("Attachment")
  6656. local attachment0 = getAttachment0(character,attachment1.Name)
  6657. if attachment0 and attachment1 then
  6658. local constraint = Instance.new("HingeConstraint")
  6659. constraint.Attachment0 = attachment0
  6660. constraint.Attachment1 = attachment1
  6661. constraint.LimitsEnabled = true
  6662. constraint.UpperAngle = 0
  6663. constraint.LowerAngle = 0
  6664. constraint.Parent = character
  6665. end
  6666. ArtificialHitbox(part)
  6667. elseif part.Name == "HumanoidRootPart" then
  6668. part:remove()
  6669. end
  6670. end
  6671. end
  6672. end
  6673.  
  6674. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  6675. {"LimitsEnabled",true};
  6676. {"UpperAngle",5};
  6677. })
  6678. if character:FindFirstChild("Head") then
  6679. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  6680. {"LimitsEnabled",true};
  6681. {"UpperAngle",15};
  6682. })
  6683. end
  6684.  
  6685. local handProperties = {
  6686. {"LimitsEnabled", true};
  6687. {"UpperAngle",0};
  6688. {"LowerAngle",0};
  6689. }
  6690. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  6691. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  6692.  
  6693. local shinProperties = {
  6694. {"LimitsEnabled", true};
  6695. {"UpperAngle", 0};
  6696. {"LowerAngle", -75};
  6697. }
  6698. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  6699. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  6700.  
  6701. local footProperties = {
  6702. {"LimitsEnabled", true};
  6703. {"UpperAngle", 15};
  6704. {"LowerAngle", -45};
  6705. }
  6706. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  6707. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  6708. if KeepArms == true then
  6709. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  6710. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  6711. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  6712. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  6713. end
  6714. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  6715. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  6716. Debris:AddItem(character,5)
  6717. end))
  6718. end
  6719.  
  6720. function Ragdoll(Character2,CharTorso,KeepArms)
  6721. coroutine.resume(coroutine.create(function()
  6722. Character2:BreakJoints()
  6723. local hum = Character2:findFirstChild("Humanoid")
  6724. hum:remove()
  6725. local function Scan(ch)
  6726. local e
  6727. for e = 1,#ch do
  6728. Scan(ch[e]:GetChildren())
  6729. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  6730. ch[e]:remove()
  6731. end
  6732. end
  6733. end
  6734. local NEWHUM = IT("Humanoid")
  6735. NEWHUM.Name = "Corpse"
  6736. NEWHUM.Health = 0
  6737. NEWHUM.MaxHealth = 0
  6738. NEWHUM.PlatformStand = true
  6739. NEWHUM.Parent = Character2
  6740. NEWHUM.DisplayDistanceType = "None"
  6741.  
  6742. local ch = Character2:GetChildren()
  6743. local i
  6744. for i = 1,#ch do
  6745. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  6746. ch[i]:remove()
  6747. end
  6748. end
  6749.  
  6750. local Torso2 = Character2.Torso
  6751. local movevector = Vector3.new()
  6752.  
  6753. if Torso2 then
  6754. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  6755. local Head = Character2:FindFirstChild("Head")
  6756. if Head then
  6757. local Neck = Instance.new("Weld")
  6758. Neck.Name = "Neck"
  6759. Neck.Part0 = Torso2
  6760. Neck.Part1 = Head
  6761. Neck.C0 = CFrame.new(0, 1.5, 0)
  6762. Neck.C1 = CFrame.new()
  6763. Neck.Parent = Torso2
  6764.  
  6765. end
  6766. local Limb = Character2:FindFirstChild("Right Arm")
  6767. if Limb and KeepArms == true then
  6768.  
  6769. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  6770. local Joint = Instance.new("Glue")
  6771. Joint.Name = "RightShoulder"
  6772. Joint.Part0 = Torso2
  6773. Joint.Part1 = Limb
  6774. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  6775. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  6776. Joint.Parent = Torso2
  6777.  
  6778. local B = Instance.new("Part")
  6779. B.TopSurface = 0
  6780. B.BottomSurface = 0
  6781. B.formFactor = "Symmetric"
  6782. B.Size = Vector3.new(1, 1, 1)
  6783. B.Transparency = 1
  6784. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  6785. B.Parent = Character2
  6786. local W = Instance.new("Weld")
  6787. W.Part0 = Limb
  6788. W.Part1 = B
  6789. W.C0 = CFrame.new(0, -0.5, 0)
  6790. W.Parent = Limb
  6791.  
  6792. end
  6793. local Limb = Character2:FindFirstChild("Left Arm")
  6794. if Limb and KeepArms == true then
  6795.  
  6796. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  6797. local Joint = Instance.new("Glue")
  6798. Joint.Name = "LeftShoulder"
  6799. Joint.Part0 = Torso2
  6800. Joint.Part1 = Limb
  6801. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  6802. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  6803. Joint.Parent = Torso2
  6804.  
  6805. local B = Instance.new("Part")
  6806. B.TopSurface = 0
  6807. B.BottomSurface = 0
  6808. B.formFactor = "Symmetric"
  6809. B.Size = Vector3.new(1, 1, 1)
  6810. B.Transparency = 1
  6811. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  6812. B.Parent = Character2
  6813. local W = Instance.new("Weld")
  6814. W.Part0 = Limb
  6815. W.Part1 = B
  6816. W.C0 = CFrame.new(0, -0.5, 0)
  6817. W.Parent = Limb
  6818.  
  6819. end
  6820. local Limb = Character2:FindFirstChild("Right Leg")
  6821. if Limb then
  6822.  
  6823. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  6824. local Joint = Instance.new("Glue")
  6825. Joint.Name = "RightHip"
  6826. Joint.Part0 = Torso2
  6827. Joint.Part1 = Limb
  6828. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  6829. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  6830. Joint.Parent = Torso2
  6831.  
  6832. local B = Instance.new("Part")
  6833. B.TopSurface = 0
  6834. B.BottomSurface = 0
  6835. B.formFactor = "Symmetric"
  6836. B.Size = Vector3.new(1, 1, 1)
  6837. B.Transparency = 1
  6838. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  6839. B.Parent = Character2
  6840. local W = Instance.new("Weld")
  6841. W.Part0 = Limb
  6842. W.Part1 = B
  6843. W.C0 = CFrame.new(0, -0.5, 0)
  6844. W.Parent = Limb
  6845.  
  6846. end
  6847. local Limb = Character2:FindFirstChild("Left Leg")
  6848. if Limb then
  6849.  
  6850. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  6851. local Joint = Instance.new("Glue")
  6852. Joint.Name = "LeftHip"
  6853. Joint.Part0 = Torso2
  6854. Joint.Part1 = Limb
  6855. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  6856. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  6857. Joint.Parent = Torso2
  6858.  
  6859. local B = Instance.new("Part")
  6860. B.TopSurface = 0
  6861. B.BottomSurface = 0
  6862. B.formFactor = "Symmetric"
  6863. B.Size = Vector3.new(1, 1, 1)
  6864. B.Transparency = 1
  6865. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  6866. B.Parent = Character2
  6867. local W = Instance.new("Weld")
  6868. W.Part0 = Limb
  6869. W.Part1 = B
  6870. W.C0 = CFrame.new(0, -0.5, 0)
  6871. W.Parent = Limb
  6872.  
  6873. end
  6874. --[
  6875. local Bar = Instance.new("Part")
  6876. Bar.TopSurface = 0
  6877. Bar.BottomSurface = 0
  6878. Bar.formFactor = "Symmetric"
  6879. Bar.Size = Vector3.new(1, 1, 1)
  6880. Bar.Transparency = 1
  6881. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  6882. Bar.Parent = Character2
  6883. local Weld = Instance.new("Weld")
  6884. Weld.Part0 = Torso2
  6885. Weld.Part1 = Bar
  6886. Weld.C0 = CFrame.new(0, 0.5, 0)
  6887. Weld.Parent = Torso2
  6888. --]]
  6889. end
  6890. Character2.Parent = workspace
  6891. Debris:AddItem(Character2,5)
  6892.  
  6893. return Character2,Torso2
  6894. end))
  6895. end
  6896.  
  6897. --//=================================\\
  6898. --|| WEAPON CREATION
  6899. --\\=================================//
  6900.  
  6901.  
  6902. local Particle = IT("ParticleEmitter",nil)
  6903. Particle.Enabled = false
  6904. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  6905. Particle.LightEmission = 0.5
  6906. Particle.Rate = 150
  6907. Particle.ZOffset = 0.2
  6908. Particle.Rotation = NumberRange.new(-180, 180)
  6909. Particle.RotSpeed = NumberRange.new(-180, 180)
  6910. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  6911. Particle.Color = ColorSequence.new(C3(0/255,0/255,255/255),C3(0.4,0,0))
  6912.  
  6913. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  6914. function ParticleEmitter(Table)
  6915. local PRTCL = Particle:Clone()
  6916. local Speed = Table.Speed or 5
  6917. local Drag = Table.Drag or 0
  6918. local Size1 = Table.Size1 or 1
  6919. local Size2 = Table.Size2 or 5
  6920. local Lifetime1 = Table.Lifetime1 or 1
  6921. local Lifetime2 = Table.Lifetime2 or 1.5
  6922. local Parent = Table.Parent or Torso
  6923. local Emit = Table.Emit or 100
  6924. local Offset = Table.Offset or 360
  6925. local Acel = Table.Acel or VT(0,0,0)
  6926. local Enabled = Table.Enabled or false
  6927. PRTCL.Parent = Parent
  6928. PRTCL.Size = NumberSequence.new(Size1,Size2)
  6929. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  6930. PRTCL.Speed = NumberRange.new(Speed)
  6931. PRTCL.VelocitySpread = Offset
  6932. PRTCL.Drag = Drag
  6933. PRTCL.Acceleration = Acel
  6934. if Enabled == false then
  6935. PRTCL:Emit(Emit)
  6936. Debris:AddItem(PRTCL,Lifetime2)
  6937. else
  6938. PRTCL.Enabled = true
  6939. end
  6940. return PRTCL
  6941. end
  6942.  
  6943. local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  6944. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  6945. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  6946. MakeForm(Part,"Wedge")
  6947. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  6948. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  6949. MakeForm(Part,"Wedge")
  6950. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  6951. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  6952. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6953. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  6954. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6955. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  6956. MakeForm(Part,"Cyl")
  6957. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6958. for i = 1, 8 do
  6959. local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  6960. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  6961. end
  6962. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  6963. MakeForm(Part,"Cyl")
  6964. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6965. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  6966. MakeForm(Part,"Ball")
  6967. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6968. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  6969. MakeForm(Part,"Wedge")
  6970. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  6971. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  6972. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  6973. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  6974. MakeForm(Part,"Cyl")
  6975. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6976. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  6977. MakeForm(Part,"Cyl")
  6978. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6979. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  6980. MakeForm(Part,"Cyl")
  6981. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6982. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
  6983. MakeForm(Part,"Wedge")
  6984. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
  6985. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  6986. MakeForm(Part,"Cyl")
  6987. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6988. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
  6989. MakeForm(Part,"Wedge")
  6990. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  6991. local LASTPART = Handle
  6992. for i = 1, 10 do
  6993. if LASTPART == Handle then
  6994. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  6995. LASTPART = Part
  6996. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  6997. else
  6998. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  6999. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  7000. LASTPART = Part
  7001. end
  7002. end
  7003.  
  7004. local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
  7005. MakeForm(Barrel,"Cyl")
  7006. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  7007. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  7008. MakeForm(Part,"Cyl")
  7009. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  7010. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  7011. MakeForm(Part,"Wedge")
  7012. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  7013. local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  7014. MakeForm(Hole,"Cyl")
  7015. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2.5, 0), CF(0, 0, 0))
  7016. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  7017. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  7018. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  7019. local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  7020. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  7021. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  7022. coroutine.resume(coroutine.create(function()
  7023. while wait() do
  7024. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  7025. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  7026. end
  7027. end))
  7028.  
  7029. for _, c in pairs(Gun:GetDescendants()) do
  7030. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  7031. c.Material = "Glass"
  7032. c.Color = C3(0,0,0)
  7033. elseif c.ClassName == "Part" and c.Name == "Eye" then
  7034. c.Color = C3(0/255,0/255,255/255)
  7035. c.Material = "Neon"
  7036. end
  7037. end
  7038.  
  7039. for i = 1, 35 do
  7040. local FACE = CreatePart(3, FaceGradient, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  7041. FACE.Color = C3(0,0,0)
  7042. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  7043. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  7044. end
  7045.  
  7046. local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.6,0.1,1)/2,false)
  7047. MakeForm(Eye,"Ball")
  7048. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  7049. local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.6,0.1,1)/2,false)
  7050. MakeForm(Eye,"Ball")
  7051. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  7052. local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.1,1,1)/2,false)
  7053. MakeForm(Eye,"Ball")
  7054. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  7055. local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.1,1,1)/2,false)
  7056. MakeForm(Eye,"Ball")
  7057. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  7058.  
  7059. local A = IT("Attachment",Torso)
  7060. A.Position = VT(1,1.3,0)
  7061. A.Orientation = VT(-0.098, -89.999, 0.227)
  7062. local B = IT("Attachment",Torso)
  7063. B.Position = VT(-1.3,-0.6,0)
  7064. B.Orientation = VT(-88.911, -68.808, 158.782)
  7065. local ChainLink = IT("Beam",Torso)
  7066. ChainLink.Texture = "rbxassetid://73042633"
  7067. ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
  7068. ChainLink.TextureSpeed = 1
  7069. ChainLink.FaceCamera = true
  7070. ChainLink.Width0 = 1
  7071. ChainLink.Width1 = 1
  7072. ChainLink.TextureLength = 3
  7073. ChainLink.Attachment0 = A
  7074. ChainLink.Attachment1 = B
  7075. ChainLink.CurveSize0 = 1.6
  7076. ChainLink.CurveSize1 = 1.6
  7077. ChainLink.FaceCamera = true
  7078. ChainLink.Transparency = NumberSequence.new(0)
  7079. local ChainLink = IT("Beam",Torso)
  7080. ChainLink.Texture = "rbxassetid://73042633"
  7081. ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
  7082. ChainLink.TextureSpeed = 1
  7083. ChainLink.FaceCamera = true
  7084. ChainLink.Width0 = 1
  7085. ChainLink.Width1 = 1
  7086. ChainLink.TextureLength = 3
  7087. ChainLink.Attachment0 = B
  7088. ChainLink.Attachment1 = A
  7089. ChainLink.CurveSize0 = 1.6
  7090. ChainLink.CurveSize1 = 1.6
  7091. ChainLink.FaceCamera = true
  7092. ChainLink.Transparency = NumberSequence.new(0)
  7093. local A = IT("Attachment",Torso)
  7094. A.Position = VT(1.3,-0.85,0)
  7095. A.Orientation = VT(-0.098, -89.999, 0.227)
  7096. local B = IT("Attachment",Torso)
  7097. B.Position = VT(-1,2,0)
  7098. B.Orientation = VT(-88.911, -68.808, 158.782)
  7099. local ChainLink = IT("Beam",Torso)
  7100. ChainLink.Texture = "rbxassetid://73042633"
  7101. ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
  7102. ChainLink.TextureSpeed = 1
  7103. ChainLink.FaceCamera = true
  7104. ChainLink.Width0 = 1
  7105. ChainLink.Width1 = 1
  7106. ChainLink.TextureLength = 3
  7107. ChainLink.Attachment0 = A
  7108. ChainLink.Attachment1 = B
  7109. ChainLink.CurveSize0 = 1.3
  7110. ChainLink.CurveSize1 = 1.3
  7111. ChainLink.FaceCamera = true
  7112. ChainLink.Transparency = NumberSequence.new(0)
  7113. local ChainLink = IT("Beam",Torso)
  7114. ChainLink.Texture = "rbxassetid://73042633"
  7115. ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
  7116. ChainLink.TextureSpeed = 1
  7117. ChainLink.FaceCamera = true
  7118. ChainLink.Width0 = 1
  7119. ChainLink.Width1 = 1
  7120. ChainLink.TextureLength = 3
  7121. ChainLink.Attachment0 = B
  7122. ChainLink.Attachment1 = A
  7123. ChainLink.CurveSize0 = 1.3
  7124. ChainLink.CurveSize1 = 1.3
  7125. ChainLink.FaceCamera = true
  7126. ChainLink.Transparency = NumberSequence.new(0)
  7127.  
  7128. Weapon.Parent = Character
  7129. for _, c in pairs(Weapon:GetChildren()) do
  7130. if c.ClassName == "Part" then
  7131. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  7132. end
  7133. end
  7134.  
  7135. Weapon.Parent = Character
  7136. Gun.Parent = nil
  7137.  
  7138. for _, c in pairs(Gun:GetChildren()) do
  7139. if c.ClassName == "Part" then
  7140. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  7141. end
  7142. end
  7143.  
  7144. for _, c in pairs(Weapon:GetChildren()) do
  7145. if c.ClassName == "Part" then
  7146. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  7147. end
  7148. end
  7149.  
  7150. local EXE = Instance.new("Shirt")
  7151. EXE.ShirtTemplate = "rbxassetid://338740550"
  7152. EXE.Parent = Character
  7153. EXE.Name = "Cloth"
  7154. local LOL = Instance.new("Pants")
  7155. LOL.PantsTemplate = "rbxassetid://338750779"
  7156. LOL.Parent = Character
  7157. LOL.Name = "Cloth"
  7158.  
  7159. Head.Color = C3(21,71,109)
  7160. Torso.Color = C3(21,71,109)
  7161. LeftArm.Color = C3(21,71,109)
  7162. LeftLeg.Color = C3(21,71,109)
  7163. RightArm.Color = C3(21,71,109)
  7164. RightLeg.Color = C3(21,71,109)
  7165.  
  7166. local SKILLTEXTCOLOR = C3(0/255,0/255,255/255)
  7167. local SKILLFONT = "Antique"
  7168. local SKILLTEXTSIZE = 7
  7169.  
  7170. Humanoid.Died:connect(function()
  7171. ATTACK = true
  7172. end)
  7173.  
  7174. 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")
  7175. 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")
  7176. 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")
  7177. 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")
  7178. 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")
  7179.  
  7180. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  7181. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Kill", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  7182. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Sleep", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  7183. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Ultimate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  7184. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  7185.  
  7186. function printbye(Name)
  7187. 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, "}
  7188. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  7189. end
  7190. if INTRO == false and INSTANT == false then
  7191. INTRO = true
  7192. coroutine.resume(coroutine.create(function()
  7193. sick:Play()
  7194. Intro()
  7195. end))
  7196. end
  7197.  
  7198. workspace.ChildAdded:connect(function(instance)
  7199. for BANISH = 1, #TOBANISH do
  7200. if TOBANISH[BANISH] ~= nil then
  7201. if instance.Name == TOBANISH[BANISH] then
  7202. coroutine.resume(coroutine.create(function()
  7203. printbye(instance.Name)
  7204. instance:ClearAllChildren()
  7205. Debris:AddItem(instance,0.0005)
  7206. end))
  7207. end
  7208. end
  7209. end
  7210. end)
  7211.  
  7212. --//=================================\\
  7213. --|| DAMAGING
  7214. --\\=================================//
  7215.  
  7216. function ApplyDamage(Humanoid,Damage,OneShot)
  7217. Damage = Damage * DAMAGEMULTIPLIER
  7218. local DEAD = false
  7219. if Humanoid.Health < 2000 and OneShot == false then
  7220. if Humanoid.Health - Damage > 0 then
  7221. Humanoid.Health = Humanoid.Health - Damage
  7222. else
  7223. Humanoid.Parent:BreakJoints()
  7224. DEAD = true
  7225. end
  7226. else
  7227. DEAD = true
  7228. Humanoid.Parent:BreakJoints()
  7229. end
  7230. if DEAD == true then
  7231. local PARTS = {}
  7232. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  7233. if CHILD:IsA("BasePart") then
  7234. table.insert(PARTS,CHILD)
  7235. end
  7236. end
  7237. coroutine.resume(coroutine.create(function()
  7238. wait(2)
  7239. repeat
  7240. Swait()
  7241. local PIECE = nil
  7242. if MRANDOM(1,5) == 1 then
  7243. for E = 1, #PARTS do
  7244. if MRANDOM(1,5) == 1 then
  7245. PIECE = PARTS[E]
  7246. table.remove(PARTS,E)
  7247. break
  7248. end
  7249. end
  7250. end
  7251. if PIECE ~= nil then
  7252. if PIECE.Name == "Head" then
  7253. 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})
  7254. else
  7255. 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})
  7256. end
  7257. PIECE:remove()
  7258. end
  7259. until #PARTS == 0
  7260. end))
  7261. end
  7262. end
  7263.  
  7264.  
  7265. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  7266. local defence = Instance.new("BoolValue",Humanoid.Parent)
  7267. defence.Name = ("HitBy"..Player.Name)
  7268. game:GetService("Debris"):AddItem(defence, 0.001)
  7269. Damage = Damage * DAMAGEMULTIPLIER
  7270. if Humanoid.Health ~= 0 then
  7271. local CritChance = MRANDOM(1,100)
  7272. if Damage > Humanoid.Health then
  7273. Damage = math.ceil(Humanoid.Health)
  7274. if Damage == 0 then
  7275. Damage = 0.1
  7276. end
  7277. end
  7278. Humanoid.Health = Humanoid.Health - Damage
  7279. end
  7280. end
  7281.  
  7282. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  7283. local defence = Instance.new("BoolValue",Humanoid.Parent)
  7284. defence.Name = ("HitBy"..Player.Name)
  7285. game:GetService("Debris"):AddItem(defence, 0.001)
  7286. Damage = Damage * DAMAGEMULTIPLIER
  7287. if Humanoid.Health ~= 0 then
  7288. local CritChance = MRANDOM(1,100)
  7289. if Damage > Humanoid.Health then
  7290. Damage = math.ceil(Humanoid.Health)
  7291. if Damage == 0 then
  7292. Damage = 0.1
  7293. end
  7294. end
  7295. Humanoid.Health = Humanoid.Health - Damage
  7296. end
  7297. end
  7298.  
  7299. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  7300. local CHILDREN = workspace:GetDescendants()
  7301. for index, CHILD in pairs(CHILDREN) do
  7302. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  7303. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7304. if HUM then
  7305. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7306. if TORSO then
  7307. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  7308. if INSTAKILL == true then
  7309. CHILD:BreakJoints()
  7310. else
  7311. local DMG = MRANDOM(MINDMG,MAXDMG)
  7312. ApplyDamage(HUM,DMG,TORSO)
  7313. end
  7314. if FLING > 0 then
  7315. for _, c in pairs(CHILD:GetChildren()) do
  7316. if c:IsA("BasePart") then
  7317. local bv = Instance.new("BodyVelocity")
  7318. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7319. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  7320. bv.Parent = c
  7321. Debris:AddItem(bv,0.05)
  7322. end
  7323. end
  7324. end
  7325. end
  7326. end
  7327. end
  7328. end
  7329. end
  7330. end
  7331.  
  7332. function CameraEnshaking(Length, Intensity)
  7333. coroutine.resume(coroutine.create(function()
  7334. local intensity = 1 * Intensity
  7335. local rotM = 0.01 * Intensity
  7336. for i = 0, Length, 0.1 do
  7337. Swait()
  7338. intensity = intensity - 0.05 * Intensity / Length
  7339. rotM = rotM - 5.0E-4 * Intensity / Length
  7340. Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  7341. 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)
  7342. end
  7343. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  7344. end))
  7345. end
  7346.  
  7347. function KillChildren(v)
  7348. v:BreakJoints()
  7349. for _, c in pairs(v:GetChildren()) do
  7350. if c:IsA("BasePart") then
  7351. if c.Transparency < 1 then
  7352. if c:FindFirstChildOfClass("Decal") then
  7353. c:FindFirstChildOfClass("Decal"):remove()
  7354. end
  7355. particles(c)
  7356. c.PE.Enabled = true
  7357. c.Parent = Effects
  7358. c.CanCollide = false
  7359. c.Material = "Neon"
  7360. c.Color = C3(0/255,0/255,255/255)
  7361. c.Transparency = 1
  7362. local grav = Instance.new("BodyPosition",c)
  7363. grav.P = 20000
  7364. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  7365. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  7366. grav.Name = "GravityForce"
  7367. coroutine.resume(coroutine.create(function()
  7368. for i = 1, 20 do
  7369. Swait()
  7370. c.Transparency = c.Transparency + 1/20
  7371. end
  7372. c.PE.Enabled = false
  7373. Debris:AddItem(c,2)
  7374. end))
  7375. end
  7376. end
  7377. end
  7378. end
  7379.  
  7380. function ApplyAoE(POSITION,RANGE)
  7381. local CHILDREN = workspace:GetDescendants()
  7382. for index, CHILD in pairs(CHILDREN) do
  7383. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7384. local LISTED = false
  7385. for LIST = 1, #WHITELIST do
  7386. if WHITELIST[LIST] ~= nil then
  7387. if CHILD.Name == WHITELIST[LIST] then
  7388. LISTED = true
  7389. end
  7390. end
  7391. end
  7392. if LISTED == false then
  7393. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7394. if HUM then
  7395. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7396. if TORSO then
  7397. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  7398. KillChildren(CHILD)
  7399. end
  7400. end
  7401. end
  7402. end
  7403. end
  7404. end
  7405. end
  7406.  
  7407. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  7408. coroutine.resume(coroutine.create(function()
  7409. local METEOR = IT("Model",Effects)
  7410. METEOR.Name = "Meteorite"
  7411. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  7412. METEOR.PrimaryPart = CENTER
  7413. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  7414. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  7415. for i = 1, 15 do
  7416. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Navy blue", "Fire", VT(5.1,1,5.1)*SIZE)
  7417. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  7418. end
  7419. if ISDEBREE ~= true then
  7420. 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))))
  7421. else
  7422. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  7423. end
  7424. local IMPACT = false
  7425. CreateSound(463593339, CENTER, 10, 0.6)
  7426. if SIZE >= 3.5 then
  7427. for i = 1, MRANDOM(3,7) do
  7428. 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)
  7429. end
  7430. end
  7431. for i = 1, 200 do
  7432. Swait()
  7433. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  7434. if HITFLOOR == nil then
  7435. local ORI = CENTER.Orientation
  7436. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  7437. else
  7438. if HITFLOOR.Anchored == true then
  7439. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  7440. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  7441. end
  7442. IMPACT = true
  7443. break
  7444. end
  7445. end
  7446. if IMPACT == true then
  7447. 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})
  7448. 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})
  7449. 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})
  7450. ApplyAoE(CENTER.Position,30*SIZE)
  7451. end
  7452. METEOR:remove()
  7453. end))
  7454. end
  7455.  
  7456. function ApplyAoE4(POSITION,RANGE,BRUTAL)
  7457. local CHILDREN = workspace:GetDescendants()
  7458. for index, CHILD in pairs(CHILDREN) do
  7459. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7460. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7461. if HUM then
  7462. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7463. if TORSO then
  7464. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  7465. if BRUTAL == true then
  7466. Kill(CHILD)
  7467. else
  7468. CHILD:BreakJoints()
  7469. end
  7470. end
  7471. end
  7472. end
  7473. end
  7474. end
  7475. end
  7476.  
  7477. function Kill(Char)
  7478. local NewCharacter = IT("Model",Effects)
  7479. NewCharacter.Name = "Ow im ded ;-;"
  7480. for _, c in pairs(Char:GetDescendants()) do
  7481. if c:IsA("BasePart") and c.Transparency == 0 then
  7482. c:BreakJoints()
  7483. c.Material = "Glass"
  7484. c.Color = C3(0/255,0/255,255/255)
  7485. c.CanCollide = true
  7486. c.Transparency = 0.3
  7487. if c:FindFirstChildOfClass("SpecialMesh") then
  7488. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  7489. end
  7490. if c.Name == "Head" then
  7491. c:ClearAllChildren()
  7492. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  7493. end
  7494. if c.ClassName == "MeshPart" then
  7495. c.TextureID = ""
  7496. end
  7497. if c:FindFirstChildOfClass("BodyPosition") then
  7498. c:FindFirstChildOfClass("BodyPosition"):remove()
  7499. end
  7500. if c:FindFirstChildOfClass("ParticleEmitter") then
  7501. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  7502. end
  7503. c.Parent = NewCharacter
  7504. c.Name = "DeadPart"
  7505. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  7506. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  7507. end
  7508. end
  7509. Char:remove()
  7510. Debris:AddItem(NewCharacter,5)
  7511. end
  7512.  
  7513. function ApplyAoE(POSITION,RANGE,BRUTAL)
  7514. local CHILDREN = workspace:GetDescendants()
  7515. for index, CHILD in pairs(CHILDREN) do
  7516. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7517. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7518. if HUM then
  7519. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7520. if TORSO then
  7521. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  7522. if BRUTAL == true then
  7523. Kill(CHILD)
  7524. else
  7525. CHILD:BreakJoints()
  7526. end
  7527. end
  7528. end
  7529. end
  7530. end
  7531. end
  7532. end
  7533.  
  7534. function ApplyAoE(POSITION,RANGE,BRUTAL)
  7535. local CHILDREN = workspace:GetDescendants()
  7536. for index, CHILD in pairs(CHILDREN) do
  7537. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7538. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7539. if HUM then
  7540. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7541. if TORSO then
  7542. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  7543. if BRUTAL == true then
  7544. Kill(CHILD)
  7545. else
  7546. CHILD:BreakJoints()
  7547. end
  7548. end
  7549. end
  7550. end
  7551. end
  7552. end
  7553. end
  7554.  
  7555. function Banish(Foe)
  7556. if Foe then
  7557. coroutine.resume(coroutine.create(function()
  7558. --if game.Players:FindFirstChild(Foe.Name) then
  7559. table.insert(TOBANISH,Foe.Name)
  7560. printbye(Foe.Name)
  7561. --end
  7562. Foe.Archivable = true
  7563. local CLONE = Foe:Clone()
  7564. Foe:Destroy()
  7565. CLONE.Parent = Effects
  7566. CLONE:BreakJoints()
  7567. local MATERIALS = {"Glass","Neon"}
  7568. for _, c in pairs(CLONE:GetDescendants()) do
  7569. if c:IsA("BasePart") then
  7570. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  7571. CreateSound(138271815, c, 10, 1, false)
  7572. end
  7573. c.Anchored = true
  7574. c.Transparency = c.Transparency + 0.2
  7575. c.Material = MATERIALS[MRANDOM(1,2)]
  7576. c.Color = C3(0/255,0/255,255/255)
  7577. if c.ClassName == "MeshPart" then
  7578. c.TextureID = ""
  7579. end
  7580. if c:FindFirstChildOfClass("SpecialMesh") then
  7581. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  7582. end
  7583. if c:FindFirstChildOfClass("Decal") then
  7584. c:FindFirstChildOfClass("Decal"):remove()
  7585. end
  7586. c.Name = "Banished"
  7587. c.CanCollide = false
  7588. else
  7589. c:remove()
  7590. end
  7591. end
  7592. local A = false
  7593. for i = 1, 35 do
  7594. if A == false then
  7595. A = true
  7596. elseif A == true then
  7597. A = false
  7598. end
  7599. for _, c in pairs(CLONE:GetDescendants()) do
  7600. if c:IsA("BasePart") then
  7601. c.Anchored = true
  7602. c.Material = MATERIALS[MRANDOM(1,2)]
  7603. c.Transparency = c.Transparency + 0.8/35
  7604. if A == false then
  7605. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  7606. elseif A == true then
  7607. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  7608. end
  7609. end
  7610. end
  7611. Swait()
  7612. end
  7613. CLONE:remove()
  7614. end))
  7615. end
  7616. end
  7617.  
  7618.  
  7619. function ApplyAoE(POSITION,RANGE,ISBANISH)
  7620. local CHILDREN = workspace:GetDescendants()
  7621. for index, CHILD in pairs(CHILDREN) do
  7622. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7623. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7624. if HUM then
  7625. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7626. if TORSO then
  7627. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  7628. if ISBANISH == true then
  7629. Banish(CHILD)
  7630. else
  7631. if ISBANISH == "Gravity" then
  7632. HUM.PlatformStand = true
  7633. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  7634. local grav = Instance.new("BodyPosition",TORSO)
  7635. grav.D = 15
  7636. grav.P = 20000
  7637. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  7638. grav.position = TORSO.Position
  7639. grav.Name = "V3BanishForce"..Player.Name
  7640. else
  7641. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  7642. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  7643. end
  7644. else
  7645. HUM.PlatformStand = false
  7646. end
  7647. end
  7648. elseif ISBANISH == "Gravity" then
  7649. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  7650. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  7651. HUM.PlatformStand = false
  7652. end
  7653. end
  7654. end
  7655. end
  7656. end
  7657. end
  7658. end
  7659.  
  7660. function SpawnSmite(POS)
  7661. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  7662. local EMITPOS = HITPOS
  7663. if HITFLOOR ~= nil then
  7664. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  7665. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  7666. EMITPOS = HITPOS
  7667. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  7668. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  7669. EMITPOS = HITPOS
  7670. end
  7671. end
  7672. if HITFLOOR ~= nil then
  7673. ApplyAoE(EMITPOS,10)
  7674. 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})
  7675. 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})
  7676. 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})
  7677. for i = 1, 5 do
  7678. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  7679. 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})
  7680. end
  7681. end
  7682. end
  7683.  
  7684. --//=================================\\
  7685. --|| ATTACK FUNCTIONS AND STUFF
  7686. --\\=================================//
  7687.  
  7688. function eh()
  7689. ATTACK = true
  7690. Rooted = false
  7691. Speed = 20
  7692. Swait()
  7693. local CHILDREN = workspace:GetDescendants()
  7694. for index, CHILD in pairs(CHILDREN) do
  7695. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7696. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7697. if HUM then
  7698. local TORSO = CHILD:FindFirstChild("Head")
  7699. if TORSO then
  7700. if (TORSO.Position - Head.Position).Magnitude <= 25 then
  7701. 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})
  7702. TORSO:remove()
  7703. if CHILD:FindFirstChild("Torso") then
  7704. Ragdoll(CHILD,Torso,true)
  7705. elseif CHILD:FindFirstChild("UpperTorso") then
  7706. R15Ragdoll(CHILD,true)
  7707. end
  7708. end
  7709. end
  7710. end
  7711. end
  7712. end
  7713. 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})
  7714. 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})
  7715. for i=0, 0.3, 0.1 / Animation_Speed do
  7716. Swait()
  7717. 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)
  7718. 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)
  7719. 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)
  7720. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  7721. 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)
  7722. 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)
  7723. end
  7724. Speed = 20
  7725. ATTACK = false
  7726. Rooted = false
  7727. end
  7728.  
  7729. function Taunt()
  7730. ATTACK = true
  7731. Rooted = true
  7732. CreateSound("1238240145", Torso, 6, 0.9)
  7733. for i=0, 0.6, 0.1 / Animation_Speed do
  7734. Swait()
  7735. 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)
  7736. 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)
  7737. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7738. 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)
  7739. 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)
  7740. 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)
  7741. end
  7742. for i=0, 0.6, 0.1 / Animation_Speed do
  7743. Swait()
  7744. 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)
  7745. 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)
  7746. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7747. 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)
  7748. 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)
  7749. 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)
  7750. end
  7751. for i=0, 0.6, 0.1 / Animation_Speed do
  7752. Swait()
  7753. 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)
  7754. 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)
  7755. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7756. 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)
  7757. 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)
  7758. 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)
  7759. end
  7760. for i=0, 0.6, 0.1 / Animation_Speed do
  7761. Swait()
  7762. 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)
  7763. 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)
  7764. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7765. 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)
  7766. 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)
  7767. 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)
  7768. end
  7769. for i=0, 0.6, 0.1 / Animation_Speed do
  7770. Swait()
  7771. 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)
  7772. 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)
  7773. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7774. 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)
  7775. 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)
  7776. 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)
  7777. end
  7778. for i=0, 0.6, 0.1 / Animation_Speed do
  7779. Swait()
  7780. 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)
  7781. 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)
  7782. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7783. 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)
  7784. 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)
  7785. 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)
  7786. end
  7787. ATTACK = false
  7788. Rooted = false
  7789. end
  7790.  
  7791. function TakeOnMe()
  7792. Speed = 16
  7793. local MEME = CreateSound(1171341451, Effects, 2, 1, false)
  7794. ATTACK = true
  7795. Rooted = false
  7796. local DANCE = true
  7797. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  7798. if NEWKEY == "p" then
  7799. DANCE = false
  7800. end
  7801. end)
  7802. PLAYSONG = false
  7803. while true do
  7804. for i = 1, 15 do
  7805. Swait()
  7806. MEME.Parent = Effects
  7807. 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)
  7808. 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)
  7809. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7810. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  7811. 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)
  7812. 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)
  7813. end
  7814. if DANCE == false then
  7815. break
  7816. end
  7817. for i = 1, 15 do
  7818. Swait()
  7819. MEME.Parent = Effects
  7820. 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)
  7821. 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)
  7822. if MRANDOM(1,7) == 1 then
  7823. 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)
  7824. end RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(150), RAD(65), RAD(85)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  7825. 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)
  7826. 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)
  7827. 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)
  7828. end
  7829. end
  7830. PLAYSONG = true
  7831. KEY:Disconnect()
  7832. MEME:remove()
  7833. Speed = 25
  7834. ATTACK = false
  7835. Rooted = false
  7836. end
  7837.  
  7838. function Intro()
  7839. ATTACK = true
  7840. Rooted = true
  7841. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  7842. local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0,1,0).p
  7843. BigBlack("GoodBye Script Showcaser!!!",MAINRUINCOLOR.Color,3)
  7844. for i=0, 6, 0.1 / Animation_Speed do
  7845. Swait()
  7846. 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, SoundVolume = 5})
  7847. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.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, SoundVolume = 5})
  7848. rwing1weld.C1 = Clerp(rwing1weld.C1, CF(-2.5, -1, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 15) - 1.75 * COS(SINE / 15)), RAD(-1 - 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  7849. rwing2weld.C1 = Clerp(rwing2weld.C1, CF(-4, -1.25, 0) * ANGLES(RAD(0), RAD(0 + 1 * SIN(SINE / 15) - 2 * COS(SINE / 15)), RAD(-5 - 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  7850. rwing3weld.C1 = Clerp(rwing3weld.C1, CF(-5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 + 1.25 * SIN(SINE / 15) - 2.25 * COS(SINE / 15)), RAD(-10 - 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  7851. lwing1weld.C1 = Clerp(lwing1weld.C1, CF(2.5, -1, 0) * ANGLES(RAD(0), RAD(0 - 0.75 * SIN(SINE / 15) + 1.75 * COS(SINE / 15)), RAD(-1 + 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  7852. lwing2weld.C1 = Clerp(lwing2weld.C1, CF(4, -1.25, 0) * ANGLES(RAD(0), RAD(0 - 1 * SIN(SINE / 15) + 2 * COS(SINE / 15)), RAD(5 + 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  7853. lwing3weld.C1 = Clerp(lwing3weld.C1, CF(5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 - 1.25 * SIN(SINE / 15) + 2.25 * COS(SINE / 15)), RAD(10 + 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  7854. handleweld.C1 = Clerp(handleweld.C1, CF(0, -1, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  7855. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 5 + 0.05 * COS(SINE / 30)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7856. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 30)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7857. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  7858. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  7859. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7860. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7861. end
  7862. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  7863. WACKYEFFECT({EffectType = "Block", Size = VT(8,8,8), Size2 = VT(17,17,17), Transparency = 0.5, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  7864. CreateSound(1208650519, Torso, 2, 0.8)
  7865. CreateSound(333446256, Character, 10, 1)
  7866. BigBlack("hahahahaha...",MAINRUINCOLOR.Color,6)
  7867. for i=0, 17, 0.1 / Animation_Speed do
  7868. Swait()
  7869. 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, SoundVolume = 5})
  7870. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.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, SoundVolume = 5})
  7871. rwing1weld.C1 = Clerp(rwing1weld.C1, CF(-2.5, -1, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 15) - 1.75 * COS(SINE / 15)), RAD(-1 - 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  7872. rwing2weld.C1 = Clerp(rwing2weld.C1, CF(-4, -1.25, 0) * ANGLES(RAD(0), RAD(0 + 1 * SIN(SINE / 15) - 2 * COS(SINE / 15)), RAD(-5 - 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  7873. rwing3weld.C1 = Clerp(rwing3weld.C1, CF(-5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 + 1.25 * SIN(SINE / 15) - 2.25 * COS(SINE / 15)), RAD(-10 - 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  7874. lwing1weld.C1 = Clerp(lwing1weld.C1, CF(2.5, -1, 0) * ANGLES(RAD(0), RAD(0 - 0.75 * SIN(SINE / 15) + 1.75 * COS(SINE / 15)), RAD(-1 + 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  7875. lwing2weld.C1 = Clerp(lwing2weld.C1, CF(4, -1.25, 0) * ANGLES(RAD(0), RAD(0 - 1 * SIN(SINE / 15) + 2 * COS(SINE / 15)), RAD(5 + 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  7876. lwing3weld.C1 = Clerp(lwing3weld.C1, CF(5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 - 1.25 * SIN(SINE / 15) + 2.25 * COS(SINE / 15)), RAD(10 + 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  7877. handleweld.C1 = Clerp(handleweld.C1, CF(0, -1, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  7878. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 4 + 0.05 * COS(SINE / 30)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7879. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 30)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7880. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  7881. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  7882. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7883. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  7884. end
  7885. WACKYEFFECT({Time = 50 ,EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.CFrame.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7886. WACKYEFFECT({Time = 150 ,EffectType = "Block", Size = VT(0,0,0), Size2 = VT(90,90,90), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.CFrame.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7887. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7888. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7889. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7890. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7891. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7892. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7893. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7894. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7895. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7896. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7897. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7898. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7899. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7900. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7901. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7902. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7903. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7904. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7905. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7906. WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7907. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7908. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7909. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7910. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7911. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7912. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7913. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7914. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7915. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7916. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7917. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7918. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7919. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7920. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7921. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7922. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7923. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7924. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7925. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7926. WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  7927. CreateSound(1841058541,Character,3,1,false)
  7928. for i=0, 0.7, 0.1 / Animation_Speed do
  7929. Swait()
  7930. rwing1weld.C1 = Clerp(rwing1weld.C1, CF(-2.5, -1, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 15) - 1.75 * COS(SINE / 15)), RAD(-1 - 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  7931. rwing2weld.C1 = Clerp(rwing2weld.C1, CF(-4, -1.25, 0) * ANGLES(RAD(0), RAD(0 + 1 * SIN(SINE / 15) - 2 * COS(SINE / 15)), RAD(-5 - 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  7932. rwing3weld.C1 = Clerp(rwing3weld.C1, CF(-5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 + 1.25 * SIN(SINE / 15) - 2.25 * COS(SINE / 15)), RAD(-10 - 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  7933. lwing1weld.C1 = Clerp(lwing1weld.C1, CF(2.5, -1, 0) * ANGLES(RAD(0), RAD(0 - 0.75 * SIN(SINE / 15) + 1.75 * COS(SINE / 15)), RAD(-1 + 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  7934. lwing2weld.C1 = Clerp(lwing2weld.C1, CF(4, -1.25, 0) * ANGLES(RAD(0), RAD(0 - 1 * SIN(SINE / 15) + 2 * COS(SINE / 15)), RAD(5 + 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  7935. lwing3weld.C1 = Clerp(lwing3weld.C1, CF(5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 - 1.25 * SIN(SINE / 15) + 2.25 * COS(SINE / 15)), RAD(10 + 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  7936. handleweld.C1 = Clerp(handleweld.C1, CF(0, -1, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  7937. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  7938. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  7939. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
  7940. 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)
  7941. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  7942. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  7943. end
  7944. Head.Color = C3(0/255,0/255,255/255)
  7945. Torso.Color = C3(0/255,0/255,255/255)
  7946. LeftArm.Color = C3(0/255,0/255,255/255)
  7947. LeftLeg.Color = C3(0/255,0/255,255/255)
  7948. RightArm.Color = C3(0/255,0/255,255/255)
  7949. RightLeg.Color = C3(0/255,0/255,255/255)
  7950. EXE.ShirtTemplate = "rbxassetid://692429048"
  7951. LOL.PantsTemplate = "rbxassetid://692430604"
  7952. Gun.Parent = Character
  7953. tecks2.TextTransparency = 0
  7954. for i = 1, 100 do
  7955. Swait()
  7956. for _, c in pairs(Character:GetChildren()) do
  7957. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  7958. c.Transparency = 0
  7959. end
  7960. end
  7961. for _, c in pairs(Weapon:GetChildren()) do
  7962. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  7963. c.Transparency = 0
  7964. end
  7965. end
  7966. end
  7967. TRANSFORMED = true
  7968. ATTACK = false
  7969. Rooted = false
  7970. end
  7971.  
  7972. function Shot()
  7973. ATTACK = true
  7974. Rooted = false
  7975. for i=0, 0.2, 0.05 / Animation_Speed do
  7976. Swait()
  7977. turnto(Mouse.Hit.p)
  7978. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7979. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  7980. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7981. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7982. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  7983. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  7984. end
  7985. repeat
  7986. for i=0, 0.2, 0.05 / Animation_Speed do
  7987. Swait()
  7988. turnto(Mouse.Hit.p)
  7989. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  7990. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  7991. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  7992. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  7993. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  7994. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  7995. end
  7996. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  7997. SpawnTrail(Hole.Position,POS)
  7998. if HIT ~= nil then
  7999. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  8000. Banish(HIT.Parent)
  8001. end
  8002. end
  8003. 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})
  8004. 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 = 8})
  8005. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  8006. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  8007. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  8008. for i=0, 0.2, 0.05 / Animation_Speed do
  8009. Swait()
  8010. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  8011. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  8012. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8013. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8014. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8015. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8016. end
  8017. until KEYHOLD == false
  8018. ATTACK = false
  8019. Rooted = false
  8020. end
  8021.  
  8022. function Shot2()
  8023. ATTACK = true
  8024. Rooted = false
  8025. for i=0, 0.2, 0.05 / Animation_Speed do
  8026. Swait()
  8027. turnto(Mouse.Hit.p)
  8028. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  8029. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  8030. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8031. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8032. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8033. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8034. end
  8035. repeat
  8036. for i=0, 0.2, 0.05 / Animation_Speed do
  8037. Swait()
  8038. turnto(Mouse.Hit.p)
  8039. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  8040. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  8041. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8042. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8043. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8044. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8045. end
  8046. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  8047. SpawnTrail(Hole.Position,POS)
  8048. if HIT ~= nil then
  8049. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  8050. Kill(HIT.Parent)
  8051. end
  8052. end
  8053. 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})
  8054. 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 = 8})
  8055. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  8056. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  8057. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  8058. for i=0, 0.2, 0.05 / Animation_Speed do
  8059. Swait()
  8060. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  8061. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  8062. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8063. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8064. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8065. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8066. end
  8067. until KEYHOLD == false
  8068. ATTACK = false
  8069. Rooted = false
  8070. end
  8071.  
  8072. function AttackTemplate()
  8073. ATTACK = true
  8074. Rooted = false
  8075. for i=0, 1, 0.1 / Animation_Speed do
  8076. Swait()
  8077. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  8078. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  8079. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8080. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8081. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8082. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8083. end
  8084. ATTACK = false
  8085. Rooted = false
  8086. end
  8087.  
  8088. function Finisher()
  8089. local TARGET = Mouse.Target
  8090. if TARGET ~= nil then
  8091. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  8092. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  8093. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  8094. if ROOT and HUM.Health > 0 then
  8095. local FOE = Mouse.Target.Parent
  8096. ATTACK = true
  8097. Rooted = true
  8098. RootPart.CFrame = ROOT.CFrame*CF(-1.35,0,4)
  8099. ROOT.Anchored = true
  8100. CreateSound(670796769, Torso, 9999, 0.6, false)
  8101. CreateSound(159882598, Torso, 5, 0.9, false)
  8102. for i=0, 0.4, 0.1 / Animation_Speed do
  8103. Swait()
  8104. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8105. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8106. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8107. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8108. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8109. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8110. end
  8111. HUM.PlatformStand = true
  8112. ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0))
  8113. coroutine.resume(coroutine.create(function()
  8114. Swait()
  8115. ROOT.Anchored = true
  8116. end))
  8117. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
  8118. for i=0, 0.2, 0.1 / Animation_Speed do
  8119. Swait()
  8120. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  8121. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8122. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8123. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8124. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8125. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  8126. end
  8127. 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})
  8128. 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 = 8})
  8129. for i=0, 0.2, 0.1 / Animation_Speed do
  8130. Swait()
  8131. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  8132. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  8133. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8134. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8135. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8136. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8137. end
  8138. 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})
  8139. 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 = 8})
  8140. local AMMO = 6
  8141. local FIRING = true
  8142. local SHOOTING = false
  8143. local TIMER = 70
  8144. CreateSound(147722227, GunPoint, 6, 1.3, false)
  8145. for i=0, 0.2, 0.1 / Animation_Speed do
  8146. Swait()
  8147. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  8148. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8149. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8150. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8151. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8152. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  8153. end
  8154. 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})
  8155. 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 = 8})
  8156. for i = 1, 6 do
  8157. local GUNPOS = Hole.CFrame*CF(0, 0, 0).p
  8158. local DISTANCE = (FOE.Head.Position - GUNPOS).Magnitude
  8159. 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})
  8160. 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 = 8})
  8161. HUM.Health = HUM.Health/1.5
  8162. for i=0, 0.2, 0.1 / Animation_Speed do
  8163. Swait()
  8164. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  8165. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8166. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8167. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8168. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8169. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  8170. end
  8171. 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})
  8172. 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 = 8})
  8173. for i=0, 0.2, 0.1 / Animation_Speed do
  8174. Swait()
  8175. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  8176. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8177. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8178. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8179. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8180. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  8181. end
  8182. end
  8183. 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})
  8184. 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 = 8})
  8185. ApplyDamage(HUM,0,true)
  8186. FOE:BreakJoints()
  8187. ROOT.Anchored = false
  8188. for i=0, 0.3, 0.1 / Animation_Speed do
  8189. Swait()
  8190. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8191. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  8192. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8193. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8194. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8195. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  8196. end
  8197. ATTACK = false
  8198. Rooted = false
  8199. end
  8200. end
  8201. end
  8202. end
  8203.  
  8204. --//=================================\\
  8205. --|| ASSIGN THINGS TO KEYS
  8206. --\\=================================//
  8207.  
  8208. function MouseDown(Mouse)
  8209. if ATTACK == false then
  8210. end
  8211. end
  8212.  
  8213. function MouseUp(Mouse)
  8214. HOLD = false
  8215. end
  8216.  
  8217. function KeyDown(Key)
  8218. KEYHOLD = true
  8219. if Key == "z" and ATTACK == false then
  8220. Shot()
  8221. end
  8222.  
  8223. if Key == "v" and ATTACK == false then
  8224. Shot2()
  8225. end
  8226.  
  8227. if Key == "x" and ATTACK == false then
  8228. Finisher()
  8229. end
  8230.  
  8231. if Key == "t" and ATTACK == false then
  8232. Taunt()
  8233. end
  8234.  
  8235. if Key == "c" and ATTACK == false then
  8236. eh()
  8237. end
  8238. end
  8239.  
  8240. local OVMID = 561833161
  8241. local OVMPIT = 1
  8242. local OVMVOL = 1
  8243. plr.Chatted:connect(function(message)
  8244. if ATTACK == false then
  8245. if message:sub(1,5) == "play/" then
  8246. OVMID = message:sub(6)
  8247. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8248. elseif message:sub(1,6) == "pitch/" then
  8249. OVMPIT = message:sub(7)
  8250. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8251. elseif message:sub(1,4) == "vol/" then
  8252. OVMVOL = message:sub(5)
  8253. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8254. elseif message:sub(1,7) == "sr/" then
  8255. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8256. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  8257. elseif message:sub(1,9) == "te/" then
  8258. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8259. end
  8260. end
  8261. end)
  8262.  
  8263. function KeyUp(Key)
  8264. KEYHOLD = false
  8265. end
  8266.  
  8267. Mouse.Button1Down:connect(function(NEWKEY)
  8268. MouseDown(NEWKEY)
  8269. end)
  8270. Mouse.Button1Up:connect(function(NEWKEY)
  8271. MouseUp(NEWKEY)
  8272. end)
  8273. Mouse.KeyDown:connect(function(NEWKEY)
  8274. KeyDown(NEWKEY)
  8275. end)
  8276. Mouse.KeyUp:connect(function(NEWKEY)
  8277. KeyUp(NEWKEY)
  8278. end)
  8279.  
  8280. --//=================================\\
  8281. --\\=================================//
  8282.  
  8283.  
  8284. function unanchor()
  8285. if UNANCHOR == true then
  8286. g = Character:GetChildren()
  8287. for i = 1, #g do
  8288. if g[i].ClassName == "Part" then
  8289. g[i].Anchored = false
  8290. end
  8291. end
  8292. end
  8293. end
  8294.  
  8295.  
  8296. --//=================================\\
  8297. --|| WRAP THE WHOLE SCRIPT UP
  8298. --\\=================================//
  8299.  
  8300. Humanoid.Changed:connect(function(Jump)
  8301. if Jump == "Jump" and (Disable_Jump == true) then
  8302. Humanoid.Jump = false
  8303. end
  8304. end)
  8305.  
  8306. local FF = IT("ForceField",Character)
  8307. FF.Visible = false
  8308. INSTANT = false
  8309. Speed = 20
  8310.  
  8311. while true do
  8312. Swait()
  8313. SINE = SINE + CHANGE
  8314. ANIMATE.Parent = nil
  8315. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  8316. IDLEANIMATION:Play()
  8317. if TRANSFORMED == true then
  8318. tecks2.TextTransparency = 0
  8319. for _, c in pairs(Character:GetChildren()) do
  8320. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  8321. c.Anchored = false
  8322. c.Transparency = 0
  8323. end
  8324. end
  8325. for _, c in pairs(Weapon:GetChildren()) do
  8326. if c.ClassName == "Part" then
  8327. c.Transparency = 0
  8328. end
  8329. end
  8330. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  8331. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  8332. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  8333. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  8334. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  8335. rwing1weld.C1 = Clerp(rwing1weld.C1, CF(-2.5, -1, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 15) - 1.75 * COS(SINE / 15)), RAD(-1 - 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  8336. rwing2weld.C1 = Clerp(rwing2weld.C1, CF(-4, -1.25, 0) * ANGLES(RAD(0), RAD(0 + 1 * SIN(SINE / 15) - 2 * COS(SINE / 15)), RAD(-5 - 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  8337. rwing3weld.C1 = Clerp(rwing3weld.C1, CF(-5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 + 1.25 * SIN(SINE / 15) - 2.25 * COS(SINE / 15)), RAD(-10 - 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  8338. lwing1weld.C1 = Clerp(lwing1weld.C1, CF(2.5, -1, 0) * ANGLES(RAD(0), RAD(0 - 0.75 * SIN(SINE / 15) + 1.75 * COS(SINE / 15)), RAD(-1 + 8 * SIN(SINE / 15))), 3 / Animation_Speed)
  8339. lwing2weld.C1 = Clerp(lwing2weld.C1, CF(4, -1.25, 0) * ANGLES(RAD(0), RAD(0 - 1 * SIN(SINE / 15) + 2 * COS(SINE / 15)), RAD(5 + 6 * SIN(SINE / 15))), 3 / Animation_Speed)
  8340. lwing3weld.C1 = Clerp(lwing3weld.C1, CF(5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 - 1.25 * SIN(SINE / 15) + 2.25 * COS(SINE / 15)), RAD(10 + 4 * SIN(SINE / 15))), 3 / Animation_Speed)
  8341. handleweld.C1 = Clerp(handleweld.C1, CF(0, -1, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  8342. if ATTACK == false and VALUE2 == false then
  8343. end
  8344. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  8345. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  8346. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  8347. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  8348. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  8349. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  8350. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8351. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8352. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8353. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8354. end
  8355. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  8356. ANIM = "Jump"
  8357. if ATTACK == false then
  8358. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8359. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8360. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  8361. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  8362. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  8363. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  8364. end
  8365. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  8366. ANIM = "Fall"
  8367. if ATTACK == false then
  8368. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8369. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  8370. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  8371. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  8372. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  8373. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  8374. end
  8375. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  8376. ANIM = "Idle"
  8377. if ATTACK == false then
  8378. 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)
  8379. if MRANDOM(1,7) == 1 then
  8380. 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)
  8381. end
  8382. 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)
  8383. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  8384. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  8385. 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)
  8386. 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)
  8387. end
  8388. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  8389. ANIM = "Walk"
  8390. if ATTACK == false then
  8391. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  8392. 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)
  8393. if MRANDOM(1,7) == 1 then
  8394. 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)
  8395. end
  8396. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  8397. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  8398. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  8399. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  8400. end
  8401. end
  8402. end
  8403. --end
  8404. Humanoid.DisplayDistanceType = "None"
  8405. unanchor()
  8406. Humanoid.MaxHealth = "inf"
  8407. Humanoid.Health = "inf"
  8408. if Rooted == false then
  8409. Disable_Jump = false
  8410. Humanoid.WalkSpeed = Speed
  8411. elseif Rooted == true then
  8412. Disable_Jump = true
  8413. Humanoid.WalkSpeed = 0
  8414. end
  8415. if Head:FindFirstChild("face") then
  8416. Head.face.Texture = "rbxassetid://403870689"
  8417. end
  8418. for _, c in pairs(Character:GetChildren()) do
  8419. if (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  8420. c:remove()
  8421. end
  8422. if c:FindFirstChildOfClass("ParticleEmitter") then
  8423. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  8424. end
  8425. end
  8426. local MATHS = {"0","1"}
  8427. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  8428. Humanoid.PlatformStand = false
  8429. if INTRO == false and INSTANT == false then
  8430. INTRO = true
  8431. coroutine.resume(coroutine.create(function()
  8432. sick:Play()
  8433. Intro()
  8434. end))
  8435. end
  8436. if INSTANT == true then
  8437. if TRANSFORMED == false then
  8438. sick.TimePosition = 60
  8439. sick:Play()
  8440. end
  8441. TRANSFORMED = true
  8442. end
  8443. script.Parent = PlayerGui
  8444. Character.Parent = workspace
  8445. Humanoid.Parent = Character
  8446. end
  8447. --//=================================\\
  8448. --\\=================================//
  8449.  
  8450.  
  8451.  
  8452.  
  8453.  
  8454. --//====================================================\\--
  8455. --|| END OF SCRIPT
  8456. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement