Advertisement
Fullgamer309

Untitled

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