Advertisement
Azurewood

BIG2

Mar 23rd, 2019
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 236.85 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("Star Edit, By bluebloxguy35")
  3. print("BIG Glitcher Beta 0.0.2 Edit")
  4. print("By Anan7291")
  5. InternalData = {}
  6. do
  7. script.Parent = owner.Character
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput"
  10. local function NewFakeEvent()
  11. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  12. return Fake
  13. end
  14. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  15. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  16. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  17. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  18. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  19. local function TriggerEvent(self,Event,...)
  20. local Trigger = Mouse[Event]
  21. if Trigger and Trigger.fakeEvent and Trigger.Function then
  22. Trigger.Function(...)
  23. end
  24. end
  25. Mouse.TrigEvent = TriggerEvent
  26. UserInputService.TrigEvent = TriggerEvent
  27. Event.OnServerEvent:Connect(function(FiredBy,Input)
  28. if FiredBy.Name ~= owner.Name then end
  29. if Input.MouseEvent then
  30. Mouse.Target = Input.Target
  31. Mouse.Hit = Input.Hit
  32. else
  33. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  34. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  35. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  36. end
  37. for _,Action in pairs(ContextActionService.Actions) do
  38. for _,Key in pairs(Action.Keys) do
  39. if Key==Input.KeyCode then
  40. Action.Function(Action.Name,Input.UserInputState,Input)
  41. end
  42. end
  43. end
  44. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  45. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  46. end
  47. end)
  48. InternalData["Mouse"] = Mouse
  49. InternalData["ContextActionService"] = ContextActionService
  50. InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner
  53. local Event = script:WaitForChild("UserInput")
  54. local UserInputService = game:GetService("UserInputService")
  55. local Mouse = Player:GetMouse()
  56. local Input = function(Input,gameProcessedEvent)
  57. if gameProcessedEvent then return end
  58. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  59. end
  60. UserInputService.InputBegan:Connect(Input)
  61. UserInputService.InputEnded:Connect(Input)
  62. local Hit,Target
  63. while wait(1/30) do
  64. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  65. Hit,Target = Mouse.Hit,Mouse.Target
  66. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  67. end
  68. end
  69. ]],owner.Character)
  70. end
  71. RealGame = game;game = setmetatable({},{
  72. __index = function (self,Index)
  73. local Sandbox = function (Thing)
  74. if Thing:IsA("Player") then
  75. local RealPlayer = Thing
  76. return setmetatable({},{
  77. __index = function (self,Index)
  78. local Type = type(RealPlayer[Index])
  79. if Type == "function" then
  80. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  81. return function (self)
  82. return InternalData["Mouse"]
  83. end
  84. end
  85. return function (self,...)
  86. return RealPlayer[Index](RealPlayer,...)
  87. end
  88. else
  89. if Index == "PlrObj" then
  90. return RealPlayer
  91. end
  92. return RealPlayer[Index]
  93. end
  94. end;
  95. __tostring = function(self)
  96. return RealPlayer.Name
  97. end
  98. })
  99. end
  100. end
  101. if RealGame[Index] then
  102. local Type = type(RealGame[Index])
  103. if Type == "function" then
  104. if Index:lower() == "getservice" or Index:lower() == "service" then
  105. return function (self,Service)
  106. if Service:lower() == "players" then
  107. return setmetatable({},{
  108. __index = function (self2,Index2)
  109. local RealService = RealGame:GetService(Service)
  110. local Type2 = type(Index2)
  111. if Type2 == "function" then
  112. return function (self,...)
  113. return RealService[Index2](RealService,...)
  114. end
  115. else
  116. if Index2:lower() == "localplayer" then
  117. return Sandbox(owner)
  118. end
  119. return RealService[Index2]
  120. end
  121. end;
  122. __tostring = function(self)
  123. return RealGame:GetService(Service).Name
  124. end
  125. })
  126. elseif Service:lower() == "contextactionservice" then
  127. return InternalData["ContextActionService"]
  128. elseif Service:lower() == "contextactionservice" then
  129. return InternalData["UserInputService"]
  130. elseif Service:lower() == "runservice" then
  131. return setmetatable({},{
  132. __index = function(self2,Index2)
  133. local RealService = RealGame:GetService(Service)
  134. local Type2 = type(Index2)
  135. if Type2 == "function" then
  136. return function (self,...)
  137. return RealService[Index2](RealService,...)
  138. end
  139. else
  140. if Index2:lower() == "bindtorenderstep" then
  141. return function (self,Name,Priority,Function)
  142. return RealGame:GetService("RunService").Stepped:Connect(Function)
  143. end
  144. end
  145. if Index2:lower() == "renderstepped" then
  146. return RealService["Stepped"]
  147. end
  148. return RealService[Index2]
  149. end
  150. end
  151. })
  152. else
  153. return RealGame:GetService(Service)
  154. end
  155. end
  156. end
  157. return function (self,...)
  158. return RealGame[Index](RealGame,...)
  159. end
  160. else
  161. if game:GetService(Index) then
  162. return game:GetService(Index)
  163. end
  164. return RealGame[Index]
  165. end
  166. else
  167. return nil
  168. end
  169. end
  170. });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
  171. print("Complete! Running...")
  172.  
  173. --//Paste script below this line.
  174. local Player = game:GetService("Players").LocalPLayer
  175. local Mouse,mouse,UserInputService,ContextActionService
  176. do
  177. script.Parent = Player.Character
  178. local CAS = {Actions={}}
  179. local Event = Instance.new("RemoteEvent")
  180. Event.Name = "UserInput_Event"
  181. Event.Parent = Player.Character
  182. local fakeEvent = function()
  183. local t = {_fakeEvent=true}
  184. t.Connect = function(self,f)self.Function=f end
  185. t.connect = t.Connect
  186. return t
  187. end
  188. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  189. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  190. function CAS:BindAction(name,fun,touch,...)
  191. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  192. end
  193. function CAS:UnbindAction(name)
  194. CAS.Actions[name] = nil
  195. end
  196. local function te(self,ev,...)
  197. local t = m[ev]
  198. if t and t._fakeEvent and t.Function then
  199. t.Function(...)
  200. end
  201. end
  202. m.TrigEvent = te
  203. UIS.TrigEvent = te
  204. Event.OnServerEvent:Connect(function(plr,io)
  205. if plr~=Player then return end
  206. if io.isMouse then
  207. m.Target = io.Target
  208. m.Hit = io.Hit
  209. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  210. if io.UserInputState == Enum.UserInputState.Begin then
  211. m:TrigEvent("Button1Down")
  212. else
  213. m:TrigEvent("Button1Up")
  214. end
  215. else
  216. for n,t in pairs(CAS.Actions) do
  217. for _,k in pairs(t.Keys) do
  218. if k==io.KeyCode then
  219. t.Function(t.Name,io.UserInputState,io)
  220. end
  221. end
  222. end
  223. if io.UserInputState == Enum.UserInputState.Begin then
  224. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  225. UIS:TrigEvent("InputBegan",io,false)
  226. else
  227. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  228. UIS:TrigEvent("InputEnded",io,false)
  229. end
  230. end
  231. end)
  232. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  233. end
  234. plr = game.Players.localplayer
  235. char = plr.Character
  236. hum = char.Humanoid
  237. local cam = game.Workspace.CurrentCamera
  238. Camera = cam
  239. local CamInterrupt = false
  240. local TwoD = false
  241. local TargetInfo = {nil, nil}
  242. cam.CameraType = "Custom"
  243. t = char.Torso
  244. h = char.Head
  245. ra = char["Right Arm"]
  246. la = char["Left Arm"]
  247. rl = char["Right Leg"]
  248. ll = char["Left Leg"]
  249. tors = char.Torso
  250. lleg = char["Left Leg"]
  251. root = char.HumanoidRootPart
  252. hed = char.Head
  253. rleg = char["Right Leg"]
  254. rarm = char["Right Arm"]
  255. larm = char["Left Arm"]
  256. radian = math.rad
  257. random = math.random
  258. Vec3 = Vector3.new
  259. Inst = Instance.new
  260. cFrame = CFrame.new
  261. Euler = CFrame.fromEulerAnglesXYZ
  262. vt = Vector3.new
  263. bc = BrickColor.new
  264. br = BrickColor.random
  265. it = Instance.new
  266. cf = CFrame.new
  267. local Booleans = {CamFollow = true, GyroUse = true}
  268. function lerp(object, newCFrame, alpha)
  269. return object:lerp(newCFrame, alpha)
  270. end
  271.  
  272. ff = Instance.new("ForceField", game.Players.localplayer.Character)
  273. ff.Visible = false
  274.  
  275.  
  276. local Directer = Inst("BodyGyro", root)
  277. Directer.MaxTorque = Vec3(0, 0, 0)
  278. Directer.P = 600000
  279. local CPart = Inst("Part")
  280. CPart.Anchored = true
  281. CPart.CanCollide = false
  282. CPart.Locked = true
  283. CPart.Transparency = 1
  284. local rainbowmode = false
  285. local chaosmode = false
  286. kan = Instance.new("Sound", char)
  287. kan.Volume = 1.98
  288. kan.TimePosition = 0
  289. kan.PlaybackSpeed = 1
  290. kan.Pitch = 1
  291. kan.SoundId = "rbxassetid://383448299"
  292. kan.Name = "wrecked"
  293. kan.Looped = true
  294. kan:Play()
  295. function newTheme(ID, timepos, pitch, vol)
  296. local kanz = kan
  297. kanz.PlaybackSpeed = pitch
  298. kanz.Pitch = pitch
  299. kanz.SoundId = ID
  300. kanz.Name = "wrecked"
  301. kanz.Looped = true
  302. end
  303. function CameraShake(Times, Power, PlayerTarget)
  304. coroutine.resume(coroutine.create(function()
  305. FV = Instance.new("BoolValue", PlayerTarget)
  306. FV.Name = "CameraShake"
  307. for ShakeNum = 1, Times do
  308. swait()
  309. local ef = Power
  310. if ef >= 1 then
  311. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
  312. else
  313. ef = Power * 10
  314. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
  315. end
  316. end
  317. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  318. FV:Destroy()
  319. end))
  320. end
  321. function CameraEnshaking(Length, Intensity)
  322. coroutine.resume(coroutine.create(function()
  323. local intensity = 1 * Intensity
  324. local rotM = 0.01 * Intensity
  325. for i = 0, Length, 0.1 do
  326. swait()
  327. intensity = intensity - 0.05 * Intensity / Length
  328. rotM = rotM - 5.0E-4 * Intensity / Length
  329. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  330. 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)
  331. end
  332. Humanoid.CameraOffset = Vec3(0, 0, 0)
  333. end))
  334. end
  335. function CamShake(Part, Distan, Power, Times)
  336. local de = Part.Position
  337. for i, v in pairs(workspace:children()) do
  338. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  339. for _, c in pairs(v:children()) do
  340. if c.ClassName == "Part" and Distan > (c.Position - de).magnitude then
  341. do
  342. local Noob = v.Humanoid
  343. if Noob ~= nil then
  344. coroutine.resume(coroutine.create(function()
  345. FV = Instance.new("BoolValue", Noob)
  346. FV.Name = "CameraShake"
  347. for ShakeNum = 1, Times do
  348. swait()
  349. local ef = Power
  350. if ef >= 1 then
  351. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
  352. else
  353. ef = Power * 10
  354. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
  355. end
  356. end
  357. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  358. FV:Destroy()
  359. end))
  360. CameraShake(Times, Power, Noob)
  361. end
  362. end
  363. end
  364. end
  365. end
  366. end
  367. end
  368. function chatfunc(text, color)
  369. local chat = coroutine.wrap(function()
  370. if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  371. Character:FindFirstChild("TalkingBillBoard"):destroy()
  372. end
  373. local naeeym2 = Instance.new("BillboardGui", Character)
  374. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  375. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  376. naeeym2.Adornee = Character.Head
  377. naeeym2.Name = "TalkingBillBoard"
  378. local tecks2 = Instance.new("TextLabel", naeeym2)
  379. tecks2.BackgroundTransparency = 1
  380. tecks2.BorderSizePixel = 0
  381. tecks2.Text = ""
  382. tecks2.Font = "SciFi"
  383. tecks2.TextSize = 30
  384. tecks2.TextStrokeTransparency = 0
  385. tecks2.TextColor3 = color
  386. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  387. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  388. local tecks3 = Instance.new("TextLabel", naeeym2)
  389. tecks3.BackgroundTransparency = 1
  390. tecks3.BorderSizePixel = 0
  391. tecks3.Text = ""
  392. tecks3.Font = "SciFi"
  393. tecks3.TextSize = 30
  394. tecks3.TextStrokeTransparency = 0
  395. tecks3.TextColor3 = Color3.new(0, 0, 0)
  396. tecks3.TextStrokeColor3 = color
  397. tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  398. coroutine.resume(coroutine.create(function()
  399. while true do
  400. swait(1)
  401. if chaosmode == true then
  402. tecks2.TextColor3 = BrickColor.random().Color
  403. tecks3.TextStrokeColor3 = BrickColor.random().Color
  404. end
  405. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  406. tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  407. tecks2.Rotation = math.random(-5, 5)
  408. tecks3.Rotation = math.random(-5, 5)
  409. end
  410. end))
  411. for i = 1, string.len(text) do
  412. CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  413. tecks2.Text = string.sub(text, 1, i)
  414. tecks3.Text = string.sub(text, 1, i)
  415. swait(1)
  416. end
  417. wait(1)
  418. local randomrot = math.random(1, 2)
  419. if randomrot == 1 then
  420. for i = 1, 50 do
  421. swait()
  422. tecks2.Rotation = tecks2.Rotation - 0.75
  423. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  424. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  425. tecks3.Rotation = tecks2.Rotation + 0.75
  426. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  427. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  428. end
  429. elseif randomrot == 2 then
  430. for i = 1, 50 do
  431. swait()
  432. tecks2.Rotation = tecks2.Rotation + 0.75
  433. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  434. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  435. tecks3.Rotation = tecks2.Rotation - 0.75
  436. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  437. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  438. end
  439. end
  440. naeeym2:Destroy()
  441. end)
  442. chat()
  443. end
  444.  
  445. function warnedpeople(text,represfont,color,color2)
  446. if disably ~= true then
  447. CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
  448. CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
  449. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  450. coroutine.resume(coroutine.create(function()
  451. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  452. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  453. end
  454. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  455. scrg.Name = "Spinny"
  456. local frm = Instance.new("Frame",scrg)
  457. frm.BackgroundTransparency = 0.25
  458. frm.BackgroundColor3 = color
  459. frm.BorderSizePixel = 0
  460. frm.Rotation = 45
  461. frm.Size = UDim2.new(3,0,0,100)
  462. frm.Position = UDim2.new(-4,0,0,0)
  463. local frm2 = frm:Clone()
  464. frm2.Parent = scrg
  465. frm2.BackgroundColor3 = color2
  466. frm2.Position = UDim2.new(-4.05,0,0,0)
  467. local imlb = Instance.new("ImageLabel",scrg)
  468. imlb.BackgroundTransparency = 1
  469. imlb.BackgroundColor3 = Color3.new(0,0,0)
  470. imlb.Image = "rbxassetid://2344851144"
  471. imlb.Size = UDim2.new(0,750,0,750)
  472. imlb.ImageColor3 = color2
  473. imlb.ImageTransparency = 0.25
  474. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  475. local imlb2 = imlb:Clone()
  476. imlb2.Image = "rbxassetid://2076458450"
  477. imlb2.Size = UDim2.new(1,0,1,0)
  478. imlb2.ImageColor3 = color
  479. imlb2.ImageTransparency = 0
  480. imlb2.Position = UDim2.new(0,0,0,0)
  481. local imlb3 = imlb:Clone()
  482. imlb3.Image = "rbxassetid://2312119891"
  483. imlb3.Size = UDim2.new(1,0,1,0)
  484. imlb3.ImageColor3 = color2
  485. imlb3.ImageTransparency = 0
  486. imlb3.Position = UDim2.new(0,0,0,0)
  487. local imlb4 = imlb:Clone()
  488. imlb4.Image = "rbxassetid://2092248396"
  489. imlb4.Size = UDim2.new(3,0,3,0)
  490. imlb3.ImageColor3 = color
  491. imlb4.ImageTransparency = 0
  492. imlb4.Position = UDim2.new(-1,0,-1,0)
  493. local imlb5 = imlb:Clone()
  494. imlb5.Image = "rbxassetid://2344870656"
  495. imlb5.Size = UDim2.new(10,0,10,0)
  496. imlb5.ImageColor3 = color2
  497. imlb5.ImageTransparency = 0
  498. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  499. imlb2.Parent = imlb
  500. imlb3.Parent = imlb
  501. imlb4.Parent = imlb
  502. imlb5.Parent = imlb
  503. local txtlb2 = Instance.new("TextLabel",imlb)
  504. coroutine.resume(coroutine.create(function()
  505. while true do
  506. swait()
  507. if Error == false then
  508. txtlb2.Text = text
  509. elseif Error == true then
  510. txtlb2.Text = est[math.random(1,17)]
  511. end
  512. end
  513. end))
  514. txtlb2.Font = represfont
  515. txtlb2.TextColor3 = color
  516. txtlb2.TextStrokeTransparency = 0
  517. txtlb2.BackgroundTransparency = 1
  518. txtlb2.TextStrokeColor3 = color2
  519. txtlb2.TextScaled = true
  520. txtlb2.Size = UDim2.new(1,0,1,0)
  521. txtlb2.Position = UDim2.new(0,0,0,0)
  522. local fvalen = 0.55
  523. local fval = -0.49
  524. coroutine.resume(coroutine.create(function()
  525. while true do
  526. swait()
  527. if rainbowmode == true then
  528. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  529. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  530. txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
  531. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  532. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  533. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  534. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  535. txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
  536. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  537. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  538. imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
  539. imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
  540. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  541. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  542. end
  543. end
  544. end))
  545. coroutine.resume(coroutine.create(function()
  546. while true do
  547. swait()
  548. if Error == true then
  549. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  550. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  551. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  552. txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  553. txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  554. imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  555. imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  556. imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  557. imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  558. imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  559. imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  560. frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  561. frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  562. text = est[math.random(1,17)]
  563. end
  564. end
  565. end))
  566. coroutine.resume(coroutine.create(function()
  567. while true do
  568. swait()
  569. if CRAZED == true then
  570. txtlb2.Rotation = math.random(-1,1)
  571. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  572. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  573. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  574. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  575. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  576. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  577. imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  578. imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  579. imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  580. imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  581. imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  582. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  583. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  584. end
  585. end
  586. end))
  587. coroutine.resume(coroutine.create(function()
  588. while true do
  589. swait()
  590. if chaosmode == true then
  591. txtlb2.Rotation = math.random(-1,1)
  592. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  593. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  594. imlb.ImageColor3 = BrickColor.random().Color
  595. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  596. end
  597. end
  598. end))
  599. coroutine.resume(coroutine.create(function()
  600. while true do
  601. swait()
  602. if scrg.Parent ~= nil then
  603. fvalen = fvalen - 0.0001
  604. elseif scrg.Parent == nil then
  605. break
  606. end
  607. end
  608. end))
  609. local flol = -5
  610. local flil = 1.6
  611. coroutine.resume(coroutine.create(function()
  612. for i = 0, 49 do
  613. swait()
  614. flol = flol + 0.125
  615. flil = flil - 0.1
  616. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  617. frm.Rotation = frm.Rotation - 0.25
  618. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  619. frm2.Rotation = frm.Rotation + 0.325
  620. imlb3.Rotation = imlb3.Rotation - 10
  621. imlb2.Rotation = imlb.Rotation + 7.5
  622. imlb.Rotation = imlb.Rotation + 5
  623. if Error == false then
  624. txtlb2.Rotation = txtlb2.Rotation - 5.125
  625. elseif Error == true then
  626. txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
  627. end
  628. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  629. end
  630. for i = 0, 99 do
  631. swait()
  632. fval = fval + 0.05
  633. flol = flol + 0.005
  634. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  635. frm.Rotation = frm.Rotation - 0.075
  636. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  637. frm2.Rotation = frm2.Rotation + 0.125
  638. imlb3.Rotation = imlb3.Rotation - 2
  639. imlb2.Rotation = imlb.Rotation + 1.5
  640. imlb.Rotation = imlb.Rotation + 1
  641. if Error == false then
  642. txtlb2.Rotation = txtlb2.Rotation - 1.125
  643. elseif Error == true then
  644. txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
  645. end
  646. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  647. end
  648. local valinc = 0
  649. local vinc2 = 1
  650. for i = 0, 99 do
  651. swait()
  652. vinc2 = vinc2 + 0.25
  653. valinc = valinc + 0.0001
  654. flol = flol + valinc
  655. flil = flil + valinc
  656. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  657. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  658. imlb.Rotation = imlb.Rotation + 1*vinc2
  659. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  660. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  661. frm.Rotation = frm.Rotation + 0.1*vinc2
  662. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  663. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  664. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  665. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  666. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  667. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  668. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  669. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  670. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  671. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  672. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  673. end
  674. scrg:Destroy()
  675. end))
  676. end))
  677. end
  678. end
  679. end
  680.  
  681. function TheoriesMSGfunc(text,color,C3)
  682. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  683. coroutine.resume(coroutine.create(function()
  684. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  685. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  686. end
  687. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  688. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  689. scrg.Name = "Dialog"
  690. local txtlb = Instance.new("TextLabel",scrg)
  691. txtlb.Text = ""
  692. txtlb.Font = "Bodoni"
  693. txtlb.TextColor3 = Color3.new(0,0,0)
  694. txtlb.TextStrokeTransparency = 1
  695. txtlb.BackgroundTransparency = 1
  696. txtlb.BackgroundColor3 = color
  697. txtlb.TextStrokeColor3 = C3
  698. txtlb.TextColor3 = color
  699. txtlb.TextScaled = true
  700. txtlb.Size = UDim2.new(1,0,1,0)
  701. txtlb.TextXAlignment = "Left"
  702. txtlb.Position = UDim2.new(0,0,6.75 + 1,0)
  703. local txtlb2 = Instance.new("TextLabel",scrg)
  704. txtlb2.Text = ""
  705. txtlb2.Font = "Bodoni"
  706. txtlb2.TextColor3 = Color3.new(0,0,0)
  707. txtlb2.TextStrokeTransparency = 0
  708. txtlb2.BackgroundTransparency = 0.96
  709. txtlb2.BackgroundColor3 = C3
  710. txtlb2.TextStrokeColor3 = color
  711. txtlb2.TextScaled = true
  712. txtlb2.Size = UDim2.new(0, 999999, 0, 999)
  713. txtlb2.TextXAlignment = "Center"
  714. txtlb2.Position = UDim2.new(0,0,0,0)
  715. local Iml = Instance.new("ImageLabel",scrg)
  716. Iml.BackgroundTransparency = 1
  717. Iml.BorderSizePixel = 0
  718. Iml.ImageTransparency = 0
  719. Iml.ImageColor3 = C3
  720. Iml.Position = UDim2.new(0,0,0.75 + 1,0)
  721. Iml.Size = UDim2.new(0, 638.82, 0, 591.5)
  722. Iml.Image = "rbxassetid://0"
  723. local Iml1 = Instance.new("ImageLabel",scrg)
  724. Iml1.BackgroundTransparency = 1
  725. Iml1.BorderSizePixel = 0
  726. Iml1.ImageTransparency = 0
  727. Iml1.ImageColor3 = C3
  728. Iml1.Position = UDim2.new(0,0,0.75 + 1,0)
  729. Iml1.Size = UDim2.new(0, 638.82, 0, 591.5)
  730. Iml1.Image = "rbxassetid://2312119891"
  731. local Iml2 = Instance.new("ImageLabel",scrg)
  732. Iml2.BackgroundTransparency = 1
  733. Iml2.BorderSizePixel = 0
  734. Iml2.ImageTransparency = 0
  735. Iml2.ImageColor3 = color
  736. Iml2.Position = UDim2.new(0,0,0.75 + 1,0)
  737. Iml2.Size = UDim2.new(0, 638.82, 0, 591.5)
  738. Iml2.Image = "rbxassetid://2312119891"
  739. local txtlb = Instance.new("TextLabel",Iml)
  740. txtlb.Text = text
  741. txtlb.Font = "SciFi"
  742. txtlb.TextColor3 = color
  743. txtlb.TextStrokeTransparency = 0
  744. txtlb.BackgroundTransparency = 1
  745. txtlb.TextStrokeColor3 = color
  746. txtlb.TextScaled = true
  747. txtlb.Size = UDim2.new(1,0,1,0)
  748. txtlb.Position = UDim2.new(0,0,6.75 + 1,0)
  749. local fvalen = 0.4
  750. local fval = -0.49
  751. coroutine.resume(coroutine.create(function()
  752. while true do
  753. swait()
  754. if scrg.Parent ~= nil then
  755. fvalen = fvalen - 0.0001
  756. elseif scrg.Parent == nil then
  757. break
  758. end
  759. end
  760. end))
  761. local flol = -0.625
  762. local flil = -0.935
  763. coroutine.resume(coroutine.create(function()
  764. while true do
  765. swait()
  766. Iml1.Rotation = Iml1.Rotation + 2.5
  767. Iml2.Rotation = Iml2.Rotation - 2.5
  768. end
  769. end))
  770. coroutine.resume(coroutine.create(function()
  771. for i = 0, 36 do
  772. swait()
  773. fval = fval + 0.0125
  774. flol = flol + 0.025
  775. flil = flil + 0.025
  776. txtlb.Text = text
  777. txtlb2.BackgroundTransparency = txtlb2.BackgroundTransparency - 0.008
  778. txtlb.Position = UDim2.new(flil,0,0,0)
  779. Iml.Position = UDim2.new(flol,0,-0.05,0)
  780. Iml1.Position = UDim2.new(flol,0,-0.05,0)
  781. Iml2.Position = UDim2.new(flol,0,-0.05,0)
  782. end
  783. coroutine.resume(coroutine.create(function()
  784. for i = 0, 99 do
  785. swait()
  786. fval = fval + 0.00001
  787. flol = flol + 0.0001
  788. flil = flil + 0.0001
  789. txtlb.Text = text
  790. txtlb.Position = UDim2.new(flil,0,0,0)
  791. Iml1.Position = UDim2.new(flol,0,-0.05,0)
  792. Iml1.Position = UDim2.new(flol,0,-0.05,0)
  793. Iml2.Position = UDim2.new(flol,0,-0.05,0)
  794. end
  795. end))
  796. wait(1.6)
  797. local valinc = 0
  798. for i = 0, 99 do
  799. swait()
  800. valinc = valinc + 0.0001
  801. flol = flol + valinc
  802. flil = flil + valinc
  803. Iml1.Rotation = Iml1.Rotation - valinc*50
  804. Iml.Rotation = Iml1.Rotation - valinc*2
  805. Iml2.Rotation = Iml2.Rotation - valinc*50
  806. Iml.Position = UDim2.new(flol,0,0,0)
  807. Iml1.Position = UDim2.new(flol,0,-0.05,0)
  808. Iml2.Position = UDim2.new(flol,0,-0.05,0)
  809. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  810. txtlb2.BackgroundTransparency = txtlb2.BackgroundTransparency + 0.006
  811. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  812. Iml.ImageTransparency = Iml1.ImageTransparency + 0.01
  813. Iml1.ImageTransparency = Iml1.ImageTransparency + 0.01
  814. Iml2.ImageTransparency = Iml2.ImageTransparency + 0.01
  815. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  816. end
  817. scrg:Destroy()
  818. end))
  819. end))
  820. end
  821. end
  822.  
  823. function IdolsWarn(text,represfont,color,color2)
  824. if disably ~= true then
  825. CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
  826. CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
  827. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  828. coroutine.resume(coroutine.create(function()
  829. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  830. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  831. end
  832. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  833. scrg.Name = "Spinny"
  834. local frm = Instance.new("Frame",scrg)
  835. frm.BackgroundTransparency = 0.25
  836. frm.BackgroundColor3 = color
  837. frm.BorderSizePixel = 0
  838. frm.Rotation = 45
  839. frm.Size = UDim2.new(3,0,0,100)
  840. frm.Position = UDim2.new(-4,0,0,0)
  841. local frm2 = frm:Clone()
  842. frm2.Parent = scrg
  843. frm2.BackgroundColor3 = color2
  844. frm2.Position = UDim2.new(-4.05,0,0,0)
  845. local imlb = Instance.new("ImageLabel",scrg)
  846. imlb.BackgroundTransparency = 1
  847. imlb.BackgroundColor3 = color
  848. imlb.Image = "rbxassetid://787198541"
  849. imlb.Size = UDim2.new(0,750,0,750)
  850. imlb.ImageColor3 = color2
  851. imlb.ImageTransparency = 0.25
  852. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  853. local imlb2 = imlb:Clone()
  854. imlb2.Image = "rbxassetid://197468643"
  855. imlb2.Size = UDim2.new(1,0,1,0)
  856. imlb2.ImageTransparency = 0
  857. imlb2.Position = UDim2.new(0,0,0,0)
  858. local imlb3 = imlb:Clone()
  859. imlb3.Image = "rbxassetid://787191999"
  860. imlb3.Size = UDim2.new(1,0,1,0)
  861. imlb3.ImageColor3 = color2
  862. imlb3.ImageTransparency = 0
  863. imlb3.Position = UDim2.new(0,0,0,0)
  864. local imlb4 = imlb:Clone()
  865. imlb4.Image = "rbxassetid://2092248396"
  866. imlb4.Size = UDim2.new(3,0,3,0)
  867. imlb3.ImageColor3 = color
  868. imlb4.ImageTransparency = 0
  869. imlb4.Position = UDim2.new(-1,0,-1,0)
  870. local imlb5 = imlb:Clone()
  871. imlb5.Image = "rbxassetid://2344870656"
  872. imlb5.Size = UDim2.new(10,0,10,0)
  873. imlb5.ImageColor3 = color2
  874. imlb5.ImageTransparency = 0
  875. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  876. imlb2.Parent = imlb
  877. imlb3.Parent = imlb
  878. imlb4.Parent = imlb
  879. imlb5.Parent = imlb
  880. local txtlb2 = Instance.new("TextLabel",imlb)
  881. coroutine.resume(coroutine.create(function()
  882. while true do
  883. swait()
  884. if Error == false then
  885. txtlb2.Text = text
  886. elseif Error == true then
  887. txtlb2.Text = est[math.random(1,17)]
  888. end
  889. end
  890. end))
  891. txtlb2.Font = represfont
  892. txtlb2.TextColor3 = color
  893. txtlb2.TextStrokeTransparency = 0
  894. txtlb2.BackgroundTransparency = 1
  895. txtlb2.TextStrokeColor3 = color2
  896. txtlb2.TextScaled = true
  897. txtlb2.Size = UDim2.new(1,0,1,0)
  898. txtlb2.Position = UDim2.new(0,0,0,0)
  899. local fvalen = 0.55
  900. local fval = -0.49
  901. coroutine.resume(coroutine.create(function()
  902. while true do
  903. swait()
  904. if rainbowmode == true then
  905. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  906. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  907. txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
  908. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  909. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  910. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  911. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  912. txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
  913. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  914. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  915. imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
  916. imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
  917. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  918. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  919. end
  920. end
  921. end))
  922.  
  923. local Create = LoadLibrary("RbxUtility").Create
  924. CFuncs = {
  925. Part = {
  926. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  927. local Part = Create("Part")({
  928. Parent = Parent,
  929. Reflectance = Reflectance,
  930. Transparency = Transparency,
  931. CanCollide = false,
  932. Locked = true,
  933. BrickColor = BrickColor.new(tostring(BColor)),
  934. Name = Name,
  935. Size = Size,
  936. Material = Material
  937. })
  938. RemoveOutlines(Part)
  939. return Part
  940. end
  941. },
  942. Mesh = {
  943. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  944. local Msh = Create(Mesh)({
  945. Parent = Part,
  946. Offset = OffSet,
  947. Scale = Scale
  948. })
  949. if Mesh == "SpecialMesh" then
  950. Msh.MeshType = MeshType
  951. Msh.MeshId = MeshId
  952. end
  953. return Msh
  954. end
  955. },
  956. Mesh = {
  957. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  958. local Msh = Create(Mesh)({
  959. Parent = Part,
  960. Offset = OffSet,
  961. Scale = Scale
  962. })
  963. if Mesh == "SpecialMesh" then
  964. Msh.MeshType = MeshType
  965. Msh.MeshId = MeshId
  966. end
  967. return Msh
  968. end
  969. },
  970. Weld = {
  971. Create = function(Parent, Part0, Part1, C0, C1)
  972. local Weld = Create("Weld")({
  973. Parent = Parent,
  974. Part0 = Part0,
  975. Part1 = Part1,
  976. C0 = C0,
  977. C1 = C1
  978. })
  979. return Weld
  980. end
  981. },
  982. Sound = {
  983. Create = function(id, par, vol, pit)
  984. coroutine.resume(coroutine.create(function()
  985. local S = Create("Sound")({
  986. Volume = vol,
  987. Pitch = pit or 1,
  988. SoundId = id,
  989. Parent = par or workspace
  990. })
  991. wait()
  992. S:play()
  993. game:GetService("Debris"):AddItem(S, 10)
  994. end))
  995. end
  996. },
  997. LongSound = {
  998. Create = function(id, par, vol, pit)
  999. coroutine.resume(coroutine.create(function()
  1000. local S = Create("Sound")({
  1001. Volume = vol,
  1002. Pitch = pit or 1,
  1003. SoundId = id,
  1004. Parent = par or workspace
  1005. })
  1006. wait()
  1007. S:play()
  1008. game:GetService("Debris"):AddItem(S, 30)
  1009. end))
  1010. end
  1011. },
  1012. ParticleEmitter = {
  1013. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1014. local fp = Create("ParticleEmitter")({
  1015. Parent = Parent,
  1016. Color = ColorSequence.new(Color1, Color2),
  1017. LightEmission = LightEmission,
  1018. Size = Size,
  1019. Texture = Texture,
  1020. Transparency = Transparency,
  1021. ZOffset = ZOffset,
  1022. Acceleration = Accel,
  1023. Drag = Drag,
  1024. LockedToPart = LockedToPart,
  1025. VelocityInheritance = VelocityInheritance,
  1026. EmissionDirection = EmissionDirection,
  1027. Enabled = Enabled,
  1028. Lifetime = LifeTime,
  1029. Rate = Rate,
  1030. Rotation = Rotation,
  1031. RotSpeed = RotSpeed,
  1032. Speed = Speed,
  1033. VelocitySpread = VelocitySpread
  1034. })
  1035. return fp
  1036. end
  1037. },
  1038. CreateTemplate = {}
  1039. }
  1040. function New(Object, Parent, Name, Data)
  1041. local Object = Instance.new(Object)
  1042. for Index, Value in pairs(Data or {}) do
  1043. Object[Index] = Value
  1044. end
  1045. Object.Parent = Parent
  1046. Object.Name = Name
  1047. return Object
  1048. end
  1049. local halocolor = BrickColor.new("Pastel light blue")
  1050. local halocolor2 = BrickColor.new("Really black")
  1051. local starcolor = BrickColor.new("Really black")
  1052. local lunacolor = BrickColor.new("Navy blue")
  1053. local lunacolor2 = BrickColor.new("Bright blue")
  1054. local wepcolor = BrickColor.new("Really black")
  1055. local maincolor = BrickColor.new("Really black")
  1056. local m = Instance.new("Model", char)
  1057. local m2 = Instance.new("Model", char)
  1058. local m3 = Instance.new("Model", char)
  1059. local mw1 = Instance.new("Model", char)
  1060. local mw2 = Instance.new("Model", char)
  1061. local extrawingmod1 = Instance.new("Model", char)
  1062. local extrawingmod2 = Instance.new("Model", char)
  1063. function CreateParta(parent, transparency, reflectance, material, brickcolor)
  1064. local p = Instance.new("Part")
  1065. p.TopSurface = 0
  1066. p.BottomSurface = 0
  1067. p.Parent = parent
  1068. p.Size = Vector3.new(0.1, 0.1, 0.1)
  1069. p.Transparency = transparency
  1070. p.Reflectance = reflectance
  1071. p.CanCollide = false
  1072. p.Locked = true
  1073. p.BrickColor = brickcolor
  1074. p.Material = material
  1075. return p
  1076. end
  1077. function CreateMesh(parent, meshtype, x1, y1, z1)
  1078. local mesh = Instance.new("SpecialMesh", parent)
  1079. mesh.MeshType = meshtype
  1080. mesh.Scale = Vector3.new(x1 * 10, y1 * 10, z1 * 10)
  1081. return mesh
  1082. end
  1083. function CreateSpecialMesh(parent, meshid, x1, y1, z1)
  1084. local mesh = Instance.new("SpecialMesh", parent)
  1085. mesh.MeshType = "FileMesh"
  1086. mesh.MeshId = meshid
  1087. mesh.Scale = Vector3.new(x1, y1, z1)
  1088. return mesh
  1089. end
  1090. function CreateSpecialGlowMesh(parent, meshid, x1, y1, z1)
  1091. local mesh = Instance.new("SpecialMesh", parent)
  1092. mesh.MeshType = "FileMesh"
  1093. mesh.MeshId = meshid
  1094. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  1095. mesh.Scale = Vector3.new(x1, y1, z1)
  1096. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  1097. return mesh
  1098. end
  1099. function CreateWeld(parent, part0, part1, C1X, C1Y, C1Z, C1Xa, C1Ya, C1Za, C0X, C0Y, C0Z, C0Xa, C0Ya, C0Za)
  1100. local weld = Instance.new("Weld")
  1101. weld.Parent = parent
  1102. weld.Part0 = part0
  1103. weld.Part1 = part1
  1104. weld.C1 = CFrame.new(C1X, C1Y, C1Z) * CFrame.Angles(C1Xa, C1Ya, C1Za)
  1105. weld.C0 = CFrame.new(C0X, C0Y, C0Z) * CFrame.Angles(C0Xa, C0Ya, C0Za)
  1106. return weld
  1107. end
  1108. local handlex = CreateParta(mw2, 1, 1, "Neon", maincolor)
  1109. CreateMesh(handle, "Brick", 0, 0, 0)
  1110. 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))
  1111. local valuaring = 10
  1112. for i = 0, 49 do
  1113. valuaring = valuaring + 10
  1114. rn = CreateParta(mw2, 0, 0, "Neon", halocolor)
  1115. CreateMesh(rn, "Brick", 0.25, 0.1, 0.1)
  1116. 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))
  1117. end
  1118. local handle = CreateParta(m, 1, 1, "Neon", maincolor)
  1119. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  1120. 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))
  1121. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1122. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1123. 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))
  1124.  
  1125. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1126. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1127. 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))
  1128. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1129. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1130. 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))
  1131. A0 = Instance.new('Attachment',wed)
  1132. A0.Position = vt(0,0.25,0.25)
  1133. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1135. 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))
  1136. A1 = Instance.new('Attachment',wed)
  1137. A1.Position = vt(0,-0.25,-2)
  1138. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1139. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1140. 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))
  1141.  
  1142. tl1 = Instance.new('Trail',wed)
  1143. tl1.Attachment0 = A1
  1144. tl1.Attachment1 = A0
  1145. tl1.Texture = "rbxassetid://2108945559"
  1146. tl1.LightEmission = 1
  1147. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1148. tl1.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  1149. tl1.Lifetime = 0.6
  1150.  
  1151.  
  1152. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1153. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1154. 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))
  1155.  
  1156. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1157. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1158. 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))
  1159. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1160. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1161. 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))
  1162. A0 = Instance.new('Attachment',wed)
  1163. A0.Position = vt(0,0.25,0.25)
  1164. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1165. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1166. 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))
  1167. A1 = Instance.new('Attachment',wed)
  1168. A1.Position = vt(0,-0.25,-2)
  1169. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1170. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1171. 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))
  1172.  
  1173. tl2 = Instance.new('Trail',wed)
  1174. tl2.Attachment0 = A1
  1175. tl2.Attachment1 = A0
  1176. tl2.Texture = "rbxassetid://2108945559"
  1177. tl2.LightEmission = 1
  1178. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1179. tl2.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  1180. tl2.Lifetime = 0.6
  1181.  
  1182. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1183. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1184. 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))
  1185.  
  1186. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1187. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1188. 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))
  1189. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1190. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1191. 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))
  1192. A0 = Instance.new('Attachment',wed)
  1193. A0.Position = vt(0,0.25,0.25)
  1194. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1195. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1196. 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))
  1197. A1 = Instance.new('Attachment',wed)
  1198. A1.Position = vt(0,-0.25,-2)
  1199. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1200. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1201. 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))
  1202.  
  1203. tl3 = Instance.new('Trail',wed)
  1204. tl3.Attachment0 = A1
  1205. tl3.Attachment1 = A0
  1206. tl3.Texture = "rbxassetid://2108945559"
  1207. tl3.LightEmission = 1
  1208. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1209. tl3.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  1210. tl3.Lifetime = 0.6
  1211. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1212. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1213. 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))
  1214.  
  1215. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1216. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1217. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1218. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1219. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1220. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1221. A0 = Instance.new('Attachment',wed)
  1222. A0.Position = vt(0,0.25*2,0.25*2)
  1223. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1224. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1225. CreateWeld(wed,lwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1226. A1 = Instance.new('Attachment',wed)
  1227. A1.Position = vt(0,-0.25*2,-2*2)
  1228. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1229. CreateMesh(wed,"Wedge",0.0*25,3*2,0.5*2)
  1230. CreateWeld(wed,lwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1231.  
  1232. tl4 = Instance.new('Trail',wed)
  1233. tl4.Attachment0 = A1
  1234. tl4.Attachment1 = A0
  1235. tl4.Texture = "rbxassetid://2108945559"
  1236. tl4.LightEmission = 1
  1237. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1238. tl4.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  1239. tl4.Lifetime = 0.6
  1240. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1241. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1242. 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))
  1243.  
  1244. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1245. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1246. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1247. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1248. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1249. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1250. A0 = Instance.new('Attachment',wed)
  1251. A0.Position = vt(0,0.25*2,0.25*2)
  1252. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1253. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1254. CreateWeld(wed,lwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1255. A1 = Instance.new('Attachment',wed)
  1256. A1.Position = vt(0,-0.25*2,-2*2)
  1257. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1258. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1259. CreateWeld(wed,lwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1260.  
  1261. tl5 = Instance.new('Trail',wed)
  1262. tl5.Attachment0 = A1
  1263. tl5.Attachment1 = A0
  1264. tl5.Texture = "rbxassetid://2108945559"
  1265. tl5.LightEmission = 1
  1266. tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1267. tl5.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  1268. tl5.Lifetime = 0.6
  1269. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1270. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1271. 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))
  1272.  
  1273. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1274. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1275. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1276. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1277. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1278. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1279. A0 = Instance.new('Attachment',wed)
  1280. A0.Position = vt(0,0.25*2,0.25*2)
  1281. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1282. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1283. CreateWeld(wed,lwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1284. A1 = Instance.new('Attachment',wed)
  1285. A1.Position = vt(0,-0.25*2,-2*2)
  1286. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1287. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1288. CreateWeld(wed,lwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1289. tl6 = Instance.new('Trail',wed)
  1290. tl6.Attachment0 = A1
  1291. tl6.Attachment1 = A0
  1292. tl6.Texture = "rbxassetid://2108945559"
  1293. tl6.LightEmission = 1
  1294. tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1295. tl6.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  1296. tl6.Lifetime = 0.6
  1297.  
  1298. tl1.Enabled = false
  1299. tl2.Enabled = false
  1300. tl3.Enabled = false
  1301. tl4.Enabled = false
  1302. tl5.Enabled = false
  1303. tl6.Enabled = false
  1304. -- Right wing.
  1305.  
  1306. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1307. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1308. 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))
  1309.  
  1310. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1311. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1312. 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))
  1313. A0 = Instance.new('Attachment',wed)
  1314. A0.Position = vt(0,0.25,0.25)
  1315. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1316. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1317. 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))
  1318. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1319. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1320. 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))
  1321. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1322. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1323. 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))
  1324. A1 = Instance.new('Attachment',wed)
  1325. A1.Position = vt(0,2,0.25)
  1326.  
  1327. tr1 = Instance.new('Trail',wed)
  1328. tr1.Attachment0 = A1
  1329. tr1.Attachment1 = A0
  1330. tr1.Texture = "rbxassetid://2108945559"
  1331. tr1.LightEmission = 1
  1332. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1333. tr1.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  1334. tr1.Lifetime = 0.6
  1335.  
  1336. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1337. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1338. 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))
  1339.  
  1340. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1341. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1342. 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))
  1343. A0 = Instance.new('Attachment',wed)
  1344. A0.Position = vt(0,0.25,0.25)
  1345. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1346. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1347. 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))
  1348. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1349. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1350. 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))
  1351. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1352. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1353. 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))
  1354. A1 = Instance.new('Attachment',wed)
  1355. A1.Position = vt(0,2,0.25)
  1356.  
  1357. tr2 = Instance.new('Trail',wed)
  1358. tr2.Attachment0 = A1
  1359. tr2.Attachment1 = A0
  1360. tr2.Texture = "rbxassetid://2108945559"
  1361. tr2.LightEmission = 1
  1362. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1363. tr2.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  1364. tr2.Lifetime = 0.6
  1365.  
  1366. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1367. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1368. 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))
  1369.  
  1370. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1371. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1372. 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))
  1373. A0 = Instance.new('Attachment',wed)
  1374. A0.Position = vt(0,0.25,0.25)
  1375. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1376. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1377. 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))
  1378. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1379. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1380. 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))
  1381. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1382. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1383. 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))
  1384. A1 = Instance.new('Attachment',wed)
  1385. A1.Position = vt(0,2,0.25)
  1386.  
  1387. tr3 = Instance.new('Trail',wed)
  1388. tr3.Attachment0 = A1
  1389. tr3.Attachment1 = A0
  1390. tr3.Texture = "rbxassetid://2108945559"
  1391. tr3.LightEmission = 1
  1392. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1393. tr3.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  1394. tr3.Lifetime = 0.6
  1395.  
  1396.  
  1397. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1398. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1399. 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))
  1400.  
  1401. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1402. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1403. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1404. A0 = Instance.new('Attachment',wed)
  1405. A0.Position = vt(0,0.25*2,0.25*2)
  1406. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1407. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1408. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1409. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1410. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1411. CreateWeld(wed,rwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1412. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1413. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1414. CreateWeld(wed,rwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1415. A1 = Instance.new('Attachment',wed)
  1416. A1.Position = vt(0,2,0.25)
  1417.  
  1418. tr4 = Instance.new('Trail',wed)
  1419. tr4.Attachment0 = A1
  1420. tr4.Attachment1 = A0
  1421. tr4.Texture = "rbxassetid://2108945559"
  1422. tr4.LightEmission = 1
  1423. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1424. tr4.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  1425. tr4.Lifetime = 0.6
  1426.  
  1427. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1428. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1429. 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))
  1430.  
  1431. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1432. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1433. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1434. A0 = Instance.new('Attachment',wed)
  1435. A0.Position = vt(0,0.25*2,0.25*2)
  1436. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1437. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1438. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1439. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1440. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1441. CreateWeld(wed,rwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1442. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1443. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1444. CreateWeld(wed,rwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1445. A1 = Instance.new('Attachment',wed)
  1446. A1.Position = vt(0,2,0.25)
  1447.  
  1448. tr5 = Instance.new('Trail',wed)
  1449. tr5.Attachment0 = A1
  1450. tr5.Attachment1 = A0
  1451. tr5.Texture = "rbxassetid://2108945559"
  1452. tr5.LightEmission = 1
  1453. tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1454. tr5.Color = ColorSequence.new(BrickColor.new('dark blue').Color)
  1455. tr5.Lifetime = 0.6
  1456.  
  1457. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1458. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1459. 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))
  1460.  
  1461. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1462. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1463. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1464. A0 = Instance.new('Attachment',wed)
  1465. A0.Position = vt(0,0.25*2,0.25*2)
  1466. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1467. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1468. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1469. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1470. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1471. CreateWeld(wed,rwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1472. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1473. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1474. CreateWeld(wed,rwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1475. A1 = Instance.new('Attachment',wed)
  1476. A1.Position = vt(0,2,0.25)
  1477.  
  1478. tr6 = Instance.new('Trail',wed)
  1479. tr6.Attachment0 = A1
  1480. tr6.Attachment1 = A0
  1481. tr6.Texture = "rbxassetid://2108945559"
  1482. tr6.LightEmission = 1
  1483. tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1484. tr6.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  1485. tr6.Lifetime = 0.6
  1486.  
  1487. tr4.Enabled = false
  1488. tr5.Enabled = false
  1489. tr6.Enabled = false
  1490. ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
  1491. CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02)
  1492. 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))
  1493. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1494. CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025)
  1495. 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))
  1496. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1497. CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9)
  1498. 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))
  1499. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1500. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  1501. 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))
  1502. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1503. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  1504. 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))
  1505. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  1506. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  1507. 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))
  1508. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  1509. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  1510. 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))
  1511. gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2)
  1512. CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625)
  1513. 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))
  1514. star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1515. CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5)
  1516. 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))
  1517. starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor)
  1518. CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95)
  1519. 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))
  1520. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1521. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1522. CreateWeld(dotsec, larm, dotsec, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1523. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1524. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1525. CreateWeld(dotseca, larm, dotseca, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1526. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1527. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1528. CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1529. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1530. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1531. CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1532. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1533. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1534. CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1535. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1536. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1537. CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1538. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1539. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1540. CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1541. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1542. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1543. CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1544. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1545. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1546. CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1547. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1548. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1549. CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1550. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1551. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1552. CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1553. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1554. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1555. CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1556. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1557. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1558. CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1559. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1560. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1561. CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1562. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1563. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1564. CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1565. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1566. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1567. CreateWeld(dotsec, larm, dotsec, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1568. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1569. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1570. CreateWeld(dotseca, larm, dotseca, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1571. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1572. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1573. CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1574. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1575. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1576. CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1577. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1578. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1579. CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1580. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1581. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1582. CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1583. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1584. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1585. CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1586. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1587. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1588. CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1589. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1590. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1591. CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1592. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1593. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1594. CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1595. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1596. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1597. CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1598. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1599. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1600. CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1601. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  1602. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  1603. CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1604. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  1605. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  1606. CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1607. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  1608. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  1609. CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  1610. ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
  1611. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1612. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1613. 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))
  1614.  
  1615. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1616. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1617. 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))
  1618.  
  1619. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1620. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1621. 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))
  1622.  
  1623. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1624. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1625. 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))
  1626. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1627. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1628. 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))
  1629. for i, v in pairs(m:GetChildren()) do
  1630. if v:IsA("Part") then
  1631. v.Transparency = 1
  1632. v.BrickColor = BrickColor.new("Really black")
  1633. v.Material = "Glass"
  1634. end
  1635. end
  1636. for i, v in pairs(m2:GetChildren()) do
  1637. if v:IsA("Part") then
  1638. v.Transparency = 0.90
  1639. v.BrickColor = BrickColor.new("Lime green")
  1640. v.Material = "Granite"
  1641. end
  1642. end
  1643. for i, v in pairs(m3:GetChildren()) do
  1644. if v:IsA("Part") then
  1645. v.Transparency = 0.5
  1646. v.BrickColor = BrickColor.new("Really red")
  1647. v.Material = "Neon"
  1648. end
  1649. end
  1650. for i, v in pairs(mw2:GetChildren()) do
  1651. if v:IsA("Part") then
  1652. v.Transparency = 0.30
  1653. v.BrickColor = BrickColor.new("Really red")
  1654. v.Material = "Neon"
  1655. end
  1656. end
  1657. for i, v in pairs(mw1:GetChildren()) do
  1658. if v:IsA("Part") then
  1659. v.Transparency = 0.75
  1660. v.BrickColor = BrickColor.new("Really red")
  1661. v.Material = "Neon"
  1662. end
  1663. end
  1664. for i, v in pairs(extrawingmod1:GetChildren()) do
  1665. if v:IsA("Part") then
  1666. v.Transparency = 0.95
  1667. v.BrickColor = BrickColor.new("Lime green")
  1668. v.Material = "Neon"
  1669. end
  1670. end
  1671. for i, v in pairs(extrawingmod2:GetChildren()) do
  1672. if v:IsA("Part") then
  1673. v.Transparency = 0.85
  1674. v.BrickColor = BrickColor.new("Camo")
  1675. v.Material = "Neon"
  1676. end
  1677. end
  1678.  
  1679.  
  1680. local MAINRUINCOLOR = BrickColor.new("Really red")
  1681. function RemoveOutlines(part)
  1682. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1683. end
  1684. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1685. local Part = Create("Part")({
  1686. Parent = Parent,
  1687. Reflectance = Reflectance,
  1688. Transparency = Transparency,
  1689. CanCollide = false,
  1690. Locked = true,
  1691. BrickColor = BrickColor.new(tostring(BColor)),
  1692. Name = Name,
  1693. Size = Size,
  1694. Material = Material
  1695. })
  1696. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1697. RemoveOutlines(Part)
  1698. return Part
  1699. end
  1700. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1701. local Msh = Create(Mesh)({
  1702. Parent = Part,
  1703. Offset = OffSet,
  1704. Scale = Scale
  1705. })
  1706. if Mesh == "SpecialMesh" then
  1707. Msh.MeshType = MeshType
  1708. Msh.MeshId = MeshId
  1709. end
  1710. return Msh
  1711. end
  1712. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1713. local Weld = Create("Weld")({
  1714. Parent = Parent,
  1715. Part0 = Part0,
  1716. Part1 = Part1,
  1717. C0 = C0,
  1718. C1 = C1
  1719. })
  1720. return Weld
  1721. end
  1722.  
  1723.  
  1724. Player = game:GetService("Players").localplayer
  1725. Character = Player.Character
  1726. PlayerGui = Player.PlayerGui
  1727. Backpack = Player.Backpack
  1728. Torso = Character.Torso
  1729. Head = Character.Head
  1730. Humanoid = Character.Humanoid
  1731. m = Instance.new("Model", Character)
  1732. LeftArm = Character["Left Arm"]
  1733. LeftLeg = Character["Left Leg"]
  1734. RightArm = Character["Right Arm"]
  1735. RightLeg = Character["Right Leg"]
  1736. LS = Torso["Left Shoulder"]
  1737. LH = Torso["Left Hip"]
  1738. RS = Torso["Right Shoulder"]
  1739. RH = Torso["Right Hip"]
  1740. Face = Head.face
  1741. Neck = Torso.Neck
  1742. it = Instance.new
  1743. attacktype = 1
  1744. vt = Vector3.new
  1745. cf = CFrame.new
  1746. euler = CFrame.fromEulerAnglesXYZ
  1747. angles = CFrame.Angles
  1748. cloaked = false
  1749. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1750. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1751. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1752. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1753. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1754. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1755. RootPart = Character.HumanoidRootPart
  1756. RootJoint = RootPart.RootJoint
  1757. RootCF = euler(-1.57, 0, 3.14)
  1758. attack = false
  1759. attackdebounce = false
  1760. deb = false
  1761. equipped = true
  1762. hand = false
  1763. MMouse = nil
  1764. combo = 0
  1765. mana = 0
  1766. trispeed = 0.2
  1767. attackmode = "none"
  1768. local idle = 0
  1769. local Anim = "Idle"
  1770. local Effects = {}
  1771. local gun = false
  1772. local shoot = false
  1773. local sine = 0
  1774. local change = 1
  1775. player = nil
  1776. local toggleTag = true
  1777. local txt = Instance.new("BillboardGui", Head)
  1778. txt.Adornee = nil
  1779. txt.Name = "NameDetect"
  1780. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1781. txt.StudsOffset = Vector3.new(-8, 5.333333333333333, 0)
  1782. local text = Instance.new("TextLabel", txt)
  1783. text.Size = UDim2.new(5, 0, 3.5, 0)
  1784. text.FontSize = "Size8"
  1785. text.TextScaled = true
  1786. text.TextTransparency = 0
  1787. text.BackgroundTransparency = 1
  1788. text.TextTransparency = 0
  1789. text.TextStrokeTransparency = 0
  1790. text.Font = "SciFi"
  1791. text.TextStrokeColor3 = Color3.new(1, 0, 0)
  1792. text.TextColor3 = Color3.new(0, 0, 0)
  1793. text.Text = "Tech"
  1794. function RecolorTextAndRename(name, col1, col2, font)
  1795. text.TextStrokeColor3 = col2
  1796. text.TextColor3 = col1
  1797. text.Font = font
  1798. text.Text = name
  1799. end
  1800. mouse = Player:GetMouse()
  1801. RSH, LSH = nil, nil
  1802. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  1803. RW.Name = "Right Shoulder"
  1804. LW.Name = "Left Shoulder"
  1805. LH = Torso["Left Hip"]
  1806. RH = Torso["Right Hip"]
  1807. TorsoColor = Torso.BrickColor
  1808. function NoOutline(Part)
  1809. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  1810. end
  1811. player = Player
  1812. ch = Character
  1813. RSH = ch.Torso["Right Shoulder"]
  1814. LSH = ch.Torso["Left Shoulder"]
  1815. RSH.Parent = nil
  1816. LSH.Parent = nil
  1817. RW.Name = "Right Shoulder"
  1818. RW.Part0 = ch.Torso
  1819. RW.C0 = cf(1.5, 0.5, 0)
  1820. RW.C1 = cf(0, 0.5, 0)
  1821. RW.Part1 = ch["Right Arm"]
  1822. RW.Parent = ch.Torso
  1823. LW.Name = "Left Shoulder"
  1824. LW.Part0 = ch.Torso
  1825. LW.C0 = cf(-1.5, 0.5, 0)
  1826. LW.C1 = cf(0, 0.5, 0)
  1827. LW.Part1 = ch["Left Arm"]
  1828. LW.Parent = ch.Torso
  1829. local Stats = Instance.new("BoolValue")
  1830. Stats.Name = "Stats"
  1831. Stats.Parent = Character
  1832. local Atk = Instance.new("NumberValue")
  1833. Atk.Name = "Damage"
  1834. Atk.Parent = Stats
  1835. Atk.Value = 1
  1836. local Def = Instance.new("NumberValue")
  1837. Def.Name = "Defense"
  1838. Def.Parent = Stats
  1839. Def.Value = 1
  1840. local Speed = Instance.new("NumberValue")
  1841. Speed.Name = "Speed"
  1842. Speed.Parent = Stats
  1843. Speed.Value = 1
  1844. local Mvmt = Instance.new("NumberValue")
  1845. Mvmt.Name = "Movement"
  1846. Mvmt.Parent = Stats
  1847. Mvmt.Value = 1
  1848. local donum = 0
  1849. function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  1850. local fp = it("Part")
  1851. fp.formFactor = formfactor
  1852. fp.Parent = parent
  1853. fp.Reflectance = reflectance
  1854. fp.Transparency = transparency
  1855. fp.CanCollide = false
  1856. fp.Locked = true
  1857. fp.BrickColor = brickcolor
  1858. fp.Name = name
  1859. fp.Size = size
  1860. fp.Position = Torso.Position
  1861. NoOutline(fp)
  1862. fp.Material = "SmoothPlastic"
  1863. fp:BreakJoints()
  1864. return fp
  1865. end
  1866. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  1867. local mesh = it(Mesh)
  1868. mesh.Parent = part
  1869. if Mesh == "SpecialMesh" then
  1870. mesh.MeshType = meshtype
  1871. if meshid ~= "nil" then
  1872. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  1873. end
  1874. end
  1875. mesh.Offset = offset
  1876. mesh.Scale = scale
  1877. return mesh
  1878. end
  1879. function weld(parent, part0, part1, c0)
  1880. local weld = it("Weld")
  1881. weld.Parent = parent
  1882. weld.Part0 = part0
  1883. weld.Part1 = part1
  1884. weld.C0 = c0
  1885. return weld
  1886. end
  1887. local Color1 = Torso.BrickColor
  1888. local bodvel = Instance.new("BodyVelocity")
  1889. local bg = Instance.new("BodyGyro")
  1890. function swait(num)
  1891. if num == 0 or num == nil then
  1892. game:service("RunService").Stepped:wait(0)
  1893. else
  1894. for i = 0, num do
  1895. game:service("RunService").Stepped:wait(0)
  1896. end
  1897. end
  1898. end
  1899. local r = 255
  1900. local g = 0
  1901. local b = 0
  1902. coroutine.resume(coroutine.create(function()
  1903. while wait() do
  1904. for i = 0, 50.8 do
  1905. swait()
  1906. g = g + 5
  1907. end
  1908. for i = 0, 50.8 do
  1909. swait()
  1910. r = r - 5
  1911. end
  1912. for i = 0, 50.8 do
  1913. swait()
  1914. b = b + 5
  1915. end
  1916. for i = 0, 50.8 do
  1917. swait()
  1918. g = g - 5
  1919. end
  1920. for i = 0, 50.8 do
  1921. swait()
  1922. r = r + 5
  1923. end
  1924. for i = 0, 50.8 do
  1925. swait()
  1926. b = b - 5
  1927. end
  1928. end
  1929. end))
  1930. function so(id, par, vol, pit)
  1931. coroutine.resume(coroutine.create(function()
  1932. local sou = Instance.new("Sound", par or workspace)
  1933. sou.Volume = vol
  1934. sou.Pitch = pit or 1
  1935. sou.SoundId = id
  1936. swait()
  1937. sou:play()
  1938. game:GetService("Debris"):AddItem(sou, 6)
  1939. end))
  1940. end
  1941. function clerp(a, b, t)
  1942. local qa = {
  1943. QuaternionFromCFrame(a)
  1944. }
  1945. local qb = {
  1946. QuaternionFromCFrame(b)
  1947. }
  1948. local ax, ay, az = a.x, a.y, a.z
  1949. local bx, by, bz = b.x, b.y, b.z
  1950. local _t = 1 - t
  1951. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1952. end
  1953. function QuaternionFromCFrame(cf)
  1954. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1955. local trace = m00 + m11 + m22
  1956. if trace > 0 then
  1957. local s = math.sqrt(1 + trace)
  1958. local recip = 0.5 / s
  1959. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1960. else
  1961. local i = 0
  1962. if m00 < m11 then
  1963. i = 1
  1964. end
  1965. if m22 > (i == 0 and m00 or m11) then
  1966. i = 2
  1967. end
  1968. if i == 0 then
  1969. local s = math.sqrt(m00 - m11 - m22 + 1)
  1970. local recip = 0.5 / s
  1971. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1972. elseif i == 1 then
  1973. local s = math.sqrt(m11 - m22 - m00 + 1)
  1974. local recip = 0.5 / s
  1975. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1976. elseif i == 2 then
  1977. local s = math.sqrt(m22 - m00 - m11 + 1)
  1978. local recip = 0.5 / s
  1979. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1980. end
  1981. end
  1982. end
  1983. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1984. local xs, ys, zs = x + x, y + y, z + z
  1985. local wx, wy, wz = w * xs, w * ys, w * zs
  1986. local xx = x * xs
  1987. local xy = x * ys
  1988. local xz = x * zs
  1989. local yy = y * ys
  1990. local yz = y * zs
  1991. local zz = z * zs
  1992. 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))
  1993. end
  1994. function QuaternionSlerp(a, b, t)
  1995. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1996. local startInterp, finishInterp
  1997. if cosTheta >= 1.0E-4 then
  1998. if 1 - cosTheta > 1.0E-4 then
  1999. local theta = math.acos(cosTheta)
  2000. local invSinTheta = 1 / math.sin(theta)
  2001. startInterp = math.sin((1 - t) * theta) * invSinTheta
  2002. finishInterp = math.sin(t * theta) * invSinTheta
  2003. else
  2004. startInterp = 1 - t
  2005. finishInterp = t
  2006. end
  2007. elseif 1 + cosTheta > 1.0E-4 then
  2008. local theta = math.acos(-cosTheta)
  2009. local invSinTheta = 1 / math.sin(theta)
  2010. startInterp = math.sin((t - 1) * theta) * invSinTheta
  2011. finishInterp = math.sin(t * theta) * invSinTheta
  2012. else
  2013. startInterp = t - 1
  2014. finishInterp = t
  2015. end
  2016. 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
  2017. end
  2018. local CFrameFromTopBack = function(at, top, back)
  2019. local right = top:Cross(back)
  2020. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  2021. end
  2022. function Triangle(a, b, c)
  2023. local edg1 = (c - a):Dot((b - a).unit)
  2024. local edg2 = (a - b):Dot((c - b).unit)
  2025. local edg3 = (b - c):Dot((a - c).unit)
  2026. if edg1 <= (b - a).magnitude and edg1 >= 0 then
  2027. a, b = a, b
  2028. elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
  2029. a, b, c = b, c, a
  2030. elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
  2031. a, b, c = c, a, b
  2032. else
  2033. assert(false, "unreachable")
  2034. end
  2035. local len1 = (c - a):Dot((b - a).unit)
  2036. local len2 = (b - a).magnitude - len1
  2037. local width = (a + (b - a).unit * len1 - c).magnitude
  2038. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit)
  2039. local list = {}
  2040. if len1 > 0.01 then
  2041. local w1 = Instance.new("WedgePart", m)
  2042. game:GetService("Debris"):AddItem(w1, 5)
  2043. w1.Material = "SmoothPlastic"
  2044. w1.FormFactor = "Custom"
  2045. w1.BrickColor = BrickColor.new("Really red")
  2046. w1.Transparency = 0
  2047. w1.Reflectance = 0
  2048. w1.Material = "SmoothPlastic"
  2049. w1.CanCollide = false
  2050. local l1 = Instance.new("PointLight", w1)
  2051. l1.Color = Color3.new(170, 0, 0)
  2052. NoOutline(w1)
  2053. local sz = Vector3.new(0.2, width, len1)
  2054. w1.Size = sz
  2055. local sp = Instance.new("SpecialMesh", w1)
  2056. sp.MeshType = "Wedge"
  2057. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  2058. w1:BreakJoints()
  2059. w1.Anchored = true
  2060. w1.Parent = workspace
  2061. w1.Transparency = 0.7
  2062. table.insert(Effects, {
  2063. w1,
  2064. "Disappear",
  2065. 0.01
  2066. })
  2067. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  2068. table.insert(list, w1)
  2069. end
  2070. if len2 > 0.01 then
  2071. local w2 = Instance.new("WedgePart", m)
  2072. game:GetService("Debris"):AddItem(w2, 5)
  2073. w2.Material = "SmoothPlastic"
  2074. w2.FormFactor = "Custom"
  2075. w2.BrickColor = BrickColor.new("Really red")
  2076. w2.Transparency = 0
  2077. w2.Reflectance = 0
  2078. w2.Material = "SmoothPlastic"
  2079. w2.CanCollide = false
  2080. local l2 = Instance.new("PointLight", w2)
  2081. l2.Color = Color3.new(170, 0, 0)
  2082. NoOutline(w2)
  2083. local sz = Vector3.new(0.2, width, len2)
  2084. w2.Size = sz
  2085. local sp = Instance.new("SpecialMesh", w2)
  2086. sp.MeshType = "Wedge"
  2087. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  2088. w2:BreakJoints()
  2089. w2.Anchored = true
  2090. w2.Parent = workspace
  2091. w2.Transparency = 0.7
  2092. table.insert(Effects, {
  2093. w2,
  2094. "Disappear",
  2095. 0.01
  2096. })
  2097. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  2098. table.insert(list, w2)
  2099. end
  2100. return unpack(list)
  2101. end
  2102. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2103. if hit.Parent == nil then
  2104. return
  2105. end
  2106. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2107. for _, v in pairs(hit.Parent:children()) do
  2108. if v:IsA("Humanoid") then
  2109. h = v
  2110. end
  2111. end
  2112. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2113. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2114. return
  2115. end
  2116. local c = Create("ObjectValue")({
  2117. Name = "creator",
  2118. Value = RealGame:service("Players")[owner.Name],
  2119. Parent = h
  2120. })
  2121. game:GetService("Debris"):AddItem(c, 0.5)
  2122. if HitSound ~= nil and HitPitch ~= nil then
  2123. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2124. end
  2125. local Damage = math.random(minim, maxim)
  2126. local blocked = false
  2127. local block = hit.Parent:findFirstChild("Block")
  2128. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2129. blocked = true
  2130. block.Value = block.Value - 1
  2131. print(block.Value)
  2132. end
  2133. if blocked == false then
  2134. HitHealth = h.Health
  2135. h.Health = h.Health - Damage
  2136. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2137. print("BIG! BIG OBTAINED!")
  2138. end
  2139. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2140. else
  2141. h.Health = h.Health - Damage / 2
  2142. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2143. end
  2144. if Type == "Knockdown" then
  2145. local hum = hit.Parent.Humanoid
  2146. hum.PlatformStand = true
  2147. coroutine.resume(coroutine.create(function(HHumanoid)
  2148. swait(1)
  2149. HHumanoid.PlatformStand = false
  2150. end), hum)
  2151. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2152. local bodvol = Create("BodyVelocity")({
  2153. velocity = angle * knockback,
  2154. P = 5000,
  2155. maxForce = Vector3.new(8000, 8000, 8000),
  2156. Parent = hit
  2157. })
  2158. local rl = Create("BodyAngularVelocity")({
  2159. P = 3000,
  2160. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2161. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2162. Parent = hit
  2163. })
  2164. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2165. game:GetService("Debris"):AddItem(rl, 0.5)
  2166. elseif Type == "Normal" then
  2167. local vp = Create("BodyVelocity")({
  2168. P = 500,
  2169. maxForce = Vector3.new(math.huge, 0, math.huge),
  2170. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2171. })
  2172. if knockback > 0 then
  2173. vp.Parent = hit.Parent.Head
  2174. end
  2175. game:GetService("Debris"):AddItem(vp, 0.5)
  2176. elseif Type == "Up" then
  2177. local bodyVelocity = Create("BodyVelocity")({
  2178. velocity = Vector3.new(0, 20, 0),
  2179. P = 5000,
  2180. maxForce = Vector3.new(8000, 8000, 8000),
  2181. Parent = hit
  2182. })
  2183. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2184. local bodyVelocity = Create("BodyVelocity")({
  2185. velocity = Vector3.new(0, 20, 0),
  2186. P = 5000,
  2187. maxForce = Vector3.new(8000, 8000, 8000),
  2188. Parent = hit
  2189. })
  2190. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2191. elseif Type == "Leech" then
  2192. local hum = hit.Parent.Humanoid
  2193. if hum ~= nil then
  2194. for i = 0, 2 do
  2195. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  2196. end
  2197. Humanoid.Health = Humanoid.Health + 10
  2198. end
  2199. elseif Type == "UpKnock" then
  2200. local hum = hit.Parent.Humanoid
  2201. hum.PlatformStand = true
  2202. if hum ~= nil then
  2203. hitr = true
  2204. end
  2205. coroutine.resume(coroutine.create(function(HHumanoid)
  2206. swait(5)
  2207. HHumanoid.PlatformStand = false
  2208. hitr = false
  2209. end), hum)
  2210. local bodyVelocity = Create("BodyVelocity")({
  2211. velocity = Vector3.new(0, 20, 0),
  2212. P = 5000,
  2213. maxForce = Vector3.new(8000, 8000, 8000),
  2214. Parent = hit
  2215. })
  2216. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2217. local bodyVelocity = Create("BodyVelocity")({
  2218. velocity = Vector3.new(0, 20, 0),
  2219. P = 5000,
  2220. maxForce = Vector3.new(8000, 8000, 8000),
  2221. Parent = hit
  2222. })
  2223. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2224. elseif Type == "Snare" then
  2225. local bp = Create("BodyPosition")({
  2226. P = 2000,
  2227. D = 100,
  2228. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2229. position = hit.Parent.Torso.Position,
  2230. Parent = hit.Parent.Torso
  2231. })
  2232. game:GetService("Debris"):AddItem(bp, 1)
  2233. elseif Type == "Slashnare" then
  2234. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07)
  2235. for i = 1, math.random(4, 5) do
  2236. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  2237. end
  2238. local bp = Create("BodyPosition")({
  2239. P = 2000,
  2240. D = 100,
  2241. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2242. position = hit.Parent.Torso.Position,
  2243. Parent = hit.Parent.Torso
  2244. })
  2245. game:GetService("Debris"):AddItem(bp, 1)
  2246. elseif Type == "Spike" then
  2247. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2248. local bp = Create("BodyPosition")({
  2249. P = 2000,
  2250. D = 100,
  2251. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2252. position = hit.Parent.Torso.Position,
  2253. Parent = hit.Parent.Torso
  2254. })
  2255. game:GetService("Debris"):AddItem(bp, 1)
  2256. elseif Type == "Freeze" then
  2257. local BodPos = Create("BodyPosition")({
  2258. P = 50000,
  2259. D = 1000,
  2260. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2261. position = hit.Parent.Torso.Position,
  2262. Parent = hit.Parent.Torso
  2263. })
  2264. local BodGy = Create("BodyGyro")({
  2265. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2266. P = 20000,
  2267. Parent = hit.Parent.Torso,
  2268. cframe = hit.Parent.Torso.CFrame
  2269. })
  2270. hit.Parent.Torso.Anchored = true
  2271. coroutine.resume(coroutine.create(function(Part)
  2272. swait(1.5)
  2273. Part.Anchored = false
  2274. end), hit.Parent.Torso)
  2275. game:GetService("Debris"):AddItem(BodPos, 3)
  2276. game:GetService("Debris"):AddItem(BodGy, 3)
  2277. end
  2278. local debounce = Create("BoolValue")({
  2279. Name = "DebounceHit",
  2280. Parent = hit.Parent,
  2281. Value = true
  2282. })
  2283. game:GetService("Debris"):AddItem(debounce, Delay)
  2284. c = Instance.new("ObjectValue")
  2285. c.Name = "creator"
  2286. c.Value = RealGame:service("Players")[owner.Name];
  2287. c.Parent = h
  2288. game:GetService("Debris"):AddItem(c, 0.5)
  2289. end
  2290. end
  2291. function ShowDamage(Pos, Text, Time, Color)
  2292. local Rate = 0.03333333333333333
  2293. local Pos = Pos or Vector3.new(0, 0, 0)
  2294. local Text = Text or ""
  2295. local Time = Time or 2
  2296. local Color = Color or Color3.new(1, 0, 1)
  2297. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2298. EffectPart.Anchored = true
  2299. local BillboardGui = Create("BillboardGui")({
  2300. Size = UDim2.new(3, 0, 3, 0),
  2301. Adornee = EffectPart,
  2302. Parent = EffectPart
  2303. })
  2304. local TextLabel = Create("TextLabel")({
  2305. BackgroundTransparency = 1,
  2306. Size = UDim2.new(1, 0, 1, 0),
  2307. Text = Text,
  2308. TextColor3 = Color,
  2309. TextScaled = true,
  2310. Font = Enum.Font.ArialBold,
  2311. Parent = BillboardGui
  2312. })
  2313. game.Debris:AddItem(EffectPart, Time + 0.1)
  2314. EffectPart.Parent = game:GetService("Workspace")
  2315. delay(0, function()
  2316. local Frames = Time / Rate
  2317. for Frame = 1, Frames do
  2318. wait(Rate)
  2319. local Percent = Frame / Frames
  2320. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2321. TextLabel.TextTransparency = Percent
  2322. end
  2323. if EffectPart and EffectPart.Parent then
  2324. EffectPart:Destroy()
  2325. end
  2326. end)
  2327. end
  2328. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2329. for _, c in pairs(workspace:children()) do
  2330. local hum = c:findFirstChildOfClass("Humanoid")
  2331. if hum ~= nil then
  2332. local head = c:findFirstChild("Head")
  2333. if head ~= nil then
  2334. local targ = head.Position - Part.Position
  2335. local mag = targ.magnitude
  2336. if magni >= mag and c.Name ~= Player.Name then
  2337. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2338. end
  2339. end
  2340. end
  2341. end
  2342. end
  2343. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2344. for _, c in pairs(workspace:children()) do
  2345. local hum = c:findFirstChild("Humanoid")
  2346. if hum ~= nil then
  2347. local head = c:findFirstChild("Torso")
  2348. if head ~= nil then
  2349. local targ = head.Position - Part.Position
  2350. local mag = targ.magnitude
  2351. if magni >= mag and c.Name ~= Player.Name then
  2352. MagicBlock(BrickColor.new("Pastel light blue"), head.CFrame, 5, 5, 5, 1, 1, 1, 0.05)
  2353. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2354. end
  2355. end
  2356. end
  2357. end
  2358. end
  2359. function rayCast(Pos, Dir, Max, Ignore)
  2360. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2361. end
  2362. function SkullEffect(brickcolor, cframe, x1, y1, z1, delay)
  2363. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2364. prt.Anchored = true
  2365. prt.CFrame = cframe
  2366. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  2367. game:GetService("Debris"):AddItem(prt, 2)
  2368. CF = prt.CFrame
  2369. coroutine.resume(coroutine.create(function(Part, Mesh, TehCF)
  2370. for i = 0, 1, 0.2 do
  2371. wait()
  2372. Part.CFrame = CF * cf(0, 0, -0.4)
  2373. end
  2374. for i = 0, 1, delay do
  2375. wait()
  2376. Mesh.Scale = Mesh.Scale
  2377. end
  2378. for i = 0, 1, 0.1 do
  2379. wait()
  2380. Part.Transparency = i
  2381. end
  2382. Part.Parent = nil
  2383. end), prt, msh, CF)
  2384. end
  2385. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2386. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2387. prt.Anchored = true
  2388. prt.Material = "Neon"
  2389. prt.CFrame = cframe
  2390. prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2391. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2392. game:GetService("Debris"):AddItem(prt, 5)
  2393. coroutine.resume(coroutine.create(function(Part, Mesh)
  2394. for i = 0, 1, delay do
  2395. swait()
  2396. Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2397. Part.Transparency = i
  2398. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2399. end
  2400. Part.Parent = nil
  2401. end), prt, msh)
  2402. end
  2403. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  2404. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2405. prt.Anchored = true
  2406. prt.Material = "Neon"
  2407. prt.CFrame = cframe
  2408. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2409. game:GetService("Debris"):AddItem(prt, 5)
  2410. coroutine.resume(coroutine.create(function(Part, Mesh)
  2411. local rtype = rottype
  2412. for i = 0, 1, delay do
  2413. swait()
  2414. if rtype == 1 then
  2415. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  2416. elseif rtype == 2 then
  2417. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  2418. end
  2419. Part.Transparency = i
  2420. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2421. end
  2422. Part.Parent = nil
  2423. end), prt, msh)
  2424. end
  2425. function MagicSphere(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2426. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2427. prt.Anchored = true
  2428. prt.CFrame = cframe
  2429. prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2430. msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  2431. game:GetService("Debris"):AddItem(prt, 5)
  2432. coroutine.resume(coroutine.create(function(Part, Mesh)
  2433. for i = 0, 1, delay do
  2434. wait()
  2435. Part.Transparency = i
  2436. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2437. end
  2438. Part.Parent = nil
  2439. end), prt, msh)
  2440. end
  2441. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  2442. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2443. prt.Anchored = true
  2444. prt.Material = "Neon"
  2445. prt.CFrame = cframe
  2446. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2447. game:GetService("Debris"):AddItem(prt, 5)
  2448. coroutine.resume(coroutine.create(function(Part, Mesh)
  2449. local rtype = rottype
  2450. for i = 0, 1, delay do
  2451. swait()
  2452. if rtype == 1 then
  2453. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  2454. elseif rtype == 2 then
  2455. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  2456. end
  2457. Part.Transparency = i
  2458. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2459. end
  2460. Part.Parent = nil
  2461. end), prt, msh)
  2462. end
  2463. function MagicShock(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  2464. local prt = part(3, char, 1, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2465. prt.Anchored = true
  2466. prt.Material = "Neon"
  2467. prt.CFrame = cframe
  2468. local dec = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  2469. local dec2 = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  2470. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  2471. game:GetService("Debris"):AddItem(prt, 5)
  2472. coroutine.resume(coroutine.create(function(Part, Mesh)
  2473. local rtype = rottype
  2474. for i = 0, 1, delay do
  2475. swait()
  2476. if rtype == 1 then
  2477. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  2478. elseif rtype == 2 then
  2479. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  2480. end
  2481. dec.Transparency = i
  2482. dec2.Transparency = i
  2483. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  2484. end
  2485. Part.Parent = nil
  2486. end), prt, msh)
  2487. end
  2488. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  2489. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2490. prt.Anchored = true
  2491. prt.Material = "Neon"
  2492. prt.CFrame = cframe
  2493. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  2494. game:GetService("Debris"):AddItem(prt, 5)
  2495. coroutine.resume(coroutine.create(function(Part, Mesh)
  2496. local rtype = rottype
  2497. for i = 0, 1, delay do
  2498. swait()
  2499. if rtype == 1 then
  2500. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  2501. elseif rtype == 2 then
  2502. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  2503. end
  2504. prt.Transparency = i
  2505. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  2506. end
  2507. Part.Parent = nil
  2508. end), prt, msh)
  2509. end
  2510. function MagicShockAltCircle(brickcolor, cframe, x1, z1, x3, z3, delay, rottype)
  2511. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2512. prt.Anchored = true
  2513. prt.Material = "Neon"
  2514. prt.CFrame = cframe
  2515. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, 1, z1))
  2516. game:GetService("Debris"):AddItem(prt, 5)
  2517. coroutine.resume(coroutine.create(function(Part, Mesh)
  2518. local rtype = rottype
  2519. for i = 0, 1, delay do
  2520. swait()
  2521. if rtype == 1 then
  2522. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0.1, 0)
  2523. elseif rtype == 2 then
  2524. prt.CFrame = prt.CFrame * CFrame.Angles(0, -0.1, 0)
  2525. end
  2526. prt.Transparency = i
  2527. Mesh.Scale = Mesh.Scale + vt(x3, 0, z3)
  2528. end
  2529. Part.Parent = nil
  2530. end), prt, msh)
  2531. end
  2532. function MagicShockTrailAlt(brickcolor, cframe, x1, y1, z1, x3, y3, delay, rottype)
  2533. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2534. prt.Anchored = true
  2535. prt.Material = "Neon"
  2536. prt.CFrame = cframe
  2537. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2538. game:GetService("Debris"):AddItem(prt, 5)
  2539. coroutine.resume(coroutine.create(function(Part, Mesh)
  2540. local rtype = rottype
  2541. for i = 0, 1, delay do
  2542. swait()
  2543. if rtype == 1 then
  2544. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  2545. elseif rtype == 2 then
  2546. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  2547. end
  2548. prt.Transparency = i
  2549. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  2550. end
  2551. Part.Parent = nil
  2552. end), prt, msh)
  2553. end
  2554. function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  2555. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2556. prt.Anchored = true
  2557. prt.Material = "Neon"
  2558. prt.CFrame = cframe
  2559. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2560. game:GetService("Debris"):AddItem(prt, 5)
  2561. coroutine.resume(coroutine.create(function(Part, Mesh)
  2562. local rtype = rottype
  2563. for i = 0, 1, delay do
  2564. swait()
  2565. if rtype == 1 then
  2566. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  2567. elseif rtype == 2 then
  2568. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  2569. end
  2570. prt.Transparency = i
  2571. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2572. end
  2573. Part.Parent = nil
  2574. end), prt, msh)
  2575. end
  2576. function MagicBlock2(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  2577. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2578. prt.Anchored = false
  2579. prt.CFrame = cframe
  2580. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2581. local wld = weld(prt, prt, Parent, cframe)
  2582. game:GetService("Debris"):AddItem(prt, 5)
  2583. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  2584. for i = 0, 1, delay do
  2585. wait()
  2586. Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe
  2587. Part.Transparency = i
  2588. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2589. end
  2590. Part.Parent = nil
  2591. end), prt, msh, wld)
  2592. end
  2593. function MagicBlock3(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  2594. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2595. prt.Anchored = false
  2596. prt.CFrame = cframe
  2597. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2598. local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0))
  2599. game:GetService("Debris"):AddItem(prt, 5)
  2600. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  2601. for i = 0, 1, delay do
  2602. wait()
  2603. Weld.C0 = euler(i * 20, 0, 0)
  2604. Part.Transparency = i
  2605. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2606. end
  2607. Part.Parent = nil
  2608. end), prt, msh, wld)
  2609. end
  2610. function MagicCircle2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2611. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2612. prt.Anchored = true
  2613. prt.CFrame = cframe
  2614. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2615. game:GetService("Debris"):AddItem(prt, 2)
  2616. coroutine.resume(coroutine.create(function(Part, Mesh)
  2617. for i = 0, 1, delay do
  2618. wait()
  2619. Part.CFrame = Part.CFrame
  2620. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2621. local prt2 = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2622. prt2.Anchored = true
  2623. prt2.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2624. local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
  2625. game:GetService("Debris"):AddItem(prt2, 2)
  2626. coroutine.resume(coroutine.create(function(Part, Mesh)
  2627. for i = 0, 1, 0.1 do
  2628. wait()
  2629. Part.CFrame = Part.CFrame * cf(0, 0.5, 0)
  2630. end
  2631. Part.Parent = nil
  2632. end), prt2, msh2)
  2633. end
  2634. for i = 0, 1, delay * 2 do
  2635. wait()
  2636. Part.CFrame = Part.CFrame
  2637. Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i)
  2638. end
  2639. Part.Parent = nil
  2640. end), prt, msh)
  2641. end
  2642. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2643. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2644. prt.Anchored = true
  2645. prt.CFrame = cframe
  2646. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  2647. game:GetService("Debris"):AddItem(prt, 2)
  2648. coroutine.resume(coroutine.create(function(Part, Mesh)
  2649. for i = 0, 1, delay do
  2650. wait()
  2651. Part.CFrame = Part.CFrame
  2652. Part.Transparency = i
  2653. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2654. end
  2655. Part.Parent = nil
  2656. end), prt, msh)
  2657. end
  2658. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  2659. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2660. prt.Anchored = true
  2661. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2662. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  2663. game:GetService("Debris"):AddItem(prt, 2)
  2664. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  2665. CF = Part.CFrame
  2666. Numbb = 0
  2667. randnumb = math.random() / 10
  2668. rand1 = math.random() / 10
  2669. for i = 0, 1, rand1 do
  2670. wait()
  2671. CF = CF * cf(0, math.random() / 2, 0)
  2672. Part.CFrame = CF * euler(Numbb, 0, 0)
  2673. Part.Transparency = i
  2674. Numbb = Numbb + randnumb
  2675. end
  2676. Part.Parent = nil
  2677. end), prt, CF, Numbb, randnumb)
  2678. end
  2679. function MagicWaveThing(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2680. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2681. prt.Anchored = true
  2682. prt.CFrame = cframe
  2683. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
  2684. game:GetService("Debris"):AddItem(prt, 5)
  2685. coroutine.resume(coroutine.create(function(Part, Mesh)
  2686. for i = 0, 1, delay do
  2687. wait()
  2688. Part.CFrame = Part.CFrame * euler(0, 0.7, 0)
  2689. Part.Transparency = i
  2690. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2691. end
  2692. Part.Parent = nil
  2693. end), prt, msh)
  2694. end
  2695. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2696. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2697. prt.Anchored = true
  2698. prt.CFrame = cframe
  2699. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  2700. game:GetService("Debris"):AddItem(prt, 2)
  2701. coroutine.resume(coroutine.create(function(Part, Mesh)
  2702. for i = 0, 1, delay do
  2703. wait()
  2704. Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0)
  2705. Part.Transparency = i
  2706. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2707. end
  2708. Part.Parent = nil
  2709. end), prt, msh)
  2710. end
  2711. function StravEffect(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
  2712. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2713. prt.Anchored = true
  2714. prt.CFrame = cframe * cf(x, y, z)
  2715. msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1))
  2716. game:GetService("Debris"):AddItem(prt, 5)
  2717. coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
  2718. local num = math.random()
  2719. local num2 = math.random(-3, 2) + math.random()
  2720. local numm = 0
  2721. for i = 0, 1, delay * 2 do
  2722. swait()
  2723. Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
  2724. Part.Transparency = i
  2725. numm = numm + 0.01
  2726. end
  2727. Part.Parent = nil
  2728. Mesh.Parent = nil
  2729. end), prt, msh, x, y, z)
  2730. end
  2731. function dmgstart(dmg, what)
  2732. hitcon = what.Touched:connect(function(hit)
  2733. local hum = hit.Parent:FindFirstChild("Humanoid")
  2734. if hum and not hum:IsDescendantOf(Character) then
  2735. hum:TakeDamage(dmg)
  2736. end
  2737. end)
  2738. end
  2739. function dmgstop()
  2740. hitcon:disconnect()
  2741. end
  2742. function Cloak()
  2743. Face.Parent = nil
  2744. cloaked = true
  2745. for _, v in pairs(Torso.Parent:children()) do
  2746. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  2747. coroutine.resume(coroutine.create(function()
  2748. for i = 0, 1, 0.2 do
  2749. wait()
  2750. v.Transparency = i
  2751. end
  2752. v.Transparency = 1
  2753. end))
  2754. end
  2755. if v.className == "Hat" then
  2756. hatp = v.Handle
  2757. coroutine.resume(coroutine.create(function(derp)
  2758. for i = 0, 1, 0.2 do
  2759. wait()
  2760. derp.Transparency = i
  2761. end
  2762. derp.Transparency = 1
  2763. end), hatp)
  2764. end
  2765. end
  2766. for _, v in pairs(m:children()) do
  2767. if v.className == "Part" then
  2768. coroutine.resume(coroutine.create(function()
  2769. for i = 0, 1, 0.2 do
  2770. wait()
  2771. v.Transparency = i
  2772. end
  2773. v.Transparency = 1
  2774. end))
  2775. end
  2776. end
  2777. end
  2778. function UnCloak()
  2779. so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
  2780. Face.Parent = Head
  2781. cloaked = false
  2782. for _, v in pairs(Torso.Parent:children()) do
  2783. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  2784. coroutine.resume(coroutine.create(function()
  2785. for i = 0, 1, 0.1 do
  2786. wait()
  2787. v.Transparency = v.Transparency - 0.1
  2788. end
  2789. v.Transparency = 0
  2790. end))
  2791. end
  2792. if v.className == "Hat" then
  2793. hatp = v.Handle
  2794. coroutine.resume(coroutine.create(function(derp)
  2795. for i = 0, 1, 0.1 do
  2796. wait()
  2797. derp.Transparency = derp.Transparency - 0.1
  2798. end
  2799. derp.Transparency = 0
  2800. end), hatp)
  2801. end
  2802. end
  2803. for _, v in pairs(m:children()) do
  2804. if v.className == "Part" and v.Name ~= "hitbox" and v.Name ~= "tip" then
  2805. coroutine.resume(coroutine.create(function()
  2806. for i = 0, 1, 0.1 do
  2807. wait()
  2808. v.Transparency = v.Transparency - 0.1
  2809. end
  2810. v.Transparency = 0
  2811. end))
  2812. v.Transparency = 0
  2813. end
  2814. end
  2815. end
  2816. local origcolor = BrickColor.new("Pastel light blue")
  2817. function Explode(rad, par, pitch, vol, mindam, maxdam)
  2818. local expart = Instance.new("Part", char)
  2819. local expart2 = Instance.new("Part", char)
  2820. local rin = Instance.new("Part", char)
  2821. local rin2 = Instance.new("Part", char)
  2822. local partMesh = Instance.new("SpecialMesh", expart)
  2823. partMesh.MeshType = "Sphere"
  2824. local partMesh2 = Instance.new("SpecialMesh", expart2)
  2825. partMesh2.MeshType = "Sphere"
  2826. local partMesh3 = Instance.new("SpecialMesh", rin)
  2827. partMesh3.MeshType = "Brick"
  2828. local partMesh4 = Instance.new("SpecialMesh", rin2)
  2829. partMesh4.MeshType = "Brick"
  2830. CFuncs.Sound.Create("rbxassetid://165970126", expart, vol, pitch)
  2831. partMesh.Scale = vt(rad, rad, rad)
  2832. expart.Size = vt(1, 1, 1)
  2833. expart.Transparency = 0
  2834. expart.Anchored = true
  2835. expart.Material = "Neon"
  2836. expart.BrickColor = bc("White")
  2837. expart.CFrame = par.CFrame
  2838. partMesh2.Scale = vt(rad, rad, rad)
  2839. expart2.Size = vt(1.15, 1.15, 1.15)
  2840. expart2.Transparency = 0.5
  2841. expart2.Anchored = true
  2842. expart2.Material = "Neon"
  2843. expart2.BrickColor = par.BrickColor
  2844. expart2.CFrame = par.CFrame
  2845. rin.Size = vt(1.15, 1.15, 1.15)
  2846. rin.Transparency = 1
  2847. rin.Anchored = true
  2848. rin.Material = "Neon"
  2849. rin.BrickColor = par.BrickColor
  2850. rin.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  2851. rin2.Size = vt(1.15, 1.15, 1.15)
  2852. rin2.Transparency = 1
  2853. rin2.Anchored = true
  2854. rin2.Material = "Neon"
  2855. rin2.BrickColor = par.BrickColor
  2856. rin2.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  2857. partMesh3.Scale = vt(0, 1, 0)
  2858. partMesh4.Scale = vt(0, 1, 0)
  2859. local dec2 = Instance.new("Decal", rin)
  2860. dec2.Face = "Top"
  2861. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2862. dec2.Parent = rin
  2863. local dec2b = dec2:Clone()
  2864. dec2b.Face = "Bottom"
  2865. dec2b.Parent = rin
  2866. local dec2a = Instance.new("Decal", rin2)
  2867. dec2a.Face = "Top"
  2868. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2869. dec2a.Parent = rin2
  2870. local dec2ab = dec2a:Clone()
  2871. dec2ab.Face = "Bottom"
  2872. dec2ab.Parent = rin2
  2873. expart.CanCollide = false
  2874. expart2.CanCollide = false
  2875. rin.CanCollide = false
  2876. rin2.CanCollide = false
  2877. MagniDamage(par, rad * 5, mindam, maxdam, 0, "Normal")
  2878. local value = 1 * rad / 6.5
  2879. for i = 0, 199 do
  2880. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2881. expart.CFrame = expart.CFrame
  2882. partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  2883. expart2.CFrame = expart.CFrame
  2884. value = value - 0.035 * rad / 30
  2885. if value < 7.5 then
  2886. partMesh3.Scale = partMesh3.Scale + vt(rad / 5, 0, rad / 5)
  2887. rin.CFrame = rin.CFrame * CFrame.Angles(0, math.rad(1), 0)
  2888. partMesh4.Scale = partMesh4.Scale + vt(rad / 7.5, 0, rad / 7.5)
  2889. rin2.CFrame = rin2.CFrame * CFrame.Angles(0, math.rad(-1), 0)
  2890. end
  2891. if value < 0 then
  2892. dec2.Transparency = dec2.Transparency + 0.025
  2893. dec2a.Transparency = dec2a.Transparency + 0.025
  2894. dec2b.Transparency = dec2b.Transparency + 0.025
  2895. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2896. expart.Transparency = expart.Transparency + 0.025
  2897. expart2.Transparency = expart2.Transparency + 0.025
  2898. rin.Transparency = rin.Transparency + 0.025
  2899. rin2.Transparency = rin2.Transparency + 0.025
  2900. end
  2901. swait()
  2902. end
  2903. game:GetService("Debris"):AddItem(expart, 1)
  2904. game:GetService("Debris"):AddItem(expart2, 1)
  2905. game:GetService("Debris"):AddItem(rin, 1)
  2906. game:GetService("Debris"):AddItem(rin2, 1)
  2907. end
  2908. function ExplodeShort(rad, par, pitch, vol, mindam, maxdam)
  2909. local expart = Instance.new("Part", char)
  2910. local expart2 = Instance.new("Part", char)
  2911. local partMesh = Instance.new("SpecialMesh", expart)
  2912. partMesh.MeshType = "Sphere"
  2913. local partMesh2 = Instance.new("SpecialMesh", expart2)
  2914. partMesh2.MeshType = "Sphere"
  2915. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=142070127", expart, vol, pitch)
  2916. partMesh.Scale = vt(rad, rad, rad)
  2917. expart.Size = vt(1, 1, 1)
  2918. expart.Transparency = 0
  2919. expart.Anchored = true
  2920. expart.Material = "Neon"
  2921. expart.BrickColor = bc("White")
  2922. expart.CFrame = par.CFrame
  2923. partMesh2.Scale = vt(rad, rad, rad)
  2924. expart2.Size = vt(1.15, 1.15, 1.15)
  2925. expart2.Transparency = 0.5
  2926. expart2.Anchored = true
  2927. expart2.Material = "Neon"
  2928. expart2.BrickColor = par.BrickColor
  2929. expart2.CFrame = par.CFrame
  2930. expart.CanCollide = false
  2931. expart2.CanCollide = false
  2932. MagniDamage(par, rad * 2.5, mindam, maxdam, 0, "Normal")
  2933. local value = 1 * rad / 6.5
  2934. for i = 0, 75 do
  2935. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2936. expart.CFrame = expart.CFrame
  2937. partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  2938. expart2.CFrame = expart.CFrame
  2939. value = value - 0.035 * rad / 5
  2940. if value < 0 then
  2941. value = 0
  2942. expart.Transparency = expart.Transparency + 0.05
  2943. expart2.Transparency = expart2.Transparency + 0.05
  2944. end
  2945. swait()
  2946. end
  2947. game:GetService("Debris"):AddItem(expart, 1)
  2948. game:GetService("Debris"):AddItem(expart2, 1)
  2949. end
  2950. function AreaDanger(rad, par, mindam, maxdam)
  2951. local expart = Instance.new("Part", char)
  2952. local partMesh = Instance.new("SpecialMesh", expart)
  2953. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  2954. partMesh.MeshType = "Sphere"
  2955. partMesh.Scale = vt(rad, rad, rad)
  2956. expart.Size = vt(1, 1, 1)
  2957. expart.Transparency = 0.5
  2958. expart.Anchored = true
  2959. expart.Material = "Neon"
  2960. expart.CanCollide = false
  2961. expart.BrickColor = par.BrickColor
  2962. expart.CFrame = par.CFrame
  2963. local value = 1 * rad / 5
  2964. MagicBlock(origcolor, expart.CFrame, 0, 0, 0, rad / 2, rad / 2, rad / 2, 0.1)
  2965. for i = 0, 14 do
  2966. wait()
  2967. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2968. expart.CFrame = expart.CFrame
  2969. value = value - 0.035 * rad
  2970. if value < 0 then
  2971. value = 0
  2972. end
  2973. end
  2974. wait(0.25)
  2975. CFuncs.Sound.Create("rbxassetid://588738544", expart, 1.5, 1)
  2976. wait(0.5)
  2977. CFuncs.Sound.Create("rbxassetid://588737825", expart, 1.5, 1)
  2978. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 0.75)
  2979. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2980. MagicBlock(origcolor, expart.CFrame, rad * 2, rad * 2, rad * 2, 0.1, 0.1, 0.1, 0.025)
  2981. for i = 0, 14 do
  2982. wait()
  2983. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  2984. expart.CFrame = expart.CFrame
  2985. value = value - 0.035 * rad / 2
  2986. end
  2987. expart.Transparency = 1
  2988. game:GetService("Debris"):AddItem(expart, 5)
  2989. end
  2990. function Swarmsplosions(negrad, rad, par, mindam, maxdam)
  2991. CFuncs.Sound.Create("rbxassetid://588737825", par, 2.5, 2)
  2992. CFuncs.Sound.Create("rbxassetid://231917784", par, 2.5, 1)
  2993. CFuncs.Sound.Create("rbxassetid://231917744", par, 2.5, 1)
  2994. CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  2995. MagniDamageWithEffect(par, 25, 5, 10, 0, "Normal")
  2996. MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.025)
  2997. for i = 0, 24 do
  2998. MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 25, 0.005, math.random(1, 2))
  2999. end
  3000. for i = 0, 24 do
  3001. local expart = Instance.new("Part", char)
  3002. expart.Transparency = 1
  3003. expart.Anchored = true
  3004. expart.CanCollide = false
  3005. expart.CFrame = par.CFrame * CFrame.new(math.random(negrad, rad), math.random(negrad, rad), math.random(negrad, rad))
  3006. CFuncs.Sound.Create("rbxassetid://588737825", expart, 1, 2)
  3007. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  3008. MagniDamage(expart, rad / 2, mindam, maxdam, 0, "Normal")
  3009. MagicBlock(origcolor, expart.CFrame, rad, rad, rad, 0.1, 0.1, 0.1, 0.025)
  3010. for i = 0, 9 do
  3011. MagicShockTrailAlt2(origcolor, expart.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 5, 0.05, math.random(1, 2))
  3012. end
  3013. game:GetService("Debris"):AddItem(expart, 2)
  3014. wait(0.1)
  3015. end
  3016. end
  3017. function EXterPlosion(par)
  3018. CFuncs.Sound.Create("rbxassetid://919941001", par, 10, 1)
  3019. CFuncs.Sound.Create("rbxassetid://138213851", par, 5, 0.85)
  3020. CFuncs.Sound.Create("rbxassetid://157878578", par, 5, 0.2)
  3021. CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  3022. MagniDamageWithEffect(par, 500, 80, 99, 0, "Normal")
  3023. MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.005)
  3024. MagicBlock(origcolor, par.CFrame, 0, 0, 0, 150, 150, 150, 0.1)
  3025. for i = 0, 24 do
  3026. MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.5, -0.5, 500, 0.1, math.random(1, 2))
  3027. end
  3028. for i = 0, 24 do
  3029. MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.25, -0.25, 50, 0.005, math.random(1, 2))
  3030. end
  3031. end
  3032. function ring(type, pos, scale, value)
  3033. local type = type
  3034. local rng = Instance.new("Part", char)
  3035. rng.Anchored = true
  3036. rng.BrickColor = origcolor
  3037. rng.CanCollide = false
  3038. rng.FormFactor = 3
  3039. rng.Name = "Ring"
  3040. rng.Size = Vector3.new(1, 1, 1)
  3041. rng.Transparency = 0
  3042. rng.TopSurface = 0
  3043. rng.BottomSurface = 0
  3044. rng.CFrame = pos
  3045. local rngm = Instance.new("SpecialMesh", rng)
  3046. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3047. rngm.Scale = scale
  3048. local scaler2 = 1
  3049. if type == "Add" then
  3050. scaler2 = 1 * value
  3051. elseif type == "Divide" then
  3052. scaler2 = 1 / value
  3053. end
  3054. coroutine.resume(coroutine.create(function()
  3055. for i = 0, 10, 0.1 do
  3056. swait()
  3057. if type == "Add" then
  3058. scaler2 = scaler2 - 0.01 * value
  3059. elseif type == "Divide" then
  3060. scaler2 = scaler2 - 0.01 / value
  3061. end
  3062. rng.Transparency = rng.Transparency + 0.01
  3063. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3064. end
  3065. rng:Destroy()
  3066. end))
  3067. end
  3068. function wave(type, pos, scale, value)
  3069. local type = type
  3070. local rng = Instance.new("Part", char)
  3071. rng.Anchored = true
  3072. rng.BrickColor = origcolor
  3073. rng.CanCollide = false
  3074. rng.FormFactor = 3
  3075. rng.Name = "Ring"
  3076. rng.Size = Vector3.new(1, 1, 1)
  3077. rng.Transparency = 0
  3078. rng.TopSurface = 0
  3079. rng.BottomSurface = 0
  3080. rng.CFrame = pos
  3081. local rngm = Instance.new("SpecialMesh", rng)
  3082. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3083. rngm.Scale = scale
  3084. local scaler2 = 1
  3085. if type == "Add" then
  3086. scaler2 = 1 * value
  3087. elseif type == "Divide" then
  3088. scaler2 = 1 / value
  3089. end
  3090. coroutine.resume(coroutine.create(function()
  3091. for i = 0, 10, 0.1 do
  3092. swait()
  3093. if type == "Add" then
  3094. scaler2 = scaler2 - 0.01 * value
  3095. elseif type == "Divide" then
  3096. scaler2 = scaler2 - 0.01 / value
  3097. end
  3098. rng.Transparency = rng.Transparency + 0.01
  3099. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3100. end
  3101. rng:Destroy()
  3102. end))
  3103. end
  3104. function wind(type, pos, scale, value, speed)
  3105. local type = type
  3106. local rng = Instance.new("Part", char)
  3107. rng.Anchored = true
  3108. rng.BrickColor = origcolor
  3109. rng.CanCollide = false
  3110. rng.FormFactor = 3
  3111. rng.Name = "Ring"
  3112. rng.Size = Vector3.new(1, 1, 1)
  3113. rng.Transparency = 0
  3114. rng.TopSurface = 0
  3115. rng.BottomSurface = 0
  3116. rng.CFrame = pos
  3117. local rngm = Instance.new("SpecialMesh", rng)
  3118. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3119. rngm.Scale = scale
  3120. local scaler2 = 1
  3121. if type == "Add" then
  3122. scaler2 = 1 * value
  3123. elseif type == "Divide" then
  3124. scaler2 = 1 / value
  3125. end
  3126. coroutine.resume(coroutine.create(function()
  3127. for i = 0, 10, 0.1 do
  3128. swait()
  3129. if type == "Add" then
  3130. scaler2 = scaler2 - 0.01 * value
  3131. elseif type == "Divide" then
  3132. scaler2 = scaler2 - 0.01 / value
  3133. end
  3134. rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  3135. rng.Transparency = rng.Transparency + 0.01
  3136. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3137. end
  3138. rng:Destroy()
  3139. end))
  3140. end
  3141. function groundwind(type, pos, scale, value, speed)
  3142. local type = type
  3143. local rng = Instance.new("Part", char)
  3144. rng.Anchored = true
  3145. rng.BrickColor = origcolor
  3146. rng.CanCollide = false
  3147. rng.FormFactor = 3
  3148. rng.Name = "Ring"
  3149. rng.Size = Vector3.new(1, 1, 1)
  3150. rng.Transparency = 0
  3151. rng.TopSurface = 0
  3152. rng.BottomSurface = 0
  3153. rng.CFrame = pos
  3154. local rngm = Instance.new("SpecialMesh", rng)
  3155. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3156. rngm.Scale = scale
  3157. local scaler2 = 1
  3158. if type == "Add" then
  3159. scaler2 = 1 * value
  3160. elseif type == "Divide" then
  3161. scaler2 = 1 / value
  3162. end
  3163. coroutine.resume(coroutine.create(function()
  3164. for i = 0, 10, 0.1 do
  3165. swait()
  3166. if type == "Add" then
  3167. scaler2 = scaler2 - 0.01 * value
  3168. elseif type == "Divide" then
  3169. scaler2 = scaler2 - 0.01 / value
  3170. end
  3171. rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  3172. rng.Transparency = rng.Transparency + 0.01
  3173. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2 / 5, scaler2)
  3174. end
  3175. rng:Destroy()
  3176. end))
  3177. end
  3178. function CameraManager()
  3179. if TwoD and not CamInterrupt then
  3180. if Humanoid.Health > 0 then
  3181. Camera.CameraSubject = Humanoid
  3182. Camera.CameraType = "Scriptable"
  3183. Humanoid.AutoRotate = false
  3184. if Booleans.GyroUse then
  3185. Directer.MaxTorque = Vec3(0, huge, 0)
  3186. else
  3187. Directer.MaxTorque = Vec3(0, 0, 0)
  3188. end
  3189. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  3190. if Booleans.CamFollow then
  3191. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  3192. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  3193. else
  3194. CPart.Position = RootPart.Position
  3195. end
  3196. else
  3197. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  3198. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  3199. end
  3200. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  3201. else
  3202. Camera.CameraSubject = Humanoid
  3203. Camera.CameraType = "Custom"
  3204. end
  3205. end
  3206. end
  3207. function sphere(bonuspeed, type, pos, scale, value, color)
  3208. local type = type
  3209. local rng = Instance.new("Part", char)
  3210. rng.Anchored = true
  3211. rng.BrickColor = color
  3212. rng.CanCollide = false
  3213. rng.FormFactor = 3
  3214. rng.Name = "Ring"
  3215. rng.Material = "Neon"
  3216. rng.Size = Vector3.new(1, 1, 1)
  3217. rng.Transparency = 0
  3218. rng.TopSurface = 0
  3219. rng.BottomSurface = 0
  3220. rng.CFrame = pos
  3221. local rngm = Instance.new("SpecialMesh", rng)
  3222. rngm.MeshType = "Sphere"
  3223. rngm.Scale = scale
  3224. if rainbowmode == true then
  3225. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  3226. end
  3227. local scaler2 = 1
  3228. if type == "Add" then
  3229. scaler2 = 1 * value
  3230. elseif type == "Divide" then
  3231. scaler2 = 1 / value
  3232. end
  3233. end
  3234. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3235. local type = type
  3236. local rng = Instance.new("Part", char)
  3237. rng.Anchored = true
  3238. rng.CanCollide = false
  3239. rng.FormFactor = 3
  3240. rng.Name = "Ring"
  3241. rng.Material = "Neon"
  3242. rng.Size = Vector3.new(1, 1, 1)
  3243. rng.Transparency = 0
  3244. rng.TopSurface = 0
  3245. rng.BottomSurface = 0
  3246. rng.CFrame = pos
  3247. local rngm = Instance.new("SpecialMesh", rng)
  3248. rngm.MeshType = "Sphere"
  3249. rngm.Scale = scale
  3250. local scaler2 = 1
  3251. local scaler2b = 1
  3252. local scaler2c = 1
  3253. if type == "Add" then
  3254. scaler2 = 1*value
  3255. scaler2b = 1*value2
  3256. scaler2c = 1*value3
  3257. elseif type == "Divide" then
  3258. scaler2 = 1/value
  3259. scaler2b = 1/value2
  3260. scaler2c = 1/value3
  3261. end
  3262. coroutine.resume(coroutine.create(function()
  3263. for i = 0, 10 / bonuspeed, 0.1 do
  3264. swait()
  3265. if rainbowmode == true then
  3266. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  3267. end
  3268. if type == "Add" then
  3269. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3270. elseif type == "Divide" then
  3271. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3272. end
  3273. if chaosmode == true then
  3274. rng.BrickColor = BrickColor.random()
  3275. end
  3276. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3277. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  3278. end
  3279. rng:Destroy()
  3280. end))
  3281. end
  3282. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  3283. local type = type
  3284. local rng = Instance.new("Part", char)
  3285. rng.Anchored = true
  3286. rng.BrickColor = color
  3287. rng.CanCollide = false
  3288. rng.FormFactor = 3
  3289. rng.Name = "Ring"
  3290. rng.Material = "Neon"
  3291. rng.Size = Vector3.new(1, 1, 1)
  3292. rng.Transparency = 0
  3293. rng.TopSurface = 0
  3294. rng.BottomSurface = 0
  3295. rng.CFrame = pos
  3296. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  3297. local rngm = Instance.new("SpecialMesh", rng)
  3298. rngm.MeshType = "Sphere"
  3299. rngm.Scale = vt(x1, y1, z1)
  3300. if rainbowmode == true then
  3301. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  3302. end
  3303. local scaler2 = 1
  3304. local speeder = FastSpeed
  3305. if type == "Add" then
  3306. scaler2 = 1 * value
  3307. elseif type == "Divide" then
  3308. scaler2 = 1 / value
  3309. end
  3310. coroutine.resume(coroutine.create(function()
  3311. for i = 0, 10 / bonuspeed, 0.1 do
  3312. swait()
  3313. if rainbowmode == true then
  3314. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  3315. end
  3316. if type == "Add" then
  3317. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3318. elseif type == "Divide" then
  3319. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3320. end
  3321. if chaosmode == true then
  3322. rng.BrickColor = BrickColor.random()
  3323. end
  3324. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  3325. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  3326. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3327. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  3328. end
  3329. rng:Destroy()
  3330. end))
  3331. end
  3332. function sphereMKCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  3333. local type = type
  3334. local rng = Instance.new("Part", char)
  3335. rng.Anchored = true
  3336. rng.BrickColor = color
  3337. rng.CanCollide = false
  3338. rng.FormFactor = 3
  3339. rng.Name = "Ring"
  3340. rng.Material = "Neon"
  3341. rng.Size = Vector3.new(1, 1, 1)
  3342. rng.Transparency = 1
  3343. rng.TopSurface = 0
  3344. rng.BottomSurface = 0
  3345. rng.CFrame = pos
  3346. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  3347. local rngm = Instance.new("SpecialMesh", rng)
  3348. rngm.MeshType = "Sphere"
  3349. rngm.Scale = vt(x1, y1, z1)
  3350. if rainbowmode == true then
  3351. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  3352. end
  3353. local scaler2 = 1
  3354. local speeder = FastSpeed
  3355. if type == "Add" then
  3356. scaler2 = 1 * value
  3357. elseif type == "Divide" then
  3358. scaler2 = 1 / value
  3359. end
  3360. coroutine.resume(coroutine.create(function()
  3361. for i = 0, 10 / bonuspeed, 0.1 do
  3362. swait()
  3363. if rainbowmode == true then
  3364. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  3365. end
  3366. if type == "Add" then
  3367. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3368. elseif type == "Divide" then
  3369. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3370. end
  3371. if chaosmode == true then
  3372. rng.BrickColor = BrickColor.random()
  3373. end
  3374. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  3375. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  3376. rng.Transparency = rng.Transparency - 0.01 * bonuspeed
  3377. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  3378. end
  3379. rng:Destroy()
  3380. end))
  3381. end
  3382. function dmg(dude)
  3383. if dude.Name ~= Character then
  3384. local bgf = Instance.new("BodyGyro", dude.Head)
  3385. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0)
  3386. local val = Instance.new("BoolValue", dude)
  3387. val.Name = "IsHit"
  3388. local ds = coroutine.wrap(function()
  3389. dude:WaitForChild("Head"):BreakJoints()
  3390. wait(0.5)
  3391. targetted = nil
  3392. CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3)
  3393. coroutine.resume(coroutine.create(function()
  3394. for i, v in pairs(dude:GetChildren()) do
  3395. if v:IsA("Accessory") then
  3396. v:Destroy()
  3397. end
  3398. if v:IsA("Humanoid") then
  3399. v:Destroy()
  3400. end
  3401. if v:IsA("CharacterMesh") then
  3402. v:Destroy()
  3403. end
  3404. if v:IsA("Model") then
  3405. v:Destroy()
  3406. end
  3407. if v:IsA("Part") or v:IsA("MeshPart") then
  3408. for x, o in pairs(v:GetChildren()) do
  3409. if o:IsA("Decal") then
  3410. o:Destroy()
  3411. end
  3412. end
  3413. coroutine.resume(coroutine.create(function()
  3414. v.Material = "Neon"
  3415. v.CanCollide = false
  3416. local bld = Instance.new("ParticleEmitter", v)
  3417. bld.LightEmission = 1
  3418. bld.Texture = "rbxassetid://0"
  3419. bld.Color = ColorSequence.new(Color3.new(1, 1, 1))
  3420. bld.Rate = 50
  3421. bld.Lifetime = NumberRange.new(1)
  3422. bld.Size = NumberSequence.new({
  3423. NumberSequenceKeypoint.new(0, 0.75, 0),
  3424. NumberSequenceKeypoint.new(1, 0, 0)
  3425. })
  3426. bld.Transparency = NumberSequence.new({
  3427. NumberSequenceKeypoint.new(0, 0, 0),
  3428. NumberSequenceKeypoint.new(1, 1, 0)
  3429. })
  3430. bld.Speed = NumberRange.new(0, 0)
  3431. bld.VelocitySpread = 50000
  3432. bld.Rotation = NumberRange.new(-500, 500)
  3433. bld.RotSpeed = NumberRange.new(-500, 500)
  3434. local sbs = Instance.new("BodyPosition", v)
  3435. sbs.P = 3000
  3436. sbs.D = 1000
  3437. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3438. sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
  3439. v.Color = Color3.new(1, 1, 1)
  3440. coroutine.resume(coroutine.create(function()
  3441. for i = 0, 49 do
  3442. swait(1)
  3443. v.Transparency = v.Transparency + 0.02
  3444. end
  3445. CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1)
  3446. bld.Speed = NumberRange.new(1, 5)
  3447. bld.Acceleration = vt(0, 10, 0)
  3448. wait(0.5)
  3449. bld.Enabled = false
  3450. wait(3)
  3451. v:Destroy()
  3452. dude:Destroy()
  3453. end))
  3454. end))
  3455. end
  3456. end
  3457. end))
  3458. end)
  3459. ds()
  3460. end
  3461. end
  3462. function FindNearestHead(Position, Distance, SinglePlayer)
  3463. if SinglePlayer then
  3464. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  3465. end
  3466. local List = {}
  3467. for i, v in pairs(workspace:GetChildren()) do
  3468. if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
  3469. table.insert(List, v)
  3470. end
  3471. end
  3472. return List
  3473. end
  3474. function FaceMouse()
  3475. Cam = workspace.CurrentCamera
  3476. return {
  3477. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3478. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3479. }
  3480. end
  3481. function FaceMouse2()
  3482. Cam = workspace.CurrentCamera
  3483. return {
  3484. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3485. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3486. }
  3487. end
  3488. local ModeOfGlitch = 1
  3489. local storehumanoidWS = 16
  3490. function ExtinctiveHeartbreak()
  3491. local targetted
  3492. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3493. targetted = mouse.Target.Parent
  3494. end
  3495. if targetted ~= nil then
  3496. attack = true
  3497. CFuncs.Sound.Create("rbxassetid://377012339", root, 2.5, 7)
  3498. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  3499. local originalpos = root.CFrame
  3500. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2)
  3501. hum.WalkSpeed = 0
  3502. targetted.Head.Anchored = true
  3503. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  3504. for i = 0, 2, 0.1 do
  3505. swait()
  3506. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
  3507. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
  3508. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.4)
  3509. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  3510. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)
  3511. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.4)
  3512. end
  3513. coroutine.resume(coroutine.create(function()
  3514. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
  3515. bld.LightEmission = 0.1
  3516. bld.Texture = "rbxassetid://0"
  3517. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  3518. bld.Rate = 500
  3519. bld.Lifetime = NumberRange.new(1)
  3520. bld.Size = NumberSequence.new({
  3521. NumberSequenceKeypoint.new(0, 2, 0),
  3522. NumberSequenceKeypoint.new(1, 0, 0)
  3523. })
  3524. bld.Acceleration = vt(0, -25, 0)
  3525. bld.Transparency = NumberSequence.new({
  3526. NumberSequenceKeypoint.new(0, 0, 0),
  3527. NumberSequenceKeypoint.new(1, 0, 0)
  3528. })
  3529. bld.Speed = NumberRange.new(10, 50)
  3530. bld.EmissionDirection = "Front"
  3531. bld.VelocitySpread = 25
  3532. bld.Rotation = NumberRange.new(-500, 500)
  3533. bld.RotSpeed = NumberRange.new(-500, 500)
  3534. end))
  3535. coroutine.resume(coroutine.create(function()
  3536. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
  3537. bld.LightEmission = 0.1
  3538. bld.Texture = "rbxassetid://0"
  3539. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  3540. bld.Rate = 500
  3541. bld.Lifetime = NumberRange.new(1)
  3542. bld.Size = NumberSequence.new({
  3543. NumberSequenceKeypoint.new(0, 2, 0),
  3544. NumberSequenceKeypoint.new(1, 0, 0)
  3545. })
  3546. bld.Acceleration = vt(0, -25, 0)
  3547. bld.Transparency = NumberSequence.new({
  3548. NumberSequenceKeypoint.new(0, 0, 0),
  3549. NumberSequenceKeypoint.new(1, 0, 0)
  3550. })
  3551. bld.Speed = NumberRange.new(10, 50)
  3552. bld.EmissionDirection = "Front"
  3553. bld.VelocitySpread = 25
  3554. bld.Rotation = NumberRange.new(-500, 500)
  3555. bld.RotSpeed = NumberRange.new(-500, 500)
  3556. end))
  3557. CameraEnshaking(5, 5)
  3558. game:GetService("Debris"):AddItem(bld, 3)
  3559. dmg(targetted)
  3560. CFuncs.Sound.Create("rbxassetid://160715357", targetted.Head, 10, 1)
  3561. for i = 0, 1, 0.1 do
  3562. swait()
  3563. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8)
  3564. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8)
  3565. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0.25, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.8)
  3566. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8)
  3567. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  3568. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.8)
  3569. end
  3570. CFuncs.Sound.Create("rbxassetid://160715357", root, 10, 1)
  3571. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  3572. root.CFrame = originalpos
  3573. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  3574. bld.Enabled = false
  3575. attack = false
  3576. hum.WalkSpeed = storehumanoidWS
  3577. end
  3578. end
  3579. function PureBomb()
  3580. attack = true
  3581. local orb = Instance.new("Part", char)
  3582. orb.Anchored = true
  3583. orb.BrickColor = BrickColor.new("Cool yellow")
  3584. orb.CanCollide = false
  3585. orb.FormFactor = 3
  3586. orb.Name = "Ring"
  3587. orb.Material = "Neon"
  3588. orb.Size = Vector3.new(1, 1, 1)
  3589. orb.Transparency = 0
  3590. orb.TopSurface = 0
  3591. orb.BottomSurface = 0
  3592. local orbm = Instance.new("SpecialMesh", orb)
  3593. orbm.MeshType = "Sphere"
  3594. orbm.Name = "SizeMesh"
  3595. orbm.Scale = vt(0, 0, 0)
  3596. local scaled = 0.1
  3597. local posid = 0
  3598. CFuncs.Sound.Create("rbxassetid://136007472", orb, 1, 1)
  3599. for i = 0, 5, 0.1 do
  3600. swait()
  3601. scaled = scaled - 0.001
  3602. posid = posid - scaled
  3603. orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  3604. orbm.Scale = orbm.Scale + vt(scaled, scaled, scaled)
  3605. sphereMKCharge(5, -0.25, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, BrickColor.new("Bright blue"), 10)
  3606. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.1)
  3607. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.1)
  3608. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  3609. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  3610. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1)
  3611. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.1)
  3612. end
  3613. for i = 0, 2, 0.1 do
  3614. swait()
  3615. orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  3616. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4)
  3617. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4)
  3618. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.4)
  3619. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4)
  3620. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4)
  3621. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4)
  3622. end
  3623. coroutine.resume(coroutine.create(function()
  3624. orb.Anchored = false
  3625. CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  3626. local a = Instance.new("Part", workspace)
  3627. a.Name = "Direction"
  3628. a.Anchored = true
  3629. a.BrickColor = bc("Bright red")
  3630. a.Material = "Neon"
  3631. a.Transparency = 1
  3632. a.CanCollide = false
  3633. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
  3634. local ignore = orb
  3635. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3636. a.BottomSurface = 10
  3637. a.TopSurface = 10
  3638. local distance = (orb.CFrame.p - position).magnitude
  3639. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3640. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3641. orb.CFrame = a.CFrame
  3642. a:Destroy()
  3643. local bv = Instance.new("BodyVelocity")
  3644. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3645. bv.velocity = orb.CFrame.lookVector * 125
  3646. bv.Parent = orb
  3647. local hitted = false
  3648. game:GetService("Debris"):AddItem(orb, 15)
  3649. wait()
  3650. local hit = orb.Touched:connect(function(hit)
  3651. if hitted == false then
  3652. hitted = true
  3653. CameraEnshaking(10, 2.5)
  3654. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  3655. MagniDamage(orb, 65, 65, 90, 0, "Normal")
  3656. sphere(1, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Toothpaste"))
  3657. sphere(2, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Toothpaste"))
  3658. orb.Anchored = true
  3659. orb.Transparency = 1
  3660. wait(8)
  3661. orb:Destroy()
  3662. end
  3663. end)
  3664. end))
  3665. for i = 0, 1, 0.1 do
  3666. swait()
  3667. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4)
  3668. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4)
  3669. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.4)
  3670. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4)
  3671. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4)
  3672. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4)
  3673. end
  3674. attack = false
  3675. end
  3676. function ChaosGroundStrike()
  3677. attack = true
  3678. for i = 0, 2, 0.1 do
  3679. swait()
  3680. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  3681. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  3682. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3683. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3684. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  3685. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  3686. end
  3687. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  3688. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  3689. CameraEnshaking(4, 12)
  3690. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3691. if v:FindFirstChild("Head") then
  3692. dmg(v)
  3693. end
  3694. end
  3695. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  3696. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  3697. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  3698. for i = 0, 2, 0.1 do
  3699. swait()
  3700. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  3701. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  3702. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3703. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3704. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  3705. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  3706. end
  3707. attack = false
  3708. end
  3709. function ChaosBegone()
  3710. attack = true
  3711. chatfunc("TOO BIG...", BrickColor.random().Color)
  3712. for i = 0, 10, 0.1 do
  3713. swait()
  3714. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  3715. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  3716. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3717. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3718. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  3719. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  3720. end
  3721. chatfunc("BIGGGGG!!!", BrickColor.random().Color)
  3722. CFuncs.Sound.Create("rbxassetid://130774824", char, 7.5, 1)
  3723. CFuncs.Sound.Create("rbxassetid://130774824", char, 7.5, 1)
  3724. CameraEnshaking(5, 25)
  3725. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3726. if v:FindFirstChild("Head") then
  3727. dmg(v)
  3728. end
  3729. end
  3730. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random())
  3731. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random())
  3732. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random())
  3733. for i = 0, 3, 0.1 do
  3734. swait()
  3735. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  3736. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  3737. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3738. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  3739. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  3740. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  3741. end
  3742. attack = false
  3743. end
  3744. function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon)
  3745. local orb = Instance.new("Part", char)
  3746. orb.Anchored = true
  3747. orb.BrickColor = color
  3748. orb.CanCollide = false
  3749. orb.FormFactor = 3
  3750. orb.Name = "Ring"
  3751. orb.Material = "Neon"
  3752. orb.Size = Vector3.new(1, 1, 1)
  3753. orb.Transparency = 0
  3754. orb.TopSurface = 0
  3755. orb.BottomSurface = 0
  3756. local orbm = Instance.new("SpecialMesh", orb)
  3757. orbm.MeshType = "Sphere"
  3758. orb.CFrame = positted
  3759. orbm.Name = "SizeMesh"
  3760. orbm.Scale = vt(1, 1, 1)
  3761. CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1)
  3762. sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor)
  3763. coroutine.resume(coroutine.create(function()
  3764. wait(timer)
  3765. CameraEnshaking(3, ShakePower)
  3766. orb.Transparency = 1
  3767. MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal")
  3768. sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor)
  3769. CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7)
  3770. wait(3)
  3771. orb:Destroy()
  3772. end))
  3773. end
  3774. function orb_spawn(positted, timer)
  3775. local randomcol = math.random(1, 2)
  3776. local orb = Instance.new("Part", char)
  3777. orb.Anchored = true
  3778. if randomcol == 1 then
  3779. orb.BrickColor = BrickColor.new("White")
  3780. elseif randomcol == 2 then
  3781. orb.BrickColor = BrickColor.new("Really black")
  3782. end
  3783. orb.CanCollide = false
  3784. orb.FormFactor = 3
  3785. orb.Name = "Ring"
  3786. orb.Material = "Neon"
  3787. orb.Size = Vector3.new(1, 1, 1)
  3788. orb.Transparency = 0
  3789. orb.TopSurface = 0
  3790. orb.BottomSurface = 0
  3791. local orbm = Instance.new("SpecialMesh", orb)
  3792. orbm.MeshType = "Sphere"
  3793. orb.CFrame = positted
  3794. orbm.Name = "SizeMesh"
  3795. orbm.Scale = vt(1, 1, 1)
  3796. CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1)
  3797. sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor)
  3798. coroutine.resume(coroutine.create(function()
  3799. wait(timer)
  3800. CameraEnshaking(3, 2)
  3801. orb.Transparency = 1
  3802. MagniDamage(orb, 17.5, 10, 50, 0, "Normal")
  3803. sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor)
  3804. CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7)
  3805. wait(3)
  3806. orb:Destroy()
  3807. end))
  3808. end
  3809. function scattercorrupt()
  3810. attack = true
  3811. local rot = 0
  3812. local randomrotations = math.random(1, 2)
  3813. local lookv = 2.5
  3814. local power = 5
  3815. sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple"))
  3816. sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple"))
  3817. CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6)
  3818. CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5)
  3819. CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1)
  3820. CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75)
  3821. CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5)
  3822. local hite = Instance.new("Part", char)
  3823. hite.Anchored = true
  3824. hite.CanCollide = false
  3825. hite.FormFactor = 3
  3826. hite.Name = "Ring"
  3827. hite.Material = "Neon"
  3828. hite.Size = Vector3.new(1, 1, 1)
  3829. hite.Transparency = 1
  3830. hite.TopSurface = 0
  3831. hite.BottomSurface = 0
  3832. hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0)
  3833. local rem = Instance.new("Part", char)
  3834. rem.Anchored = true
  3835. rem.CanCollide = false
  3836. rem.FormFactor = 3
  3837. rem.Name = "Ring"
  3838. rem.Material = "Neon"
  3839. rem.Size = Vector3.new(1, 1, 1)
  3840. rem.Transparency = 1
  3841. rem.TopSurface = 0
  3842. rem.BottomSurface = 0
  3843. rem.CFrame = hite.CFrame
  3844. local rem2 = rem:Clone()
  3845. rem2.Parent = char
  3846. rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3847. local rem3 = rem:Clone()
  3848. rem3.Parent = char
  3849. rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  3850. local rem4 = rem:Clone()
  3851. rem4.Parent = char
  3852. rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  3853. hite:Destroy()
  3854. coroutine.resume(coroutine.create(function()
  3855. for i = 0, 24 do
  3856. swait(1)
  3857. if randomrotations == 1 then
  3858. rot = rot + 1
  3859. elseif randomrotations == 2 then
  3860. rot = rot - 1
  3861. end
  3862. power = power + 0.5
  3863. lookv = lookv + 7.5
  3864. rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0)
  3865. rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  3866. rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  3867. rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  3868. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3869. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3870. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3871. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  3872. end
  3873. end))
  3874. attack = false
  3875. end
  3876. function yinyangi()
  3877. attack = true
  3878. for i = 0, 2, 0.1 do
  3879. swait()
  3880. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2)
  3881. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.2)
  3882. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2)
  3883. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  3884. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
  3885. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  3886. end
  3887. local bv = Instance.new("BodyVelocity")
  3888. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3889. bv.velocity = root.CFrame.lookVector * 175
  3890. bv.Parent = root
  3891. for Rotations = 0, 9 do
  3892. for i = 0, 1, 0.5 do
  3893. swait()
  3894. bv.velocity = root.CFrame.lookVector * 175
  3895. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
  3896. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
  3897. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5)
  3898. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3899. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3900. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3901. end
  3902. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3903. for i = 0, 1, 0.5 do
  3904. swait()
  3905. bv.velocity = root.CFrame.lookVector * 175
  3906. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
  3907. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
  3908. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(180)), 0.5)
  3909. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3910. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3911. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3912. end
  3913. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3914. for i = 0, 1, 0.5 do
  3915. swait()
  3916. bv.velocity = root.CFrame.lookVector * 175
  3917. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
  3918. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
  3919. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(270)), 0.5)
  3920. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3921. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3922. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3923. end
  3924. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3925. for i = 0, 1, 0.5 do
  3926. swait()
  3927. bv.velocity = root.CFrame.lookVector * 175
  3928. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
  3929. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
  3930. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(360)), 0.5)
  3931. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  3932. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  3933. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  3934. end
  3935. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  3936. end
  3937. bv:Destroy()
  3938. attack = false
  3939. end
  3940. function Wip()
  3941. attack = true
  3942. local rngb = Instance.new("Part", char)
  3943. rngb.Anchored = true
  3944. rngb.BrickColor = origcolor
  3945. rngb.CanCollide = false
  3946. rngb.FormFactor = 3
  3947. rngb.Name = "Ring"
  3948. rngb.Material = "Neon"
  3949. rngb.Size = Vector3.new(1, 0.05, 1)
  3950. rngb.Transparency = 1
  3951. rngb.TopSurface = 0
  3952. rngb.BottomSurface = 0
  3953. local rngmb = Instance.new("SpecialMesh", rngb)
  3954. rngmb.MeshType = "Brick"
  3955. rngmb.Name = "SizeMesh"
  3956. rngmb.Scale = vt(0, 1, 0)
  3957. local orb = rngb:Clone()
  3958. orb.Parent = char
  3959. orb.Transparency = 0
  3960. orb.BrickColor = BrickColor.new("White")
  3961. orb.Size = vt(1, 1, 1)
  3962. local orbmish = orb.SizeMesh
  3963. orbmish.Scale = vt(0, 0, 0)
  3964. orbmish.MeshType = "Sphere"
  3965. local orbe = rngb:Clone()
  3966. orbe.Parent = char
  3967. orbe.Transparency = 0.5
  3968. orbe.BrickColor = BrickColor.new("New Yeller")
  3969. orbe.Size = vt(1, 1, 1)
  3970. local orbmish2 = orbe.SizeMesh
  3971. orbmish2.Scale = vt(0, 0, 0)
  3972. orbmish2.MeshType = "Sphere"
  3973. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3974. rngb:Destroy()
  3975. for i = 0, 5, 0.1 do
  3976. swait()
  3977. if rainbowmode == true then
  3978. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  3979. end
  3980. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3981. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  3982. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3983. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3984. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  3985. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3986. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
  3987. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
  3988. RootPart.CFrame = FaceMouse()[1]
  3989. end
  3990. orbe.Transparency = 1
  3991. orb.Transparency = 1
  3992. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  3993. CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  3994. local a = Instance.new("Part", Character)
  3995. a.Name = "Direction"
  3996. a.Anchored = true
  3997. a.BrickColor = bc("White")
  3998. a.Material = "Neon"
  3999. a.Transparency = 0
  4000. a.Shape = "Cylinder"
  4001. a.CanCollide = false
  4002. local a2 = Instance.new("Part", Character)
  4003. a2.Name = "Direction"
  4004. a2.Anchored = true
  4005. a2.BrickColor = bc("New Yeller")
  4006. a2.Color = Color3.new(r / 255, g / 255, b / 255)
  4007. a2.Material = "Neon"
  4008. a2.Transparency = 0.5
  4009. a2.Shape = "Cylinder"
  4010. a2.CanCollide = false
  4011. local ba = Instance.new("Part", Character)
  4012. ba.Name = "HitDirect"
  4013. ba.Anchored = true
  4014. ba.BrickColor = bc("Really black")
  4015. ba.Material = "Neon"
  4016. ba.Transparency = 1
  4017. ba.CanCollide = false
  4018. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4019. local ignore = Character
  4020. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4021. a.BottomSurface = 10
  4022. a.TopSurface = 10
  4023. a2.BottomSurface = 10
  4024. a2.TopSurface = 10
  4025. local distance = (orb.CFrame.p - position).magnitude
  4026. a.Size = Vector3.new(distance, 1, 1)
  4027. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4028. a2.Size = Vector3.new(distance, 1, 1)
  4029. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4030. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4031. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4032. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4033. game:GetService("Debris"):AddItem(a, 20)
  4034. game:GetService("Debris"):AddItem(a2, 20)
  4035. game:GetService("Debris"):AddItem(ba, 20)
  4036. local msh = Instance.new("SpecialMesh", a)
  4037. msh.MeshType = "Cylinder"
  4038. msh.Scale = vt(1, 25, 25)
  4039. local msh2 = Instance.new("SpecialMesh", a2)
  4040. msh2.MeshType = "Cylinder"
  4041. msh2.Scale = vt(1, 30, 30)
  4042. for i = 0, 10, 0.1 do
  4043. swait()
  4044. CameraEnshaking(1, 5)
  4045. a2.Color = Color3.new(r / 255, g / 255, b / 255)
  4046. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4047. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4048. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4049. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4050. distance = (orb.CFrame.p - position).magnitude
  4051. if typrot == 1 then
  4052. rotation = rotation + 2.5
  4053. elseif typrot == 2 then
  4054. rotation = rotation - 2.5
  4055. end
  4056. RootPart.CFrame = FaceMouse()[1]
  4057. a.Size = Vector3.new(distance, 1, 1)
  4058. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4059. a2.Size = Vector3.new(distance, 1, 1)
  4060. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4061. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4062. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4063. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4064. msh.Scale = msh.Scale - vt(0, 0.25, 0.25)
  4065. msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3)
  4066. MagniDamage(ba, 30, 500, 60000, 0, "Normal")
  4067. end
  4068. a:Destroy()
  4069. a2:Destroy()
  4070. ba:Destroy()
  4071. orb:Destroy()
  4072. orbe:Destroy()
  4073. attack = false
  4074. end
  4075. function UniversalSpark()
  4076. attack = true
  4077. local rngb = Instance.new("Part", char)
  4078. rngb.Anchored = true
  4079. rngb.BrickColor = origcolor
  4080. rngb.CanCollide = false
  4081. rngb.FormFactor = 3
  4082. rngb.Name = "Ring"
  4083. rngb.Material = "Neon"
  4084. rngb.Size = Vector3.new(1, 0.05, 1)
  4085. rngb.Transparency = 1
  4086. rngb.TopSurface = 0
  4087. rngb.BottomSurface = 0
  4088. local rngmb = Instance.new("SpecialMesh", rngb)
  4089. rngmb.MeshType = "Brick"
  4090. rngmb.Name = "SizeMesh"
  4091. rngmb.Scale = vt(0, 1, 0)
  4092. local orb = rngb:Clone()
  4093. orb.Parent = char
  4094. orb.Transparency = 0
  4095. orb.BrickColor = BrickColor.new("White")
  4096. orb.Size = vt(1, 1, 1)
  4097. local orbmish = orb.SizeMesh
  4098. orbmish.Scale = vt(0, 0, 0)
  4099. orbmish.MeshType = "Sphere"
  4100. local orbe = rngb:Clone()
  4101. orbe.Parent = char
  4102. orbe.Transparency = 0.5
  4103. orbe.BrickColor = BrickColor.new("New Yeller")
  4104. orbe.Size = vt(1, 1, 1)
  4105. local orbmish2 = orbe.SizeMesh
  4106. orbmish2.Scale = vt(0, 0, 0)
  4107. orbmish2.MeshType = "Sphere"
  4108. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  4109. rngb:Destroy()
  4110. for i = 0, 5, 0.1 do
  4111. swait()
  4112. if rainbowmode == true then
  4113. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  4114. end
  4115. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  4116. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  4117. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  4118. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  4119. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4120. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4121. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
  4122. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
  4123. RootPart.CFrame = FaceMouse()[1]
  4124. end
  4125. orbe.Transparency = 1
  4126. orb.Transparency = 1
  4127. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  4128. local a = Instance.new("Part", Character)
  4129. a.Name = "Direction"
  4130. a.Anchored = true
  4131. a.BrickColor = bc("Alder")
  4132. a.Color = MAINRUINCOLOR.Color
  4133. a.Material = "Neon"
  4134. a.Transparency = 0.5
  4135. a.Shape = "Cylinder"
  4136. a.CanCollide = false
  4137. local a2 = Instance.new("Part", Character)
  4138. a2.Name = "Direction"
  4139. a2.Anchored = true
  4140. a2.BrickColor = bc("New Yeller")
  4141. a2.Color = MAINRUINCOLOR.Color
  4142. a2.Material = "Neon"
  4143. a2.Transparency = 0.5
  4144. a2.Shape = "Cylinder"
  4145. a2.CanCollide = false
  4146. local ba = Instance.new("Part", Character)
  4147. ba.Name = "HitDirect"
  4148. ba.Anchored = true
  4149. ba.BrickColor = bc("Really black")
  4150. ba.Material = "Neon"
  4151. ba.Transparency = 1
  4152. ba.CanCollide = false
  4153. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4154. local ignore = Character
  4155. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4156. a.BottomSurface = 10
  4157. a.TopSurface = 10
  4158. a2.BottomSurface = 10
  4159. a2.TopSurface = 10
  4160. local distance = (orb.CFrame.p - position).magnitude
  4161. a.Size = Vector3.new(distance, 1, 1)
  4162. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4163. a2.Size = Vector3.new(distance, 1, 1)
  4164. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4165. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4166. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4167. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4168. game:GetService("Debris"):AddItem(a, 60)
  4169. game:GetService("Debris"):AddItem(a2, 60)
  4170. game:GetService("Debris"):AddItem(ba, 60)
  4171. local outerscale = 0
  4172. local msh = Instance.new("SpecialMesh", a)
  4173. msh.MeshType = "Cylinder"
  4174. msh.Scale = vt(1, 0, 0)
  4175. local msh2 = Instance.new("SpecialMesh", a2)
  4176. msh2.MeshType = "Cylinder"
  4177. msh2.Scale = vt(1, 0, 0)
  4178. for i = 0, 2, 0.1 do
  4179. swait()
  4180. CameraEnshaking(1, 1)
  4181. msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20)
  4182. msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15)
  4183. outerscale = outerscale - 0.015
  4184. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4185. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4186. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4187. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4188. distance = (orb.CFrame.p - position).magnitude
  4189. if typrot == 1 then
  4190. rotation = rotation + 2.5
  4191. elseif typrot == 2 then
  4192. rotation = rotation - 2.5
  4193. end
  4194. RootPart.CFrame = FaceMouse()[1]
  4195. a.Size = Vector3.new(distance, 1, 1)
  4196. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4197. a2.Size = Vector3.new(distance, 1, 1)
  4198. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4199. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4200. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4201. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4202. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4203. end
  4204. for z = 0, 2 do
  4205. for i = 0, 4, 0.1 do
  4206. swait()
  4207. CameraEnshaking(1, 1)
  4208. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  4209. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  4210. outerscale = outerscale + 0.015
  4211. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4212. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4213. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4214. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4215. distance = (orb.CFrame.p - position).magnitude
  4216. if typrot == 1 then
  4217. rotation = rotation + 2.5
  4218. elseif typrot == 2 then
  4219. rotation = rotation - 2.5
  4220. end
  4221. RootPart.CFrame = FaceMouse()[1]
  4222. a.Size = Vector3.new(distance, 1, 1)
  4223. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4224. a2.Size = Vector3.new(distance, 1, 1)
  4225. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4226. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4227. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4228. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4229. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4230. end
  4231. for i = 0, 4, 0.1 do
  4232. swait()
  4233. CameraEnshaking(1, 1)
  4234. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  4235. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  4236. outerscale = outerscale - 0.015
  4237. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4238. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4239. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4240. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4241. distance = (orb.CFrame.p - position).magnitude
  4242. if typrot == 1 then
  4243. rotation = rotation + 2.5
  4244. elseif typrot == 2 then
  4245. rotation = rotation - 2.5
  4246. end
  4247. RootPart.CFrame = FaceMouse()[1]
  4248. a.Size = Vector3.new(distance, 1, 1)
  4249. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4250. a2.Size = Vector3.new(distance, 1, 1)
  4251. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4252. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4253. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4254. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4255. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4256. end
  4257. end
  4258. for i = 0, 4, 0.1 do
  4259. swait()
  4260. CameraEnshaking(1, 1)
  4261. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  4262. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  4263. a.Transparency = a.Transparency + 0.025
  4264. a2.Transparency = a2.Transparency + 0.025
  4265. outerscale = outerscale - 0.015
  4266. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4267. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  4268. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  4269. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4270. distance = (orb.CFrame.p - position).magnitude
  4271. if typrot == 1 then
  4272. rotation = rotation + 2.5
  4273. elseif typrot == 2 then
  4274. rotation = rotation - 2.5
  4275. end
  4276. RootPart.CFrame = FaceMouse()[1]
  4277. a.Size = Vector3.new(distance, 1, 1)
  4278. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4279. a2.Size = Vector3.new(distance, 1, 1)
  4280. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  4281. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4282. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4283. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  4284. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  4285. end
  4286. a:Destroy()
  4287. a2:Destroy()
  4288. ba:Destroy()
  4289. orb:Destroy()
  4290. orbe:Destroy()
  4291. attack = false
  4292. end
  4293. function resetmode()
  4294. rainbowmode = false
  4295. chaosmode = false
  4296. flamemode = false
  4297. RecolorTextAndRename("Tech", Color3.new(0, 1, 0), Color3.new(1, 0, 0),"Code")
  4298. ModeOfGlitch = 1
  4299. storehumanoidWS = 50
  4300. for i, v in pairs(mw2:GetChildren()) do
  4301. if v:IsA("Part") then
  4302. v.Transparency = 0.30
  4303. v.BrickColor = BrickColor.new("Really red")
  4304. v.Material = "Neon"
  4305. end
  4306. end
  4307. for i, v in pairs(mw1:GetChildren()) do
  4308. if v:IsA("Part") then
  4309. v.Transparency = 0.75
  4310. v.BrickColor = BrickColor.new("Really red")
  4311. v.Material = "Neon"
  4312. end
  4313. end
  4314. MAINRUINCOLOR = BrickColor.new("Really red")
  4315. hum.WalkSpeed = 50
  4316. newTheme("rbxassetid://383448299", 0, 1, 10)
  4317. for i, v in pairs(m:GetChildren()) do
  4318. if v:IsA("Part") then
  4319. v.Transparency = 1
  4320. v.BrickColor = BrickColor.new("Really black")
  4321. v.Material = "Glass"
  4322. end
  4323. end
  4324. for i, v in pairs(m2:GetChildren()) do
  4325. if v:IsA("Part") then
  4326. v.Transparency = 0.90
  4327. v.BrickColor = BrickColor.new("Lime green")
  4328. v.Material = "Granite"
  4329. end
  4330. end
  4331. for i, v in pairs(m3:GetChildren()) do
  4332. if v:IsA("Part") then
  4333. v.Transparency = 0.5
  4334. v.BrickColor = BrickColor.new("Really red")
  4335. v.Material = "Neon"
  4336. end
  4337. end
  4338. for i, v in pairs(extrawingmod1:GetChildren()) do
  4339. if v:IsA("Part") then
  4340. v.Transparency = 0.95
  4341. v.BrickColor = BrickColor.new("Lime green")
  4342. v.Material = "Neon"
  4343. end
  4344. end
  4345. for i, v in pairs(extrawingmod2:GetChildren()) do
  4346. if v:IsA("Part") then
  4347. v.Transparency = 0.85
  4348. v.BrickColor = BrickColor.new("Camo")
  4349. v.Material = "Neon"
  4350. end
  4351. end
  4352. end
  4353. function attackone()
  4354. attack = true
  4355. for i = 0, 1, 0.1 do
  4356. swait()
  4357. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2)
  4358. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2)
  4359. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4360. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4361. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2)
  4362. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.2)
  4363. end
  4364. CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1)
  4365. local hitb = Instance.new("Part", char)
  4366. hitb.Anchored = true
  4367. hitb.CanCollide = false
  4368. hitb.FormFactor = 3
  4369. hitb.Name = "Ring"
  4370. hitb.Material = "Neon"
  4371. hitb.Size = Vector3.new(1, 1, 1)
  4372. hitb.Transparency = 1
  4373. hitb.TopSurface = 0
  4374. hitb.BottomSurface = 0
  4375. hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  4376. MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  4377. hitb:Destroy()
  4378. for i = 0, 1, 0.1 do
  4379. swait()
  4380. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4)
  4381. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4)
  4382. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  4383. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  4384. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4)
  4385. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4)
  4386. end
  4387. attack = false
  4388. end
  4389. function attacktwo()
  4390. attack = true
  4391. for i = 0, 1, 0.1 do
  4392. swait()
  4393. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2)
  4394. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  4395. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4396. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4397. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2)
  4398. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.2)
  4399. end
  4400. CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1)
  4401. local hitb = Instance.new("Part", char)
  4402. hitb.Anchored = true
  4403. hitb.CanCollide = false
  4404. hitb.FormFactor = 3
  4405. hitb.Name = "Ring"
  4406. hitb.Material = "Neon"
  4407. hitb.Size = Vector3.new(1, 1, 1)
  4408. hitb.Transparency = 1
  4409. hitb.TopSurface = 0
  4410. hitb.BottomSurface = 0
  4411. hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  4412. MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  4413. hitb:Destroy()
  4414. for i = 0, 1, 0.1 do
  4415. swait()
  4416. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4)
  4417. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4)
  4418. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  4419. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  4420. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4)
  4421. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4)
  4422. end
  4423. attack = false
  4424. end
  4425. function attackthree()
  4426. attack = true
  4427. for i = 0, 1, 0.1 do
  4428. swait()
  4429. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  4430. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  4431. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  4432. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4433. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
  4434. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
  4435. end
  4436. local distlook = 5
  4437. for i = 0, 4 do
  4438. swait(2)
  4439. CameraEnshaking(2, 3)
  4440. local hite = Instance.new("Part", char)
  4441. hite.Anchored = true
  4442. hite.CanCollide = false
  4443. hite.FormFactor = 3
  4444. hite.Name = "Ring"
  4445. hite.Material = "Neon"
  4446. hite.Size = Vector3.new(1, 1, 1)
  4447. hite.Transparency = 1
  4448. hite.TopSurface = 0
  4449. hite.BottomSurface = 0
  4450. hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook
  4451. sphere(3, "Add", hite.CFrame, vt(0, 0, 0), 0.15, MAINRUINCOLOR)
  4452. sphere(6, "Add", hite.CFrame, vt(0, 0, 0), 0.3, MAINRUINCOLOR)
  4453. MagniDamage(hite, 10, 15, 35, 0, "Normal")
  4454. CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1)
  4455. CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6)
  4456. game:GetService("Debris"):AddItem(hite, 5)
  4457. distlook = distlook + 10
  4458. end
  4459. attack = false
  4460. end
  4461. local attacktype = 1
  4462. mouse.Button1Down:connect(function()
  4463. if attack == false and attacktype == 1 then
  4464. attacktype = 2
  4465. attackone()
  4466. elseif attack == false and attacktype == 2 then
  4467. attacktype = 3
  4468. attacktwo()
  4469. elseif attack == false and attacktype == 3 then
  4470. attacktype = 1
  4471. attackthree()
  4472. elseif attack == false and attacktype == 4 then
  4473. attacktype = 1
  4474. end
  4475. end)
  4476. mouse.KeyDown:connect(function(k)
  4477. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  4478. ModeOfGlitch = 1000000
  4479. storehumanoidWS = 75
  4480. hum.WalkSpeed = 75
  4481. rainbowmode = false
  4482. chaosmode = false
  4483. flamemode = false
  4484. RecolorTextAndRename("CALAMITY X", Color3.fromRGB(5, 0, 50), Color3.fromRGB(4, 175, 236),"Fantasy")
  4485. newTheme("rbxassetid://1027400793", 20.25, 1, 1)
  4486. MAINRUINCOLOR = BrickColor.new("Royal purple")
  4487. for i, v in pairs(mw2:GetChildren()) do
  4488. if v:IsA("Part") then
  4489. v.Transparency = 0
  4490. v.BrickColor = BrickColor.new("Lapis")
  4491. v.Material = "Neon"
  4492. end
  4493. end
  4494. for i, v in pairs(mw1:GetChildren()) do
  4495. if v:IsA("Part") then
  4496. v.Transparency = 0
  4497. v.BrickColor = BrickColor.new("Royal purple")
  4498. v.Material = "Neon"
  4499. end
  4500. end
  4501. for i, v in pairs(m:GetChildren()) do
  4502. if v:IsA("Part") then
  4503. v.Transparency = 0
  4504. v.BrickColor = BrickColor.new("Lapis")
  4505. v.Material = "Neon"
  4506. end
  4507. end
  4508. for i, v in pairs(m2:GetChildren()) do
  4509. if v:IsA("Part") then
  4510. v.Transparency = 0
  4511. v.BrickColor = BrickColor.new("Royal purple")
  4512. v.Material = "Glass"
  4513. end
  4514. end
  4515. for i, v in pairs(m3:GetChildren()) do
  4516. if v:IsA("Part") then
  4517. v.Transparency = 0
  4518. v.BrickColor = BrickColor.new("Dark indigo")
  4519. v.Material = "Neon"
  4520. end
  4521. end
  4522. for i, v in pairs(extrawingmod1:GetChildren()) do
  4523. if v:IsA("Part") then
  4524. v.Transparency = 0
  4525. v.BrickColor = BrickColor.new("Lapis")
  4526. v.Material = "Neon"
  4527. end
  4528. end
  4529. for i, v in pairs(extrawingmod2:GetChildren()) do
  4530. if v:IsA("Part") then
  4531. v.Transparency = 0
  4532. v.BrickColor = BrickColor.new("Royal purple")
  4533. v.Material = "Neon"
  4534. end
  4535. end
  4536. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  4537. resetmode()
  4538. end
  4539. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  4540. ModeOfGlitch = 3
  4541. storehumanoidWS = 16
  4542. hum.WalkSpeed = 16
  4543. rainbowmode = false
  4544. chaosmode = false
  4545. flamemode = false
  4546. RecolorTextAndRename("E CHA-BA", Color3.new(0, 0, 0), Color3.new(0, 0, 0),"ArialBold")
  4547. newTheme("rbxassetid://130761235", 58.15, 1,2)
  4548. MAINRUINCOLOR = BrickColor.new("Really red")
  4549. for i, v in pairs(mw2:GetChildren()) do
  4550. if v:IsA("Part") then
  4551. v.Transparency = 0
  4552. v.BrickColor = BrickColor.new("Really blue")
  4553. v.Material = "Neon"
  4554. end
  4555. end
  4556. for i, v in pairs(mw1:GetChildren()) do
  4557. if v:IsA("Part") then
  4558. v.Transparency = 0
  4559. v.BrickColor = BrickColor.new("Really red")
  4560. v.Material = "Neon"
  4561. end
  4562. end
  4563. for i, v in pairs(m:GetChildren()) do
  4564. if v:IsA("Part") then
  4565. v.Transparency = 0
  4566. v.BrickColor = BrickColor.new("Really blue")
  4567. v.Material = "Ice"
  4568. end
  4569. end
  4570. for i, v in pairs(m2:GetChildren()) do
  4571. if v:IsA("Part") then
  4572. v.Transparency = 0
  4573. v.BrickColor = BrickColor.new("Really red")
  4574. v.Material = "Glass"
  4575. end
  4576. end
  4577. for i, v in pairs(m3:GetChildren()) do
  4578. if v:IsA("Part") then
  4579. v.Transparency = 0
  4580. v.BrickColor = BrickColor.new("Really blue")
  4581. v.Material = "Neon"
  4582. end
  4583. end
  4584. for i, v in pairs(extrawingmod1:GetChildren()) do
  4585. if v:IsA("Part") then
  4586. v.Transparency = 1
  4587. v.BrickColor = BrickColor.new("White")
  4588. v.Material = "Neon"
  4589. end
  4590. end
  4591. for i, v in pairs(extrawingmod2:GetChildren()) do
  4592. if v:IsA("Part") then
  4593. v.Transparency = 1
  4594. v.BrickColor = BrickColor.new("White")
  4595. v.Material = "Neon"
  4596. end
  4597. end
  4598. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  4599. resetmode()
  4600. end
  4601. if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 22 then
  4602. hum.WalkSpeed = 0
  4603. attack = true
  4604. for i = 0,1,0.1 do
  4605. swait()
  4606. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  4607. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  4608. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  4609. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  4610. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  4611. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  4612. end
  4613. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4614. for i = 0,3,0.1 do
  4615. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  4616. end
  4617. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  4618. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  4619. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  4620. hum.WalkSpeed = storehumanoidWS
  4621. attack = false
  4622. ModeOfGlitch = 66
  4623. storehumanoidWS = 16
  4624. hum.WalkSpeed = 16
  4625. rainbowmode = false
  4626. chaosmode = false
  4627. flamemode = false
  4628. newTheme("rbxassetid://570556587", 0, 1, 1)
  4629. MAINRUINCOLOR = BrickColor.new("Really black")
  4630. for i, v in pairs(mw2:GetChildren()) do
  4631. if v:IsA("Part") then
  4632. v.BrickColor = BrickColor.random()
  4633. v.Material = "Neon"
  4634. end
  4635. end
  4636. for i, v in pairs(mw1:GetChildren()) do
  4637. if v:IsA("Part") then
  4638. v.Transparency = 0.75
  4639. v.BrickColor = BrickColor.random()
  4640. v.Material = "Neon"
  4641. end
  4642. end
  4643. for i, v in pairs(m:GetChildren()) do
  4644. if v:IsA("Part") then
  4645. v.BrickColor = BrickColor.random()
  4646. v.Material = "Neon"
  4647. end
  4648. end
  4649. for i, v in pairs(m2:GetChildren()) do
  4650. if v:IsA("Part") then
  4651. v.BrickColor = BrickColor.random()
  4652. v.Material = "Neon"
  4653. end
  4654. end
  4655. for i, v in pairs(m3:GetChildren()) do
  4656. if v:IsA("Part") then
  4657. v.BrickColor = BrickColor.random()
  4658. v.Material = "Neon"
  4659. end
  4660. end
  4661. for i, v in pairs(extrawingmod1:GetChildren()) do
  4662. if v:IsA("Part") then
  4663. v.Transparency = 0.75
  4664. v.BrickColor = BrickColor.random()
  4665. v.Material = "Neon"
  4666. end
  4667. end
  4668. for i, v in pairs(extrawingmod2:GetChildren()) do
  4669. if v:IsA("Part") then
  4670. v.Transparency = 0.75
  4671. v.BrickColor = BrickColor.random()
  4672. v.Material = "Neon"
  4673. end
  4674. end
  4675. for i = 0,2,0.1 do
  4676. swait()
  4677. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  4678. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  4679. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  4680. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  4681. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  4682. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  4683. end
  4684. end
  4685. if k == "h" and attack == false and ModeOfGlitch ~= 34101 then
  4686. rainbowmode = false
  4687. chaosmode = false
  4688. flamemode = false
  4689. hum.WalkSpeed = 0
  4690. storehumanoidWS = 75
  4691. hum.JumpPower = 0
  4692. newTheme("rbxassetid://649734792",0,1,3)
  4693. kan.TimePosition = 0
  4694. ModeOfGlitch = 34101
  4695. repeat swait() until kan.IsLoaded
  4696. chatfunc("Let's Sing Along!",Color3.new(1,0,0))
  4697. for i = 0, 16, .1 do
  4698. swait()
  4699. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4700. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4701. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4702. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4703. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4704. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4705. end
  4706. CFuncs["Sound"].Create("rbxassetid://604650009", root, 2.5,1)
  4707. wait(0.3)
  4708. CFuncs["Sound"].Create("rbxassetid://604650009", root, 5,1)
  4709. wait(0.3)
  4710. CFuncs["Sound"].Create("rbxassetid://604650009", root, 7.5,1)
  4711. wait(0.3)
  4712. CFuncs["Sound"].Create("rbxassetid://604650009", root, 10,1)
  4713. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
  4714. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
  4715. RecolorTextAndRename("COCONUT MAN", Color3.fromRGB(75, 151, 75), Color3.fromRGB(170, 85, 0),"Highway")
  4716. CameraEnshaking(5,2.5)
  4717. MAINRUINCOLOR = BrickColor.new("Forest green")
  4718. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4719.  
  4720. for i, v in pairs(mw2:GetChildren()) do
  4721. if v:IsA("Part") then
  4722. v.BrickColor = BrickColor.new("Forest green")
  4723. v.Material = "Glass"
  4724. end
  4725. end
  4726. for i, v in pairs(mw1:GetChildren()) do
  4727. if v:IsA("Part") then
  4728. v.Transparency = 0
  4729. v.BrickColor = BrickColor.new("Forest green")
  4730. v.Material = "Glass"
  4731. end
  4732. end
  4733. for i, v in pairs(m:GetChildren()) do
  4734. if v:IsA("Part") then
  4735. v.BrickColor = BrickColor.new("Forest green")
  4736. v.Material = "Glass"
  4737. end
  4738. end
  4739. for i, v in pairs(m2:GetChildren()) do
  4740. if v:IsA("Part") then
  4741. v.BrickColor = BrickColor.new("Forest green")
  4742. v.Material = "Glass"
  4743. end
  4744. end
  4745. for i, v in pairs(m3:GetChildren()) do
  4746. if v:IsA("Part") then
  4747. v.BrickColor = BrickColor.new("White")
  4748. v.Material = "Glass"
  4749. end
  4750. end
  4751. for i, v in pairs(extrawingmod1:GetChildren()) do
  4752. if v:IsA("Part") then
  4753. v.BrickColor = BrickColor.new("Forest green")
  4754. v.Material = "Glass"
  4755. end
  4756. end
  4757. for i, v in pairs(extrawingmod2:GetChildren()) do
  4758. if v:IsA("Part") then
  4759. v.BrickColor = BrickColor.new("Gold")
  4760. v.Material = "Glass"
  4761. end
  4762. end
  4763. for i = 0,2,0.1 do
  4764. swait()
  4765. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  4766. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  4767. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  4768. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
  4769. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
  4770. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
  4771. end
  4772. hum.JumpPower = 50
  4773. hum.WalkSpeed = storehumanoidWS
  4774. attack = false
  4775. end
  4776. if k == "j" and attack == false and ModeOfGlitch ~= 8787 then
  4777. ModeOfGlitch = 8787
  4778. storehumanoidWS = 16
  4779. hum.WalkSpeed = 16
  4780. rainbowmode = false
  4781. chaosmode = false
  4782. flamemode = false
  4783. RecolorTextAndRename("Aladin", Color3.new(1, 0, 0), Color3.new(0, 0, 0),"Bodoni")
  4784. newTheme("rbxassetid://511078248", 58.15, 1,2)
  4785. MAINRUINCOLOR = BrickColor.new("White")
  4786. for i, v in pairs(mw2:GetChildren()) do
  4787. if v:IsA("Part") then
  4788. v.Transparency = 0
  4789. v.BrickColor = BrickColor.new("Really black")
  4790. v.Material = "Neon"
  4791. end
  4792. end
  4793. for i, v in pairs(mw1:GetChildren()) do
  4794. if v:IsA("Part") then
  4795. v.Transparency = 0
  4796. v.BrickColor = BrickColor.new("White")
  4797. v.Material = "Neon"
  4798. end
  4799. end
  4800. for i, v in pairs(m:GetChildren()) do
  4801. if v:IsA("Part") then
  4802. v.Transparency = 0
  4803. v.BrickColor = BrickColor.new("Really black")
  4804. v.Material = "Ice"
  4805. end
  4806. end
  4807. for i, v in pairs(m2:GetChildren()) do
  4808. if v:IsA("Part") then
  4809. v.Transparency = 0
  4810. v.BrickColor = BrickColor.new("White")
  4811. v.Material = "Glass"
  4812. end
  4813. end
  4814. for i, v in pairs(m3:GetChildren()) do
  4815. if v:IsA("Part") then
  4816. v.Transparency = 0
  4817. v.BrickColor = BrickColor.new("Really black")
  4818. v.Material = "Neon"
  4819. end
  4820. end
  4821. for i, v in pairs(extrawingmod1:GetChildren()) do
  4822. if v:IsA("Part") then
  4823. v.Transparency = 1
  4824. v.BrickColor = BrickColor.new("White")
  4825. v.Material = "Neon"
  4826. end
  4827. end
  4828. for i, v in pairs(extrawingmod2:GetChildren()) do
  4829. if v:IsA("Part") then
  4830. v.Transparency = 1
  4831. v.BrickColor = BrickColor.new("White")
  4832. v.Material = "Neon"
  4833. end
  4834. end
  4835. elseif k == "j" and attack == false and ModeOfGlitch == 8787 then
  4836. resetmode()
  4837. end
  4838. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  4839. ModeOfGlitch = 4
  4840. storehumanoidWS = 16
  4841. hum.WalkSpeed = 16
  4842. rainbowmode = false
  4843. chaosmode = true
  4844. flamemode = false
  4845. RecolorTextAndRename("BIG", Color3.new(0, 0, 0), BrickColor.random().Color,"Fantasy")
  4846. newTheme("rbxassetid://1382488262", 0, 1, 10)
  4847. MAINRUINCOLOR = BrickColor.new("Black")
  4848. for i, v in pairs(mw2:GetChildren()) do
  4849. if v:IsA("Part") then
  4850. v.BrickColor = MAINRUINCOLOR
  4851. v.Material = "Neon"
  4852. end
  4853. end
  4854. for i, v in pairs(mw1:GetChildren()) do
  4855. if v:IsA("Part") then
  4856. v.Transparency = 0.75
  4857. v.BrickColor = BrickColor.random()
  4858. v.Material = "Neon"
  4859. end
  4860. end
  4861. for i, v in pairs(m:GetChildren()) do
  4862. if v:IsA("Part") then
  4863. v.BrickColor = BrickColor.new("Black")
  4864. v.Material = "Neon"
  4865. end
  4866. end
  4867. for i, v in pairs(m2:GetChildren()) do
  4868. if v:IsA("Part") then
  4869. v.BrickColor = BrickColor.random()
  4870. v.Material = "Neon"
  4871. end
  4872. end
  4873. for i, v in pairs(m3:GetChildren()) do
  4874. if v:IsA("Part") then
  4875. v.BrickColor = BrickColor.new("Black")
  4876. v.Material = "Neon"
  4877. end
  4878. end
  4879. for i, v in pairs(extrawingmod1:GetChildren()) do
  4880. if v:IsA("Part") then
  4881. v.Transparency = 0.75
  4882. v.BrickColor = BrickColor.new("White")
  4883. v.Material = "Neon"
  4884. end
  4885. end
  4886. for i, v in pairs(extrawingmod2:GetChildren()) do
  4887. if v:IsA("Part") then
  4888. v.Transparency = 0
  4889. v.BrickColor = BrickColor.new("Black")
  4890. v.Material = "Neon"
  4891. end
  4892. end
  4893. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  4894. resetmode()
  4895. end
  4896. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then
  4897. hum.WalkSpeed = 0
  4898. attack = true
  4899. for i = 0,1,0.1 do
  4900. swait()
  4901. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  4902. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  4903. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  4904. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  4905. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  4906. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  4907. end
  4908. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4909. for i = 0,3,0.1 do
  4910. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  4911. end
  4912. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  4913. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  4914. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  4915. hum.WalkSpeed = storehumanoidWS
  4916. attack = false
  4917. ModeOfGlitch = 66
  4918. storehumanoidWS = 16
  4919. hum.WalkSpeed = 16
  4920. rainbowmode = false
  4921. chaosmode = false
  4922. flamemode = false
  4923. newTheme("rbxassetid://570556587", 0, 1, 1)
  4924. MAINRUINCOLOR = BrickColor.new("Really black")
  4925. for i, v in pairs(mw2:GetChildren()) do
  4926. if v:IsA("Part") then
  4927. v.BrickColor = BrickColor.random()
  4928. v.Material = "Neon"
  4929. end
  4930. end
  4931. for i, v in pairs(mw1:GetChildren()) do
  4932. if v:IsA("Part") then
  4933. v.Transparency = 0.75
  4934. v.BrickColor = BrickColor.random()
  4935. v.Material = "Neon"
  4936. end
  4937. end
  4938. for i, v in pairs(m:GetChildren()) do
  4939. if v:IsA("Part") then
  4940. v.BrickColor = BrickColor.random()
  4941. v.Material = "Neon"
  4942. end
  4943. end
  4944. for i, v in pairs(m2:GetChildren()) do
  4945. if v:IsA("Part") then
  4946. v.BrickColor = BrickColor.random()
  4947. v.Material = "Neon"
  4948. end
  4949. end
  4950. for i, v in pairs(m3:GetChildren()) do
  4951. if v:IsA("Part") then
  4952. v.BrickColor = BrickColor.random()
  4953. v.Material = "Neon"
  4954. end
  4955. end
  4956. for i, v in pairs(extrawingmod1:GetChildren()) do
  4957. if v:IsA("Part") then
  4958. v.Transparency = 0.75
  4959. v.BrickColor = BrickColor.random()
  4960. v.Material = "Neon"
  4961. end
  4962. end
  4963. for i, v in pairs(extrawingmod2:GetChildren()) do
  4964. if v:IsA("Part") then
  4965. v.Transparency = 0.75
  4966. v.BrickColor = BrickColor.random()
  4967. v.Material = "Neon"
  4968. end
  4969. end
  4970. for i = 0,2,0.1 do
  4971. swait()
  4972. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  4973. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  4974. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  4975. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  4976. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  4977. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  4978. end
  4979. end
  4980. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  4981. ModeOfGlitch = 2
  4982.  
  4983. storehumanoidWS = 16
  4984. hum.WalkSpeed = 16
  4985. rainbowmode = false
  4986. chaosmode = false
  4987. flamemode = false
  4988. RecolorTextAndRename("Somewhat Blue", Color3.new(0, 0, 0), Color3.new(255, 255, 255),"Cartoon")
  4989. newTheme("rbxassetid://1138145518", 10, 1, 3.2)
  4990. MAINRUINCOLOR = BrickColor.new("Cool yellow")
  4991. for i, v in pairs(mw2:GetChildren()) do
  4992. if v:IsA("Part") then
  4993. v.BrickColor = BrickColor.new("Bright blue")
  4994. v.Material = "Neon"
  4995. end
  4996. end
  4997. for i, v in pairs(mw1:GetChildren()) do
  4998. if v:IsA("Part") then
  4999. v.Transparency = 0
  5000. v.BrickColor = BrickColor.new("Cool yellow")
  5001. v.Material = "Neon"
  5002. end
  5003. end
  5004. for i, v in pairs(m:GetChildren()) do
  5005. if v:IsA("Part") then
  5006. v.BrickColor = BrickColor.new("Bright green")
  5007. v.Material = "Ice"
  5008. end
  5009. end
  5010. for i, v in pairs(m2:GetChildren()) do
  5011. if v:IsA("Part") then
  5012. v.BrickColor = BrickColor.new("Cool yellow")
  5013. v.Material = "Ice"
  5014. end
  5015. end
  5016. for i, v in pairs(m3:GetChildren()) do
  5017. if v:IsA("Part") then
  5018. v.BrickColor = BrickColor.new("Bright green")
  5019. v.Material = "Neon"
  5020. end
  5021. end
  5022. for i, v in pairs(extrawingmod1:GetChildren()) do
  5023. if v:IsA("Part") then
  5024. v.Transparency = 1
  5025. v.BrickColor = BrickColor.new("White")
  5026. v.Material = "Neon"
  5027. end
  5028. end
  5029. for i, v in pairs(extrawingmod2:GetChildren()) do
  5030. if v:IsA("Part") then
  5031. v.Transparency = 1
  5032. v.BrickColor = BrickColor.new("White")
  5033. v.Material = "Neon"
  5034. end
  5035. end
  5036. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  5037. resetmode()
  5038. end
  5039. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  5040. ModeOfGlitch = 5
  5041. storehumanoidWS = 16
  5042. hum.WalkSpeed = 16
  5043. rainbowmode = false
  5044. chaosmode = false
  5045. flamemode = false
  5046. RecolorTextAndRename("Still Chill", Color3.fromRGB(5, 0, 50), Color3.fromRGB(4, 175, 236),"Arial")
  5047. newTheme("rbxassetid://1117396305", 0, 1, 1)
  5048. MAINRUINCOLOR = BrickColor.new("Medium blue")
  5049. for i, v in pairs(mw2:GetChildren()) do
  5050. if v:IsA("Part") then
  5051. v.BrickColor = BrickColor.new("Medium blue")
  5052. v.Material = "Neon"
  5053. end
  5054. end
  5055. for i, v in pairs(mw1:GetChildren()) do
  5056. if v:IsA("Part") then
  5057. v.Transparency = 0
  5058. v.BrickColor = BrickColor.new("Medium lilac")
  5059. v.Material = "Neon"
  5060. end
  5061. end
  5062. for i, v in pairs(m:GetChildren()) do
  5063. if v:IsA("Part") then
  5064. v.BrickColor = BrickColor.new("Royal purple")
  5065. v.Material = "Glass"
  5066. end
  5067. end
  5068. for i, v in pairs(m2:GetChildren()) do
  5069. if v:IsA("Part") then
  5070. v.BrickColor = BrickColor.new("Royal purple")
  5071. v.Material = "Glass"
  5072. end
  5073. end
  5074. for i, v in pairs(m3:GetChildren()) do
  5075. if v:IsA("Part") then
  5076. v.BrickColor = BrickColor.new("Dark indigo")
  5077. v.Material = "Neon"
  5078. end
  5079. end
  5080. for i, v in pairs(extrawingmod1:GetChildren()) do
  5081. if v:IsA("Part") then
  5082. v.Transparency = 1
  5083. v.BrickColor = BrickColor.new("Medium blue")
  5084. v.Material = "Neon"
  5085. end
  5086. end
  5087. for i, v in pairs(extrawingmod2:GetChildren()) do
  5088. if v:IsA("Part") then
  5089. v.Transparency = 1
  5090. v.BrickColor = BrickColor.new("Medium lilac")
  5091. v.Material = "Neon"
  5092. end
  5093. end
  5094.  
  5095.  
  5096. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  5097. resetmode()
  5098. end
  5099. if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then
  5100. ModeOfGlitch = 5
  5101. storehumanoidWS = 50
  5102. hum.WalkSpeed = 50
  5103. rainbowmode = true
  5104. chaosmode = false
  5105. flamemode = false
  5106. RecolorTextAndRename("SO CUTE!", Color3.new(1, 1, 1), Color3.new(1, 1, 1),"Cartoon")
  5107. newTheme("rbxassetid://1131624146", 0, 1, 1)
  5108. MAINRUINCOLOR = BrickColor.new("White")
  5109. for i, v in pairs(mw2:GetChildren()) do
  5110. if v:IsA("Part") then
  5111. v.BrickColor = MAINRUINCOLOR
  5112. v.Material = "Neon"
  5113. end
  5114. end
  5115. for i, v in pairs(mw1:GetChildren()) do
  5116. if v:IsA("Part") then
  5117. v.Transparency = 0
  5118. v.BrickColor = MAINRUINCOLOR
  5119. v.Material = "Neon"
  5120. end
  5121. end
  5122. for i, v in pairs(m:GetChildren()) do
  5123. if v:IsA("Part") then
  5124. v.BrickColor = BrickColor.new("White")
  5125. v.Material = "Neon"
  5126. end
  5127. end
  5128. for i, v in pairs(m2:GetChildren()) do
  5129. if v:IsA("Part") then
  5130. v.BrickColor = BrickColor.new("White")
  5131. v.Material = "Neon"
  5132. end
  5133. end
  5134. for i, v in pairs(m3:GetChildren()) do
  5135. if v:IsA("Part") then
  5136. v.BrickColor = BrickColor.new("White")
  5137. v.Material = "Neon"
  5138. end
  5139. end
  5140. for i, v in pairs(extrawingmod1:GetChildren()) do
  5141. if v:IsA("Part") then
  5142. v.Transparency = 1
  5143. v.BrickColor = BrickColor.new("White")
  5144. v.Material = "Neon"
  5145. end
  5146. end
  5147. for i, v in pairs(extrawingmod2:GetChildren()) do
  5148. if v:IsA("Part") then
  5149. v.Transparency = 1
  5150. v.BrickColor = BrickColor.new("White")
  5151. v.Material = "Neon"
  5152. end
  5153. end
  5154. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  5155. resetmode()
  5156. end
  5157. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  5158. ModeOfGlitch = 2
  5159. storehumanoidWS = 100
  5160. hum.WalkSpeed = 100
  5161. rainbowmode = false
  5162. chaosmode = false
  5163. flamemode = false
  5164. RecolorTextAndRename("OOF", Color3.fromRGB(239, 184, 56), Color3.fromRGB(239, 184, 56),"Arial")
  5165. newTheme("rbxassetid://2590490779", 0, 1, 1)
  5166. MAINRUINCOLOR = BrickColor.new("Gold")
  5167. for i, v in pairs(mw2:GetChildren()) do
  5168. if v:IsA("Part") then
  5169. v.BrickColor = BrickColor.new("Gold")
  5170. v.Material = "Neon"
  5171. end
  5172. end
  5173. for i, v in pairs(mw1:GetChildren()) do
  5174. if v:IsA("Part") then
  5175. v.Transparency = 0
  5176. v.BrickColor = BrickColor.new("Gold")
  5177. v.Material = "Neon"
  5178. end
  5179. end
  5180. for i, v in pairs(m:GetChildren()) do
  5181. if v:IsA("Part") then
  5182. v.BrickColor = BrickColor.new("Really blue")
  5183. v.Material = "Neon"
  5184. end
  5185. end
  5186. for i, v in pairs(m2:GetChildren()) do
  5187. if v:IsA("Part") then
  5188. v.BrickColor = BrickColor.new("Gold")
  5189. v.Material = "Neon"
  5190. end
  5191. end
  5192. for i, v in pairs(m3:GetChildren()) do
  5193. if v:IsA("Part") then
  5194. v.BrickColor = BrickColor.new("Really blue")
  5195. v.Material = "Neon"
  5196. end
  5197. end
  5198. for i, v in pairs(extrawingmod1:GetChildren()) do
  5199. if v:IsA("Part") then
  5200. v.Transparency = 0
  5201. v.BrickColor = BrickColor.new("Gold")
  5202. v.Material = "Neon"
  5203. end
  5204. end
  5205. for i, v in pairs(extrawingmod2:GetChildren()) do
  5206. if v:IsA("Part") then
  5207. v.Transparency = 0
  5208. v.BrickColor = BrickColor.new("Gold")
  5209. v.Material = "Neon"
  5210. end
  5211. end
  5212. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  5213. resetmode()
  5214. end
  5215. if k == "k" and attack == false and ModeOfGlitch ~= 101909 then
  5216. ModeOfGlitch = 101909
  5217. storehumanoidWS = 100
  5218. hum.WalkSpeed = 100
  5219. rainbowmode = false
  5220. chaosmode = false
  5221. flamemode = true
  5222. RecolorTextAndRename("SOVIET UNION",BrickColor.new("Really red").Color,BrickColor.new("Deep Orange").Color,"Antique")
  5223. newTheme("rbxassetid://2851788572", 0, 1, 1)
  5224. MAINRUINCOLOR = BrickColor.new("Deep orange")
  5225. for i, v in pairs(mw2:GetChildren()) do
  5226. if v:IsA("Part") then
  5227. v.BrickColor = BrickColor.new("Deep orange")
  5228. v.Material = "Neon"
  5229. end
  5230. end
  5231. for i, v in pairs(mw1:GetChildren()) do
  5232. if v:IsA("Part") then
  5233. v.Transparency = 0
  5234. v.BrickColor = BrickColor.new("Really red")
  5235. v.Material = "Neon"
  5236. end
  5237. end
  5238. for i, v in pairs(m:GetChildren()) do
  5239. if v:IsA("Part") then
  5240. v.BrickColor = BrickColor.new("Really red")
  5241. v.Material = "Neon"
  5242. end
  5243. end
  5244. for i, v in pairs(m2:GetChildren()) do
  5245. if v:IsA("Part") then
  5246. v.BrickColor = BrickColor.new("Deep orange")
  5247. v.Material = "Neon"
  5248. end
  5249. end
  5250. for i, v in pairs(m3:GetChildren()) do
  5251. if v:IsA("Part") then
  5252. v.BrickColor = BrickColor.new("Really red")
  5253. v.Material = "Neon"
  5254. end
  5255. end
  5256. for i, v in pairs(extrawingmod1:GetChildren()) do
  5257. if v:IsA("Part") then
  5258. v.Transparency = 0
  5259. v.BrickColor = BrickColor.new("Really red")
  5260. v.Material = "Neon"
  5261. end
  5262. end
  5263. for i, v in pairs(extrawingmod2:GetChildren()) do
  5264. if v:IsA("Part") then
  5265. v.Transparency = 0
  5266. v.BrickColor = BrickColor.new("Really red")
  5267. v.Material = "Neon"
  5268. end
  5269. end
  5270. elseif k == "k" and attack == false and ModeOfGlitch == 101909 then
  5271. resetmode()
  5272. end
  5273. if k == "g" and attack == false and ModeOfGlitch ~= 10134 then
  5274. ModeOfGlitch = 10134
  5275. storehumanoidWS = 35
  5276. hum.WalkSpeed = 35
  5277. rainbowmode = false
  5278. chaosmode = false
  5279. flamemode = false
  5280. RecolorTextAndRename("ARCHI", Color3.fromRGB(255, 124, 247), Color3.fromRGB(255, 0, 240),"Antique")
  5281. newTheme("rbxassetid://685323634", 0, 1, 2)
  5282. MAINRUINCOLOR = BrickColor.new("Pink")
  5283. for i, v in pairs(mw2:GetChildren()) do
  5284. if v:IsA("Part") then
  5285. v.BrickColor = BrickColor.new("Pink")
  5286. v.Material = "Neon"
  5287. end
  5288. end
  5289. for i, v in pairs(mw1:GetChildren()) do
  5290. if v:IsA("Part") then
  5291. v.Transparency = 0
  5292. v.BrickColor = BrickColor.new("Pink")
  5293. v.Material = "Neon"
  5294. end
  5295. end
  5296. for i, v in pairs(m:GetChildren()) do
  5297. if v:IsA("Part") then
  5298. v.BrickColor = BrickColor.new("Pink")
  5299. v.Material = "Neon"
  5300. end
  5301. end
  5302. for i, v in pairs(m2:GetChildren()) do
  5303. if v:IsA("Part") then
  5304. v.BrickColor = BrickColor.new("Pink")
  5305. v.Material = "Neon"
  5306. end
  5307. end
  5308. for i, v in pairs(m3:GetChildren()) do
  5309. if v:IsA("Part") then
  5310. v.BrickColor = BrickColor.new("Pink")
  5311. v.Material = "Neon"
  5312. end
  5313. end
  5314. for i, v in pairs(extrawingmod1:GetChildren()) do
  5315. if v:IsA("Part") then
  5316. v.Transparency = 0
  5317. v.BrickColor = BrickColor.new("Pink")
  5318. v.Material = "Neon"
  5319. end
  5320. end
  5321. for i, v in pairs(extrawingmod2:GetChildren()) do
  5322. if v:IsA("Part") then
  5323. v.Transparency = 0
  5324. v.BrickColor = BrickColor.new("Pink")
  5325. v.Material = "Neon"
  5326. end
  5327. end
  5328. elseif k == "g" and attack == false and ModeOfGlitch == 10134 then
  5329. resetmode()
  5330. end
  5331. if ModeOfGlitch == 10134 then
  5332. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5333. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("White"),Color3.new(0,1,0))
  5334. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  5335. end
  5336. if k == "l" and toggleTag == false then
  5337. toggleTag = true
  5338. text.TextTransparency = 0
  5339. text.TextStrokeTransparency = 0
  5340. elseif k == "l" and toggleTag == true then
  5341. toggleTag = false
  5342. text.TextTransparency = 1
  5343. text.TextStrokeTransparency = 1
  5344. end
  5345. if k == "z" and attack == false and ModeOfGlitch == 1 then
  5346. ExtinctiveHeartbreak()
  5347. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  5348. PureBomb()
  5349. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  5350. scattercorrupt()
  5351. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  5352. ChaosGroundStrike()
  5353. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  5354. UniversalSpark()
  5355. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  5356. UniversalSpark()
  5357. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  5358. UniversalSpark()
  5359. elseif k == "l" and attack == false and ModeOfGlitch == 1000000 then
  5360. UniversalSpark()
  5361. Wait(1)
  5362. yinyangi()
  5363. elseif k == "l" and attack == false and ModeOfGlitch == 5 then
  5364. scattercorrupt()
  5365. scattercorrupt()
  5366. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  5367. yinyangi()
  5368. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  5369. Wip()
  5370. end
  5371. if k == "l" and attack == false and ModeOfGlitch == 4 then
  5372. ChaosBegone()
  5373. end
  5374. end)
  5375. coroutine.resume(coroutine.create(function()
  5376. while true do
  5377. swait(2)
  5378. if rainbowmode == true or ModeOfGlitch == 6 then
  5379. sphereMK(1, 1, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -6, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, MAINRUINCOLOR, 0)
  5380. end
  5381. end
  5382. end))
  5383. coroutine.resume(coroutine.create(function()
  5384. while true do
  5385. swait(0.5)
  5386. if ModeOfGlitch == 1000000 then
  5387. sphereMK(5, 1, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -10, math.random(-25, 25)) * CFrame.Angles(math.rad(90 + math.random(-15, 15)), math.rad(math.random(-15, 15)), 0), 1, 1, 15, -0.01, MAINRUINCOLOR, 0)
  5388. end
  5389. end
  5390. end))
  5391. coroutine.resume(coroutine.create(function()
  5392. while true do
  5393. swait()
  5394. if chaosmode == true then
  5395. lolwut = {"BIG","bIg","Big","biG","BiG","bIG","BIg","big"}
  5396. Sanicz = lolwut[math.random(1,#lolwut)]
  5397. RecolorTextAndRename(Sanicz,BrickColor.Random().Color,BrickColor.Random().Color,"Fantasy")
  5398. MAINRUINCOLOR = BrickColor.Random()
  5399. end
  5400. end
  5401. end))
  5402. coroutine.resume(coroutine.create(function()
  5403. while true do
  5404. swait(2)
  5405. if chaosmode == true then
  5406. RecolorTextAndRename("BIG", Color3.new(0, 0, 0), BrickColor.random().Color,"Fantasy")
  5407. for i, v in pairs(mw1:GetChildren()) do
  5408. if v:IsA("Part") then
  5409. v.Transparency = 0.75
  5410. v.BrickColor = BrickColor.random()
  5411. v.Material = "Neon"
  5412. end
  5413. end
  5414. for i, v in pairs(m2:GetChildren()) do
  5415. if v:IsA("Part") then
  5416. v.BrickColor = BrickColor.random()
  5417. v.Material = "Neon"
  5418. for i, v in pairs(extrawingmod1:GetChildren()) do
  5419. if v:IsA("Part") then
  5420. v.Transparency = 0.75
  5421. v.BrickColor = BrickColor.random()
  5422. v.Material = "Neon"
  5423. end
  5424. end
  5425. for i, v in pairs(extrawingmod2:GetChildren()) do
  5426. if v:IsA("Part") then
  5427. v.Transparency = 0.75
  5428. v.BrickColor = BrickColor.new("Really black")
  5429. v.Material = "Neon"
  5430. end
  5431. end
  5432. end
  5433. end
  5434. end
  5435. end
  5436. end))
  5437. coroutine.resume(coroutine.create(function()
  5438. while true do
  5439. swait(2)
  5440. if ModeOfGlitch == 66 then
  5441. RecolorTextAndRename("TOO BIG", Color3.new(0, 0, 0), BrickColor.random().Color,"Arial")
  5442. for i, v in pairs(mw2:GetChildren()) do
  5443. if v:IsA("Part") then
  5444. v.Transparency = 0.75
  5445. v.BrickColor = BrickColor.random()
  5446. v.Material = "Neon"
  5447. end
  5448. end
  5449. for i, v in pairs(mw1:GetChildren()) do
  5450. if v:IsA("Part") then
  5451. v.Transparency = 0.75
  5452. v.BrickColor = BrickColor.random()
  5453. v.Material = "Neon"
  5454. end
  5455. end
  5456. for i, v in pairs(m:GetChildren()) do
  5457. if v:IsA("Part") then
  5458. v.Transparency = 0.75
  5459. v.BrickColor = BrickColor.random()
  5460. v.Material = "Neon"
  5461. end
  5462. end
  5463. for i, v in pairs(m2:GetChildren()) do
  5464. if v:IsA("Part") then
  5465. v.Transparency = 0.75
  5466. v.BrickColor = BrickColor.random()
  5467. v.Material = "Neon"
  5468. end
  5469. end
  5470. for i, v in pairs(m3:GetChildren()) do
  5471. if v:IsA("Part") then
  5472. v.Transparency = 0.75
  5473. v.BrickColor = BrickColor.random()
  5474. v.Material = "Neon"
  5475. end
  5476. end
  5477. for i, v in pairs(extrawingmod1:GetChildren()) do
  5478. if v:IsA("Part") then
  5479. v.Transparency = 0.75
  5480. v.BrickColor = BrickColor.random()
  5481. v.Material = "Neon"
  5482. end
  5483. end
  5484. for i, v in pairs(extrawingmod2:GetChildren()) do
  5485. if v:IsA("Part") then
  5486. v.Transparency = 0.75
  5487. v.BrickColor = BrickColor.random()
  5488. v.Material = "Neon"
  5489. end
  5490. end
  5491. end
  5492. end
  5493. end))
  5494. Humanoid.Name = "STARGLITCHER"
  5495. Humanoid.MaxHealth = math.huge
  5496. Humanoid.Health = math.huge
  5497. Instance.new("ForceField", char).Visible = false
  5498. Humanoid.Animator.Parent = nil
  5499. idleanim = 0.4
  5500. while true do
  5501. if rainbowmode == true then
  5502. RecolorTextAndRename("SO CUTE!", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500),"Legacy")
  5503. MAINRUINCOLOR = BrickColor.new("White")
  5504. for i, v in pairs(m:GetChildren()) do
  5505. if v:IsA("Part") then
  5506. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5507. end
  5508. end
  5509. for i, v in pairs(m2:GetChildren()) do
  5510. if v:IsA("Part") then
  5511. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5512. end
  5513. end
  5514. for i, v in pairs(m3:GetChildren()) do
  5515. if v:IsA("Part") then
  5516. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5517. end
  5518. end
  5519. for i, v in pairs(mw1:GetChildren()) do
  5520. if v:IsA("Part") then
  5521. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5522. v.Material = "Neon"
  5523. end
  5524. end
  5525. for i, v in pairs(mw2:GetChildren()) do
  5526. if v:IsA("Part") then
  5527. v.Color = Color3.new(r / 255, g / 255, b / 255)
  5528. v.Material = "Neon"
  5529. end
  5530. end
  5531. end
  5532. CameraManager()
  5533. swait()
  5534. if ModeOfGlitch ~= 1 and ModeOfGlitch ~= 2 and ModeOfGlitch ~= 3 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 5 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 7 and ModeOfGlitch ~= 10134 and ModeOfGlitch ~= 34101 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 66 and ModeOfGlitch ~= 8787 and ModeOfGlitch ~= 6127843 and ModeOfGlitch ~= 6127843 and ModeOfGlitch ~= 101909 then
  5535. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  5536. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  5537. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  5538. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  5539. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  5540. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  5541. elseif ModeOfGlitch == 34101 or ModeOfGlitch == 8787 then
  5542. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
  5543. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
  5544. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
  5545. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  5546. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  5547. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  5548. elseif ModeOfGlitch == 5 or ModeOfGlitch == 3 then
  5549. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  5550. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  5551. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  5552. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  5553. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  5554. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  5555. elseif ModeOfGlitch == 10134 or ModeOfGlitch == 4 or ModeOfGlitch == 1 or ModeOfGlitch == 101909 or ModeOfGlitch == 2 or ModeOfGlitch == 1000000 then
  5556. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
  5557. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
  5558. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
  5559. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  5560. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  5561. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  5562. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
  5563. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
  5564. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
  5565. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
  5566. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
  5567. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
  5568. end
  5569. sine = sine + change
  5570. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  5571. local velderp = RootPart.Velocity.y
  5572. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  5573. if equipped == true or equipped == false then
  5574. if attack == false then
  5575. idle = idle + 1
  5576. else
  5577. idle = 0
  5578. end
  5579. if not (idle >= 500) or attack == false then
  5580. end
  5581. if RootPart.Velocity.y > 1 and hitfloor == nil then
  5582. Anim = "Jump"
  5583. if attack == false then
  5584. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1)
  5585. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.1)
  5586. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 25)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  5587. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.1)
  5588. RW.C0 = clerp(RW.C0, cf(1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-5), math.rad(0), math.rad(25)), 0.1)
  5589. LW.C0 = clerp(LW.C0, cf(-1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-5), math.rad(0), math.rad(-25)), 0.1)
  5590. end
  5591. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  5592. Anim = "Fall"
  5593. if attack == false then
  5594. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1)
  5595. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.1)
  5596. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  5597. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  5598. RW.C0 = clerp(RW.C0, cf(1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1)
  5599. LW.C0 = clerp(LW.C0, cf(-1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1)
  5600. end
  5601. elseif torvel < 1 and hitfloor ~= nil then
  5602. Anim = "Idle"
  5603. if attack == false then
  5604. if ModeOfGlitch == 1 then
  5605. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(32 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  5606. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-4 - 7 * math.cos(sine / 39))),.1)
  5607. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 8 * math.cos(sine / 31))),.1)
  5608. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(32 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  5609. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  5610. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(14 + 1 * math.cos(sine / 45))),.1)
  5611. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(-9 - 3 * math.cos(sine / 45))),.1)
  5612. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  5613. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-7.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  5614. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  5615. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
  5616. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1)
  5617. RW.C0 = clerp(RW.C0, cf(0.85, 0.5 + 0.1 * math.cos(sine / 28), -0.65) * angles(math.rad(30 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(-100 - 2.5 * math.cos(sine / 28))), 0.1)
  5618. LW.C0 = clerp(LW.C0, cf(-0.85, 0.5 + 0.1 * math.cos(sine / 28), -0.65) * angles(math.rad(40 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(90 + 2.5 * math.cos(sine / 28))), 0.1)
  5619. elseif ModeOfGlitch == 3 then
  5620. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 - 1 * math.cos(sine / 34))), 0.1)
  5621. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  5622. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(-20)), 0.1)
  5623. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(20)), 0.1)
  5624. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(-20), math.rad(30 + 2.5 * math.cos(sine / 25))), 0.1)
  5625. LW.C0 = clerp(LW.C0, cf(-1.5, 0.75, 0) * angles(math.rad(170), math.rad(-20), math.rad(20)), 0.1)
  5626. elseif ModeOfGlitch == 4 then
  5627. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(20)), 0.1)
  5628. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(-20)), 0.1)
  5629. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.025 * math.cos(sine / 32)) * angles(math.rad(20 - 0.5 * math.cos(sine / 32)), math.rad(0), math.rad(0)), 0.1)
  5630. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1)
  5631. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1)
  5632. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1)
  5633. elseif ModeOfGlitch == 5 then
  5634. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  5635. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  5636. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
  5637. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1)
  5638. RW.C0 = clerp(RW.C0, cf(1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.1)
  5639. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  5640. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  5641. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-10)), 0.1)
  5642. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(10)), 0.1)
  5643. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
  5644. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1)
  5645. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20 + 2.5 * math.cos(sine / 28))), 0.1)
  5646. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20 - 2.5 * math.cos(sine / 28))), 0.1)
  5647. elseif ModeOfGlitch == 101909 then
  5648. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  5649. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  5650. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  5651. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  5652. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1)
  5653. LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
  5654. elseif ModeOfGlitch == 8787 then
  5655. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5 + 3 * math.cos(sine / 45)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  5656. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 3 * math.cos(sine / 45)),math.rad(5),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5657. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.03 * math.cos(sine / 45),0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0)),.1)
  5658. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 2.5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 99)),math.rad(0 + 10 * math.cos(sine / 78))),.1)
  5659. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15 + 5 * math.cos(sine / 33)),math.rad(15 + 6 * math.cos(sine / 38)),math.rad(-10 - 3 * math.cos(sine / 42))),.1)
  5660. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1)
  5661. elseif ModeOfGlitch == 34101 then
  5662. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  5663. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  5664. LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5665. RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  5666. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  5667. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  5668. elseif ModeOfGlitch == 10134 then
  5669. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("White"),BrickColor.new("White").Color)
  5670. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  5671. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  5672. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  5673. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  5674. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 50),0 + 0.25 * math.cos(sine / 43),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  5675. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  5676. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(-65 + 1 * math.cos(sine / 45))),.1)
  5677. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(73 - 3 * math.cos(sine / 45))),.1)
  5678. elseif ModeOfGlitch == 66 then
  5679. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
  5680. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(-15 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  5681. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(15 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  5682. RH.C0=clerp(RH.C0,cf(1,0.35 - 0.05 * math.cos(sine / 32),-0.7)*angles(math.rad(-20),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
  5683. LH.C0=clerp(LH.C0,cf(-1,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
  5684. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3 + 0.05 * math.cos(sine / 32))*angles(math.rad(7.5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  5685. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  5686. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-15 + 3 * math.cos(sine / 45))),.1)
  5687. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(15 - 3 * math.cos(sine / 45))),.1)
  5688.  
  5689. end
  5690. end
  5691. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  5692. Anim = "Walk"
  5693. if attack == false then
  5694. if ModeOfGlitch == 4 then
  5695. RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(5 + 25 * math.cos(sine / 12))), 0.1)
  5696. LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(-5 + 25 * math.cos(sine / 12))), 0.1)
  5697. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 8)) * angles(math.rad(12.5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 12))), 0.1)
  5698. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1)
  5699. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 - 15 * math.cos(sine / 12)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1)
  5700. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 15 * math.cos(sine / 12)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1)
  5701. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  5702. RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  5703. LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  5704. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 4)) * angles(math.rad(5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 8))), 0.1)
  5705. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10 + 2.5 * math.cos(sine / 100)), math.rad(0), math.rad(0 + 5 * math.cos(sine / 8))), 0.1)
  5706. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 8)), math.rad(0), math.rad(10 - 10 * math.cos(sine / 4))), 0.1)
  5707. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0 + 45 * math.cos(sine / 8)), math.rad(0), math.rad(-10 + 10 * math.cos(sine / 4))), 0.1)
  5708. elseif ModeOfGlitch == 66 then
  5709. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  5710. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  5711. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  5712. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  5713. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-15 + 3 * math.cos(sine / 45))),.1)
  5714. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(15 - 3 * math.cos(sine / 45))),.1)
  5715. end
  5716. end
  5717. elseif torvel >= 22 and hitfloor ~= nil then
  5718. Anim = "Run"
  5719. if attack == false then
  5720. if ModeOfGlitch == 1 then
  5721. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  5722. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  5723. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  5724. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  5725. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  5726. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  5727. elseif ModeOfGlitch == 10134 then
  5728. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("White"),BrickColor.new("White").Color)
  5729. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  5730. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  5731. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  5732. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  5733. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  5734. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  5735. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  5736. elseif ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 then
  5737. RH.C0 = clerp(RH.C0, cf(1, -0.75 - 0.25 * math.cos(sine / 3), -0.25 - 0.25 * math.cos(sine / 3)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + 95 * math.cos(sine / 6))), 0.1)
  5738. LH.C0 = clerp(LH.C0, cf(-1, -0.75 + 0.25 * math.cos(sine / 3), -0.25 + 0.25 * math.cos(sine / 3)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + 95 * math.cos(sine / 6))), 0.1)
  5739. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.125 + 0.125 * math.cos(sine / 3)) * angles(math.rad(20), math.rad(0), math.rad(0 - 15 * math.cos(sine / 6))), 0.1)
  5740. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10 + 2.5 * math.cos(sine / 100)), math.rad(0), math.rad(0 + 15 * math.cos(sine / 6))), 0.1)
  5741. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 155 * math.cos(sine / 6)), math.rad(0), math.rad(5 - 10 * math.cos(sine / 3))), 0.1)
  5742. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0 + 155 * math.cos(sine / 6)), math.rad(0), math.rad(-5 + 10 * math.cos(sine / 3))), 0.1)
  5743. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  5744. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2)
  5745. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.2)
  5746. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2)
  5747. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  5748. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30 + 2.5 * math.cos(sine / 28))), 0.2)
  5749. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30 - 2.5 * math.cos(sine / 28))), 0.2)
  5750.  
  5751. elseif ModeOfGlitch == 101909 then
  5752. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  5753. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  5754. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1)
  5755. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1)
  5756. RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1)
  5757. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1)
  5758. end
  5759. end
  5760. end
  5761. end
  5762. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement