sawgamer1

Untitled

Jun 29th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 124.59 KB | None | 0 0
  1. plr = game:GetService("Players").LocalPlayer
  2. char = plr.Character
  3. hum = char.Humanoid
  4. local cam = game.Workspace.CurrentCamera
  5. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  6. Camera = cam
  7. local CamInterrupt = false
  8. local TwoD = false
  9. local TargetInfo = {nil, nil}
  10. cam.CameraType = "Custom"
  11. t = char.Torso
  12. h = char.Head
  13. ra = char["Right Arm"]
  14. la = char["Left Arm"]
  15. rl = char["Right Leg"]
  16. ll = char["Left Leg"]
  17. tors = char.Torso
  18. lleg = char["Left Leg"]
  19. root = char.HumanoidRootPart
  20. hed = char.Head
  21. rleg = char["Right Leg"]
  22. rarm = char["Right Arm"]
  23. larm = char["Left Arm"]
  24. radian = math.rad
  25. random = math.random
  26. Vec3 = Vector3.new
  27. Inst = Instance.new
  28. cFrame = CFrame.new
  29. Euler = CFrame.fromEulerAnglesXYZ
  30. vt = Vector3.new
  31. bc = BrickColor.new
  32. br = BrickColor.random
  33. it = Instance.new
  34. cf = CFrame.new
  35. local eff = true
  36. local shielding = false
  37.  
  38. Player = game:GetService("Players").LocalPlayer
  39. PlayerGui = Player.PlayerGui
  40. Cam = workspace.CurrentCamera
  41. Backpack = Player.Backpack
  42. Character = Player.Character
  43. Humanoid = Character.Humanoid
  44. Mouse = Player:GetMouse()
  45. RootPart = Character["HumanoidRootPart"]
  46. Torso = Character["Torso"]
  47. Head = Character["Head"]
  48. RightArm = Character["Right Arm"]
  49. LeftArm = Character["Left Arm"]
  50. RightLeg = Character["Right Leg"]
  51. LeftLeg = Character["Left Leg"]
  52. RootJoint = RootPart["RootJoint"]
  53. Neck = Torso["Neck"]
  54. RightShoulder = Torso["Right Shoulder"]
  55. LeftShoulder = Torso["Left Shoulder"]
  56. RightHip = Torso["Right Hip"]
  57. LeftHip = Torso["Left Hip"]
  58. SIZE = 1
  59.  
  60. IT = Instance.new
  61. CF = CFrame.new
  62. VT = Vector3.new
  63. RAD = math.rad
  64. C3 = Color3.new
  65. UD2 = UDim2.new
  66. BRICKC = BrickColor.new
  67. ANGLES = CFrame.Angles
  68. EULER = CFrame.fromEulerAnglesXYZ
  69. COS = math.cos
  70. ACOS = math.acos
  71. SIN = math.sin
  72. ASIN = math.asin
  73. ABS = math.abs
  74. MRANDOM = math.random
  75. FLOOR = math.floor
  76.  
  77. Animation_Speed = 3
  78. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  79. local Speed = 20
  80. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  81. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  82. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  83. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  84. local DAMAGEMULTIPLIER = 1
  85. local ANIM = "Idle"
  86. local ATTACK = false
  87. local EQUIPPED = false
  88. local HOLD = false
  89. local COMBO = 1
  90. local Rooted = false
  91. local SINE = 0
  92. local KEYHOLD = false
  93. local CHANGE = 2 / Animation_Speed
  94. local WALKINGANIM = false
  95. local VALUE1 = false
  96. local VALUE2 = false
  97. local ROBLOXIDLEANIMATION = IT("Animation")
  98. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  99. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  100. --ROBLOXIDLEANIMATION.Parent = Humanoid
  101. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  102. WEAPONGUI.Name = "Weapon GUI"
  103. local Effects = IT("Folder", Character)
  104. Effects.Name = "Effects"
  105. local ANIMATOR = Humanoid.Animator
  106. local ANIMATE = Character.Animate
  107. local UNANCHOR = true
  108. local GHOSTS = {}
  109. ANIMATE:remove()
  110. Character.Archivable = true
  111. script.Parent = WEAPONGUI
  112. local GHOSTBASE = Character:Clone()
  113. GHOSTBASE.Parent = nil
  114. GHOSTBASE.Name = "Shingo"
  115. for _, c in pairs(GHOSTBASE:GetChildren()) do
  116. if c.ClassName == "Part" and c.Transparency < 1 then
  117. c.Color = C3(0,0,0)
  118. if c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
  119. c:remove()
  120. end
  121. end
  122. end
  123. local Effects = IT("Folder", Character)
  124. Effects.Name = "Effects"
  125. Character.Archivable = false
  126.  
  127. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  128. local type = type
  129. local rng = Instance.new("Part", char)
  130. rng.Anchored = true
  131. rng.BrickColor = color
  132. rng.CanCollide = false
  133. rng.FormFactor = 3
  134. rng.Name = "Ring"
  135. rng.Material = "Neon"
  136. rng.Size = Vector3.new(1, 1, 1)
  137. rng.Transparency = 0
  138. rng.TopSurface = 0
  139. rng.BottomSurface = 0
  140. rng.CFrame = pos
  141. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  142. local rngm = Instance.new("SpecialMesh", rng)
  143. rngm.MeshType = "Sphere"
  144. rngm.Scale = vt(x1,y1,z1)
  145. if rainbowmode == true then
  146. rng.Color = Color3.new(r/255,g/255,b/255)
  147. end
  148. local scaler2 = 1
  149. local speeder = FastSpeed
  150. if type == "Add" then
  151. scaler2 = 1*value
  152. elseif type == "Divide" then
  153. scaler2 = 1/value
  154. end
  155. coroutine.resume(coroutine.create(function()
  156. for i = 0,10/bonuspeed,0.1 do
  157. swait()
  158. if rainbowmode == true then
  159. rng.Color = Color3.new(r/255,g/255,b/255)
  160. end
  161. if type == "Add" then
  162. scaler2 = scaler2 - 0.01*value/bonuspeed
  163. elseif type == "Divide" then
  164. scaler2 = scaler2 - 0.01/value*bonuspeed
  165. end
  166. if chaosmode == true then
  167. rng.BrickColor = BrickColor.random()
  168. end
  169. speeder = speeder - 0.01*FastSpeed*bonuspeed
  170. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  171. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  172. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  173. end
  174. rng:Destroy()
  175. end))
  176. end
  177.  
  178. function sphere(bonuspeed,type,pos,scale,value,color)
  179. local type = type
  180. local rng = Instance.new("Part", char)
  181. rng.Anchored = true
  182. rng.BrickColor = color
  183. rng.CanCollide = false
  184. rng.FormFactor = 3
  185. rng.Name = "Ring"
  186. rng.Material = "Neon"
  187. rng.Size = Vector3.new(1, 1, 1)
  188. rng.Transparency = 0
  189. rng.TopSurface = 0
  190. rng.BottomSurface = 0
  191. rng.CFrame = pos
  192. local rngm = Instance.new("SpecialMesh", rng)
  193. rngm.MeshType = "Sphere"
  194. rngm.Scale = scale
  195. if rainbowmode == true then
  196. rng.Color = Color3.new(r/255,g/255,b/255)
  197. end
  198. local scaler2 = 1
  199. if type == "Add" then
  200. scaler2 = 1*value
  201. elseif type == "Divide" then
  202. scaler2 = 1/value
  203. end
  204. coroutine.resume(coroutine.create(function()
  205. for i = 0,10/bonuspeed,0.1 do
  206. swait()
  207. if rainbowmode == true then
  208. rng.Color = Color3.new(r/255,g/255,b/255)
  209. end
  210. if type == "Add" then
  211. scaler2 = scaler2 - 0.01*value/bonuspeed
  212. elseif type == "Divide" then
  213. scaler2 = scaler2 - 0.01/value*bonuspeed
  214. end
  215. if chaosmode == true then
  216. rng.BrickColor = BrickColor.random()
  217. end
  218. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  219. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  220. end
  221. rng:Destroy()
  222. end))
  223. end
  224.  
  225.  
  226. function Swait(NUMBER)
  227. if NUMBER == 0 or NUMBER == nil then
  228. ArtificialHB.Event:wait()
  229. else
  230. for i = 1, NUMBER do
  231. ArtificialHB.Event:wait()
  232. end
  233. end
  234. end
  235.  
  236. function Clerp(a, b, t)
  237. local qa = {QuaternionFromCFrame(a)}
  238. local qb = {QuaternionFromCFrame(b)}
  239. local ax, ay, az = a.x, a.y, a.z
  240. local bx, by, bz = b.x, b.y, b.z
  241. local _t = 1 - t
  242. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  243. end
  244.  
  245. local S = IT("Sound")
  246. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  247. local NEWSOUND = nil
  248. coroutine.resume(coroutine.create(function()
  249. NEWSOUND = S:Clone()
  250. NEWSOUND.Parent = PARENT
  251. NEWSOUND.Volume = VOLUME
  252. NEWSOUND.Pitch = PITCH
  253. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  254. NEWSOUND:play()
  255. if DOESLOOP == true then
  256. NEWSOUND.Looped = true
  257. else
  258. repeat wait(1) until NEWSOUND.Playing == false
  259. NEWSOUND:remove()
  260. end
  261. end))
  262. return NEWSOUND
  263. end
  264.  
  265. function WACKYEFFECT(Table)
  266. local TYPE = (Table.EffectType or "Sphere")
  267. local SIZE = (Table.Size or VT(1,1,1))
  268. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  269. local TRANSPARENCY = (Table.Transparency or 0)
  270. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  271. local CFRAME = (Table.CFrame or Torso.CFrame)
  272. local MOVEDIRECTION = (Table.MoveToPos or nil)
  273. local ROTATION1 = (Table.RotationX or 0)
  274. local ROTATION2 = (Table.RotationY or 0)
  275. local ROTATION3 = (Table.RotationZ or 0)
  276. local MATERIAL = (Table.Material or "Neon")
  277. local COLOR = (Table.Color or C3(0,0,0))
  278. local TIME = (Table.Time or 45)
  279. local SOUNDID = (Table.SoundID or nil)
  280. local SOUNDPITCH = (Table.SoundPitch or nil)
  281. local SOUNDVOLUME = (Table.SoundVolume or nil)
  282. coroutine.resume(coroutine.create(function()
  283. local PLAYSSOUND = false
  284. local SOUND = nil
  285. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  286. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  287. PLAYSSOUND = true
  288. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  289. end
  290. EFFECT.Color = COLOR
  291. local MSH = nil
  292. if TYPE == "Sphere" then
  293. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  294. elseif TYPE == "Block" then
  295. MSH = IT("BlockMesh",EFFECT)
  296. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  297. elseif TYPE == "Wave" then
  298. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  299. elseif TYPE == "Ring" then
  300. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  301. elseif TYPE == "Slash" then
  302. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  303. elseif TYPE == "Round Slash" then
  304. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  305. elseif TYPE == "Swirl" then
  306. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  307. elseif TYPE == "Skull" then
  308. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  309. elseif TYPE == "Crystal" then
  310. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  311. end
  312. if MSH ~= nil then
  313. local MOVESPEED = nil
  314. if MOVEDIRECTION ~= nil then
  315. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  316. end
  317. local GROWTH = SIZE - ENDSIZE
  318. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  319. if TYPE == "Block" then
  320. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  321. else
  322. EFFECT.CFrame = CFRAME
  323. end
  324. for LOOP = 1, TIME+1 do
  325. Swait()
  326. MSH.Scale = MSH.Scale - GROWTH/TIME
  327. if TYPE == "Wave" then
  328. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  329. end
  330. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  331. if TYPE == "Block" then
  332. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  333. else
  334. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  335. end
  336. if MOVEDIRECTION ~= nil then
  337. local ORI = EFFECT.Orientation
  338. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  339. EFFECT.Orientation = ORI
  340. end
  341. end
  342. if PLAYSSOUND == false then
  343. EFFECT:remove()
  344. else
  345. SOUND.Stopped:Connect(function()
  346. EFFECT:remove()
  347. end)
  348. end
  349. else
  350. if PLAYSSOUND == false then
  351. EFFECT:remove()
  352. else
  353. repeat Swait() until SOUND.Playing == false
  354. EFFECT:remove()
  355. end
  356. end
  357. end))
  358. end
  359.  
  360. local Booleans = {
  361. CamFollow = true,
  362. GyroUse = true
  363. }
  364.  
  365. function lerp(object, newCFrame, alpha)
  366. return object:lerp(newCFrame, alpha)
  367. end
  368.  
  369. local Directer = Inst("BodyGyro", root)
  370. Directer.MaxTorque = Vec3(0, 0, 0)
  371. Directer.P = 600000
  372. local CPart = Inst("Part")
  373. CPart.Anchored = true
  374. CPart.CanCollide = false
  375. CPart.Locked = true
  376. CPart.Transparency = 1
  377.  
  378. local rainbowmode = false
  379. local chaosmode = false
  380.  
  381. kan = Instance.new("Sound",char)
  382. kan.Volume = 1.25
  383. kan.TimePosition = 0
  384. kan.PlaybackSpeed = 1
  385. kan.Pitch = 1
  386. kan.SoundId = "rbxassetid://0"
  387. kan.Name = "wrecked"
  388. kan.Looped = true
  389. kan:Play()
  390.  
  391. function newTheme(ID,timepos,pitch,vol)
  392. local kanz = kan
  393. --kanz:Stop()
  394. --kanz.Volume = vol
  395. --kanz.TimePosition = timepos
  396. kanz.PlaybackSpeed = pitch
  397. kanz.Pitch = pitch
  398. kanz.SoundId = ID
  399. kanz.Name = "wrecked"
  400. kanz.Looped = true
  401. kanz.Volume = 0.3
  402. --kanz:Play()
  403. --coroutine.resume(coroutine.create(function()
  404. --wait(0.05)
  405. --end))
  406. end
  407.  
  408. function newThemeCust(ID,timepos,pitch,vol)
  409. local kanz = kan
  410. kanz:Stop()
  411. kanz.Volume = vol
  412. kanz.TimePosition = timepos
  413. kanz.PlaybackSpeed = pitch
  414. kanz.Pitch = pitch
  415. kanz.SoundId = ID
  416. kanz.Name = "wrecked"
  417. kanz.Looped = true
  418. kanz:Play()
  419. coroutine.resume(coroutine.create(function()
  420. wait(0.05)
  421. end))
  422. end
  423.  
  424.  
  425.  
  426. function CameraShake(Times, Power, PlayerTarget)
  427. coroutine.resume(coroutine.create(function()
  428. FV = Instance.new("BoolValue", PlayerTarget)
  429. FV.Name = "CameraShake"
  430. for ShakeNum=1,Times do
  431. swait()
  432. local ef=Power
  433. if ef>=1 then
  434. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  435. else
  436. ef=Power*10
  437. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  438. end
  439. end
  440. Humanoid.CameraOffset = Vector3.new(0,0,0)
  441. FV:Destroy()
  442. end))
  443. end
  444.  
  445. function CameraEnshaking(Length,Intensity)
  446. coroutine.resume(coroutine.create(function()
  447. local intensity = 1*Intensity
  448. local rotM = 0.01*Intensity
  449. for i = 0, Length, 0.1 do
  450. swait()
  451. intensity = intensity - 0.05*Intensity/Length
  452. rotM = rotM - 0.0005*Intensity/Length
  453. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  454. 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)
  455. end
  456. Humanoid.CameraOffset = Vec3(0, 0, 0)
  457. end))
  458. end
  459. CamShake=function(Part,Distan,Power,Times)
  460. local de=Part.Position
  461. for i,v in pairs(workspace:children()) do
  462. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  463. for _,c in pairs(v:children()) do
  464. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  465. local Noob=v.Humanoid
  466. if Noob~=nil then
  467. coroutine.resume(coroutine.create(function()
  468. FV = Instance.new("BoolValue", Noob)
  469. FV.Name = "CameraShake"
  470. for ShakeNum=1,Times do
  471. swait()
  472. local ef=Power
  473. if ef>=1 then
  474. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  475. else
  476. ef=Power*10
  477. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  478. end
  479. end
  480. Humanoid.CameraOffset = Vector3.new(0,0,0)
  481. FV:Destroy()
  482. end))
  483. CameraShake(Times, Power, Noob)
  484. end
  485. end
  486. end
  487. end
  488. end
  489. end
  490.  
  491. function chatfunc(text,color)
  492. local chat = coroutine.wrap(function()
  493. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  494. Character:FindFirstChild("TalkingBillBoard"):destroy()
  495. end
  496. local naeeym2 = Instance.new("BillboardGui",Character)
  497. naeeym2.Size = UDim2.new(0,100,0,40)
  498. naeeym2.StudsOffset = Vector3.new(0,3,0)
  499. naeeym2.Adornee = Character.Head
  500. naeeym2.Name = "TalkingBillBoard"
  501. local tecks2 = Instance.new("TextLabel",naeeym2)
  502. tecks2.BackgroundTransparency = 1
  503. tecks2.BorderSizePixel = 0
  504. tecks2.Text = ""
  505. tecks2.Font = "SciFi"
  506. tecks2.TextSize = 30
  507. tecks2.TextStrokeTransparency = 0
  508. tecks2.TextColor3 = color
  509. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  510. tecks2.Size = UDim2.new(1,0,0.5,0)
  511. local tecks3 = Instance.new("TextLabel",naeeym2)
  512. tecks3.BackgroundTransparency = 1
  513. tecks3.BorderSizePixel = 0
  514. tecks3.Text = ""
  515. tecks3.Font = "SciFi"
  516. tecks3.TextSize = 30
  517. tecks3.TextStrokeTransparency = 0
  518. tecks3.TextColor3 = Color3.new(0,0,0)
  519. tecks3.TextStrokeColor3 = color
  520. tecks3.Size = UDim2.new(1,0,0.5,0)
  521. coroutine.resume(coroutine.create(function()
  522. while true do
  523. swait(1)
  524. plr.Character.wrecked.Volume = 0.3
  525. if chaosmode == true then
  526. tecks2.TextColor3 = BrickColor.random().Color
  527. tecks3.TextStrokeColor3 = BrickColor.random().Color
  528. end
  529. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  530. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  531. tecks2.Rotation = math.random(-5,5)
  532. tecks3.Rotation = math.random(-5,5)
  533. end
  534. end))
  535. for i = 1,string.len(text),1 do
  536. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  537. tecks2.Text = string.sub(text,1,i)
  538. tecks3.Text = string.sub(text,1,i)
  539. swait(1)
  540. end
  541. wait(1)
  542. local randomrot = math.random(1,2)
  543. if randomrot == 1 then
  544. for i = 1, 50 do
  545. swait()
  546. tecks2.Rotation = tecks2.Rotation - .75
  547. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  548. tecks2.TextTransparency = tecks2.TextTransparency + .04
  549. tecks3.Rotation = tecks2.Rotation + .75
  550. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  551. tecks3.TextTransparency = tecks2.TextTransparency + .04
  552. end
  553. elseif randomrot == 2 then
  554. for i = 1, 50 do
  555. swait()
  556. tecks2.Rotation = tecks2.Rotation + .75
  557. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  558. tecks2.TextTransparency = tecks2.TextTransparency + .04
  559. tecks3.Rotation = tecks2.Rotation - .75
  560. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  561. tecks3.TextTransparency = tecks2.TextTransparency + .04
  562. end
  563. end
  564. naeeym2:Destroy()
  565. end)
  566. chat()
  567. end
  568.  
  569. for i,v in pairs(char:GetChildren()) do
  570. if v.ClassName == "CharacterMesh" then
  571. v:Destroy()
  572. end
  573. end
  574. for i,v in pairs(char:GetChildren()) do
  575. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  576. v:Destroy()
  577. end
  578. end
  579.  
  580. local Create = LoadLibrary("RbxUtility").Create
  581.  
  582. CFuncs = {
  583. ["Part"] = {
  584. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  585. local Part = Create("Part"){
  586. Parent = Parent,
  587. Reflectance = Reflectance,
  588. Transparency = Transparency,
  589. CanCollide = false,
  590. Locked = true,
  591. BrickColor = BrickColor.new(tostring(BColor)),
  592. Name = Name,
  593. Size = Size,
  594. Material = Material,
  595. }
  596. RemoveOutlines(Part)
  597. return Part
  598. end;
  599. };
  600.  
  601. ["Mesh"] = {
  602. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  603. local Msh = Create(Mesh){
  604. Parent = Part,
  605. Offset = OffSet,
  606. Scale = Scale,
  607. }
  608. if Mesh == "SpecialMesh" then
  609. Msh.MeshType = MeshType
  610. Msh.MeshId = MeshId
  611. end
  612. return Msh
  613. end;
  614. };
  615.  
  616. ["Mesh"] = {
  617. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  618. local Msh = Create(Mesh){
  619. Parent = Part,
  620. Offset = OffSet,
  621. Scale = Scale,
  622. }
  623. if Mesh == "SpecialMesh" then
  624. Msh.MeshType = MeshType
  625. Msh.MeshId = MeshId
  626. end
  627. return Msh
  628. end;
  629. };
  630.  
  631. ["Weld"] = {
  632. Create = function(Parent, Part0, Part1, C0, C1)
  633. local Weld = Create("Weld"){
  634. Parent = Parent,
  635. Part0 = Part0,
  636. Part1 = Part1,
  637. C0 = C0,
  638. C1 = C1,
  639. }
  640. return Weld
  641. end;
  642. };
  643.  
  644. ["Sound"] = {
  645. Create = function(id, par, vol, pit)
  646. coroutine.resume(coroutine.create(function()
  647. local S = Create("Sound"){
  648. Volume = vol,
  649. Name = "EffectSoundo",
  650. Pitch = pit or 1,
  651. SoundId = id,
  652. Parent = par or workspace,
  653. }
  654. wait()
  655. S:play()
  656. game:GetService("Debris"):AddItem(S, 10)
  657. end))
  658. end;
  659. };
  660.  
  661. ["LongSound"] = {
  662. Create = function(id, par, vol, pit)
  663. coroutine.resume(coroutine.create(function()
  664. local S = Create("Sound"){
  665. Volume = vol,
  666. Pitch = pit or 1,
  667. SoundId = id,
  668. Parent = par or workspace,
  669. }
  670. wait()
  671. S:play()
  672. game:GetService("Debris"):AddItem(S, 30)
  673. end))
  674. end;
  675. };
  676.  
  677. ["ParticleEmitter"] = {
  678. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  679. local fp = Create("ParticleEmitter"){
  680. Parent = Parent,
  681. Color = ColorSequence.new(Color1, Color2),
  682. LightEmission = LightEmission,
  683. Size = Size,
  684. Texture = Texture,
  685. Transparency = Transparency,
  686. ZOffset = ZOffset,
  687. Acceleration = Accel,
  688. Drag = Drag,
  689. LockedToPart = LockedToPart,
  690. VelocityInheritance = VelocityInheritance,
  691. EmissionDirection = EmissionDirection,
  692. Enabled = Enabled,
  693. Lifetime = LifeTime,
  694. Rate = Rate,
  695. Rotation = Rotation,
  696. RotSpeed = RotSpeed,
  697. Speed = Speed,
  698. VelocitySpread = VelocitySpread,
  699. }
  700. return fp
  701. end;
  702. };
  703.  
  704. CreateTemplate = {
  705.  
  706. };
  707. }
  708.  
  709.  
  710.  
  711. New = function(Object, Parent, Name, Data)
  712. local Object = Instance.new(Object)
  713. for Index, Value in pairs(Data or {}) do
  714. Object[Index] = Value
  715. end
  716. Object.Parent = Parent
  717. Object.Name = Name
  718. return Object
  719. end
  720. local halocolor = BrickColor.new("Royal purple")
  721. local halocolor2 = BrickColor.new("Royal purple")
  722. local starcolor = BrickColor.new("Royal purple")
  723. local lunacolor = BrickColor.new("Royal purple")
  724. local lunacolor2 = BrickColor.new("Royal purple")
  725. local wepcolor = BrickColor.new("Royal purple")
  726. local maincolor = BrickColor.new("Royal purple")
  727. local m = Instance.new("Model",char)
  728. local m2 = Instance.new("Model",char)
  729. local m3 = Instance.new("Model",char)
  730. local mw1 = Instance.new("Model",char)
  731. local mw2 = Instance.new("Model",char)
  732.  
  733. local extrawingmod1 = Instance.new("Model",char)
  734. local extrawingmod2 = Instance.new("Model",char)
  735.  
  736. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  737. local p = Instance.new("Part")
  738. p.TopSurface = 0
  739. p.BottomSurface = 0
  740. p.Parent = parent
  741. p.Size = Vector3.new(0.1,0.1,0.1)
  742. p.Transparency = transparency
  743. p.Reflectance = reflectance
  744. p.CanCollide = false
  745. p.Locked = true
  746. p.BrickColor = brickcolor
  747. p.Material = material
  748. return p
  749. end
  750.  
  751. function CreateMesh(parent,meshtype,x1,y1,z1)
  752. local mesh = Instance.new("SpecialMesh",parent)
  753. mesh.MeshType = meshtype
  754. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  755. return mesh
  756. end
  757.  
  758. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  759. local mesh = Instance.new("SpecialMesh",parent)
  760. mesh.MeshType = "FileMesh"
  761. mesh.MeshId = meshid
  762. mesh.Scale = Vector3.new(x1,y1,z1)
  763. return mesh
  764. end
  765.  
  766.  
  767. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  768. local mesh = Instance.new("SpecialMesh",parent)
  769. mesh.MeshType = "FileMesh"
  770. mesh.MeshId = meshid
  771. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  772. mesh.Scale = Vector3.new(x1,y1,z1)
  773. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  774. return mesh
  775. end
  776.  
  777. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  778. local weld = Instance.new("Weld")
  779. weld.Parent = parent
  780. weld.Part0 = part0
  781. weld.Part1 = part1
  782. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  783. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  784. return weld
  785. end
  786.  
  787.  
  788. --------------
  789. local secondchar = Instance.new("Model",char)
  790. local GhostCol = BrickColor.new("Royal purple")
  791. local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
  792. CreateMesh(sectors,"Brick",2*8,2*8,1*8)
  793. local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  794.  
  795. local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  796. CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
  797. local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  798.  
  799. local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  800. CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
  801. local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  802.  
  803. local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  804. CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
  805. local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  806.  
  807. local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  808. CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
  809. local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  810.  
  811. local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
  812. CreateMesh(seched,"Brick",1*8,1*8,1*8)
  813. local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  814. --------------
  815. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  816. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  817. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  818. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  819.  
  820. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  821. CreateMesh(handle,"Brick",0,0,0)
  822. 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))
  823. local valuaring = 10
  824. for i = 0, 49 do
  825. valuaring = valuaring + 10
  826. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  827. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  828. 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))
  829. end
  830.  
  831. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  832. CreateMesh(handle,"Brick",0,0,0)
  833. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  834. local valuaring = 10
  835. for i = 0, 49 do
  836. valuaring = valuaring + 10
  837. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  838. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  839. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  840. end
  841.  
  842.  
  843. local handle = CreateParta(m,1,1,"Neon",maincolor)
  844. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  845. 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))
  846.  
  847. --- Left wing.
  848.  
  849. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  850. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  851. 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))
  852.  
  853. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  854. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  855. 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))
  856. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  857. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  858. 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))
  859. A0 = Instance.new('Attachment',wed)
  860. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  861. CreateMesh(wed,"Wedge",0.05,0.5,3)
  862. 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))
  863. A1 = Instance.new('Attachment',wed)
  864. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  865. CreateMesh(wed,"Wedge",0.05,3,0.5)
  866. 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))
  867.  
  868. tl1 = Instance.new('Trail',wed)
  869. tl1.Attachment0 = A0
  870. tl1.Attachment1 = A1
  871. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  872. tl1.LightEmission = 1
  873. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  874. tl1.Color = ColorSequence.new(BrickColor.new('Royal purple').Color)
  875. tl1.Lifetime = 0.6
  876.  
  877.  
  878. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  879. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  880. 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))
  881.  
  882. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  883. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  884. 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))
  885. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  886. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  887. 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))
  888. A0 = Instance.new('Attachment',wed)
  889. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  890. CreateMesh(wed,"Wedge",0.05,0.5,3)
  891. 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))
  892. A1 = Instance.new('Attachment',wed)
  893. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  894. CreateMesh(wed,"Wedge",0.05,3,0.5)
  895. 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))
  896.  
  897. tl2 = Instance.new('Trail',wed)
  898. tl2.Attachment0 = A0
  899. tl2.Attachment1 = A1
  900. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  901. tl2.LightEmission = 1
  902. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  903. tl2.Color = ColorSequence.new(BrickColor.new('Royal purple').Color)
  904. tl2.Lifetime = 0.6
  905.  
  906. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  907. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  908. 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))
  909.  
  910. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  911. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  912. 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))
  913. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  914. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  915. 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))
  916. A0 = Instance.new('Attachment',wed)
  917. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  918. CreateMesh(wed,"Wedge",0.05,0.5,3)
  919. 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))
  920. A1 = Instance.new('Attachment',wed)
  921. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  922. CreateMesh(wed,"Wedge",0.05,3,0.5)
  923. 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))
  924.  
  925. tl3 = Instance.new('Trail',wed)
  926. tl3.Attachment0 = A0
  927. tl3.Attachment1 = A1
  928. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  929. tl3.LightEmission = 1
  930. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  931. tl3.Color = ColorSequence.new(BrickColor.new('Royal purple').Color)
  932. tl3.Lifetime = 0.6
  933.  
  934. tl1.Enabled = false
  935. tl2.Enabled = false
  936. tl3.Enabled = false
  937. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  938. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  939. 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))
  940.  
  941. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  942. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  943. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  944. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  945. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  946. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  947. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  948. CreateMesh(wed,"Wedge",0.05,0.5,3)
  949. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  950. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  951. CreateMesh(wed,"Wedge",0.05,3,0.5)
  952. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  953.  
  954. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  955. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  956. 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))
  957.  
  958. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  959. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  960. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  961. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  962. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  963. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  964. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  965. CreateMesh(wed,"Wedge",0.05,0.5,3)
  966. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  967. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  968. CreateMesh(wed,"Wedge",0.05,3,0.5)
  969. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  970.  
  971. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  972. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  973. 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))
  974.  
  975. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  976. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  977. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  978. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  979. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  980. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  981. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  982. CreateMesh(wed,"Wedge",0.05,0.5,3)
  983. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  984. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  985. CreateMesh(wed,"Wedge",0.05,3,0.5)
  986. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  987.  
  988. -- Right wing.
  989.  
  990. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  991. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  992. 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))
  993.  
  994. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  995. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  996. 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))
  997. A0 = Instance.new('Attachment',wed)
  998. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  999. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1000. 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))
  1001. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1002. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1003. 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))
  1004. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1005. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1006. 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))
  1007. A1 = Instance.new('Attachment',wed)
  1008.  
  1009. tr1 = Instance.new('Trail',wed)
  1010. tr1.Attachment0 = A0
  1011. tr1.Attachment1 = A1
  1012. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1013. tr1.LightEmission = 1
  1014. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1015. tr1.Color = ColorSequence.new(BrickColor.new('Royal purple').Color)
  1016. tr1.Lifetime = 0.6
  1017.  
  1018. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1019. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1020. 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))
  1021.  
  1022. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1023. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1024. 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))
  1025. A0 = Instance.new('Attachment',wed)
  1026. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1027. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1028. 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))
  1029. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1030. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1031. 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))
  1032. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1033. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1034. 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))
  1035. A1 = Instance.new('Attachment',wed)
  1036.  
  1037. tr2 = Instance.new('Trail',wed)
  1038. tr2.Attachment0 = A0
  1039. tr2.Attachment1 = A1
  1040. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1041. tr2.LightEmission = 1
  1042. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1043. tr2.Color = ColorSequence.new(BrickColor.new('Royal purple').Color)
  1044. tr2.Lifetime = 0.6
  1045.  
  1046. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1047. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1048. 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))
  1049.  
  1050. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1051. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1052. 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))
  1053. A0 = Instance.new('Attachment',wed)
  1054. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1055. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1056. 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))
  1057. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1058. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1059. 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))
  1060. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1061. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1062. 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))
  1063. A1 = Instance.new('Attachment',wed)
  1064.  
  1065. tr3 = Instance.new('Trail',wed)
  1066. tr3.Attachment0 = A0
  1067. tr3.Attachment1 = A1
  1068. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1069. tr3.LightEmission = 1
  1070. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1071. tr3.Color = ColorSequence.new(BrickColor.new('Royal purple').Color)
  1072. tr3.Lifetime = 0.6
  1073.  
  1074.  
  1075. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1076. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1077. 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))
  1078.  
  1079. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1080. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1081. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1082. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1083. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1084. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1085. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1086. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1087. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1088. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1089. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1090. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1091.  
  1092. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1093. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1094. 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))
  1095.  
  1096. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1097. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1098. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1099. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1100. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1101. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1102. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1103. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1104. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1105. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1106. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1107. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1108.  
  1109. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1110. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1111. 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))
  1112.  
  1113. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1114. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1115. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1116. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1117. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1118. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1119. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1120. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1121. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1122. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1123. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1124. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1125.  
  1126. ---- HERES THE RING
  1127.  
  1128.  
  1129. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1130. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1131. 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))
  1132. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1133. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1134. 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))
  1135. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1136. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1137. 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))
  1138.  
  1139.  
  1140. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1141. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1142. 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))
  1143.  
  1144. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1145. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1146. 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))
  1147.  
  1148.  
  1149.  
  1150. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1151. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1152. 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))
  1153.  
  1154. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1155. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1156. 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))
  1157.  
  1158. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1159. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1160. 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))
  1161.  
  1162. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1163. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1164. 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))
  1165. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1166. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1167. 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))
  1168.  
  1169. --- second ring
  1170.  
  1171. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1172. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1173. CreateWeld(ran,rarm,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))
  1174. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1175. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1176. CreateWeld(ran,rarm,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))
  1177. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1178. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1179. CreateWeld(ran,rarm,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))
  1180.  
  1181. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1182. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1183. 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))
  1184.  
  1185. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1186. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1187. 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))
  1188.  
  1189.  
  1190.  
  1191. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1192. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1193. 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))
  1194.  
  1195. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1196. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1197. 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))
  1198.  
  1199. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1200. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1201. 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))
  1202.  
  1203. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1204. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1205. 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))
  1206. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1207. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1208. 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))]]--
  1209.  
  1210.  
  1211.  
  1212. for i, v in pairs(m:GetChildren()) do
  1213. if v:IsA("Part") then
  1214. v.BrickColor = BrickColor.new("Royal purple")
  1215. v.Material = "Glass"
  1216. end
  1217. end
  1218. for i, v in pairs(m2:GetChildren()) do
  1219. if v:IsA("Part") then
  1220. v.BrickColor = BrickColor.new("Royal purple")
  1221. v.Material = "Granite"
  1222. end
  1223. end
  1224. for i, v in pairs(m3:GetChildren()) do
  1225. if v:IsA("Part") then
  1226. v.BrickColor = BrickColor.new("Royal purple")
  1227. v.Material = "Neon"
  1228. end
  1229. end
  1230. for i, v in pairs(mw2:GetChildren()) do
  1231. if v:IsA("Part") then
  1232. v.BrickColor = BrickColor.new("Royal purple")
  1233. v.Material = "Neon"
  1234. end
  1235. end
  1236. for i, v in pairs(mw1:GetChildren()) do
  1237. if v:IsA("Part") then
  1238. v.Transparency = 1
  1239. v.BrickColor = BrickColor.new("Royal purple")
  1240. v.Material = "Neon"
  1241. end
  1242. end
  1243. for i, v in pairs(extrawingmod1:GetChildren()) do
  1244. if v:IsA("Part") then
  1245. v.Transparency = 1
  1246. v.BrickColor = BrickColor.new("Royal purple")
  1247. v.Material = "Neon"
  1248. end
  1249. end
  1250. for i, v in pairs(extrawingmod2:GetChildren()) do
  1251. if v:IsA("Part") then
  1252. v.Transparency = 1
  1253. v.BrickColor = BrickColor.new("Royal purple")
  1254. v.Material = "Neon"
  1255. end
  1256. end
  1257. local MAINRUINCOLOR = BrickColor.new("Royal purple")
  1258. ------
  1259. hed.face.Texture = "rbxassetid://608798717"
  1260. ------
  1261. hed.face:Remove''
  1262. hed.Transparency = 0
  1263. local meshx9 = Instance.new('SpecialMesh',hed)
  1264. meshx9.MeshType = 'FileMesh'
  1265. meshx9.MeshId,meshx9.TextureId = 'rbxassetid://21057410','rbxassetid://122569107'
  1266. meshx9.Scale = Vector3.new(1,1,1)
  1267. ------
  1268. for i,v in pairs(char:children()) do
  1269. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  1270. v:Remove()
  1271. end
  1272. end
  1273. shirt = Instance.new("Shirt", char)
  1274. shirt.Name = "Shirt"
  1275. pants = Instance.new("Pants", char)
  1276. pants.Name = "Pants"
  1277. char.Shirt.ShirtTemplate = "rbxassetid://236410507"
  1278. char.Pants.PantsTemplate = "rbxassetid://236412261"
  1279. local p = game.Players.LocalPlayer
  1280. local char = p.Character
  1281. local mouse = p:GetMouse()
  1282. -----------------------
  1283. --[[ Name : Maniac ]]--
  1284. -------------------------------------------------------
  1285. --A script By saba1520
  1286.  
  1287. --Discord Creterisk#2958
  1288.  
  1289. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  1290. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  1291. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  1292. --YOU FUCKING SKIDS,
  1293. --For Those who log/decompile this, If you sell or trade this,
  1294. --and I find out who you are, i will take massive action.
  1295.  
  1296. -------------------------------------------------------
  1297.  
  1298. local FavIDs = {
  1299. 340106355, --Nefl Crystals
  1300. 927529620, --Dimension
  1301. 876981900, --Fantasy
  1302. 398987889, --Ordinary Days
  1303. 1117396305, --Oh wait, it's you.
  1304. 885996042, --Action Winter Journey
  1305. 919231299, --Sprawling Idiot Effigy
  1306. 743466274, --Good Day Sunshine
  1307. 727411183, --Knife Fight
  1308. 1402748531, --The Earth Is Counting On You!
  1309. 595230126 --Robot Language
  1310. }
  1311.  
  1312.  
  1313.  
  1314. --The reality of my life isn't real but a Universe -makhail07
  1315. wait()
  1316. local plr = game:service'Players'.LocalPlayer
  1317. print('Local User is '..plr.Name)
  1318. print('Maniac Loaded')
  1319. print('No, this is not a burn ripoff.')
  1320. local char = plr.Character
  1321. local hum = char.Humanoid
  1322. local hed = char.Head
  1323. local root = char.HumanoidRootPart
  1324. local rootj = root.RootJoint
  1325. local tors = char.Torso
  1326. local ra = char["Right Arm"]
  1327. local la = char["Left Arm"]
  1328. local rl = char["Right Leg"]
  1329. local ll = char["Left Leg"]
  1330. local neck = tors["Neck"]
  1331. local mouse = plr:GetMouse()
  1332. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1333. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1334. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1335. local maincolor = BrickColor.new("Royal purple")
  1336.  
  1337. local BODY = {}
  1338. for _, c in pairs(Character:GetDescendants()) do
  1339. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1340. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1341. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1342. end
  1343. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1344. elseif c:IsA("JointInstance") then
  1345. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1346. end
  1347. end
  1348. for e = 1, #BODY do
  1349. if BODY[e] ~= nil then
  1350. local STUFF = BODY[e]
  1351. local PART = STUFF[1]
  1352. local PARENT = STUFF[2]
  1353. local MATERIAL = STUFF[3]
  1354. local COLOR = STUFF[4]
  1355. local TRANSPARENCY = STUFF[5]
  1356. if PART.ClassName == "Part" and PART ~= RootPart then
  1357. PART.Material = MATERIAL
  1358. PART.Color = COLOR
  1359. PART.Transparency = TRANSPARENCY
  1360. end
  1361. PART.AncestryChanged:Connect(function()
  1362. PART.Parent = PARENT
  1363. end)
  1364. end
  1365. end
  1366.  
  1367. function refit()
  1368. Character.Parent = workspace
  1369. for e = 1, #BODY do
  1370. if BODY[e] ~= nil then
  1371. local STUFF = BODY[e]
  1372. local PART = STUFF[1]
  1373. local PARENT = STUFF[2]
  1374. local MATERIAL = STUFF[3]
  1375. local COLOR = STUFF[4]
  1376. local TRANSPARENCY = STUFF[5]
  1377. if PART.ClassName == "Part" and PART ~= RootPart then
  1378. PART.Material = MATERIAL
  1379. PART.Color = COLOR
  1380. PART.Transparency = TRANSPARENCY
  1381. end
  1382. if PART.Parent ~= PARENT then
  1383. Humanoid:remove()
  1384. PART.Parent = PARENT
  1385. Humanoid = IT("Humanoid",Character)
  1386. end
  1387. end
  1388. end
  1389. end
  1390.  
  1391. Humanoid.Died:connect(function()
  1392. refit()
  1393. end)
  1394.  
  1395. -------------------------------------------------------
  1396. --Start Good Stuff--
  1397. -------------------------------------------------------
  1398. cam = game.Workspace.CurrentCamera
  1399. CF = CFrame.new
  1400. angles = CFrame.Angles
  1401. attack = false
  1402. Euler = CFrame.fromEulerAnglesXYZ
  1403. Rad = math.rad
  1404. IT = Instance.new
  1405. BrickC = BrickColor.new
  1406. Cos = math.cos
  1407. Acos = math.acos
  1408. Sin = math.sin
  1409. Asin = math.asin
  1410. Abs = math.abs
  1411. Mrandom = math.random
  1412. Floor = math.floor
  1413. -------------------------------------------------------
  1414. --End Good Stuff--
  1415. -------------------------------------------------------
  1416. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1417. RSH, LSH = nil, nil
  1418. RW = Instance.new("Weld")
  1419. LW = Instance.new("Weld")
  1420. RH = tors["Right Hip"]
  1421. LH = tors["Left Hip"]
  1422. RSH = tors["Right Shoulder"]
  1423. LSH = tors["Left Shoulder"]
  1424. RSH.Parent = nil
  1425. LSH.Parent = nil
  1426. RW.Name = "RW"
  1427. RW.Part0 = tors
  1428. RW.C0 = CF(1.5, 0.5, 0)
  1429. RW.C1 = CF(0, 0.5, 0)
  1430. RW.Part1 = ra
  1431. RW.Parent = tors
  1432. LW.Name = "LW"
  1433. LW.Part0 = tors
  1434. LW.C0 = CF(-1.5, 0.5, 0)
  1435. LW.C1 = CF(0, 0.5, 0)
  1436. LW.Part1 = la
  1437. LW.Parent = tors
  1438. Effects = {}
  1439. -------------------------------------------------------
  1440. --Start HeartBeat--
  1441. -------------------------------------------------------
  1442. ArtificialHB = Instance.new("BindableEvent", script)
  1443. ArtificialHB.Name = "Heartbeat"
  1444. script:WaitForChild("Heartbeat")
  1445.  
  1446. frame = 1 / 60
  1447. tf = 0
  1448. allowframeloss = false
  1449. tossremainder = false
  1450.  
  1451.  
  1452. lastframe = tick()
  1453. script.Heartbeat:Fire()
  1454.  
  1455.  
  1456. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1457. tf = tf + s
  1458. if tf >= frame then
  1459. if allowframeloss then
  1460. script.Heartbeat:Fire()
  1461. lastframe = tick()
  1462. else
  1463. for i = 1, math.floor(tf / frame) do
  1464. script.Heartbeat:Fire()
  1465. end
  1466. lastframe = tick()
  1467. end
  1468. if tossremainder then
  1469. tf = 0
  1470. else
  1471. tf = tf - frame * math.floor(tf / frame)
  1472. end
  1473. end
  1474. end)
  1475. -------------------------------------------------------
  1476. --End HeartBeat--
  1477. -------------------------------------------------------
  1478.  
  1479. -------------------------------------------------------
  1480. --Start Important Functions--
  1481. -------------------------------------------------------
  1482. function swait(num)
  1483. if num == 0 or num == nil then
  1484. game:service("RunService").Stepped:wait(0)
  1485. else
  1486. for i = 0, num do
  1487. game:service("RunService").Stepped:wait(0)
  1488. end
  1489. end
  1490. end
  1491. function thread(f)
  1492. coroutine.resume(coroutine.create(f))
  1493. end
  1494. function clerp(a, b, t)
  1495. local qa = {
  1496. QuaternionFromCFrame(a)
  1497. }
  1498. local qb = {
  1499. QuaternionFromCFrame(b)
  1500. }
  1501. local ax, ay, az = a.x, a.y, a.z
  1502. local bx, by, bz = b.x, b.y, b.z
  1503. local _t = 1 - t
  1504. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1505. end
  1506. function QuaternionFromCFrame(cf)
  1507. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1508. local trace = m00 + m11 + m22
  1509. if trace > 0 then
  1510. local s = math.sqrt(1 + trace)
  1511. local recip = 0.5 / s
  1512. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1513. else
  1514. local i = 0
  1515. if m00 < m11 then
  1516. i = 1
  1517. end
  1518. if m22 > (i == 0 and m00 or m11) then
  1519. i = 2
  1520. end
  1521. if i == 0 then
  1522. local s = math.sqrt(m00 - m11 - m22 + 1)
  1523. local recip = 0.5 / s
  1524. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1525. elseif i == 1 then
  1526. local s = math.sqrt(m11 - m22 - m00 + 1)
  1527. local recip = 0.5 / s
  1528. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1529. elseif i == 2 then
  1530. local s = math.sqrt(m22 - m00 - m11 + 1)
  1531. local recip = 0.5 / s
  1532. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1533. end
  1534. end
  1535. end
  1536. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1537. local xs, ys, zs = x + x, y + y, z + z
  1538. local wx, wy, wz = w * xs, w * ys, w * zs
  1539. local xx = x * xs
  1540. local xy = x * ys
  1541. local xz = x * zs
  1542. local yy = y * ys
  1543. local yz = y * zs
  1544. local zz = z * zs
  1545. 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))
  1546. end
  1547. function QuaternionSlerp(a, b, t)
  1548. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1549. local startInterp, finishInterp
  1550. if cosTheta >= 1.0E-4 then
  1551. if 1 - cosTheta > 1.0E-4 then
  1552. local theta = math.acos(cosTheta)
  1553. local invSinTheta = 1 / Sin(theta)
  1554. startInterp = Sin((1 - t) * theta) * invSinTheta
  1555. finishInterp = Sin(t * theta) * invSinTheta
  1556. else
  1557. startInterp = 1 - t
  1558. finishInterp = t
  1559. end
  1560. elseif 1 + cosTheta > 1.0E-4 then
  1561. local theta = math.acos(-cosTheta)
  1562. local invSinTheta = 1 / Sin(theta)
  1563. startInterp = Sin((t - 1) * theta) * invSinTheta
  1564. finishInterp = Sin(t * theta) * invSinTheta
  1565. else
  1566. startInterp = t - 1
  1567. finishInterp = t
  1568. end
  1569. 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
  1570. end
  1571. function rayCast(Position, Direction, Range, Ignore)
  1572. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1573. end
  1574. local RbxUtility = LoadLibrary("RbxUtility")
  1575. local Create = RbxUtility.Create
  1576.  
  1577. -------------------------------------------------------
  1578. --Start Damage Function--
  1579. -------------------------------------------------------
  1580. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1581. if hit.Parent == nil then
  1582. return
  1583. end
  1584. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1585. for _, v in pairs(hit.Parent:children()) do
  1586. if v:IsA("Humanoid") then
  1587. h = v
  1588. end
  1589. end
  1590. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1591.  
  1592. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1593. end
  1594.  
  1595. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1596. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1597. if hit.Parent.DebounceHit.Value == true then
  1598. return
  1599. end
  1600. end
  1601. if insta == true then
  1602. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1603. end
  1604. local c = Create("ObjectValue"){
  1605. Name = "creator",
  1606. Value = game:service("Players").LocalPlayer,
  1607. Parent = h,
  1608. }
  1609. game:GetService("Debris"):AddItem(c, .5)
  1610. if HitSound ~= nil and HitPitch ~= nil then
  1611. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1612. end
  1613. local Damage = math.random(minim, maxim)
  1614. local blocked = false
  1615. local block = hit.Parent:findFirstChild("Block")
  1616. if block ~= nil then
  1617. if block.className == "IntValue" then
  1618. if block.Value > 0 then
  1619. blocked = true
  1620. block.Value = block.Value - 1
  1621. print(block.Value)
  1622. end
  1623. end
  1624. end
  1625. if blocked == false then
  1626. h.Health = h.Health - Damage
  1627. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1628. else
  1629. h.Health = h.Health - (Damage / 2)
  1630. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1631. end
  1632. if Type == "Knockdown" then
  1633. local hum = hit.Parent.Humanoid
  1634. hum.PlatformStand = true
  1635. coroutine.resume(coroutine.create(function(HHumanoid)
  1636. swait(1)
  1637. HHumanoid.PlatformStand = false
  1638. end), hum)
  1639. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1640. local bodvol = Create("BodyVelocity"){
  1641. velocity = angle * knockback,
  1642. P = 5000,
  1643. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1644. Parent = hit,
  1645. }
  1646. local rl = Create("BodyAngularVelocity"){
  1647. P = 3000,
  1648. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1649. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1650. Parent = hit,
  1651. }
  1652. game:GetService("Debris"):AddItem(bodvol, .5)
  1653. game:GetService("Debris"):AddItem(rl, .5)
  1654. elseif Type == "Normal" then
  1655. local vp = Create("BodyVelocity"){
  1656. P = 500,
  1657. maxForce = Vector3.new(math.huge, 0, math.huge),
  1658. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1659. }
  1660. if knockback > 0 then
  1661. vp.Parent = hit.Parent.Torso
  1662. end
  1663. game:GetService("Debris"):AddItem(vp, .5)
  1664. elseif Type == "Up" then
  1665. local bodyVelocity = Create("BodyVelocity"){
  1666. velocity = Vector3.new(0, 20, 0),
  1667. P = 5000,
  1668. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1669. Parent = hit,
  1670. }
  1671. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1672. elseif Type == "DarkUp" then
  1673. coroutine.resume(coroutine.create(function()
  1674. for i = 0, 1, 0.1 do
  1675. swait()
  1676. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1677. end
  1678. end))
  1679. local bodyVelocity = Create("BodyVelocity"){
  1680. velocity = Vector3.new(0, 20, 0),
  1681. P = 5000,
  1682. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1683. Parent = hit,
  1684. }
  1685. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1686. elseif Type == "Snare" then
  1687. local bp = Create("BodyPosition"){
  1688. P = 2000,
  1689. D = 100,
  1690. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1691. position = hit.Parent.Torso.Position,
  1692. Parent = hit.Parent.Torso,
  1693. }
  1694. game:GetService("Debris"):AddItem(bp, 1)
  1695. elseif Type == "Freeze" then
  1696. local BodPos = Create("BodyPosition"){
  1697. P = 50000,
  1698. D = 1000,
  1699. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1700. position = hit.Parent.Torso.Position,
  1701. Parent = hit.Parent.Torso,
  1702. }
  1703. local BodGy = Create("BodyGyro") {
  1704. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1705. P = 20e+003,
  1706. Parent = hit.Parent.Torso,
  1707. cframe = hit.Parent.Torso.CFrame,
  1708. }
  1709. hit.Parent.Torso.Anchored = true
  1710. coroutine.resume(coroutine.create(function(Part)
  1711. swait(1.5)
  1712. Part.Anchored = false
  1713. end), hit.Parent.Torso)
  1714. game:GetService("Debris"):AddItem(BodPos, 3)
  1715. game:GetService("Debris"):AddItem(BodGy, 3)
  1716. end
  1717. local debounce = Create("BoolValue"){
  1718. Name = "DebounceHit",
  1719. Parent = hit.Parent,
  1720. Value = true,
  1721. }
  1722. game:GetService("Debris"):AddItem(debounce, Delay)
  1723. c = Create("ObjectValue"){
  1724. Name = "creator",
  1725. Value = Player,
  1726. Parent = h,
  1727. }
  1728. game:GetService("Debris"):AddItem(c, .5)
  1729. end
  1730. end
  1731. -------------------------------------------------------
  1732. --End Damage Function--
  1733. -------------------------------------------------------
  1734.  
  1735. -------------------------------------------------------
  1736. --Start Damage Function Customization--
  1737. -------------------------------------------------------
  1738. function ShowDamage(Pos, Text, Time, Color)
  1739. local Rate = (1 / 30)
  1740. local Pos = (Pos or Vector3.new(0, 0, 0))
  1741. local Text = (Text or "")
  1742. local Time = (Time or 2)
  1743. local Color = (Color or Color3.new(1, 0, 1))
  1744. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1745. EffectPart.Anchored = true
  1746. local BillboardGui = Create("BillboardGui"){
  1747. Size = UDim2.new(3, 0, 3, 0),
  1748. Adornee = EffectPart,
  1749. Parent = EffectPart,
  1750. }
  1751. local TextLabel = Create("TextLabel"){
  1752. BackgroundTransparency = 1,
  1753. Size = UDim2.new(1, 0, 1, 0),
  1754. Text = Text,
  1755. Font = "Bodoni",
  1756. TextColor3 = Color,
  1757. TextScaled = true,
  1758. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  1759. Parent = BillboardGui,
  1760. }
  1761. game.Debris:AddItem(EffectPart, (Time))
  1762. EffectPart.Parent = game:GetService("Workspace")
  1763. delay(0, function()
  1764. local Frames = (Time / Rate)
  1765. for Frame = 1, Frames do
  1766. wait(Rate)
  1767. local Percent = (Frame / Frames)
  1768. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1769. TextLabel.TextTransparency = Percent
  1770. end
  1771. if EffectPart and EffectPart.Parent then
  1772. EffectPart:Destroy()
  1773. end
  1774. end)
  1775. end
  1776. -------------------------------------------------------
  1777. --End Damage Function Customization--
  1778. -------------------------------------------------------
  1779.  
  1780. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1781. for _, c in pairs(workspace:children()) do
  1782. local hum = c:findFirstChild("Humanoid")
  1783. if hum ~= nil then
  1784. local head = c:findFirstChild("Head")
  1785. if head ~= nil then
  1786. local targ = head.Position - Part.Position
  1787. local mag = targ.magnitude
  1788. if magni >= mag and c.Name ~= plr.Name then
  1789. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  1790. end
  1791. end
  1792. end
  1793. end
  1794. end
  1795.  
  1796.  
  1797. CFuncs = {
  1798. Part = {
  1799. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1800. local Part = Create("Part")({
  1801. Parent = Parent,
  1802. Reflectance = Reflectance,
  1803. Transparency = Transparency,
  1804. CanCollide = false,
  1805. Locked = true,
  1806. BrickColor = BrickColor.new(tostring(BColor)),
  1807. Name = Name,
  1808. Size = Size,
  1809. Material = Material
  1810. })
  1811. RemoveOutlines(Part)
  1812. return Part
  1813. end
  1814. },
  1815. Mesh = {
  1816. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1817. local Msh = Create(Mesh)({
  1818. Parent = Part,
  1819. Offset = OffSet,
  1820. Scale = Scale
  1821. })
  1822. if Mesh == "SpecialMesh" then
  1823. Msh.MeshType = MeshType
  1824. Msh.MeshId = MeshId
  1825. end
  1826. return Msh
  1827. end
  1828. },
  1829. Mesh = {
  1830. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1831. local Msh = Create(Mesh)({
  1832. Parent = Part,
  1833. Offset = OffSet,
  1834. Scale = Scale
  1835. })
  1836. if Mesh == "SpecialMesh" then
  1837. Msh.MeshType = MeshType
  1838. Msh.MeshId = MeshId
  1839. end
  1840. return Msh
  1841. end
  1842. },
  1843. Weld = {
  1844. Create = function(Parent, Part0, Part1, C0, C1)
  1845. local Weld = Create("Weld")({
  1846. Parent = Parent,
  1847. Part0 = Part0,
  1848. Part1 = Part1,
  1849. C0 = C0,
  1850. C1 = C1
  1851. })
  1852. return Weld
  1853. end
  1854. },
  1855. Sound = {
  1856. Create = function(id, par, vol, pit)
  1857. coroutine.resume(coroutine.create(function()
  1858. local S = Create("Sound")({
  1859. Volume = vol,
  1860. Pitch = pit or 1,
  1861. SoundId = id,
  1862. Parent = par or workspace
  1863. })
  1864. wait()
  1865. S:play()
  1866. game:GetService("Debris"):AddItem(S, 6)
  1867. end))
  1868. end
  1869. },
  1870. ParticleEmitter = {
  1871. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1872. local fp = Create("ParticleEmitter")({
  1873. Parent = Parent,
  1874. Color = ColorSequence.new(Color1, Color2),
  1875. LightEmission = LightEmission,
  1876. Size = Size,
  1877. Texture = Texture,
  1878. Transparency = Transparency,
  1879. ZOffset = ZOffset,
  1880. Acceleration = Accel,
  1881. Drag = Drag,
  1882. LockedToPart = LockedToPart,
  1883. VelocityInheritance = VelocityInheritance,
  1884. EmissionDirection = EmissionDirection,
  1885. Enabled = Enabled,
  1886. Lifetime = LifeTime,
  1887. Rate = Rate,
  1888. Rotation = Rotation,
  1889. RotSpeed = RotSpeed,
  1890. Speed = Speed,
  1891. VelocitySpread = VelocitySpread
  1892. })
  1893. return fp
  1894. end
  1895. }
  1896. }
  1897. function RemoveOutlines(part)
  1898. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1899. end
  1900. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1901. local Part = Create("Part")({
  1902. formFactor = FormFactor,
  1903. Parent = Parent,
  1904. Reflectance = Reflectance,
  1905. Transparency = Transparency,
  1906. CanCollide = false,
  1907. Locked = true,
  1908. BrickColor = BrickColor.new(tostring(BColor)),
  1909. Name = Name,
  1910. Size = Size,
  1911. Material = Material
  1912. })
  1913. RemoveOutlines(Part)
  1914. return Part
  1915. end
  1916. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1917. local Msh = Create(Mesh)({
  1918. Parent = Part,
  1919. Offset = OffSet,
  1920. Scale = Scale
  1921. })
  1922. if Mesh == "SpecialMesh" then
  1923. Msh.MeshType = MeshType
  1924. Msh.MeshId = MeshId
  1925. end
  1926. return Msh
  1927. end
  1928. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1929. local Weld = Create("Weld")({
  1930. Parent = Parent,
  1931. Part0 = Part0,
  1932. Part1 = Part1,
  1933. C0 = C0,
  1934. C1 = C1
  1935. })
  1936. return Weld
  1937. end
  1938.  
  1939.  
  1940. -------------------------------------------------------
  1941. --Start Effect Function--
  1942. -------------------------------------------------------
  1943. EffectModel = Instance.new("Model", char)
  1944. Effects = {
  1945. Block = {
  1946. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1947. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1948. prt.Anchored = true
  1949. prt.CFrame = cframe
  1950. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1951. game:GetService("Debris"):AddItem(prt, 10)
  1952. if Type == 1 or Type == nil then
  1953. table.insert(Effects, {
  1954. prt,
  1955. "Block1",
  1956. delay,
  1957. x3,
  1958. y3,
  1959. z3,
  1960. msh
  1961. })
  1962. elseif Type == 2 then
  1963. table.insert(Effects, {
  1964. prt,
  1965. "Block2",
  1966. delay,
  1967. x3,
  1968. y3,
  1969. z3,
  1970. msh
  1971. })
  1972. else
  1973. table.insert(Effects, {
  1974. prt,
  1975. "Block3",
  1976. delay,
  1977. x3,
  1978. y3,
  1979. z3,
  1980. msh
  1981. })
  1982. end
  1983. end
  1984. },
  1985. Sphere = {
  1986. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1987. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1988. prt.Anchored = true
  1989. prt.CFrame = cframe
  1990. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1991. game:GetService("Debris"):AddItem(prt, 10)
  1992. table.insert(Effects, {
  1993. prt,
  1994. "Cylinder",
  1995. delay,
  1996. x3,
  1997. y3,
  1998. z3,
  1999. msh
  2000. })
  2001. end
  2002. },
  2003. Cylinder = {
  2004. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2005. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2006. prt.Anchored = true
  2007. prt.CFrame = cframe
  2008. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2009. game:GetService("Debris"):AddItem(prt, 10)
  2010. table.insert(Effects, {
  2011. prt,
  2012. "Cylinder",
  2013. delay,
  2014. x3,
  2015. y3,
  2016. z3,
  2017. msh
  2018. })
  2019. end
  2020. },
  2021. Wave = {
  2022. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2023. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2024. prt.Anchored = true
  2025. prt.CFrame = cframe
  2026. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  2027. game:GetService("Debris"):AddItem(prt, 10)
  2028. table.insert(Effects, {
  2029. prt,
  2030. "Cylinder",
  2031. delay,
  2032. x3 / 60,
  2033. y3 / 60,
  2034. z3 / 60,
  2035. msh
  2036. })
  2037. end
  2038. },
  2039. Ring = {
  2040. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2041. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2042. prt.Anchored = true
  2043. prt.CFrame = cframe
  2044. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2045. game:GetService("Debris"):AddItem(prt, 10)
  2046. table.insert(Effects, {
  2047. prt,
  2048. "Cylinder",
  2049. delay,
  2050. x3,
  2051. y3,
  2052. z3,
  2053. msh
  2054. })
  2055. end
  2056. },
  2057. Break = {
  2058. Create = function(brickcolor, cframe, x1, y1, z1)
  2059. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2060. prt.Anchored = true
  2061. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2062. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2063. local num = math.random(10, 50) / 1000
  2064. game:GetService("Debris"):AddItem(prt, 10)
  2065. table.insert(Effects, {
  2066. prt,
  2067. "Shatter",
  2068. num,
  2069. prt.CFrame,
  2070. math.random() - math.random(),
  2071. 0,
  2072. math.random(50, 100) / 100
  2073. })
  2074. end
  2075. },
  2076. Spiral = {
  2077. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2078. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2079. prt.Anchored = true
  2080. prt.CFrame = cframe
  2081. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2082. game:GetService("Debris"):AddItem(prt, 10)
  2083. table.insert(Effects, {
  2084. prt,
  2085. "Cylinder",
  2086. delay,
  2087. x3,
  2088. y3,
  2089. z3,
  2090. msh
  2091. })
  2092. end
  2093. },
  2094. Push = {
  2095. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2096. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2097. prt.Anchored = true
  2098. prt.CFrame = cframe
  2099. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2100. game:GetService("Debris"):AddItem(prt, 10)
  2101. table.insert(Effects, {
  2102. prt,
  2103. "Cylinder",
  2104. delay,
  2105. x3,
  2106. y3,
  2107. z3,
  2108. msh
  2109. })
  2110. end
  2111. }
  2112. }
  2113. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  2114. local fp = IT("Part")
  2115. fp.formFactor = formfactor
  2116. fp.Parent = parent
  2117. fp.Reflectance = reflectance
  2118. fp.Transparency = transparency
  2119. fp.CanCollide = false
  2120. fp.Locked = true
  2121. fp.BrickColor = brickcolor
  2122. fp.Name = name
  2123. fp.Size = size
  2124. fp.Position = tors.Position
  2125. RemoveOutlines(fp)
  2126. fp.Material = "SmoothPlastic"
  2127. fp:BreakJoints()
  2128. return fp
  2129. end
  2130.  
  2131. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2132. local mesh = IT(Mesh)
  2133. mesh.Parent = part
  2134. if Mesh == "SpecialMesh" then
  2135. mesh.MeshType = meshtype
  2136. if meshid ~= "nil" then
  2137. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  2138. end
  2139. end
  2140. mesh.Offset = offset
  2141. mesh.Scale = scale
  2142. return mesh
  2143. end
  2144.  
  2145. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  2146. local type = type
  2147. local rng = Instance.new("Part", char)
  2148. rng.Anchored = true
  2149. rng.BrickColor = color
  2150. rng.CanCollide = false
  2151. rng.FormFactor = 3
  2152. rng.Name = "Ring"
  2153. rng.Material = "Neon"
  2154. rng.Size = Vector3.new(1, 1, 1)
  2155. rng.Transparency = 0
  2156. rng.TopSurface = 0
  2157. rng.BottomSurface = 0
  2158. rng.CFrame = pos
  2159. local rngm = Instance.new("SpecialMesh", rng)
  2160. rngm.MeshType = MType
  2161. rngm.Scale = scale
  2162. local scaler2 = 1
  2163. if type == "Add" then
  2164. scaler2 = 1 * value
  2165. elseif type == "Divide" then
  2166. scaler2 = 1 / value
  2167. end
  2168. coroutine.resume(coroutine.create(function()
  2169. for i = 0, 10 / bonuspeed, 0.1 do
  2170. swait()
  2171. if type == "Add" then
  2172. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2173. elseif type == "Divide" then
  2174. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2175. end
  2176. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2177. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  2178. end
  2179. rng:Destroy()
  2180. end))
  2181. end
  2182.  
  2183. function Eviscerate(dude)
  2184. if dude.Name ~= char then
  2185. local bgf = IT("BodyGyro", dude.Head)
  2186. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  2187. local val = IT("BoolValue", dude)
  2188. val.Name = "IsHit"
  2189. local ds = coroutine.wrap(function()
  2190. dude:WaitForChild("Head"):BreakJoints()
  2191. wait(0.5)
  2192. target = nil
  2193. coroutine.resume(coroutine.create(function()
  2194. for i, v in pairs(dude:GetChildren()) do
  2195. if v:IsA("Accessory") then
  2196. v:Destroy()
  2197. end
  2198. if v:IsA("Humanoid") then
  2199. v:Destroy()
  2200. end
  2201. if v:IsA("CharacterMesh") then
  2202. v:Destroy()
  2203. end
  2204. if v:IsA("Model") then
  2205. v:Destroy()
  2206. end
  2207. if v:IsA("Part") or v:IsA("MeshPart") then
  2208. for x, o in pairs(v:GetChildren()) do
  2209. if o:IsA("Decal") then
  2210. o:Destroy()
  2211. end
  2212. end
  2213. coroutine.resume(coroutine.create(function()
  2214. v.Material = "Neon"
  2215. v.CanCollide = false
  2216. local PartEmmit1 = IT("ParticleEmitter", v)
  2217. PartEmmit1.LightEmission = 1
  2218. PartEmmit1.Texture = "rbxassetid://284205403"
  2219. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2220. PartEmmit1.Rate = 150
  2221. PartEmmit1.Lifetime = NumberRange.new(1)
  2222. PartEmmit1.Size = NumberSequence.new({
  2223. NumberSequenceKeypoint.new(0, 0.75, 0),
  2224. NumberSequenceKeypoint.new(1, 0, 0)
  2225. })
  2226. PartEmmit1.Transparency = NumberSequence.new({
  2227. NumberSequenceKeypoint.new(0, 0, 0),
  2228. NumberSequenceKeypoint.new(1, 1, 0)
  2229. })
  2230. PartEmmit1.Speed = NumberRange.new(0, 0)
  2231. PartEmmit1.VelocitySpread = 30000
  2232. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  2233. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  2234. local BodPoss = IT("BodyPosition", v)
  2235. BodPoss.P = 3000
  2236. BodPoss.D = 1000
  2237. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2238. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2239. v.Color = maincolor.Color
  2240. coroutine.resume(coroutine.create(function()
  2241. for i = 0, 49 do
  2242. swait(1)
  2243. v.Transparency = v.Transparency + 0.08
  2244. end
  2245. wait(0.5)
  2246. PartEmmit1.Enabled = false
  2247. wait(3)
  2248. v:Destroy()
  2249. dude:Destroy()
  2250. end))
  2251. end))
  2252. end
  2253. end
  2254. end))
  2255. end)
  2256. ds()
  2257. end
  2258. end
  2259.  
  2260. function FindNearestHead(Position, Distance, SinglePlayer)
  2261. if SinglePlayer then
  2262. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  2263. end
  2264. local List = {}
  2265. for i, v in pairs(workspace:GetChildren()) do
  2266. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  2267. table.insert(List, v)
  2268. end
  2269. end
  2270. return List
  2271. end
  2272.  
  2273. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  2274. local type = type
  2275. local rng = Instance.new("Part", char)
  2276. rng.Anchored = true
  2277. rng.BrickColor = color
  2278. rng.CanCollide = false
  2279. rng.FormFactor = 3
  2280. rng.Name = "Ring"
  2281. rng.Material = "Neon"
  2282. rng.Size = Vector3.new(1, 1, 1)
  2283. rng.Transparency = 0
  2284. rng.TopSurface = 0
  2285. rng.BottomSurface = 0
  2286. rng.CFrame = pos
  2287. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2288. local rngm = Instance.new("SpecialMesh", rng)
  2289. rngm.MeshType = MType
  2290. rngm.Scale = Vector3.new(x1, y1, z1)
  2291. local scaler2 = 1
  2292. local speeder = FastSpeed
  2293. if type == "Add" then
  2294. scaler2 = 1 * value
  2295. elseif type == "Divide" then
  2296. scaler2 = 1 / value
  2297. end
  2298. coroutine.resume(coroutine.create(function()
  2299. for i = 0, 10 / bonuspeed, 0.1 do
  2300. swait()
  2301. if type == "Add" then
  2302. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2303. elseif type == "Divide" then
  2304. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2305. end
  2306. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2307. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2308. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2309. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2310. end
  2311. rng:Destroy()
  2312. end))
  2313. end
  2314.  
  2315. function SoulSteal(dude)
  2316. if dude.Name ~= char then
  2317. local bgf = IT("BodyGyro", dude.Head)
  2318. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  2319. local val = IT("BoolValue", dude)
  2320. val.Name = "IsHit"
  2321. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  2322. local soulst = coroutine.wrap(function()
  2323. local soul = Instance.new("Part",dude)
  2324. soul.Size = Vector3.new(1,1,1)
  2325. soul.CanCollide = false
  2326. soul.Anchored = false
  2327. soul.Position = torso.Position
  2328. soul.Transparency = 1
  2329. local PartEmmit1 = IT("ParticleEmitter", soul)
  2330. PartEmmit1.LightEmission = 1
  2331. PartEmmit1.Texture = "rbxassetid://569507414"
  2332. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2333. PartEmmit1.Rate = 250
  2334. PartEmmit1.Lifetime = NumberRange.new(1.6)
  2335. PartEmmit1.Size = NumberSequence.new({
  2336. NumberSequenceKeypoint.new(0, 1, 0),
  2337. NumberSequenceKeypoint.new(1, 0, 0)
  2338. })
  2339. PartEmmit1.Transparency = NumberSequence.new({
  2340. NumberSequenceKeypoint.new(0, 0, 0),
  2341. NumberSequenceKeypoint.new(1, 1, 0)
  2342. })
  2343. PartEmmit1.Speed = NumberRange.new(0, 0)
  2344. PartEmmit1.VelocitySpread = 30000
  2345. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  2346. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  2347. local BodPoss = IT("BodyPosition", soul)
  2348. BodPoss.P = 3000
  2349. BodPoss.D = 1000
  2350. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2351. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2352. wait(1.6)
  2353. soul.Touched:connect(function(hit)
  2354. if hit.Parent == char then
  2355. soul:Destroy()
  2356. end
  2357. end)
  2358. wait(1.2)
  2359. while soul do
  2360. swait()
  2361. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2362. BodPoss.Position = tors.Position
  2363. end
  2364. end)
  2365. soulst()
  2366. end
  2367. end
  2368. function FaceMouse()
  2369. local Cam = workspace.CurrentCamera
  2370. return {
  2371. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2372. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2373. }
  2374. end
  2375. -------------------------------------------------------
  2376. --End Effect Function--
  2377. -------------------------------------------------------
  2378. function Cso(ID, PARENT, VOLUME, PITCH)
  2379. local NSound = nil
  2380. coroutine.resume(coroutine.create(function()
  2381. NSound = IT("Sound", PARENT)
  2382. NSound.Volume = VOLUME
  2383. NSound.Pitch = PITCH
  2384. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  2385. swait()
  2386. NSound:play()
  2387. game:GetService("Debris"):AddItem(NSound, 10)
  2388. end))
  2389. return NSound
  2390. end
  2391. function CameraEnshaking(Length, Intensity)
  2392. coroutine.resume(coroutine.create(function()
  2393. local intensity = 1 * Intensity
  2394. local rotM = 0.01 * Intensity
  2395. for i = 0, Length, 0.1 do
  2396. swait()
  2397. intensity = intensity - 0.05 * Intensity / Length
  2398. rotM = rotM - 5.0E-4 * Intensity / Length
  2399. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  2400. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  2401. end
  2402. hum.CameraOffset = Vector3.new(0, 0, 0)
  2403. end))
  2404. end
  2405. -------------------------------------------------------
  2406. --End Important Functions--
  2407. -------------------------------------------------------
  2408.  
  2409.  
  2410. -------------------------------------------------------
  2411. --Start Customization--
  2412. -------------------------------------------------------
  2413. local Player_Size = 1
  2414. if Player_Size ~= 1 then
  2415. root.Size = root.Size * Player_Size
  2416. tors.Size = tors.Size * Player_Size
  2417. hed.Size = hed.Size * Player_Size
  2418. ra.Size = ra.Size * Player_Size
  2419. la.Size = la.Size * Player_Size
  2420. rl.Size = rl.Size * Player_Size
  2421. ll.Size = ll.Size * Player_Size
  2422. ----------------------------------------------------------------------------------
  2423. rootj.Parent = root
  2424. neck.Parent = tors
  2425. RW.Parent = tors
  2426. LW.Parent = tors
  2427. RH.Parent = tors
  2428. LH.Parent = tors
  2429. ----------------------------------------------------------------------------------
  2430. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2431. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2432. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  2433. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  2434. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  2435. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  2436. ----------------------------------------------------------------------------------
  2437. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2438. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2439. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2440. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2441. --hat.Parent = Character
  2442. end
  2443. ----------------------------------------------------------------------------------
  2444. kan = Instance.new("Sound",char)
  2445. kan.Volume = 1.25
  2446. kan.TimePosition = 0
  2447. kan.PlaybackSpeed = 1
  2448. kan.Pitch = 1
  2449. kan.SoundId = "rbxassetid://285883918"
  2450. kan.Name = "wrecked"
  2451. kan.Looped = true
  2452. kan:Play()
  2453. function newThemeCust(ID,timepos,pitch,vol)
  2454. local kanz = kan
  2455. kanz:Stop()
  2456. kanz.Volume = vol
  2457. kanz.TimePosition = timepos
  2458. kanz.PlaybackSpeed = pitch
  2459. kanz.Pitch = pitch
  2460. kanz.SoundId = ID
  2461. kanz.Name = "wrecked"
  2462. kanz.Looped = true
  2463. kanz:Play()
  2464. coroutine.resume(coroutine.create(function()
  2465. wait(0.05)
  2466. end))
  2467. end
  2468.  
  2469. function newTheme(ID,timepos,pitch,vol)
  2470. local kanz = kan
  2471. --kanz:Stop()
  2472. --kanz.Volume = vol
  2473. --kanz.TimePosition = timepos
  2474. kanz.PlaybackSpeed = pitch
  2475. kanz.Pitch = pitch
  2476. kanz.SoundId = ID
  2477. kanz.Name = "wrecked"
  2478. kanz.Looped = true
  2479. kanz.Volume = 0.3
  2480. --kanz:Play()
  2481. --coroutine.resume(coroutine.create(function()
  2482. --wait(0.05)
  2483. --end))
  2484. end
  2485.  
  2486. function newThemeCust(ID,timepos,pitch,vol)
  2487. local kanz = kan
  2488. kanz:Stop()
  2489. kanz.Volume = vol
  2490. kanz.TimePosition = timepos
  2491. kanz.PlaybackSpeed = pitch
  2492. kanz.Pitch = pitch
  2493. kanz.SoundId = ID
  2494. kanz.Name = "wrecked"
  2495. kanz.Looped = true
  2496. kanz:Play()
  2497. coroutine.resume(coroutine.create(function()
  2498. wait(0.05)
  2499. end))
  2500. end
  2501.  
  2502. ----------------------------------------------------------------------------------
  2503. local equipped = false
  2504. local idle = 0
  2505. local change = 1
  2506. local val = 0
  2507. local toim = 0
  2508. local idleanim = 0.4
  2509. local sine = 0
  2510. local Sit = 1
  2511. ----------------------------------------------------------------------------------
  2512. hum.WalkSpeed = 8
  2513. hum.JumpPower = 57
  2514. hum.Animator.Parent = nil
  2515. ----------------------------------------------------------------------------------
  2516. local BlurAmount = 25
  2517. local Last = cam.CFrame.lookVector
  2518. local Blur = Instance.new("BlurEffect",cam)
  2519. game.Workspace.Changed:connect(function(p)
  2520. if p == "CurrentCamera" then
  2521. cam = game.Workspace.CurrentCamera
  2522. if Blur and Blur.Parent then
  2523. Blur.Parent = cam
  2524. else
  2525. Blur = Instance.new("BlurEffect",cam)
  2526. end
  2527. end
  2528. end)
  2529. -------------------------------------------------------
  2530. --End Customization--
  2531. -------------------------------------------------------
  2532.  
  2533.  
  2534. -------------------------------------------------------
  2535. --Start Attacks N Stuff--
  2536. -------------------------------------------------------
  2537. function SunBlastWIP()
  2538. attack = true
  2539. hum.WalkSpeed = 3.01
  2540. for i = 0, 4, 0.1 do
  2541. swait()
  2542. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  2543. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2)
  2544. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  2545. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  2546. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  2547. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  2548. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  2549. end
  2550. for i = 0, 2, 0.1 do
  2551. swait()
  2552. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  2553. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(40)), 0.2)
  2554. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  2555. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-25)), 0.2)
  2556. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(25)), 0.2)
  2557. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  2558. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  2559. end
  2560. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  2561. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  2562. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  2563. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  2564. CameraEnshaking(4, 5)
  2565. Cso("206049428", char, 10, 1)
  2566. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  2567. if v:FindFirstChild("Head") then
  2568. Eviscerate(v)
  2569. end
  2570. end
  2571. for i = 0, 2, 0.1 do
  2572. swait()
  2573. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  2574. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2)
  2575. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  2576. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  2577. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  2578. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  2579. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  2580. end
  2581. hum.WalkSpeed = 16
  2582. attack = false
  2583. end
  2584. function attackone()
  2585. attack = true
  2586. hum.WalkSpeed = 3.01
  2587. for i = 0, 3, 0.1 do
  2588. swait()
  2589. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.2)
  2590. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(-40)), 0.1)
  2591. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.1)
  2592. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-7)), 0.1)
  2593. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.1)
  2594. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .3* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(45)), 0.3)
  2595. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
  2596. end
  2597. Cso("159882584", ra, 10, 1)
  2598. Cso("203426541", ra, 10, 1)
  2599. for i = 0, 2, 0.1 do
  2600. swait()
  2601. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), -0.3)
  2602. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3)
  2603. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.2)
  2604. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.2)
  2605. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.2)
  2606. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.2)
  2607. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  2608. end
  2609. hum.WalkSpeed = 16
  2610. attack = false
  2611. end
  2612. function attacktwo()
  2613. attack = true
  2614. hum.WalkSpeed = 3.01
  2615. for i = 0, 2, 0.1 do
  2616. swait()
  2617. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  2618. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  2619. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  2620. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.1)
  2621. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.1)
  2622. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.2)
  2623. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.2)
  2624. end
  2625. Cso("159972627", rl, 10, 1)
  2626. Cso("203426541", rl, 10, 1)
  2627. for i = 0, 3, 0.1 do
  2628. swait()
  2629. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), -0.1)
  2630. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.1)
  2631. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.1)
  2632. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.1)
  2633. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.1)
  2634. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.2)
  2635. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.2)
  2636. end
  2637. hum.WalkSpeed = 16
  2638. attack = false
  2639. end
  2640. function attackthree()
  2641. attack = true
  2642. hum.WalkSpeed = 3.01
  2643. for i = 0, 2.3, 0.1 do
  2644. swait()
  2645. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  2646. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.1)
  2647. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25), Rad(0), Rad(0)), 0.1)
  2648. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.1)
  2649. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.1)
  2650. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-7.5 * Sin(sine / 20)), Rad(10)), 0.2)
  2651. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-10)), 0.2)
  2652. end
  2653. Cso("541909867", rl, 10, 1)
  2654. Cso("203426541", hed, 10, 1)
  2655. for i = 0, 2, 0.1 do
  2656. swait()
  2657. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  2658. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  2659. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.1)
  2660. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.1)
  2661. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.1)
  2662. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(-7.5 * Sin(sine / 20)), Rad(10)), 0.2)
  2663. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(7.5 * Sin(sine / 20)), Rad(-10)), 0.2)
  2664. end
  2665. hum.WalkSpeed = 16
  2666. attack = false
  2667. end
  2668. function Taunt1()
  2669. attack = true
  2670. hum.WalkSpeed = 3.01
  2671. Cso("159882303", hed, 10, 1)
  2672. for i = 0, 9, 0.1 do
  2673. swait()
  2674. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  2675. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1)
  2676. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  2677. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  2678. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  2679. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(10), Rad(-20), Rad(-90)), 0.2)
  2680. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0 + 0.025 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(6), Rad(20), Rad(90)), 0.2)
  2681. end
  2682. hum.WalkSpeed = 16
  2683. attack = false
  2684. end
  2685. function MlgTransformation()
  2686. attack = true
  2687. hum.WalkSpeed = 3.01
  2688. Cso("250299736", hed, 10, 1)
  2689. for i = 0, 9, 0.1 do
  2690. swait()
  2691. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  2692. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1)
  2693. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  2694. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  2695. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  2696. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(10), Rad(-20), Rad(-90)), 0.2)
  2697. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0 + 0.025 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(6), Rad(20), Rad(90)), 0.2)
  2698. end
  2699. hum.WalkSpeed = 16
  2700. attack = false
  2701. wait(1)
  2702. newThemeCust("rbxassetid://177080835",0,1,1)
  2703. attack = true
  2704. hum.WalkSpeed = 0
  2705. MAINRUINCOLOR = BrickColor.new("Bright green")
  2706. for i = 0, 24, 0.1 do
  2707. swait()
  2708. sphereMK(1,-2,"Add",tors.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,15,-0.025,MAINRUINCOLOR,100)
  2709. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  2710. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  2711. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  2712. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  2713. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  2714. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  2715. end
  2716. CameraEnshaking(10,5)
  2717. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  2718. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  2719. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  2720. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  2721. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  2722. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  2723. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  2724. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  2725. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  2726. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  2727. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  2728. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  2729. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  2730. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  2731. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  2732. for i = 0, 49 do
  2733. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,350,-1,MAINRUINCOLOR,0)
  2734. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,300,-0.5,MAINRUINCOLOR,0)
  2735. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,250,-0.5,MAINRUINCOLOR,0)
  2736. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-0.5,MAINRUINCOLOR,0)
  2737. end
  2738. ModeOfGlitch = 666
  2739. storehumanoidWS = 16
  2740. hum.WalkSpeed = 16
  2741. rainbowmode = false
  2742. chaosmode = false
  2743. tl1.Enabled = true
  2744. tl2.Enabled = true
  2745. tl3.Enabled = true
  2746. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2747. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2748. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2749. for i, v in pairs(mw2:GetChildren()) do
  2750. if v:IsA("Part") then
  2751. v.BrickColor = MAINRUINCOLOR
  2752. v.Material = "Neon"
  2753. end
  2754. end
  2755. for i, v in pairs(mw1:GetChildren()) do
  2756. if v:IsA("Part") then
  2757. v.Transparency = 0
  2758. v.BrickColor = MAINRUINCOLOR
  2759. v.Material = "Neon"
  2760. end
  2761. end
  2762. for i, v in pairs(m:GetChildren()) do
  2763. if v:IsA("Part") then
  2764. v.Color = Color3.new(1,0,0)
  2765. v.Material = "Neon"
  2766. end
  2767. end
  2768. for i, v in pairs(m2:GetChildren()) do
  2769. if v:IsA("Part") then
  2770. v.Color = Color3.new(1,0,0)
  2771. v.Material = "Neon"
  2772. end
  2773. end
  2774. for i, v in pairs(m3:GetChildren()) do
  2775. if v:IsA("Part") then
  2776. v.Color = Color3.new(1,0,0)
  2777. v.Material = "Neon"
  2778. end
  2779. end
  2780. for i, v in pairs(extrawingmod1:GetChildren()) do
  2781. if v:IsA("Part") then
  2782. v.Transparency = 0
  2783. v.Color = Color3.new(1,0,0)
  2784. v.Material = "Neon"
  2785. end
  2786. end
  2787. for i, v in pairs(extrawingmod2:GetChildren()) do
  2788. if v:IsA("Part") then
  2789. v.Transparency = 0
  2790. v.Color = Color3.new(1,0,0)
  2791. v.Material = "Neon"
  2792. end
  2793. attack = false
  2794. end
  2795. for i,v in pairs(char:children()) do
  2796. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  2797. v:Remove()
  2798. end
  2799. end
  2800. shirt = Instance.new("Shirt", char)
  2801. shirt.Name = "Shirt"
  2802. pants = Instance.new("Pants", char)
  2803. pants.Name = "Pants"
  2804. char.Shirt.ShirtTemplate = "rbxassetid://204870693"
  2805. char.Pants.PantsTemplate = "rbxassetid://228099426"
  2806. local p = game.Players.LocalPlayer
  2807. local char = p.Character
  2808. local mouse = p:GetMouse()
  2809. local meshx9 = Instance.new('SpecialMesh',hed)
  2810. meshx9.MeshType = 'FileMesh'
  2811. meshx9.MeshId,meshx9.TextureId = 'rbxassetid://21057410','rbxassetid://177877792'
  2812. meshx9.Scale = Vector3.new(1,1,1)
  2813. end
  2814.  
  2815. function Transformation()
  2816. ATTACK = true
  2817. Rooted = false
  2818. TAUNT = true
  2819. for i=0, 0.1, 0.1 / Animation_Speed do
  2820. Swait()
  2821. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2822. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2823. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2824. end
  2825. for i=0, 3, 0.1 / Animation_Speed do
  2826. Swait()
  2827. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2828. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2829. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2830. end
  2831. CreateSound(363808674, Torso, 10, 1.2)
  2832. for i=0, 1, .3 / Animation_Speed do
  2833. Swait()
  2834. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  2835. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  2836. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2837. end
  2838. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2839. CreateSound(649634100, Torso, 10, 0.8)
  2840. MAINRUINCOLOR = BrickColor.new("Really red")
  2841. for i, v in pairs(mw2:GetChildren()) do
  2842. if v:IsA("Part") then
  2843. v.BrickColor = MAINRUINCOLOR
  2844. v.Material = "Neon"
  2845. end
  2846. end
  2847. for i, v in pairs(mw1:GetChildren()) do
  2848. if v:IsA("Part") then
  2849. v.Transparency = 1
  2850. v.BrickColor = MAINRUINCOLOR
  2851. v.Material = "Neon"
  2852. end
  2853. end
  2854. for i, v in pairs(m:GetChildren()) do
  2855. if v:IsA("Part") then
  2856. v.BrickColor = BrickColor.new("Really red")
  2857. v.Material = "Ice"
  2858. end
  2859. end
  2860. for i, v in pairs(m2:GetChildren()) do
  2861. if v:IsA("Part") then
  2862. v.BrickColor = BrickColor.new("Really red")
  2863. v.Material = "Glass"
  2864. end
  2865. end
  2866. for i, v in pairs(m3:GetChildren()) do
  2867. if v:IsA("Part") then
  2868. v.BrickColor = BrickColor.new("Really red")
  2869. v.Material = "Neon"
  2870. end
  2871. end
  2872. for i, v in pairs(extrawingmod1:GetChildren()) do
  2873. if v:IsA("Part") then
  2874. v.Transparency = 1
  2875. v.BrickColor = BrickColor.new("Really red")
  2876. v.Material = "Neon"
  2877. end
  2878. end
  2879. for i, v in pairs(extrawingmod2:GetChildren()) do
  2880. if v:IsA("Part") then
  2881. v.Transparency = 1
  2882. v.BrickColor = BrickColor.new("Really red")
  2883. v.Material = "Neon"
  2884. end
  2885. end
  2886. for i=0, 0.01, 0.1 / Animation_Speed do
  2887. Swait()
  2888. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  2889. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2890. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2891. end
  2892. ATTACK = false
  2893. Rooted = false
  2894. TAUNT = false
  2895. newTheme("rbxassetid://537698001",0,1,10)
  2896. shirt = Instance.new("Shirt", char)
  2897. shirt.Name = "Shirt"
  2898. pants = Instance.new("Pants", char)
  2899. pants.Name = "Pants"
  2900. char.Shirt.ShirtTemplate = "rbxassetid://236410507"
  2901. char.Pants.PantsTemplate = "rbxassetid://236412261"
  2902. local p = game.Players.LocalPlayer
  2903. local char = p.Character
  2904. local mouse = p:GetMouse()
  2905. local meshx9 = Instance.new('SpecialMesh',hed)
  2906. meshx9.MeshType = 'FileMesh'
  2907. meshx9.MeshId,meshx9.TextureId = 'rbxassetid://21057410','rbxassetid://31100020'
  2908. meshx9.Scale = Vector3.new(1,1,1)
  2909. end
  2910.  
  2911. function WarpWIP()
  2912. attack = true
  2913. for i = 0, 1.6, 0.1 do
  2914. swait()
  2915. hum.CameraOffset = Vector3.new(0, 1 + 0.1 * Cos(sine / 20), 0)
  2916. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  2917. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(0)), 0.2)
  2918. RW.C0 = clerp(RW.C0, CF(1.1, 0.5, -0.4) * angles(Rad(80), Rad(0 * Cos(sine / 20)), Rad(-45)), 0.2)
  2919. LW.C0 = clerp(LW.C0, CF(-1.1, 0.5, -0.4) * angles(Rad(70), Rad(0), Rad(55)), 0.2)
  2920. RH.C0 = clerp(RH.C0, CF(1, -0.1 - 0.1 * Cos(sine / 20), -0.6) * RHCF * angles(Rad(-1 + 1 * Cos(sine / 20)), Rad(0), Rad(-20 - 2 * Cos(sine / 20))), 0.2)
  2921. LH.C0 = clerp(LH.C0, CF(-1, -0.1 - 0.1 * Cos(sine / 20), -0.6) * LHCF * angles(Rad(-1 + 1 * Cos(sine / 20)), Rad(0), Rad(20 + 2 * Cos(sine / 20))), 0.2)
  2922. end
  2923. for i = 1, 10 do
  2924. g = char:GetChildren()
  2925. for i = 1, #g do
  2926. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  2927. g[i].Transparency = g[i].Transparency + 0.1
  2928. elseif g[i].ClassName == "Accessory" then
  2929. g[i].Handle.Transparency = g[i].Handle.Transparency + 0.1
  2930. end
  2931. end
  2932. swait()
  2933. end
  2934. local ORIGINPOS = root.Position
  2935. root.CFrame = CF(Vector3.new(mouse.Hit.p.X,root.Position.Y,mouse.Hit.p.Z),ORIGINPOS)
  2936. for i = 1, 10 do
  2937. g = char:GetChildren()
  2938. for i = 1, #g do
  2939. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  2940. g[i].Transparency = g[i].Transparency - 0.1
  2941. elseif g[i].ClassName == "Accessory" then
  2942. g[i].Handle.Transparency = g[i].Handle.Transparency - 0.1
  2943. end
  2944. end
  2945. swait()
  2946. end
  2947. attack = false
  2948. end
  2949. function ScaryTransformation()
  2950. ATTACK = true
  2951. Rooted = false
  2952. TAUNT = true
  2953. for i=0, 0.1, 0.1 / Animation_Speed do
  2954. Swait()
  2955. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2956. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2957. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2958. end
  2959. for i=0, 3, 0.1 / Animation_Speed do
  2960. Swait()
  2961. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2962. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2963. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2964. end
  2965. CreateSound(363808674, Torso, 10, 1.2)
  2966. for i=0, 1, .3 / Animation_Speed do
  2967. Swait()
  2968. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  2969. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  2970. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2971. end
  2972. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Magenta").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2973. CreateSound(649634100, Torso, 10, 0.8)
  2974. MAINRUINCOLOR = BrickColor.new("Really black")
  2975. for i, v in pairs(mw2:GetChildren()) do
  2976. if v:IsA("Part") then
  2977. v.BrickColor = MAINRUINCOLOR
  2978. v.Material = "Neon"
  2979. end
  2980. end
  2981. for i, v in pairs(mw1:GetChildren()) do
  2982. if v:IsA("Part") then
  2983. v.Transparency = 1
  2984. v.BrickColor = MAINRUINCOLOR
  2985. v.Material = "Neon"
  2986. end
  2987. end
  2988. for i, v in pairs(m:GetChildren()) do
  2989. if v:IsA("Part") then
  2990. v.BrickColor = BrickColor.new("Really black")
  2991. v.Material = "Ice"
  2992. end
  2993. end
  2994. for i, v in pairs(m2:GetChildren()) do
  2995. if v:IsA("Part") then
  2996. v.BrickColor = BrickColor.new("Really black")
  2997. v.Material = "Glass"
  2998. end
  2999. end
  3000. for i, v in pairs(m3:GetChildren()) do
  3001. if v:IsA("Part") then
  3002. v.BrickColor = BrickColor.new("Really black")
  3003. v.Material = "Neon"
  3004. end
  3005. end
  3006. for i, v in pairs(extrawingmod1:GetChildren()) do
  3007. if v:IsA("Part") then
  3008. v.Transparency = 1
  3009. v.BrickColor = BrickColor.new("Really black")
  3010. v.Material = "Neon"
  3011. end
  3012. end
  3013. for i, v in pairs(extrawingmod2:GetChildren()) do
  3014. if v:IsA("Part") then
  3015. v.Transparency = 1
  3016. v.BrickColor = BrickColor.new("Really black")
  3017. v.Material = "Neon"
  3018. end
  3019. end
  3020. for i=0, 0.01, 0.1 / Animation_Speed do
  3021. Swait()
  3022. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  3023. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  3024. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  3025. end
  3026. ATTACK = false
  3027. Rooted = false
  3028. TAUNT = false
  3029. game.Lighting.FogStart = 10
  3030. game.Lighting.FogEnd = 120
  3031. game.Lighting.FogColor = Color3.new(0,0,0)
  3032. game.Lighting.TimeOfDay = "00:00"
  3033. newTheme("rbxassetid://1504604335",.2,1,10)
  3034. shirt = Instance.new("Shirt", char)
  3035. shirt.Name = "Shirt"
  3036. pants = Instance.new("Pants", char)
  3037. pants.Name = "Pants"
  3038. char.Shirt.ShirtTemplate = "rbxassetid://236410507"
  3039. char.Pants.PantsTemplate = "rbxassetid://236412261"
  3040. local p = game.Players.LocalPlayer
  3041. local char = p.Character
  3042. local mouse = p:GetMouse()
  3043. local meshx9 = Instance.new('SpecialMesh',hed)
  3044. meshx9.MeshType = 'FileMesh'
  3045. meshx9.MeshId,meshx9.TextureId = 'rbxassetid://96102993','rbxassetid://1141941190'
  3046. meshx9.Scale = Vector3.new(1,1,1)
  3047. end
  3048.  
  3049. function WarpWIP()
  3050. attack = true
  3051. for i = 0, 1.6, 0.1 do
  3052. swait()
  3053. hum.CameraOffset = Vector3.new(0, 1 + 0.1 * Cos(sine / 20), 0)
  3054. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  3055. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(0)), 0.2)
  3056. RW.C0 = clerp(RW.C0, CF(1.1, 0.5, -0.4) * angles(Rad(80), Rad(0 * Cos(sine / 20)), Rad(-45)), 0.2)
  3057. LW.C0 = clerp(LW.C0, CF(-1.1, 0.5, -0.4) * angles(Rad(70), Rad(0), Rad(55)), 0.2)
  3058. RH.C0 = clerp(RH.C0, CF(1, -0.1 - 0.1 * Cos(sine / 20), -0.6) * RHCF * angles(Rad(-1 + 1 * Cos(sine / 20)), Rad(0), Rad(-20 - 2 * Cos(sine / 20))), 0.2)
  3059. LH.C0 = clerp(LH.C0, CF(-1, -0.1 - 0.1 * Cos(sine / 20), -0.6) * LHCF * angles(Rad(-1 + 1 * Cos(sine / 20)), Rad(0), Rad(20 + 2 * Cos(sine / 20))), 0.2)
  3060. end
  3061. for i = 1, 10 do
  3062. g = char:GetChildren()
  3063. for i = 1, #g do
  3064. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  3065. g[i].Transparency = g[i].Transparency + 0.1
  3066. elseif g[i].ClassName == "Accessory" then
  3067. g[i].Handle.Transparency = g[i].Handle.Transparency + 0.1
  3068. end
  3069. end
  3070. swait()
  3071. end
  3072. local ORIGINPOS = root.Position
  3073. root.CFrame = CF(Vector3.new(mouse.Hit.p.X,root.Position.Y,mouse.Hit.p.Z),ORIGINPOS)
  3074. for i = 1, 10 do
  3075. g = char:GetChildren()
  3076. for i = 1, #g do
  3077. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  3078. g[i].Transparency = g[i].Transparency - 0.1
  3079. elseif g[i].ClassName == "Accessory" then
  3080. g[i].Handle.Transparency = g[i].Handle.Transparency - 0.1
  3081. end
  3082. end
  3083. swait()
  3084. end
  3085. attack = false
  3086. end
  3087. -------------------------------------------------------
  3088. --End Attacks N Stuff--
  3089. -------------------------------------------------------
  3090. mouse.KeyDown:connect(function(key)
  3091. if string.byte(key) == 48 then
  3092. Swing = 2
  3093. hum.WalkSpeed = 38.82
  3094. end
  3095. end)
  3096. mouse.KeyUp:connect(function(key)
  3097. if string.byte(key) == 48 then
  3098. Swing = 1
  3099. hum.WalkSpeed = 8
  3100. end
  3101. end)
  3102. local Combo = 1
  3103. mouse.KeyDown:connect(function(key)
  3104. if attack == false then
  3105. if key == 'z' then
  3106. SunBlastWIP()
  3107. elseif key == 'x' then
  3108. WarpWIP()
  3109. elseif key == 't' then
  3110. Taunt1()
  3111. elseif key == 'y' then
  3112. MlgTransformation()
  3113. elseif key == 'p' then
  3114. Transformation()
  3115. elseif key == 'u' then
  3116. ScaryTransformation()
  3117. end
  3118. end
  3119. end)
  3120. mouse.Button1Down:connect(function(key)
  3121. if attack == false then
  3122. if Combo == 1 then
  3123. Combo = 2
  3124. attackone()
  3125. elseif Combo == 2 then
  3126. Combo = 3
  3127. attacktwo()
  3128. elseif Combo == 3 then
  3129. Combo = 1
  3130. attackthree()
  3131. end
  3132. end
  3133. end)
  3134.  
  3135.  
  3136.  
  3137. -------------------------------------------------------
  3138. --Start Animations--
  3139. -------------------------------------------------------
  3140. while true do
  3141. swait()
  3142. sine = sine + change
  3143. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  3144. local velderp = root.Velocity.y
  3145. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  3146. if equipped == true or equipped == false then
  3147. if attack == false then
  3148. idle = idle + 1
  3149. else
  3150. idle = 0
  3151. end
  3152. --[[if Music.TimePosition > 13 then
  3153. workspace.Base.BrickColor = BrickC("Cyan")
  3154. end
  3155. if Music.TimePosition > 16 then
  3156. local S = Instance.new('Sky', game:GetService'Lighting')
  3157. S.Name = ' 1341 63469 '
  3158. S.SkyboxBk = "rbxassetid://44200334"
  3159. S.SkyboxDn = "rbxassetid://44200418"
  3160. S.SkyboxUp = "rbxassetid://44200442"
  3161. S.SkyboxRt = "rbxassetid://44200394"
  3162. S.SkyboxLf = "rbxassetid://44200377"
  3163. S.SkyboxFt = "rbxassetid://44200353"
  3164. end]]
  3165. if 1 < root.Velocity.y and hitfloor == nil then
  3166. Anim = "Jump"
  3167. if attack == false then
  3168. hum.CameraOffset = Vector3.new(0, -0.5 + 0.1 * Cos(sine / 7), 0)
  3169. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  3170. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3171. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3172. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3173. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  3174. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  3175. end
  3176. elseif -1 > root.Velocity.y and hitfloor == nil then
  3177. Anim = "Fall"
  3178. if attack == false then
  3179. hum.CameraOffset = Vector3.new(0, -0.5 + 0.1 * Cos(sine / 7), 0)
  3180. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  3181. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3182. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  3183. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  3184. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  3185. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  3186. end
  3187. elseif torvel < 1 and hitfloor ~= nil then
  3188. Anim = "Idle"
  3189. change = .5
  3190. if attack == false then
  3191. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  3192. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3)
  3193. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3194. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  3195. RW.C0 = clerp(RW.C0, CF(.9, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-1), Rad(-75 + 4.5 * Sin(sine / 20))), 0.1)
  3196. LW.C0 = clerp(LW.C0, CF(-.9, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-.6), Rad(65 - 4.5 * Sin(sine / 20))), 0.1)
  3197. end
  3198. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  3199. Anim = "Walk"
  3200. change = .9
  3201. if attack == false then
  3202. hum.CameraOffset = Vector3.new(0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7, 0)
  3203. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  3204. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3205. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3206. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3207. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(4) - ra.RotVelocity.Y / 75), 0.1)
  3208. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(-4) + la.RotVelocity.Y / 75), 0.1)
  3209. end
  3210. elseif torvel >= 25 and hitfloor ~= nil then
  3211. Anim = "Sprint"
  3212. change = 1.35
  3213. if attack == false then
  3214. hum.CameraOffset = Vector3.new(0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7, 0)
  3215. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  3216. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3217. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3218. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3219. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  3220. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  3221. end
  3222. end
  3223. end
  3224. if not Blur or Blur.Parent == nil then Blur = Instance.new("BlurEffect",cam) end
  3225. local magnitude = (cam.CFrame.lookVector - Last).magnitude
  3226. Blur.Size = math.abs(magnitude)*BlurAmount
  3227. Last = cam.CFrame.lookVector
  3228.  
  3229. if 0 < #Effects then
  3230. for e = 1, #Effects do
  3231. if Effects[e] ~= nil then
  3232. local Thing = Effects[e]
  3233. if Thing ~= nil then
  3234. local Part = Thing[1]
  3235. local Mode = Thing[2]
  3236. local Delay = Thing[3]
  3237. local IncX = Thing[4]
  3238. local IncY = Thing[5]
  3239. local IncZ = Thing[6]
  3240. if 1 >= Thing[1].Transparency then
  3241. if Thing[2] == "Block1" then
  3242. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3243. local Mesh = Thing[1].Mesh
  3244. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3245. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3246. elseif Thing[2] == "Block2" then
  3247. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  3248. local Mesh = Thing[7]
  3249. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3250. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3251. elseif Thing[2] == "Block3" then
  3252. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  3253. local Mesh = Thing[7]
  3254. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3255. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3256. elseif Thing[2] == "Cylinder" then
  3257. local Mesh = Thing[1].Mesh
  3258. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3259. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3260. elseif Thing[2] == "Blood" then
  3261. local Mesh = Thing[7]
  3262. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3263. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3264. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3265. elseif Thing[2] == "Elec" then
  3266. local Mesh = Thing[1].Mesh
  3267. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3268. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3269. elseif Thing[2] == "Disappear" then
  3270. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3271. elseif Thing[2] == "Shatter" then
  3272. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3273. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3274. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3275. Thing[6] = Thing[6] + Thing[5]
  3276. end
  3277. else
  3278. Part.Parent = nil
  3279. table.remove(Effects, e)
  3280. end
  3281. end
  3282. end
  3283. end
  3284. end
  3285. end
  3286. -------------------------------------------------------
  3287. --End Animations And Script--
  3288. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment