Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 162.24 KB | None | 0 0
  1. print("Star Glitcher Loaded.")
  2. print("All purpose switcher...")
  3. print("Created by Noobygames12")
  4. print("Edited by Neubla_Zorua")
  5. print("Fixed by GunterGuyy")
  6. print("Quack :v")
  7.  
  8. plr = game.Players.LocalPlayer
  9. char = plr.Character
  10. mouse = plr:GetMouse()
  11. hum = char:FindFirstChildOfClass'Humanoid'
  12. local cam = game.Workspace.CurrentCamera
  13. Camera = cam
  14. local CamInterrupt = false
  15. local TwoD = false
  16. local TargetInfo = {nil, nil}
  17. cam.CameraType = "Custom"
  18. t = char.Torso
  19. h = char.Head
  20. ra = char["Right Arm"]
  21. la = char["Left Arm"]
  22. rl = char["Right Leg"]
  23. ll = char["Left Leg"]
  24. tors = char.Torso
  25. lleg = char["Left Leg"]
  26. root = char.HumanoidRootPart
  27. hed = char.Head
  28. rleg = char["Right Leg"]
  29. rarm = char["Right Arm"]
  30. larm = char["Left Arm"]
  31. radian = math.rad
  32. random = math.random
  33. Vec3 = Vector3.new
  34. Inst = Instance.new
  35. cFrame = CFrame.new
  36. Euler = CFrame.fromEulerAnglesXYZ
  37. vt = Vector3.new
  38. bc = BrickColor.new
  39. br = BrickColor.random
  40. it = Instance.new
  41. cf = CFrame.new
  42.  
  43. local ODers = {}
  44.  
  45. local AllowRape = false;
  46. local AllowCata = false;
  47.  
  48. local Booleans = {
  49. CamFollow = true,
  50. GyroUse = true
  51. }
  52.  
  53. function lerp(object, newCFrame, alpha)
  54. return object:lerp(newCFrame, alpha)
  55. end
  56.  
  57. local Directer = Inst("BodyGyro", root)
  58. Directer.MaxTorque = Vec3(0, 0, 0)
  59. Directer.P = 600000
  60. local CPart = Inst("Part")
  61. CPart.Anchored = true
  62. CPart.CanCollide = false
  63. CPart.Locked = true
  64. CPart.Transparency = 1
  65.  
  66. local rainbowmode = false
  67. local chaosmode = false
  68. local glitchymode = false
  69. kan = Instance.new("Sound",char)
  70. kan.Volume = 1.25
  71. kan.TimePosition = 0
  72. kan.PlaybackSpeed = 1
  73. kan.Pitch = 1
  74. kan.SoundId = "rbxassetid://1564523997"
  75. kan.Name = "wrecked"
  76. kan.Looped = true
  77. kan:Play()
  78.  
  79. local MID = "rbxassetid://1564523997";
  80. local Pitch = 1;
  81.  
  82. function newTheme(ID,timepos,pitch,vol)
  83. local kanz = kan
  84. --kanz:Stop()
  85. --kanz.Volume = vol
  86. --kanz.TimePosition = timepos
  87. kanz.PlaybackSpeed = pitch
  88. kanz.Pitch = pitch
  89. kanz.SoundId = ID
  90. kanz.Name = "wrecked"
  91. kanz.Looped = true
  92. Pitch = pitch
  93. MID = ID
  94. --kanz:Play()
  95. --coroutine.resume(coroutine.create(function()
  96. --wait(0.05)
  97. --end))
  98. end
  99.  
  100. function newThemeCust(ID,timepos,pitch,vol)
  101. local kanz = kan
  102. kanz:Stop()
  103. kanz.Volume = vol
  104. kanz.TimePosition = timepos
  105. kanz.PlaybackSpeed = pitch
  106. kanz.Pitch = pitch
  107. MID = ID
  108. kanz.SoundId = ID
  109. kanz.Name = "wrecked"
  110. kanz.Looped = true
  111. kanz:Play()
  112. coroutine.resume(coroutine.create(function()
  113. wait(0.05)
  114. end))
  115. end
  116.  
  117.  
  118.  
  119. function CameraShake(Times, Power, PlayerTarget)
  120. coroutine.resume(coroutine.create(function()
  121. FV = Instance.new("BoolValue", PlayerTarget)
  122. FV.Name = "CameraShake"
  123. for ShakeNum=1,Times do
  124. swait()
  125. local ef=Power
  126. if ef>=1 then
  127. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  128. else
  129. ef=Power*10
  130. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  131. end
  132. end
  133. Humanoid.CameraOffset = Vector3.new(0,0,0)
  134. FV:Destroy()
  135. end))
  136. end
  137.  
  138. function CameraEnshaking(Length,Intensity)
  139. coroutine.resume(coroutine.create(function()
  140. local intensity = 1*Intensity
  141. local rotM = 0.01*Intensity
  142. for i = 0, Length, 0.1 do
  143. swait()
  144. intensity = intensity - 0.05*Intensity/Length
  145. rotM = rotM - 0.0005*Intensity/Length
  146. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  147. 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)
  148. end
  149. Humanoid.CameraOffset = Vec3(0, 0, 0)
  150. end))
  151. end
  152. CamShake=function(Part,Distan,Power,Times)
  153. local de=Part.Position
  154. for i,v in pairs(workspace:children()) do
  155. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  156. for _,c in pairs(v:children()) do
  157. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  158. local Noob=vFindFirstChildOfClass'Humanoid'
  159. if Noob~=nil then
  160. coroutine.resume(coroutine.create(function()
  161. FV = Instance.new("BoolValue", Noob)
  162. FV.Name = "CameraShake"
  163. for ShakeNum=1,Times do
  164. swait()
  165. local ef=Power
  166. if ef>=1 then
  167. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  168. else
  169. ef=Power*10
  170. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  171. end
  172. end
  173. Humanoid.CameraOffset = Vector3.new(0,0,0)
  174. FV:Destroy()
  175. end))
  176. CameraShake(Times, Power, Noob)
  177. end
  178. end
  179. end
  180. end
  181. end
  182. end
  183.  
  184. function chatfunc(text,color)
  185. local chat = coroutine.wrap(function()
  186. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  187. Character:FindFirstChild("TalkingBillBoard"):destroy()
  188. end
  189. local naeeym2 = Instance.new("BillboardGui",Character)
  190. naeeym2.Size = UDim2.new(0,100,0,40)
  191. naeeym2.StudsOffset = Vector3.new(0,3,0)
  192. naeeym2.Adornee = Character.Head
  193. naeeym2.Name = "TalkingBillBoard"
  194. local tecks2 = Instance.new("TextLabel",naeeym2)
  195. tecks2.BackgroundTransparency = 1
  196. tecks2.BorderSizePixel = 0
  197. tecks2.Text = ""
  198. tecks2.Font = "SciFi"
  199. tecks2.TextSize = 30
  200. tecks2.TextStrokeTransparency = 0
  201. tecks2.TextColor3 = color
  202. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  203. tecks2.Size = UDim2.new(1,0,0.5,0)
  204. local tecks3 = Instance.new("TextLabel",naeeym2)
  205. tecks3.BackgroundTransparency = 1
  206. tecks3.BorderSizePixel = 0
  207. tecks3.Text = ""
  208. tecks3.Font = "SciFi"
  209. tecks3.TextSize = 30
  210. tecks3.TextStrokeTransparency = 0
  211. tecks3.TextColor3 = Color3.new(0,0,0)
  212. tecks3.TextStrokeColor3 = color
  213. tecks3.Size = UDim2.new(1,0,0.5,0)
  214. coroutine.resume(coroutine.create(function()
  215. while true do
  216. swait(1)
  217. if chaosmode == true then
  218. tecks2.TextColor3 = BrickColor.random().Color
  219. tecks3.TextStrokeColor3 = BrickColor.random().Color
  220. end
  221. if(glitchymode)then
  222. local val = math.random(1,255)
  223. local color = Color3.fromRGB(val,val,val)
  224. tecks2.TextColor3 = color
  225. tecks3.TextStrokeColor3 = color
  226. end
  227. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  228. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  229. tecks2.Rotation = math.random(-5,5)
  230. tecks3.Rotation = math.random(-5,5)
  231. end
  232. end))
  233. for i = 1,string.len(text),1 do
  234. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  235. tecks2.Text = string.sub(text,1,i)
  236. tecks3.Text = string.sub(text,1,i)
  237. swait(1)
  238. end
  239. wait(1)
  240. local randomrot = math.random(1,2)
  241. if randomrot == 1 then
  242. for i = 1, 50 do
  243. swait()
  244. tecks2.Rotation = tecks2.Rotation - .75
  245. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  246. tecks2.TextTransparency = tecks2.TextTransparency + .04
  247. tecks3.Rotation = tecks2.Rotation + .75
  248. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  249. tecks3.TextTransparency = tecks2.TextTransparency + .04
  250. end
  251. elseif randomrot == 2 then
  252. for i = 1, 50 do
  253. swait()
  254. tecks2.Rotation = tecks2.Rotation + .75
  255. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  256. tecks2.TextTransparency = tecks2.TextTransparency + .04
  257. tecks3.Rotation = tecks2.Rotation - .75
  258. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  259. tecks3.TextTransparency = tecks2.TextTransparency + .04
  260. end
  261. end
  262. naeeym2:Destroy()
  263. end)
  264. chat()
  265. end
  266.  
  267.  
  268. local Create = LoadLibrary("RbxUtility").Create
  269.  
  270. CFuncs = {
  271. ["Part"] = {
  272. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  273. local Part = Create("Part"){
  274. Parent = Parent,
  275. Reflectance = Reflectance,
  276. Transparency = Transparency,
  277. CanCollide = false,
  278. Locked = true,
  279. BrickColor = BrickColor.new(tostring(BColor)),
  280. Name = Name,
  281. Size = Size,
  282. Material = Material,
  283. }
  284. RemoveOutlines(Part)
  285. return Part
  286. end;
  287. };
  288.  
  289. ["Mesh"] = {
  290. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  291. local Msh = Create(Mesh){
  292. Parent = Part,
  293. Offset = OffSet,
  294. Scale = Scale,
  295. }
  296. if Mesh == "SpecialMesh" then
  297. Msh.MeshType = MeshType
  298. Msh.MeshId = MeshId
  299. end
  300. return Msh
  301. end;
  302. };
  303.  
  304. ["Mesh"] = {
  305. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  306. local Msh = Create(Mesh){
  307. Parent = Part,
  308. Offset = OffSet,
  309. Scale = Scale,
  310. }
  311. if Mesh == "SpecialMesh" then
  312. Msh.MeshType = MeshType
  313. Msh.MeshId = MeshId
  314. end
  315. return Msh
  316. end;
  317. };
  318.  
  319. ["Weld"] = {
  320. Create = function(Parent, Part0, Part1, C0, C1)
  321. local Weld = Create("Weld"){
  322. Parent = Parent,
  323. Part0 = Part0,
  324. Part1 = Part1,
  325. C0 = C0,
  326. C1 = C1,
  327. }
  328. return Weld
  329. end;
  330. };
  331.  
  332. ["Sound"] = {
  333. Create = function(id, par, vol, pit)
  334. return coroutine.wrap(function()
  335. local S = Create("Sound"){
  336. Volume = vol,
  337. Name = "EffectSoundo",
  338. Pitch = pit or 1,
  339. SoundId = id,
  340. Parent = par or workspace,
  341. }
  342. S:Play()
  343. S.Ended:connect(function()
  344. S:Destroy()
  345. end)
  346. return S;
  347. end)()
  348. end;
  349. };
  350.  
  351. ["LongSound"] = {
  352. Create = function(id, par, vol, pit)
  353. coroutine.resume(coroutine.create(function()
  354. local S = Create("Sound"){
  355. Volume = vol,
  356. Pitch = pit or 1,
  357. SoundId = id,
  358. Parent = par or workspace,
  359. }
  360. wait()
  361. S:play()
  362. game:GetService("Debris"):AddItem(S, 30)
  363. end))
  364. end;
  365. };
  366.  
  367. ["ParticleEmitter"] = {
  368. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  369. local fp = Create("ParticleEmitter"){
  370. Parent = Parent,
  371. Color = ColorSequence.new(Color1, Color2),
  372. LightEmission = LightEmission,
  373. Size = Size,
  374. Texture = Texture,
  375. Transparency = Transparency,
  376. ZOffset = ZOffset,
  377. Acceleration = Accel,
  378. Drag = Drag,
  379. LockedToPart = LockedToPart,
  380. VelocityInheritance = VelocityInheritance,
  381. EmissionDirection = EmissionDirection,
  382. Enabled = Enabled,
  383. Lifetime = LifeTime,
  384. Rate = Rate,
  385. Rotation = Rotation,
  386. RotSpeed = RotSpeed,
  387. Speed = Speed,
  388. VelocitySpread = VelocitySpread,
  389. }
  390. return fp
  391. end;
  392. };
  393.  
  394. CreateTemplate = {
  395.  
  396. };
  397. }
  398.  
  399.  
  400.  
  401. New = function(Object, Parent, Name, Data)
  402. local Object = Instance.new(Object)
  403. for Index, Value in pairs(Data or {}) do
  404. Object[Index] = Value
  405. end
  406. Object.Parent = Parent
  407. Object.Name = Name
  408. return Object
  409. end
  410. local halocolor = BrickColor.new("Pastel light blue")
  411. local halocolor2 = BrickColor.new("Cool yellow")
  412. local starcolor = BrickColor.new("Bright yellow")
  413. local lunacolor = BrickColor.new("Navy blue")
  414. local lunacolor2 = BrickColor.new("Bright blue")
  415. local wepcolor = BrickColor.new("Really black")
  416. local maincolor = BrickColor.new("Really black")
  417. local m = Instance.new("Model",char)
  418. local m2 = Instance.new("Model",char)
  419. local m3 = Instance.new("Model",char)
  420. local mw1 = Instance.new("Model",char)
  421. local mw2 = Instance.new("Model",char)
  422.  
  423. local extrawingmod1 = Instance.new("Model",char)
  424. local extrawingmod2 = Instance.new("Model",char)
  425.  
  426. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  427. local p = Instance.new("Part")
  428. p.TopSurface = 0
  429. p.BottomSurface = 0
  430. p.Parent = parent
  431. p.Size = Vector3.new(0.1,0.1,0.1)
  432. p.Transparency = transparency
  433. p.Reflectance = reflectance
  434. p.CanCollide = false
  435. p.Locked = true
  436. p.BrickColor = brickcolor
  437. p.Material = material
  438. return p
  439. end
  440.  
  441. function CreateMesh(parent,meshtype,x1,y1,z1)
  442. local mesh = Instance.new("SpecialMesh",parent)
  443. mesh.MeshType = meshtype
  444. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  445. return mesh
  446. end
  447.  
  448. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  449. local mesh = Instance.new("SpecialMesh",parent)
  450. mesh.MeshType = "FileMesh"
  451. mesh.MeshId = meshid
  452. mesh.Scale = Vector3.new(x1,y1,z1)
  453. return mesh
  454. end
  455.  
  456.  
  457. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  458. local mesh = Instance.new("SpecialMesh",parent)
  459. mesh.MeshType = "FileMesh"
  460. mesh.MeshId = meshid
  461. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  462. mesh.Scale = Vector3.new(x1,y1,z1)
  463. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  464. return mesh
  465. end
  466.  
  467. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  468. local weld = Instance.new("Weld")
  469. weld.Parent = parent
  470. weld.Part0 = part0
  471. weld.Part1 = part1
  472. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  473. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  474. return weld
  475. end
  476.  
  477. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  478. 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))
  479. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  480. 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))
  481.  
  482. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  483. CreateMesh(handle,"Brick",0,0,0)
  484. 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))
  485. local valuaring = 10
  486. for i = 0, 49 do
  487. valuaring = valuaring + 10
  488. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  489. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  490. 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))
  491. end
  492.  
  493. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  494. CreateMesh(handle,"Brick",0,0,0)
  495. 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))
  496. local valuaring = 10
  497. for i = 0, 49 do
  498. valuaring = valuaring + 10
  499. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  500. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  501. 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))
  502. end
  503.  
  504.  
  505. local handle = CreateParta(m,1,1,"Neon",maincolor)
  506. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  507. 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))
  508.  
  509. --- Left wing.
  510.  
  511. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  512. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  513. 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))
  514.  
  515. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  516. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  517. 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))
  518. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  519. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  520. 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))
  521. A0 = Instance.new('Attachment',wed)
  522. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  523. CreateMesh(wed,"Wedge",0.05,0.5,3)
  524. 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))
  525. A1 = Instance.new('Attachment',wed)
  526. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  527. CreateMesh(wed,"Wedge",0.05,3,0.5)
  528. 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))
  529.  
  530. tl1 = Instance.new('Trail',wed)
  531. tl1.Attachment0 = A0
  532. tl1.Attachment1 = A1
  533. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  534. tl1.LightEmission = 1
  535. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  536. tl1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  537. tl1.Lifetime = 0.6
  538.  
  539.  
  540. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  541. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  542. 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))
  543.  
  544. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  545. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  546. 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))
  547. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  548. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  549. 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))
  550. A0 = Instance.new('Attachment',wed)
  551. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  552. CreateMesh(wed,"Wedge",0.05,0.5,3)
  553. 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))
  554. A1 = Instance.new('Attachment',wed)
  555. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  556. CreateMesh(wed,"Wedge",0.05,3,0.5)
  557. 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))
  558.  
  559. tl2 = Instance.new('Trail',wed)
  560. tl2.Attachment0 = A0
  561. tl2.Attachment1 = A1
  562. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  563. tl2.LightEmission = 1
  564. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  565. tl2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  566. tl2.Lifetime = 0.6
  567.  
  568. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  569. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  570. 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))
  571.  
  572. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  573. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  574. 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))
  575. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  576. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  577. 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))
  578. A0 = Instance.new('Attachment',wed)
  579. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  580. CreateMesh(wed,"Wedge",0.05,0.5,3)
  581. 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))
  582. A1 = Instance.new('Attachment',wed)
  583. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  584. CreateMesh(wed,"Wedge",0.05,3,0.5)
  585. 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))
  586.  
  587. tl3 = Instance.new('Trail',wed)
  588. tl3.Attachment0 = A0
  589. tl3.Attachment1 = A1
  590. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  591. tl3.LightEmission = 1
  592. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  593. tl3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  594. tl3.Lifetime = 0.6
  595.  
  596. tl1.Enabled = false
  597. tl2.Enabled = false
  598. tl3.Enabled = false
  599. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  600. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  601. 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))
  602.  
  603. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  604. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  605. 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))
  606. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  607. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  608. 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))
  609. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  610. CreateMesh(wed,"Wedge",0.05,0.5,3)
  611. 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))
  612. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  613. CreateMesh(wed,"Wedge",0.05,3,0.5)
  614. 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))
  615.  
  616. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  617. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  618. 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))
  619.  
  620. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  621. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  622. 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))
  623. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  624. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  625. 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))
  626. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  627. CreateMesh(wed,"Wedge",0.05,0.5,3)
  628. 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))
  629. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  630. CreateMesh(wed,"Wedge",0.05,3,0.5)
  631. 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))
  632.  
  633. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  634. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  635. 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))
  636.  
  637. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  638. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  639. 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))
  640. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  641. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  642. 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))
  643. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  644. CreateMesh(wed,"Wedge",0.05,0.5,3)
  645. 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))
  646. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  647. CreateMesh(wed,"Wedge",0.05,3,0.5)
  648. 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))
  649.  
  650. -- Right wing.
  651.  
  652. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  653. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  654. 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))
  655.  
  656. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  657. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  658. 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))
  659. A0 = Instance.new('Attachment',wed)
  660. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  661. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  662. 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))
  663. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  664. CreateMesh(wed,"Wedge",0.05,0.5,3)
  665. 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))
  666. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  667. CreateMesh(wed,"Wedge",0.05,3,0.5)
  668. 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))
  669. A1 = Instance.new('Attachment',wed)
  670.  
  671. tr1 = Instance.new('Trail',wed)
  672. tr1.Attachment0 = A0
  673. tr1.Attachment1 = A1
  674. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  675. tr1.LightEmission = 1
  676. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  677. tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  678. tr1.Lifetime = 0.6
  679.  
  680. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  681. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  682. 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))
  683.  
  684. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  685. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  686. 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))
  687. A0 = Instance.new('Attachment',wed)
  688. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  689. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  690. 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))
  691. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  692. CreateMesh(wed,"Wedge",0.05,0.5,3)
  693. 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))
  694. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  695. CreateMesh(wed,"Wedge",0.05,3,0.5)
  696. 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))
  697. A1 = Instance.new('Attachment',wed)
  698.  
  699. tr2 = Instance.new('Trail',wed)
  700. tr2.Attachment0 = A0
  701. tr2.Attachment1 = A1
  702. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  703. tr2.LightEmission = 1
  704. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  705. tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  706. tr2.Lifetime = 0.6
  707.  
  708. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  709. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  710. 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))
  711.  
  712. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  713. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  714. 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))
  715. A0 = Instance.new('Attachment',wed)
  716. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  717. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  718. 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))
  719. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  720. CreateMesh(wed,"Wedge",0.05,0.5,3)
  721. 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))
  722. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  723. CreateMesh(wed,"Wedge",0.05,3,0.5)
  724. 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))
  725. A1 = Instance.new('Attachment',wed)
  726.  
  727. tr3 = Instance.new('Trail',wed)
  728. tr3.Attachment0 = A0
  729. tr3.Attachment1 = A1
  730. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  731. tr3.LightEmission = 1
  732. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  733. tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  734. tr3.Lifetime = 0.6
  735.  
  736.  
  737. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  738. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  739. 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))
  740.  
  741. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  742. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  743. 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))
  744. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  745. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  746. 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))
  747. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  748. CreateMesh(wed,"Wedge",0.05,0.5,3)
  749. 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))
  750. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  751. CreateMesh(wed,"Wedge",0.05,3,0.5)
  752. 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))
  753.  
  754. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  755. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  756. 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))
  757.  
  758. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  759. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  760. 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))
  761. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  762. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  763. 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))
  764. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  765. CreateMesh(wed,"Wedge",0.05,0.5,3)
  766. 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))
  767. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  768. CreateMesh(wed,"Wedge",0.05,3,0.5)
  769. 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))
  770.  
  771. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  772. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  773. 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))
  774.  
  775. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  776. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  777. 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))
  778. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  779. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  780. 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))
  781. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  782. CreateMesh(wed,"Wedge",0.05,0.5,3)
  783. 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))
  784. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  785. CreateMesh(wed,"Wedge",0.05,3,0.5)
  786. 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))
  787.  
  788. ---- HERES THE RING
  789.  
  790.  
  791. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  792. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  793. 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))
  794. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  795. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  796. 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))
  797. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  798. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  799. 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))
  800.  
  801.  
  802. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  803. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  804. 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))
  805.  
  806. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  807. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  808. 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))
  809.  
  810.  
  811.  
  812. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  813. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  814. 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))
  815.  
  816. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  817. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  818. 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))
  819.  
  820. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  821. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  822. 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))
  823.  
  824. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  825. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  826. 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))
  827. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  828. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  829. 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))
  830.  
  831. -- S section A
  832.  
  833. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  834. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  835. CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  836. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  837. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  838. CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  839. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  840. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  841. CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  842.  
  843. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  844. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  845. CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  846. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  847. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  848. CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  849. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  850. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  851. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  852.  
  853. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  854. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  855. CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  856. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  857. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  858. CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  859. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  860. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  861. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  862.  
  863. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  864. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  865. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  866. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  867. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  868. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  869. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  870. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  871. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  872.  
  873. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  874. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  875. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  876. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  877. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  878. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  879. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  880. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  881. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  882.  
  883. -- S section B
  884.  
  885. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  886. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  887. CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  888. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  889. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  890. CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  891. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  892. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  893. CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  894.  
  895. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  896. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  897. CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  898. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  899. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  900. CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  901. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  902. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  903. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  904.  
  905. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  906. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  907. CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  908. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  909. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  910. CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  911. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  912. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  913. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  914.  
  915. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  916. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  917. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  918. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  919. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  920. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  921. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  922. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  923. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  924.  
  925. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  926. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  927. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  928. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  929. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  930. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  931. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  932. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  933. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  934.  
  935. --- second ring
  936.  
  937. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  938. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  939. 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))
  940. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  941. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  942. 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))
  943. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  944. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  945. 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))
  946.  
  947. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  948. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  949. 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))
  950.  
  951. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  952. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  953. 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))
  954.  
  955.  
  956.  
  957. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  958. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  959. 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))
  960.  
  961. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  962. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  963. 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))
  964.  
  965. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  966. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  967. 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))
  968.  
  969. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  970. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  971. 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))
  972. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  973. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  974. 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))
  975.  
  976. -- S section A
  977.  
  978. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  979. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  980. CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  981. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  982. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  983. CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  984. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  985. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  986. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  987.  
  988. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  989. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  990. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  991. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  992. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  993. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  994. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  995. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  996. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  997.  
  998. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  999. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1000. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1001. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1002. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1003. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1004. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1005. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1006. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1007.  
  1008. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1009. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1010. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1011. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1012. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1013. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1014. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1015. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1016. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1017.  
  1018. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1019. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1020. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1021. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1022. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1023. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1024. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1025. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1026. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1027.  
  1028. -- S section B
  1029.  
  1030. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1031. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1032. CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1033. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1034. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1035. CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1036. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1037. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1038. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1039.  
  1040. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1041. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1042. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1043. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1044. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1045. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1046. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1047. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1048. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1049.  
  1050. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1051. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1052. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1053. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1054. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1055. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1056. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1057. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1058. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1059.  
  1060. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1061. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1062. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1063. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1064. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1065. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1066. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1067. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1068. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1069.  
  1070. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1071. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1072. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1073. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1074. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1075. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1076. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1077. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1078. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1079.  
  1080.  
  1081. for i, v in pairs(m:GetChildren()) do
  1082. if v:IsA("Part") then
  1083. v.BrickColor = BrickColor.new("Really black")
  1084. v.Material = "Glass"
  1085. end
  1086. end
  1087. for i, v in pairs(m2:GetChildren()) do
  1088. if v:IsA("Part") then
  1089. v.BrickColor = BrickColor.new("Dark stone grey")
  1090. v.Material = "Granite"
  1091. end
  1092. end
  1093. for i, v in pairs(m3:GetChildren()) do
  1094. if v:IsA("Part") then
  1095. v.BrickColor = BrickColor.new("Really black")
  1096. v.Material = "Neon"
  1097. end
  1098. end
  1099. for i, v in pairs(mw2:GetChildren()) do
  1100. if v:IsA("Part") then
  1101. v.BrickColor = BrickColor.new("Really black")
  1102. v.Material = "Neon"
  1103. end
  1104. end
  1105. for i, v in pairs(mw1:GetChildren()) do
  1106. if v:IsA("Part") then
  1107. v.Transparency = 1
  1108. v.BrickColor = BrickColor.new("Really black")
  1109. v.Material = "Neon"
  1110. end
  1111. end
  1112. for i, v in pairs(extrawingmod1:GetChildren()) do
  1113. if v:IsA("Part") then
  1114. v.Transparency = 1
  1115. v.BrickColor = BrickColor.new("White")
  1116. v.Material = "Neon"
  1117. end
  1118. end
  1119. for i, v in pairs(extrawingmod2:GetChildren()) do
  1120. if v:IsA("Part") then
  1121. v.Transparency = 1
  1122. v.BrickColor = BrickColor.new("White")
  1123. v.Material = "Neon"
  1124. end
  1125. end
  1126. local MAINRUINCOLOR = BrickColor.new("Really black")
  1127. ------
  1128.  
  1129.  
  1130. function RemoveOutlines(part)
  1131. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1132. end
  1133. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1134. local Part = Create("Part")({
  1135. Parent = Parent,
  1136. Reflectance = Reflectance,
  1137. Transparency = Transparency,
  1138. CanCollide = false,
  1139. Locked = true,
  1140. BrickColor = BrickColor.new(tostring(BColor)),
  1141. Name = Name,
  1142. Size = Size,
  1143. Material = Material
  1144. })
  1145. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1146. RemoveOutlines(Part)
  1147. return Part
  1148. end
  1149. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1150. local Msh = Create(Mesh)({
  1151. Parent = Part,
  1152. Offset = OffSet,
  1153. Scale = Scale
  1154. })
  1155. if Mesh == "SpecialMesh" then
  1156. Msh.MeshType = MeshType
  1157. Msh.MeshId = MeshId
  1158. end
  1159. return Msh
  1160. end
  1161. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1162. local Weld = Create("Weld")({
  1163. Parent = Parent,
  1164. Part0 = Part0,
  1165. Part1 = Part1,
  1166. C0 = C0,
  1167. C1 = C1
  1168. })
  1169. return Weld
  1170. end
  1171.  
  1172. Player=game.Players.LocalPlayer
  1173. Character=Player.Character
  1174. PlayerGui=Player.PlayerGui
  1175. Backpack=Player.Backpack
  1176. Torso=Character.Torso
  1177. Head=Character.Head
  1178. Humanoid=Character:FindFirstChildOfClass'Humanoid'
  1179. m=Instance.new('Model',Character)
  1180. LeftArm=Character["Left Arm"]
  1181. LeftLeg=Character["Left Leg"]
  1182. RightArm=Character["Right Arm"]
  1183. RightLeg=Character["Right Leg"]
  1184. LS=Torso["Left Shoulder"]
  1185. LH=Torso["Left Hip"]
  1186. RS=Torso["Right Shoulder"]
  1187. RH=Torso["Right Hip"]
  1188. Face = Head.face
  1189. Neck=Torso.Neck
  1190. it=Instance.new
  1191. attacktype=1
  1192. vt=Vector3.new
  1193. cf=CFrame.new
  1194. euler=CFrame.fromEulerAnglesXYZ
  1195. angles=CFrame.Angles
  1196. cloaked=false
  1197. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1198. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1199. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1200. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1201. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1202. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1203. RootPart=Character.HumanoidRootPart
  1204. RootJoint=RootPart.RootJoint
  1205. RootCF=euler(-1.57,0,3.14)
  1206. attack = false
  1207. attackdebounce = false
  1208. deb=false
  1209. equipped=true
  1210. hand=false
  1211. MMouse=nil
  1212. combo=0
  1213. mana=0
  1214. trispeed=.2
  1215. attackmode='none'
  1216. local idle=0
  1217. local Anim="Idle"
  1218. local Effects={}
  1219. local gun=false
  1220. local shoot=false
  1221. local sine = 0
  1222. local change = 1
  1223. player=nil
  1224. pcall(function()char.LeftWing:destroy()end)
  1225. pcall(function()char.Halo:destroy()end)
  1226. local toggleTag = true
  1227. local txt = Instance.new("BillboardGui", Head)
  1228. txt.Adornee = nil
  1229. txt.Name = "NameDetect"
  1230. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1231. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1232. local text = Instance.new("TextLabel", txt)
  1233. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  1234. text.FontSize = "Size8"
  1235. text.TextScaled = true
  1236. text.TextTransparency = 0
  1237. text.BackgroundTransparency = 1
  1238. text.TextTransparency = 0
  1239. text.TextStrokeTransparency = 0
  1240. text.Font = "Fantasy"
  1241. text.TextStrokeColor3 = Color3.new(1,1,1)
  1242. text.TextColor3 = Color3.new(0,0,0)
  1243. text.Text = "Solitude"
  1244.  
  1245. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  1246. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  1247.  
  1248. function RecolorTextAndRename(name,col1,col2)
  1249. text.TextStrokeColor3 = col2
  1250. text.TextColor3 = col1
  1251. text.Text = name
  1252. end
  1253. --save shoulders
  1254. RSH, LSH=nil, nil
  1255. --welds
  1256. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1257. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1258. LH=Torso["Left Hip"]
  1259. RH=Torso["Right Hip"]
  1260. TorsoColor=Torso.BrickColor
  1261. function NoOutline(Part)
  1262. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1263. end
  1264. player=Player
  1265. ch=Character
  1266. RSH=ch.Torso["Right Shoulder"]
  1267. LSH=ch.Torso["Left Shoulder"]
  1268. --
  1269. RSH.Parent=nil
  1270. LSH.Parent=nil
  1271. --
  1272. RW.Name="Right Shoulder"
  1273. RW.Part0=ch.Torso
  1274. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1275. RW.C1=cf(0, 0.5, 0)
  1276. RW.Part1=ch["Right Arm"]
  1277. RW.Parent=ch.Torso
  1278. --
  1279. LW.Name="Left Shoulder"
  1280. LW.Part0=ch.Torso
  1281. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1282. LW.C1=cf(0, 0.5, 0)
  1283. LW.Part1=ch["Left Arm"]
  1284. LW.Parent=ch.Torso
  1285.  
  1286. local Stats=Instance.new("BoolValue")
  1287. Stats.Name="Stats"
  1288. Stats.Parent=Character
  1289. local Atk=Instance.new("NumberValue")
  1290. Atk.Name="Damage"
  1291. Atk.Parent=Stats
  1292. Atk.Value=1
  1293. local Def=Instance.new("NumberValue")
  1294. Def.Name="Defense"
  1295. Def.Parent=Stats
  1296. Def.Value=1
  1297. local Speed=Instance.new("NumberValue")
  1298. Speed.Name="Speed"
  1299. Speed.Parent=Stats
  1300. Speed.Value=1
  1301. local Mvmt=Instance.new("NumberValue")
  1302. Mvmt.Name="Movement"
  1303. Mvmt.Parent=Stats
  1304. Mvmt.Value=1
  1305.  
  1306. local donum=0
  1307.  
  1308.  
  1309. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1310. local fp=it("Part")
  1311. fp.formFactor=formfactor
  1312. fp.Parent=parent
  1313. fp.Reflectance=reflectance
  1314. fp.Transparency=transparency
  1315. fp.CanCollide=false
  1316. fp.Locked=true
  1317. fp.BrickColor=brickcolor
  1318. fp.Name=name
  1319. fp.Size=size
  1320. fp.Position=Torso.Position
  1321. NoOutline(fp)
  1322. fp.Material="SmoothPlastic"
  1323. fp:BreakJoints()
  1324. return fp
  1325. end
  1326.  
  1327. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1328. local mesh=it(Mesh)
  1329. mesh.Parent=part
  1330. if Mesh=="SpecialMesh" then
  1331. mesh.MeshType=meshtype
  1332. if meshid~="nil" then
  1333. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1334. end
  1335. end
  1336. mesh.Offset=offset
  1337. mesh.Scale=scale
  1338. return mesh
  1339. end
  1340.  
  1341. function weld(parent,part0,part1,c0)
  1342. local weld=it("Weld")
  1343. weld.Parent=parent
  1344. weld.Part0=part0
  1345. weld.Part1=part1
  1346. weld.C0=c0
  1347. return weld
  1348. end
  1349.  
  1350. local Color1=Torso.BrickColor
  1351.  
  1352. local bodvel=Instance.new("BodyVelocity")
  1353. local bg=Instance.new("BodyGyro")
  1354.  
  1355. --// Artificial HB \--
  1356.  
  1357. local ArtificialHB = Instance.new("BindableEvent", script)
  1358. ArtificialHB.Name = "Heartbeat"
  1359.  
  1360. script:WaitForChild("Heartbeat")
  1361.  
  1362. local tf = 0
  1363. local allowframeloss = false
  1364. local tossremainder = false
  1365. local lastframe = tick()
  1366. local frame = 1/60
  1367. ArtificialHB:Fire()
  1368.  
  1369. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1370. tf = tf + s
  1371. if tf >= frame then
  1372. if allowframeloss then
  1373. script.Heartbeat:Fire()
  1374. lastframe = tick()
  1375. else
  1376. for i = 1, math.floor(tf / frame) do
  1377. ArtificialHB:Fire()
  1378. end
  1379. lastframe = tick()
  1380. end
  1381. if tossremainder then
  1382. tf = 0
  1383. else
  1384. tf = tf - frame * math.floor(tf / frame)
  1385. end
  1386. end
  1387. end)
  1388.  
  1389. function swait(num)
  1390. if num == 0 or num == nil then
  1391. ArtificialHB.Event:wait()
  1392. else
  1393. for i = 0, num do
  1394. ArtificialHB.Event:wait()
  1395. end
  1396. end
  1397. end
  1398.  
  1399. -------- RAINBOW LEAVE IT TO ME
  1400. local r = 255
  1401. local g = 0
  1402. local b = 0
  1403. coroutine.resume(coroutine.create(function()
  1404. while wait() do
  1405. for i = 0, 254/5 do
  1406. swait()
  1407. g = g + 5
  1408. end
  1409. for i = 0, 254/5 do
  1410. swait()
  1411. r = r - 5
  1412. end
  1413. for i = 0, 254/5 do
  1414. swait()
  1415. b = b + 5
  1416. end
  1417. for i = 0, 254/5 do
  1418. swait()
  1419. g = g - 5
  1420. end
  1421. for i = 0, 254/5 do
  1422. swait()
  1423. r = r + 5
  1424. end
  1425. for i = 0, 254/5 do
  1426. swait()
  1427. b = b - 5
  1428. end
  1429. end
  1430. end))
  1431.  
  1432.  
  1433. so = function(id,par,vol,pit)
  1434. coroutine.resume(coroutine.create(function()
  1435. local sou = Instance.new("Sound",par or workspace)
  1436. sou.Volume=vol
  1437. sou.Pitch=pit or 1
  1438. sou.SoundId=id
  1439. swait()
  1440. sou:play()
  1441. game:GetService("Debris"):AddItem(sou,6)
  1442. end))
  1443. end
  1444.  
  1445. function clerp(a,b,t)
  1446. return a:lerp(b,t)
  1447. end
  1448.  
  1449. local function CFrameFromTopBack(at, top, back)
  1450. local right = top:Cross(back)
  1451. return CFrame.new(at.x, at.y, at.z,
  1452. right.x, top.x, back.x,
  1453. right.y, top.y, back.y,
  1454. right.z, top.z, back.z)
  1455. end
  1456.  
  1457. function Triangle(a, b, c)
  1458. local edg1 = (c-a):Dot((b-a).unit)
  1459. local edg2 = (a-b):Dot((c-b).unit)
  1460. local edg3 = (b-c):Dot((a-c).unit)
  1461. if edg1 = 0 then
  1462. a, b, c = a, b, c
  1463. elseif edg2 = 0 then
  1464. a, b, c = b, c, a
  1465. elseif edg3 = 0 then
  1466. a, b, c = c, a, b
  1467. else
  1468. assert(false, "unreachable")
  1469. end
  1470.  
  1471. local len1 = (c-a):Dot((b-a).unit)
  1472. local len2 = (b-a).magnitude - len1
  1473. local width = (a + (b-a).unit*len1 - c).magnitude
  1474.  
  1475. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1476.  
  1477. local list = {}
  1478.  
  1479. if len1 > 0.01 then
  1480. local w1 = Instance.new('WedgePart', m)
  1481. game:GetService("Debris"):AddItem(w1,5)
  1482. w1.Material = "SmoothPlastic"
  1483. w1.FormFactor = 'Custom'
  1484. w1.BrickColor = BrickColor.new("Really black")
  1485. w1.Transparency = 0
  1486. w1.Reflectance = 0
  1487. w1.Material = "SmoothPlastic"
  1488. w1.CanCollide = false
  1489. local l1 = Instance.new("PointLight",w1)
  1490. l1.Color = Color3.new(170,0,0)
  1491. NoOutline(w1)
  1492. local sz = Vector3.new(0.2, width, len1)
  1493. w1.Size = sz
  1494. local sp = Instance.new("SpecialMesh",w1)
  1495. sp.MeshType = "Wedge"
  1496. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1497. w1:BreakJoints()
  1498. w1.Anchored = true
  1499. w1.Parent = workspace
  1500. w1.Transparency = 0.7
  1501. table.insert(Effects,{w1,"Disappear",.01})
  1502. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1503. table.insert(list,w1)
  1504. end
  1505.  
  1506. if len2 > 0.01 then
  1507. local w2 = Instance.new('WedgePart', m)
  1508. game:GetService("Debris"):AddItem(w2,5)
  1509. w2.Material = "SmoothPlastic"
  1510. w2.FormFactor = 'Custom'
  1511. w2.BrickColor = BrickColor.new("Really black")
  1512. w2.Transparency = 0
  1513. w2.Reflectance = 0
  1514. w2.Material = "SmoothPlastic"
  1515. w2.CanCollide = false
  1516. local l2 = Instance.new("PointLight",w2)
  1517. l2.Color = Color3.new(170,0,0)
  1518. NoOutline(w2)
  1519. local sz = Vector3.new(0.2, width, len2)
  1520. w2.Size = sz
  1521. local sp = Instance.new("SpecialMesh",w2)
  1522. sp.MeshType = "Wedge"
  1523. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1524. w2:BreakJoints()
  1525. w2.Anchored = true
  1526. w2.Parent = workspace
  1527. w2.Transparency = 0.7
  1528. table.insert(Effects,{w2,"Disappear",.01})
  1529. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1530. table.insert(list,w2)
  1531. end
  1532. return unpack(list)
  1533. end
  1534.  
  1535.  
  1536. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1537. if hit.Parent == nil then
  1538. return
  1539. end
  1540. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1541. for _, v in pairs(hit.Parent:children()) do
  1542. if v:IsA("Humanoid") then
  1543. h = v
  1544. end
  1545. end
  1546. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1547. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1548. return
  1549. end
  1550. local c = Create("ObjectValue")({
  1551. Name = "creator",
  1552. Value = game.Players.LocalPlayer,
  1553. Parent = h
  1554. })
  1555. game:GetService("Debris"):AddItem(c, 0.5)
  1556. if HitSound ~= nil and HitPitch ~= nil then
  1557. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1558. end
  1559. local Damage = math.random(minim, maxim)
  1560. local blocked = false
  1561. local block = hit.Parent:findFirstChild("Block")
  1562. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1563. blocked = true
  1564. block.Value = block.Value - 1
  1565. print(block.Value)
  1566. end
  1567. if blocked == false then
  1568. HitHealth = h.Health
  1569. h.Health = h.Health - Damage
  1570. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1571. print("gained kill")
  1572. end
  1573. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1574. else
  1575. h.Health = h.Health - Damage / 2
  1576. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1577. end
  1578. if Type == "Knockdown" then
  1579. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1580. hum.PlatformStand = true
  1581. coroutine.resume(coroutine.create(function(HHumanoid)
  1582. swait(1)
  1583. HHumanoid.PlatformStand = false
  1584. end), hum)
  1585. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1586. local bodvol = Create("BodyVelocity")({
  1587. velocity = angle * knockback,
  1588. P = 5000,
  1589. maxForce = Vector3.new(8000, 8000, 8000),
  1590. Parent = hit
  1591. })
  1592. local rl = Create("BodyAngularVelocity")({
  1593. P = 3000,
  1594. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1595. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1596. Parent = hit
  1597. })
  1598. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1599. game:GetService("Debris"):AddItem(rl, 0.5)
  1600. elseif Type == "Normal" then
  1601. local vp = Create("BodyVelocity")({
  1602. P = 500,
  1603. maxForce = Vector3.new(math.huge, 0, math.huge),
  1604. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1605. })
  1606. if knockback > 0 then
  1607. vp.Parent = hit.Parent.Head
  1608. end
  1609. game:GetService("Debris"):AddItem(vp, 0.5)
  1610. elseif Type == "Up" then
  1611. local bodyVelocity = Create("BodyVelocity")({
  1612. velocity = Vector3.new(0, 20, 0),
  1613. P = 5000,
  1614. maxForce = Vector3.new(8000, 8000, 8000),
  1615. Parent = hit
  1616. })
  1617. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1618. local bodyVelocity = Create("BodyVelocity")({
  1619. velocity = Vector3.new(0, 20, 0),
  1620. P = 5000,
  1621. maxForce = Vector3.new(8000, 8000, 8000),
  1622. Parent = hit
  1623. })
  1624. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1625. elseif Type == "Leech" then
  1626. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1627. if hum ~= nil then
  1628. for i = 0, 2 do
  1629. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1630. end
  1631. Humanoid.Health = Humanoid.Health + 10
  1632. end
  1633. elseif Type == "UpKnock" then
  1634. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1635. hum.PlatformStand = true
  1636. if hum ~= nil then
  1637. hitr = true
  1638. end
  1639. coroutine.resume(coroutine.create(function(HHumanoid)
  1640. swait(5)
  1641. HHumanoid.PlatformStand = false
  1642. hitr = false
  1643. end), hum)
  1644. local bodyVelocity = Create("BodyVelocity")({
  1645. velocity = Vector3.new(0, 20, 0),
  1646. P = 5000,
  1647. maxForce = Vector3.new(8000, 8000, 8000),
  1648. Parent = hit
  1649. })
  1650. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1651. local bodyVelocity = Create("BodyVelocity")({
  1652. velocity = Vector3.new(0, 20, 0),
  1653. P = 5000,
  1654. maxForce = Vector3.new(8000, 8000, 8000),
  1655. Parent = hit
  1656. })
  1657. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1658. elseif Type == "Snare" then
  1659. local bp = Create("BodyPosition")({
  1660. P = 2000,
  1661. D = 100,
  1662. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1663. position = hit.Parent.Torso.Position,
  1664. Parent = hit.Parent.Torso
  1665. })
  1666. game:GetService("Debris"):AddItem(bp, 1)
  1667. elseif Type == "Slashnare" then
  1668. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  1669. for i = 1, math.random(4, 5) do
  1670. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1671. end
  1672. local bp = Create("BodyPosition")({
  1673. P = 2000,
  1674. D = 100,
  1675. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1676. position = hit.Parent.Torso.Position,
  1677. Parent = hit.Parent.Torso
  1678. })
  1679. game:GetService("Debris"):AddItem(bp, 1)
  1680. elseif Type == "Spike" then
  1681. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1682. local bp = Create("BodyPosition")({
  1683. P = 2000,
  1684. D = 100,
  1685. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1686. position = hit.Parent.Torso.Position,
  1687. Parent = hit.Parent.Torso
  1688. })
  1689. game:GetService("Debris"):AddItem(bp, 1)
  1690. elseif Type == "Freeze" then
  1691. local BodPos = Create("BodyPosition")({
  1692. P = 50000,
  1693. D = 1000,
  1694. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1695. position = hit.Parent.Torso.Position,
  1696. Parent = hit.Parent.Torso
  1697. })
  1698. local BodGy = Create("BodyGyro")({
  1699. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1700. P = 20000,
  1701. Parent = hit.Parent.Torso,
  1702. cframe = hit.Parent.Torso.CFrame
  1703. })
  1704. hit.Parent.Torso.Anchored = true
  1705. coroutine.resume(coroutine.create(function(Part)
  1706. swait(1.5)
  1707. Part.Anchored = false
  1708. end), hit.Parent.Torso)
  1709. game:GetService("Debris"):AddItem(BodPos, 3)
  1710. game:GetService("Debris"):AddItem(BodGy, 3)
  1711. end
  1712. local debounce = Create("BoolValue")({
  1713. Name = "DebounceHit",
  1714. Parent = hit.Parent,
  1715. Value = true
  1716. })
  1717. game:GetService("Debris"):AddItem(debounce, Delay)
  1718. c = Instance.new("ObjectValue")
  1719. c.Name = "creator"
  1720. c.Value = Player
  1721. c.Parent = h
  1722. game:GetService("Debris"):AddItem(c, 0.5)
  1723. end
  1724. end
  1725. function ShowDamage(Pos, Text, Time, Color)
  1726. local Rate = 0.03333333333333333
  1727. local Pos = Pos or Vector3.new(0, 0, 0)
  1728. local Text = Text or ""
  1729. local Time = Time or 2
  1730. local Color = Color or Color3.new(1, 0, 1)
  1731. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1732. EffectPart.Anchored = true
  1733. local BillboardGui = Create("BillboardGui")({
  1734. Size = UDim2.new(3, 0, 3, 0),
  1735. Adornee = EffectPart,
  1736. Parent = EffectPart
  1737. })
  1738. local TextLabel = Create("TextLabel")({
  1739. BackgroundTransparency = 1,
  1740. Size = UDim2.new(1, 0, 1, 0),
  1741. Text = Text,
  1742. TextColor3 = Color,
  1743. TextScaled = true,
  1744. Font = Enum.Font.ArialBold,
  1745. Parent = BillboardGui
  1746. })
  1747. game.Debris:AddItem(EffectPart, Time + 0.1)
  1748. EffectPart.Parent = game:GetService("Workspace")
  1749. delay(0, function()
  1750. local Frames = Time / Rate
  1751. for Frame = 1, Frames do
  1752. wait(Rate)
  1753. local Percent = Frame / Frames
  1754. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1755. TextLabel.TextTransparency = Percent
  1756. end
  1757. if EffectPart and EffectPart.Parent then
  1758. EffectPart:Destroy()
  1759. end
  1760. end)
  1761. end
  1762. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1763. for _, c in pairs(workspace:children()) do
  1764. local hum = c:findFirstChildOfClass("Humanoid")
  1765. if hum ~= nil then
  1766. local head = c:findFirstChild("Head")
  1767. if head ~= nil then
  1768. local targ = head.Position - Part.Position
  1769. local mag = targ.magnitude
  1770. if magni >= mag and c.Name ~= Player.Name then
  1771. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1772. end
  1773. end
  1774. end
  1775. end
  1776. end
  1777.  
  1778. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1779. for _, c in pairs(workspace:children()) do
  1780. local hum = c:findFirstChild("Humanoid")
  1781. if hum ~= nil then
  1782. local head = c:findFirstChild("Torso")
  1783. if head ~= nil then
  1784. local targ = head.Position - Part.Position
  1785. local mag = targ.magnitude
  1786. if magni >= mag and c.Name ~= Player.Name then
  1787. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1788. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1789. end
  1790. end
  1791. end
  1792. end
  1793. end
  1794.  
  1795. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1796. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1797. end
  1798.  
  1799. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1800. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1801. prt.Anchored=true
  1802. prt.CFrame=cframe
  1803. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1804. --http://www.roblox.com/asset/?id=4770560
  1805. game:GetService("Debris"):AddItem(prt,2)
  1806. CF=prt.CFrame
  1807. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1808. for i=0,1,0.2 do
  1809. wait()
  1810. Part.CFrame=CF*cf(0,0,-0.4)
  1811. end
  1812. for i=0,1,delay do
  1813. wait()
  1814. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1815. Mesh.Scale=Mesh.Scale
  1816. end
  1817. for i=0,1,0.1 do
  1818. wait()
  1819. Part.Transparency=i
  1820. end
  1821. Part.Parent=nil
  1822. end),prt,msh,CF)
  1823. end
  1824.  
  1825. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1826. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1827. prt.Anchored=true
  1828. prt.Material = "Neon"
  1829. prt.CFrame=cframe
  1830. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1831. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1832. game:GetService("Debris"):AddItem(prt,5)
  1833. coroutine.resume(coroutine.create(function(Part,Mesh)
  1834. for i=0,1,delay do
  1835. swait()
  1836. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1837. Part.Transparency=i
  1838. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1839. end
  1840. Part.Parent=nil
  1841. end),prt,msh)
  1842. end
  1843.  
  1844. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1845. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1846. prt.Anchored=true
  1847. prt.Material = "Neon"
  1848. prt.CFrame=cframe
  1849. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1850. game:GetService("Debris"):AddItem(prt,5)
  1851. coroutine.resume(coroutine.create(function(Part,Mesh)
  1852. local rtype = rottype
  1853. for i=0,1,delay do
  1854. swait()
  1855. if rtype == 1 then
  1856. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1857. elseif rtype == 2 then
  1858. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1859. end
  1860. Part.Transparency=i
  1861. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1862. end
  1863. Part.Parent=nil
  1864. end),prt,msh)
  1865. end
  1866.  
  1867. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1868. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1869. prt.Anchored=true
  1870. prt.CFrame=cframe
  1871. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1872. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1873. game:GetService("Debris"):AddItem(prt,5)
  1874. coroutine.resume(coroutine.create(function(Part,Mesh)
  1875. for i=0,1,delay do
  1876. wait()
  1877. Part.Transparency=i
  1878. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1879. end
  1880. Part.Parent=nil
  1881. end),prt,msh)
  1882. end
  1883.  
  1884. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1885. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1886. prt.Anchored=true
  1887. prt.Material = "Neon"
  1888. prt.CFrame=cframe
  1889. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1890. game:GetService("Debris"):AddItem(prt,5)
  1891. coroutine.resume(coroutine.create(function(Part,Mesh)
  1892. local rtype = rottype
  1893. for i=0,1,delay do
  1894. swait()
  1895. if rtype == 1 then
  1896. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1897. elseif rtype == 2 then
  1898. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1899. end
  1900. Part.Transparency=i
  1901. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1902. end
  1903. Part.Parent=nil
  1904. end),prt,msh)
  1905. end
  1906.  
  1907. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1908. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1909. prt.Anchored=true
  1910. prt.Material = "Neon"
  1911. prt.CFrame=cframe
  1912. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1913. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1914. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1915. game:GetService("Debris"):AddItem(prt,5)
  1916. coroutine.resume(coroutine.create(function(Part,Mesh)
  1917. local rtype = rottype
  1918. for i=0,1,delay do
  1919. swait()
  1920. if rtype == 1 then
  1921. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1922. elseif rtype == 2 then
  1923. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1924. end
  1925. dec.Transparency=i
  1926. dec2.Transparency=i
  1927. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1928. end
  1929. Part.Parent=nil
  1930. end),prt,msh)
  1931. end
  1932.  
  1933. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1934. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1935. prt.Anchored=true
  1936. prt.Material = "Neon"
  1937. prt.CFrame=cframe
  1938. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1939. game:GetService("Debris"):AddItem(prt,5)
  1940. coroutine.resume(coroutine.create(function(Part,Mesh)
  1941. local rtype = rottype
  1942. for i=0,1,delay do
  1943. swait()
  1944. if rtype == 1 then
  1945. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1946. elseif rtype == 2 then
  1947. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1948. end
  1949. prt.Transparency=i
  1950. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1951. end
  1952. Part.Parent=nil
  1953. end),prt,msh)
  1954. end
  1955.  
  1956. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1957. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1958. prt.Anchored=true
  1959. prt.Material = "Neon"
  1960. prt.CFrame=cframe
  1961. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1962. game:GetService("Debris"):AddItem(prt,5)
  1963. coroutine.resume(coroutine.create(function(Part,Mesh)
  1964. local rtype = rottype
  1965. for i=0,1,delay do
  1966. swait()
  1967. if rtype == 1 then
  1968. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1969. elseif rtype == 2 then
  1970. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1971. end
  1972. prt.Transparency=i
  1973. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1974. end
  1975. Part.Parent=nil
  1976. end),prt,msh)
  1977. end
  1978.  
  1979. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1980. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1981. prt.Anchored=true
  1982. prt.Material = "Neon"
  1983. prt.CFrame=cframe
  1984. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1985. game:GetService("Debris"):AddItem(prt,5)
  1986. coroutine.resume(coroutine.create(function(Part,Mesh)
  1987. local rtype = rottype
  1988. for i=0,1,delay do
  1989. swait()
  1990. if rtype == 1 then
  1991. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1992. elseif rtype == 2 then
  1993. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1994. end
  1995. prt.Transparency=i
  1996. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1997. end
  1998. Part.Parent=nil
  1999. end),prt,msh)
  2000. end
  2001.  
  2002. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2003. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2004. prt.Anchored=true
  2005. prt.Material = "Neon"
  2006. prt.CFrame=cframe
  2007. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2008. game:GetService("Debris"):AddItem(prt,5)
  2009. coroutine.resume(coroutine.create(function(Part,Mesh)
  2010. local rtype = rottype
  2011. for i=0,1,delay do
  2012. swait()
  2013. if rtype == 1 then
  2014. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2015. elseif rtype == 2 then
  2016. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2017. end
  2018. prt.Transparency=i
  2019. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2020. end
  2021. Part.Parent=nil
  2022. end),prt,msh)
  2023. end
  2024.  
  2025. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2026. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2027. prt.Anchored=false
  2028. prt.CFrame=cframe
  2029. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2030. local wld=weld(prt,prt,Parent,cframe)
  2031. game:GetService("Debris"):AddItem(prt,5)
  2032. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2033. for i=0,1,delay do
  2034. wait()
  2035. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2036. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2037. Part.Transparency=i
  2038. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2039. end
  2040. Part.Parent=nil
  2041. end),prt,msh,wld)
  2042. end
  2043.  
  2044. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2045. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2046. prt.Anchored=false
  2047. prt.CFrame=cframe
  2048. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2049. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2050. game:GetService("Debris"):AddItem(prt,5)
  2051. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2052. for i=0,1,delay do
  2053. wait()
  2054. Weld.C0=euler(i*20,0,0)
  2055. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2056. Part.Transparency=i
  2057. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2058. end
  2059. Part.Parent=nil
  2060. end),prt,msh,wld)
  2061. end
  2062.  
  2063. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2064. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2065. prt.Anchored=true
  2066. prt.CFrame=cframe
  2067. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2068. game:GetService("Debris"):AddItem(prt,2)
  2069. coroutine.resume(coroutine.create(function(Part,Mesh)
  2070. for i=0,1,delay do
  2071. wait()
  2072. Part.CFrame=Part.CFrame
  2073. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2074. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2075. prt2.Anchored=true
  2076. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2077. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2078. game:GetService("Debris"):AddItem(prt2,2)
  2079. coroutine.resume(coroutine.create(function(Part,Mesh)
  2080. for i=0,1,0.1 do
  2081. wait()
  2082. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2083. end
  2084. Part.Parent=nil
  2085. end),prt2,msh2)
  2086. end
  2087. for i=0,1,delay*2 do
  2088. wait()
  2089. Part.CFrame=Part.CFrame
  2090. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2091. end
  2092. Part.Parent=nil
  2093. end),prt,msh)
  2094. end
  2095.  
  2096. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2097. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2098. prt.Anchored=true
  2099. prt.CFrame=cframe
  2100. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2101. game:GetService("Debris"):AddItem(prt,2)
  2102. coroutine.resume(coroutine.create(function(Part,Mesh)
  2103. for i=0,1,delay do
  2104. wait()
  2105. Part.CFrame=Part.CFrame
  2106. Part.Transparency=i
  2107. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2108. end
  2109. Part.Parent=nil
  2110. end),prt,msh)
  2111. end
  2112.  
  2113. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2114. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2115. prt.Anchored=true
  2116. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2117. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2118. game:GetService("Debris"):AddItem(prt,2)
  2119. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2120. CF=Part.CFrame
  2121. Numbb=0
  2122. randnumb=math.random()/10
  2123. rand1=math.random()/10
  2124. for i=0,1,rand1 do
  2125. wait()
  2126. CF=CF*cf(0,math.random()/2,0)
  2127. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2128. Part.CFrame=CF*euler(Numbb,0,0)
  2129. Part.Transparency=i
  2130. Numbb=Numbb+randnumb
  2131. end
  2132. Part.Parent=nil
  2133. end),prt,CF,Numbb,randnumb)
  2134. end
  2135.  
  2136. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2137. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2138. prt.Anchored=true
  2139. prt.CFrame=cframe
  2140. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2141. game:GetService("Debris"):AddItem(prt,5)
  2142. coroutine.resume(coroutine.create(function(Part,Mesh)
  2143. for i=0,1,delay do
  2144. wait()
  2145. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2146. Part.Transparency=i
  2147. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2148. end
  2149. Part.Parent=nil
  2150. end),prt,msh)
  2151. end
  2152.  
  2153. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2154. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2155. prt.Anchored=true
  2156. prt.CFrame=cframe
  2157. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2158. game:GetService("Debris"):AddItem(prt,2)
  2159. coroutine.resume(coroutine.create(function(Part,Mesh)
  2160. for i=0,1,delay do
  2161. wait()
  2162. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2163. Part.Transparency=i
  2164. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2165. end
  2166. Part.Parent=nil
  2167. end),prt,msh)
  2168. end
  2169.  
  2170. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2171. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2172. prt.Anchored=true
  2173. prt.CFrame=cframe*cf(x,y,z)
  2174. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2175. game:GetService("Debris"):AddItem(prt,5)
  2176. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2177. local num=math.random()
  2178. local num2=math.random(-3,2)+math.random()
  2179. local numm=0
  2180. for i=0,1,delay*2 do
  2181. swait()
  2182. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2183. Part.Transparency=i
  2184. numm=numm+0.01
  2185. end
  2186. Part.Parent=nil
  2187. Mesh.Parent=nil
  2188. end),prt,msh,x,y,z)
  2189. end
  2190.  
  2191. function dmgstart(dmg,what)
  2192. hitcon = what.Touched:connect(function(hit)
  2193. local hum = hit.Parent:FindFirstChild("Humanoid")
  2194. if hum and not hum:IsDescendantOf(Character) then
  2195. hum:TakeDamage(dmg)
  2196. end
  2197. end)
  2198. end
  2199.  
  2200. function dmgstop()
  2201. hitcon:disconnect()
  2202. end
  2203.  
  2204. function Cloak()
  2205. Face.Parent=nil
  2206. cloaked=true
  2207. for _,v in pairs(Torso.Parent:children()) do
  2208. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2209. coroutine.resume(coroutine.create(function()
  2210. for i=0,1,0.2 do
  2211. wait()
  2212. v.Transparency=i
  2213. end
  2214. v.Transparency=1
  2215. end))
  2216. end
  2217. if v.className=="Hat" then
  2218. hatp=v.Handle
  2219. coroutine.resume(coroutine.create(function(derp)
  2220. for i=0,1,0.2 do
  2221. wait()
  2222. derp.Transparency=i
  2223. end
  2224. derp.Transparency=1
  2225. end),hatp)
  2226. end
  2227. end
  2228. for _,v in pairs(m:children()) do
  2229. if v.className=="Part" then
  2230. coroutine.resume(coroutine.create(function()
  2231. for i=0,1,0.2 do
  2232. wait()
  2233. v.Transparency=i
  2234. end
  2235. v.Transparency=1
  2236. end))
  2237. end
  2238. end
  2239. end
  2240.  
  2241. function UnCloak()
  2242. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2243. Face.Parent=Head
  2244. cloaked=false
  2245. for _,v in pairs(Torso.Parent:children()) do
  2246. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2247. coroutine.resume(coroutine.create(function()
  2248. for i=0,1,0.1 do
  2249. wait()
  2250. v.Transparency=v.Transparency-0.1
  2251. end
  2252. v.Transparency=0
  2253. end))
  2254. end
  2255. if v.className=="Hat" then
  2256. hatp=v.Handle
  2257. coroutine.resume(coroutine.create(function(derp)
  2258. for i=0,1,0.1 do
  2259. wait()
  2260. derp.Transparency=derp.Transparency-0.1
  2261. end
  2262. derp.Transparency=0
  2263. end),hatp)
  2264. end
  2265. end
  2266. for _,v in pairs(m:children()) do
  2267. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2268. coroutine.resume(coroutine.create(function()
  2269. for i=0,1,0.1 do
  2270. wait()
  2271. v.Transparency=v.Transparency-0.1
  2272. end
  2273. v.Transparency=0
  2274. end))
  2275. v.Transparency=0
  2276. end
  2277. end
  2278. end
  2279.  
  2280. local origcolor = BrickColor.new("Pastel light blue")
  2281. ---- This section of explosions.
  2282. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2283. local expart = Instance.new("Part",char)
  2284. local expart2 = Instance.new("Part",char)
  2285. local rin = Instance.new("Part",char)
  2286. local rin2 = Instance.new("Part",char)
  2287. local partMesh = Instance.new("SpecialMesh",expart)
  2288. partMesh.MeshType = "Sphere"
  2289. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2290. partMesh2.MeshType = "Sphere"
  2291. local partMesh3 = Instance.new("SpecialMesh",rin)
  2292. partMesh3.MeshType = "Brick"
  2293. local partMesh4 = Instance.new("SpecialMesh",rin2)
  2294. partMesh4.MeshType = "Brick"
  2295. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2296. partMesh.Scale = vt(rad,rad,rad)
  2297. expart.Size = vt(1,1,1)
  2298. expart.Transparency = 0
  2299. expart.Anchored = true
  2300. expart.Material = "Neon"
  2301. expart.BrickColor = bc("White")
  2302. expart.CFrame = par.CFrame
  2303. partMesh2.Scale = vt(rad,rad,rad)
  2304. expart2.Size = vt(1.15,1.15,1.15)
  2305. expart2.Transparency = 0.5
  2306. expart2.Anchored = true
  2307. expart2.Material = "Neon"
  2308. expart2.BrickColor = par.BrickColor
  2309. expart2.CFrame = par.CFrame
  2310. rin.Size = vt(1.15,1.15,1.15)
  2311. rin.Transparency = 1
  2312. rin.Anchored = true
  2313. rin.Material = "Neon"
  2314. rin.BrickColor = par.BrickColor
  2315. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2316. rin2.Size = vt(1.15,1.15,1.15)
  2317. rin2.Transparency = 1
  2318. rin2.Anchored = true
  2319. rin2.Material = "Neon"
  2320. rin2.BrickColor = par.BrickColor
  2321. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2322. partMesh3.Scale = vt(0,1,0)
  2323. partMesh4.Scale = vt(0,1,0)
  2324. local dec2 = Instance.new("Decal", rin)
  2325. dec2.Face = "Top"
  2326. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2327. dec2.Parent = rin
  2328. local dec2b = dec2:Clone()
  2329. dec2b.Face = "Bottom"
  2330. dec2b.Parent = rin
  2331.  
  2332. local dec2a = Instance.new("Decal", rin2)
  2333. dec2a.Face = "Top"
  2334. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2335. dec2a.Parent = rin2
  2336. local dec2ab = dec2a:Clone()
  2337. dec2ab.Face = "Bottom"
  2338. dec2ab.Parent = rin2
  2339. expart.CanCollide = false
  2340. expart2.CanCollide = false
  2341. rin.CanCollide = false
  2342. rin2.CanCollide = false
  2343. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2344. local value = 1*rad/6.5
  2345. for i = 0, 199 do
  2346. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2347. expart.CFrame = expart.CFrame
  2348. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2349. expart2.CFrame = expart.CFrame
  2350. value = value - 0.035*rad/30
  2351. if value < 7.5 then
  2352. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2353. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2354. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2355. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2356. end
  2357. if value < 0 then
  2358. dec2.Transparency = dec2.Transparency + 0.025
  2359. dec2a.Transparency = dec2a.Transparency + 0.025
  2360. dec2b.Transparency = dec2b.Transparency + 0.025
  2361. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2362. expart.Transparency = expart.Transparency + 0.025
  2363. expart2.Transparency = expart2.Transparency + 0.025
  2364. rin.Transparency = rin.Transparency + 0.025
  2365. rin2.Transparency = rin2.Transparency + 0.025
  2366. end
  2367. swait()
  2368. end
  2369. game:GetService("Debris"):AddItem(expart, 1)
  2370. game:GetService("Debris"):AddItem(expart2, 1)
  2371. game:GetService("Debris"):AddItem(rin, 1)
  2372. game:GetService("Debris"):AddItem(rin2, 1)
  2373. end
  2374.  
  2375. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2376. local expart = Instance.new("Part",char)
  2377. local expart2 = Instance.new("Part",char)
  2378. local partMesh = Instance.new("SpecialMesh",expart)
  2379. partMesh.MeshType = "Sphere"
  2380. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2381. partMesh2.MeshType = "Sphere"
  2382. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2383. partMesh.Scale = vt(rad,rad,rad)
  2384. expart.Size = vt(1,1,1)
  2385. expart.Transparency = 0
  2386. expart.Anchored = true
  2387. expart.Material = "Neon"
  2388. expart.BrickColor = bc("White")
  2389. expart.CFrame = par.CFrame
  2390. partMesh2.Scale = vt(rad,rad,rad)
  2391. expart2.Size = vt(1.15,1.15,1.15)
  2392. expart2.Transparency = 0.5
  2393. expart2.Anchored = true
  2394. expart2.Material = "Neon"
  2395. expart2.BrickColor = par.BrickColor
  2396. expart2.CFrame = par.CFrame
  2397. expart.CanCollide = false
  2398. expart2.CanCollide = false
  2399. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2400. local value = 1*rad/6.5
  2401. for i = 0, 75 do
  2402. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2403. expart.CFrame = expart.CFrame
  2404. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2405. expart2.CFrame = expart.CFrame
  2406. value = value - 0.035*rad/5
  2407. if value < 0 then
  2408. value = 0
  2409. expart.Transparency = expart.Transparency + 0.05
  2410. expart2.Transparency = expart2.Transparency + 0.05
  2411. end
  2412. swait()
  2413. end
  2414. game:GetService("Debris"):AddItem(expart, 1)
  2415. game:GetService("Debris"):AddItem(expart2, 1)
  2416. end
  2417.  
  2418. function AreaDanger(rad,par,mindam,maxdam)
  2419. local expart = Instance.new("Part",char)
  2420. local partMesh = Instance.new("SpecialMesh",expart)
  2421. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2422. partMesh.MeshType = "Sphere"
  2423. partMesh.Scale = vt(rad,rad,rad)
  2424. expart.Size = vt(1,1,1)
  2425. expart.Transparency = 0.5
  2426. expart.Anchored = true
  2427. expart.Material = "Neon"
  2428. expart.CanCollide = false
  2429. expart.BrickColor = par.BrickColor
  2430. expart.CFrame = par.CFrame
  2431. local value = 1*rad/5
  2432. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2433. for i = 0, 14 do
  2434. wait()
  2435. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2436. expart.CFrame = expart.CFrame
  2437. value = value - 0.035*rad
  2438. if value < 0 then
  2439. value = 0
  2440. end
  2441. end
  2442. wait(0.25)
  2443. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2444. wait(0.5)
  2445. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2446. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2447. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2448. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2449. for i = 0, 14 do
  2450. wait()
  2451. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2452. expart.CFrame = expart.CFrame
  2453. value = value - 0.035*rad/2
  2454. end
  2455. expart.Transparency = 1
  2456. game:GetService("Debris"):AddItem(expart, 5)
  2457. end
  2458.  
  2459. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2460. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2461. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2462. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2463. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2464. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2465. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2466. for i = 0, 24 do
  2467. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  2468. end
  2469. for i = 0, 24 do
  2470. local expart = Instance.new("Part",char)
  2471. expart.Transparency = 1
  2472. expart.Anchored = true
  2473. expart.CanCollide = false
  2474. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2475. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2476. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2477. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2478. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2479. for i = 0, 9 do
  2480. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  2481. end
  2482. game:GetService("Debris"):AddItem(expart, 2)
  2483. wait(0.1)
  2484. end
  2485. end
  2486.  
  2487. function EXterPlosion(par)
  2488. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2489. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2490. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2491. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2492. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2493. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2494. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2495. for i = 0, 24 do
  2496. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  2497. end
  2498. for i = 0, 24 do
  2499. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  2500. end
  2501. end
  2502. ----
  2503.  
  2504.  
  2505. function ring(type,pos,scale,value)
  2506. local type = type
  2507. local rng = Instance.new("Part", char)
  2508. rng.Anchored = true
  2509. rng.BrickColor = origcolor
  2510. rng.CanCollide = false
  2511. rng.FormFactor = 3
  2512. rng.Name = "Ring"
  2513. rng.Size = Vector3.new(1, 1, 1)
  2514. rng.Transparency = 0
  2515. rng.TopSurface = 0
  2516. rng.BottomSurface = 0
  2517. rng.CFrame = pos
  2518. local rngm = Instance.new("SpecialMesh", rng)
  2519. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2520. rngm.Scale = scale
  2521. local scaler2 = 1
  2522. if type == "Add" then
  2523. scaler2 = 1*value
  2524. elseif type == "Divide" then
  2525. scaler2 = 1/value
  2526. end
  2527. coroutine.resume(coroutine.create(function()
  2528. for i = 0,10,0.1 do
  2529. swait()
  2530. if type == "Add" then
  2531. scaler2 = scaler2 - 0.01*value
  2532. elseif type == "Divide" then
  2533. scaler2 = scaler2 - 0.01/value
  2534. end
  2535. rng.Transparency = rng.Transparency + 0.01
  2536. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2537. end
  2538. rng:Destroy()
  2539. end))
  2540. end
  2541.  
  2542.  
  2543. function wave(type,pos,scale,value)
  2544. local type = type
  2545. local rng = Instance.new("Part", char)
  2546. rng.Anchored = true
  2547. rng.BrickColor = origcolor
  2548. rng.CanCollide = false
  2549. rng.FormFactor = 3
  2550. rng.Name = "Ring"
  2551. rng.Size = Vector3.new(1, 1, 1)
  2552. rng.Transparency = 0
  2553. rng.TopSurface = 0
  2554. rng.BottomSurface = 0
  2555. rng.CFrame = pos
  2556. local rngm = Instance.new("SpecialMesh", rng)
  2557. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2558. rngm.Scale = scale
  2559. local scaler2 = 1
  2560. if type == "Add" then
  2561. scaler2 = 1*value
  2562. elseif type == "Divide" then
  2563. scaler2 = 1/value
  2564. end
  2565. coroutine.resume(coroutine.create(function()
  2566. for i = 0,10,0.1 do
  2567. swait()
  2568. if type == "Add" then
  2569. scaler2 = scaler2 - 0.01*value
  2570. elseif type == "Divide" then
  2571. scaler2 = scaler2 - 0.01/value
  2572. end
  2573. rng.Transparency = rng.Transparency + 0.01
  2574. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2575. end
  2576. rng:Destroy()
  2577. end))
  2578. end
  2579.  
  2580. function wind(type,pos,scale,value,speed)
  2581. local type = type
  2582. local rng = Instance.new("Part", char)
  2583. rng.Anchored = true
  2584. rng.BrickColor = origcolor
  2585. rng.CanCollide = false
  2586. rng.FormFactor = 3
  2587. rng.Name = "Ring"
  2588. rng.Size = Vector3.new(1, 1, 1)
  2589. rng.Transparency = 0
  2590. rng.TopSurface = 0
  2591. rng.BottomSurface = 0
  2592. rng.CFrame = pos
  2593. local rngm = Instance.new("SpecialMesh", rng)
  2594. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2595. rngm.Scale = scale
  2596. local scaler2 = 1
  2597. if type == "Add" then
  2598. scaler2 = 1*value
  2599. elseif type == "Divide" then
  2600. scaler2 = 1/value
  2601. end
  2602. coroutine.resume(coroutine.create(function()
  2603. for i = 0,10,0.1 do
  2604. swait()
  2605. if type == "Add" then
  2606. scaler2 = scaler2 - 0.01*value
  2607. elseif type == "Divide" then
  2608. scaler2 = scaler2 - 0.01/value
  2609. end
  2610. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2611. rng.Transparency = rng.Transparency + 0.01
  2612. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2613. end
  2614. rng:Destroy()
  2615. end))
  2616. end
  2617.  
  2618. function groundwind(type,pos,scale,value,speed)
  2619. local type = type
  2620. local rng = Instance.new("Part", char)
  2621. rng.Anchored = true
  2622. rng.BrickColor = origcolor
  2623. rng.CanCollide = false
  2624. rng.FormFactor = 3
  2625. rng.Name = "Ring"
  2626. rng.Size = Vector3.new(1, 1, 1)
  2627. rng.Transparency = 0
  2628. rng.TopSurface = 0
  2629. rng.BottomSurface = 0
  2630. rng.CFrame = pos
  2631. local rngm = Instance.new("SpecialMesh", rng)
  2632. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2633. rngm.Scale = scale
  2634. local scaler2 = 1
  2635. if type == "Add" then
  2636. scaler2 = 1*value
  2637. elseif type == "Divide" then
  2638. scaler2 = 1/value
  2639. end
  2640. coroutine.resume(coroutine.create(function()
  2641. for i = 0,10,0.1 do
  2642. swait()
  2643. if type == "Add" then
  2644. scaler2 = scaler2 - 0.01*value
  2645. elseif type == "Divide" then
  2646. scaler2 = scaler2 - 0.01/value
  2647. end
  2648. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2649. rng.Transparency = rng.Transparency + 0.01
  2650. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2651. end
  2652. rng:Destroy()
  2653. end))
  2654. end
  2655.  
  2656. function CameraManager()
  2657. if TwoD and not CamInterrupt then
  2658. if Humanoid.Health > 0 then
  2659. Camera.CameraSubject = Humanoid
  2660. Camera.CameraType = "Scriptable"
  2661. Humanoid.AutoRotate = false
  2662. if Booleans.GyroUse then
  2663. Directer.MaxTorque = Vec3(0, huge, 0)
  2664. else
  2665. Directer.MaxTorque = Vec3(0, 0, 0)
  2666. end
  2667. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2668. if Booleans.CamFollow then
  2669. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2670. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2671. else
  2672. CPart.Position = RootPart.Position
  2673. end
  2674. else
  2675. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2676. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2677. end
  2678. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2679. else
  2680. Camera.CameraSubject = Humanoid
  2681. Camera.CameraType = "Custom"
  2682. Controller.Disabled = false
  2683. end
  2684. end
  2685. end
  2686.  
  2687. function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
  2688. local type = type
  2689. local rng = Instance.new("Part", char)
  2690. rng.Anchored = true
  2691. rng.BrickColor = color
  2692. rng.CanCollide = false
  2693. rng.FormFactor = 3
  2694. rng.Name = "Ring"
  2695. rng.Material = "Neon"
  2696. rng.Size = Vector3.new(1, 1, 1)
  2697. rng.Transparency = 0
  2698. rng.TopSurface = 0
  2699. rng.BottomSurface = 0
  2700. rng.CFrame = pos
  2701. local rngm = Instance.new("SpecialMesh", rng)
  2702. rngm.MeshType = "Sphere"
  2703.  
  2704.  
  2705. if(heart)then
  2706. rngm.MeshType = Enum.MeshType.FileMesh
  2707. rngm.MeshId = "rbxassetid://105992239"
  2708. rngm.Offset = Vector3.new(0,0,-.25)
  2709. end
  2710. rngm.Scale = scale
  2711. if rainbowmode == true and not notaffectbychaosrainbow then
  2712. rng.Color = Color3.new(r/255,g/255,b/255)
  2713. end
  2714. local scaler2 = 1
  2715. if type == "Add" then
  2716. scaler2 = 1*value
  2717. elseif type == "Divide" then
  2718. scaler2 = 1/value
  2719. end
  2720. coroutine.resume(coroutine.create(function()
  2721. for i = 0,10/bonuspeed,0.1 do
  2722. swait()
  2723. if rainbowmode == true and not notaffectbychaosrainbow then
  2724. rng.Color = Color3.new(r/255,g/255,b/255)
  2725. end
  2726. if type == "Add" then
  2727. scaler2 = scaler2 - 0.01*value/bonuspeed
  2728. elseif type == "Divide" then
  2729. scaler2 = scaler2 - 0.01/value*bonuspeed
  2730. end
  2731. if chaosmode == true and not notaffectbychaosrainbow then
  2732. rng.BrickColor = BrickColor.random()
  2733. end
  2734. if glitchymode then
  2735. local val = math.random(1,255)
  2736. local color = Color3.fromRGB(val,val,val)
  2737. rng.Color = color
  2738. end
  2739. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2740. if(invert)then
  2741. if(heart)then
  2742. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2743. else
  2744. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2745. end
  2746. else
  2747. if(heart)then
  2748. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2749. else
  2750. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2751. end
  2752. end
  2753. rng.CFrame = pos
  2754. end
  2755. rng:Destroy()
  2756. end))
  2757. end
  2758.  
  2759. function newBezier(startpos, pos2, pos3, endpos, t)
  2760. local A = clerp(startpos, pos2, t)
  2761. local B = clerp(pos2, pos3, t)
  2762. local C = clerp(pos3, endpos, t)
  2763. local lerp1 = clerp(A, B, t)
  2764. local lerp2 = clerp(B, C, t)
  2765. local cubic = clerp(lerp1, lerp2, t)
  2766. return cubic
  2767. end
  2768.  
  2769.  
  2770. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2771. local type = type
  2772. local rng = Instance.new("Part", char)
  2773. rng.Anchored = true
  2774. rng.BrickColor = color
  2775. rng.CanCollide = false
  2776. rng.FormFactor = 3
  2777. rng.Name = "Ring"
  2778. rng.Material = "Neon"
  2779. rng.Size = Vector3.new(1, 1, 1)
  2780. rng.Transparency = 0
  2781. rng.TopSurface = 0
  2782. rng.BottomSurface = 0
  2783. rng.CFrame = pos
  2784. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2785. local rngm = Instance.new("SpecialMesh", rng)
  2786. rngm.MeshType = "Brick"
  2787. if(heart)then
  2788. rngm.MeshType = Enum.MeshType.FileMesh
  2789. rngm.MeshId = "rbxassetid://105992239"
  2790. rngm.Offset = Vector3.new(0,0,-.25)
  2791. end
  2792. rngm.Scale = vt(x1,y1,z1)
  2793. if rainbowmode == true then
  2794. rng.Color = Color3.new(r/255,g/255,b/255)
  2795. end
  2796. local scaler2 = 1
  2797. local speeder = FastSpeed/10
  2798. if type == "Add" then
  2799. scaler2 = 1*value
  2800. elseif type == "Divide" then
  2801. scaler2 = 1/value
  2802. end
  2803. coroutine.resume(coroutine.create(function()
  2804. for i = 0,10/bonuspeed,0.1 do
  2805. swait()
  2806. if rainbowmode == true then
  2807. rng.Color = Color3.new(r/255,g/255,b/255)
  2808. end
  2809. if type == "Add" then
  2810. scaler2 = scaler2 - 0.01*value/bonuspeed
  2811. elseif type == "Divide" then
  2812. scaler2 = scaler2 - 0.01/value*bonuspeed
  2813. end
  2814. if chaosmode == true then
  2815. rng.BrickColor = BrickColor.random()
  2816. end
  2817. if glitchymode then
  2818. local val = math.random(1,255)
  2819. local color = Color3.fromRGB(val,val,val)
  2820. rng.Color = color
  2821. end
  2822. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2823. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2824. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2825. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2826. end
  2827. rng:Destroy()
  2828. end))
  2829. end
  2830.  
  2831.  
  2832. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2833. local type = type
  2834. local rng = Instance.new("Part", char)
  2835. rng.Anchored = true
  2836. rng.BrickColor = color
  2837. rng.CanCollide = false
  2838. rng.FormFactor = 3
  2839. rng.Name = "Ring"
  2840. rng.Material = "Neon"
  2841. rng.Size = Vector3.new(1, 1, 1)
  2842. rng.Transparency = 0
  2843. rng.TopSurface = 0
  2844. rng.BottomSurface = 0
  2845. rng.CFrame = pos
  2846. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2847. local rngm = Instance.new("SpecialMesh", rng)
  2848. rngm.MeshType = "Brick"
  2849. if(heart)then
  2850. rngm.MeshType = Enum.MeshType.FileMesh
  2851. rngm.MeshId = "rbxassetid://105992239"
  2852. rngm.Offset = Vector3.new(0,0,-.25)
  2853. end
  2854. rngm.Scale = vt(x1,y1,z1)
  2855. if rainbowmode == true then
  2856. rng.Color = Color3.new(r/255,g/255,b/255)
  2857. end
  2858. local scaler2 = 0
  2859. local speeder = FastSpeed/10
  2860. if type == "Add" then
  2861. scaler2 = 1*value
  2862. elseif type == "Divide" then
  2863. scaler2 = 1/value
  2864. end
  2865. coroutine.resume(coroutine.create(function()
  2866. for i = 0,10/bonuspeed,0.1 do
  2867. swait()
  2868. if rainbowmode == true then
  2869. rng.Color = Color3.new(r/255,g/255,b/255)
  2870. end
  2871. if type == "Add" then
  2872. scaler2 = scaler2 - 0.01*value/bonuspeed
  2873. elseif type == "Divide" then
  2874. scaler2 = scaler2 - 0.01/value*bonuspeed
  2875. end
  2876. if chaosmode == true then
  2877. rng.BrickColor = BrickColor.random()
  2878. end
  2879. if glitchymode then
  2880. local val = math.random(1,255)
  2881. local color = Color3.fromRGB(val,val,val)
  2882. rng.Color = color
  2883. end
  2884. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2885. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2886. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2887. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2888. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2889. end
  2890. rng:Destroy()
  2891. end))
  2892. end
  2893.  
  2894. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2895. local type = type
  2896. local rng = Instance.new("Part", char)
  2897. rng.Anchored = true
  2898. rng.BrickColor = color
  2899. rng.CanCollide = false
  2900. rng.FormFactor = 3
  2901. rng.Name = "Ring"
  2902. rng.Material = "Neon"
  2903. rng.Size = Vector3.new(1, 1, 1)
  2904. rng.Transparency = 0
  2905. rng.TopSurface = 0
  2906. rng.BottomSurface = 0
  2907. rng.CFrame = pos
  2908. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2909. local rngm = Instance.new("SpecialMesh", rng)
  2910. rngm.MeshType = "Sphere"
  2911. rngm.Scale = vt(x1,y1,z1)
  2912. if rainbowmode == true then
  2913. rng.Color = Color3.new(r/255,g/255,b/255)
  2914. end
  2915. local scaler2 = 1
  2916. local speeder = FastSpeed
  2917. if type == "Add" then
  2918. scaler2 = 1*value
  2919. elseif type == "Divide" then
  2920. scaler2 = 1/value
  2921. end
  2922. coroutine.resume(coroutine.create(function()
  2923. for i = 0,10/bonuspeed,0.1 do
  2924. swait()
  2925. if rainbowmode == true then
  2926. rng.Color = Color3.new(r/255,g/255,b/255)
  2927. end
  2928. if type == "Add" then
  2929. scaler2 = scaler2 - 0.01*value/bonuspeed
  2930. elseif type == "Divide" then
  2931. scaler2 = scaler2 - 0.01/value*bonuspeed
  2932. end
  2933. if chaosmode == true then
  2934. rng.BrickColor = BrickColor.random()
  2935. end
  2936. if glitchymode then
  2937. local val = math.random(1,255)
  2938. local color = Color3.fromRGB(val,val,val)
  2939. rng.Color = color
  2940. end
  2941. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2942. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2943. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2944. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2945. end
  2946. rng:Destroy()
  2947. end))
  2948. end
  2949.  
  2950.  
  2951. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2952. local type = type
  2953. local rng = Instance.new("Part", char)
  2954. rng.Anchored = true
  2955. rng.BrickColor = color
  2956. rng.CanCollide = false
  2957. rng.FormFactor = 3
  2958. rng.Name = "Ring"
  2959. rng.Material = "Neon"
  2960. rng.Size = Vector3.new(1, 1, 1)
  2961. rng.Transparency = 1
  2962. rng.TopSurface = 0
  2963. rng.BottomSurface = 0
  2964. rng.CFrame = pos
  2965. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2966. local rngm = Instance.new("SpecialMesh", rng)
  2967. rngm.MeshType = "Sphere"
  2968. rngm.Scale = vt(x1,y1,z1)
  2969. if rainbowmode == true then
  2970. rng.Color = Color3.new(r/255,g/255,b/255)
  2971. end
  2972. local scaler2 = 1
  2973. local speeder = FastSpeed
  2974. if type == "Add" then
  2975. scaler2 = 1*value
  2976. elseif type == "Divide" then
  2977. scaler2 = 1/value
  2978. end
  2979. coroutine.resume(coroutine.create(function()
  2980. for i = 0,10/bonuspeed,0.1 do
  2981. swait()
  2982. if rainbowmode == true then
  2983. rng.Color = Color3.new(r/255,g/255,b/255)
  2984. end
  2985. if type == "Add" then
  2986. scaler2 = scaler2 - 0.01*value/bonuspeed
  2987. elseif type == "Divide" then
  2988. scaler2 = scaler2 - 0.01/value*bonuspeed
  2989. end
  2990. if chaosmode == true then
  2991. rng.BrickColor = BrickColor.random()
  2992. end
  2993. if glitchymode then
  2994. local val = math.random(1,255)
  2995. local color = Color3.fromRGB(val,val,val)
  2996. rng.Color = color
  2997. end
  2998. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2999. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3000. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3001. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3002. end
  3003. rng:Destroy()
  3004. end))
  3005. end
  3006.  
  3007. function dmg(dude)
  3008. if dude.Name ~= Character then
  3009. local bgf = Instance.new("BodyGyro",dude.Head)
  3010. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3011. local val = Instance.new("BoolValue",dude)
  3012. val.Name = "IsHit"
  3013. local ds = coroutine.wrap(function()
  3014. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  3015. for i = 1, 10 do
  3016. sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true)
  3017. end
  3018. dude:WaitForChild("Head"):BreakJoints()
  3019. wait(0.5)
  3020. targetted = nil
  3021. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  3022.  
  3023. coroutine.resume(coroutine.create(function()
  3024. for i, v in pairs(dude:GetChildren()) do
  3025. if v:IsA("Accessory") then
  3026. v:Destroy()
  3027. end
  3028. if v:IsA("Humanoid") then
  3029. v:Destroy()
  3030. end
  3031. if v:IsA("CharacterMesh") then
  3032. v:Destroy()
  3033. end
  3034. if v:IsA("Model") then
  3035. v:Destroy()
  3036. end
  3037. if v:IsA("Part") or v:IsA("MeshPart") then
  3038. for x, o in pairs(v:GetChildren()) do
  3039. if o:IsA("Decal") then
  3040. o:Destroy()
  3041. end
  3042. end
  3043. coroutine.resume(coroutine.create(function()
  3044. v.Material = "Neon"
  3045. v.CanCollide = false
  3046. local bld = Instance.new("ParticleEmitter",v)
  3047. bld.LightEmission = 1
  3048. bld.Texture = "rbxassetid://284205403"
  3049. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3050. bld.Rate = 50
  3051. bld.Lifetime = NumberRange.new(1)
  3052. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  3053. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3054. bld.Speed = NumberRange.new(0,0)
  3055. bld.VelocitySpread = 50000
  3056. bld.Rotation = NumberRange.new(-500,500)
  3057. bld.RotSpeed = NumberRange.new(-500,500)
  3058. local sbs = Instance.new("BodyPosition", v)
  3059. sbs.P = 3000
  3060. sbs.D = 1000
  3061. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3062. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3063. v.Color = Color3.new(1,1,1)
  3064. coroutine.resume(coroutine.create(function()
  3065. for i = 0, 49 do
  3066. swait(1)
  3067. v.Transparency = v.Transparency + 0.02
  3068. end
  3069. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  3070. bld.Speed = NumberRange.new(1,5)
  3071. bld.Acceleration = vt(0,10,0)
  3072. wait(0.5)
  3073. bld.Enabled = false
  3074. wait(3)
  3075. v:Destroy()
  3076. dude:Destroy()
  3077. end))
  3078. end))
  3079. end
  3080. end
  3081. end))
  3082. end)
  3083. ds()
  3084. end
  3085. end
  3086.  
  3087.  
  3088. function FindNearestHead(Position, Distance, SinglePlayer)
  3089. if SinglePlayer then
  3090. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3091. end
  3092. local List = {}
  3093. for i, v in pairs(workspace:GetChildren()) do
  3094. if v:IsA("Model") then
  3095. if v:findFirstChild("Head") then
  3096. if v ~= Character then
  3097. if (v.Head.Position - Position).magnitude 2)then
  3098. table.remove(ODers,1)
  3099. end
  3100. sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  3101. end
  3102. end
  3103. ODerDB = false
  3104. end
  3105. end)()
  3106. end
  3107. end
  3108.  
  3109. function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  3110. attack = true
  3111. hum.WalkSpeed = 0
  3112. storehumanoidWS = 75
  3113. hum.JumpPower = 0
  3114. newThemeCust("rbxassetid://1420353940",0,1,1)
  3115. kan.TimePosition = 0
  3116. ModeOfGlitch = 8376532578634534
  3117. repeat swait() until kan.IsLoaded
  3118. chatfunc("Riddle me this..",text.TextStrokeColor3)
  3119. for i = 0, 14, .1 do
  3120. swait()
  3121. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  3122. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3123. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  3124. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  3125. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  3126. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  3127. end
  3128. chatfunc("Riddle me that..",text.TextStrokeColor3)
  3129. for i = 0, 12, .1 do
  3130. swait()
  3131. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  3132. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3133. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  3134. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
  3135. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  3136. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  3137. end
  3138. chatfunc("Who's afraid of the big black..",Color3.new(1,1,1))
  3139. for i = 0, 16, .1 do
  3140. swait()
  3141. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  3142. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3143. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  3144. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  3145. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  3146. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  3147. end
  3148. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  3149. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  3150. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  3151. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  3152. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
  3153. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
  3154. RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(1,1,1))
  3155. CameraEnshaking(5,2.5)
  3156. MAINRUINCOLOR = BrickColor.new("Really black")
  3157. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3158. tl1.Enabled = true
  3159. tl2.Enabled = true
  3160. tl3.Enabled = true
  3161. for i = 0, 49 do
  3162. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  3163. end
  3164. for i = 0,3,0.1 do
  3165. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  3166. end
  3167. for i, v in pairs(mw2:GetChildren()) do
  3168. if v:IsA("Part") then
  3169. v.BrickColor = BrickColor.new("Really black")
  3170. v.Material = "Glass"
  3171. end
  3172. end
  3173. for i, v in pairs(mw1:GetChildren()) do
  3174. if v:IsA("Part") then
  3175. v.Transparency = 0
  3176. v.BrickColor = BrickColor.new("Really black")
  3177. v.Material = "Glass"
  3178. end
  3179. end
  3180. for i, v in pairs(m:GetChildren()) do
  3181. if v:IsA("Part") then
  3182. v.BrickColor = BrickColor.new("Really black")
  3183. v.Material = "Glass"
  3184. end
  3185. end
  3186. for i, v in pairs(m2:GetChildren()) do
  3187. if v:IsA("Part") then
  3188. v.BrickColor = BrickColor.new("Dark stone grey")
  3189. v.Material = "Granite"
  3190. end
  3191. end
  3192. for i, v in pairs(m3:GetChildren()) do
  3193. if v:IsA("Part") then
  3194. v.BrickColor = BrickColor.new("Really black")
  3195. v.Material = "Glass"
  3196. end
  3197. end
  3198. for i, v in pairs(extrawingmod1:GetChildren()) do
  3199. if v:IsA("Part") then
  3200. v.Transparency = 0
  3201. v.BrickColor = BrickColor.new("Dark stone grey")
  3202. v.Material = "Glass"
  3203. end
  3204. end
  3205. for i, v in pairs(extrawingmod2:GetChildren()) do
  3206. if v:IsA("Part") then
  3207. v.Transparency = 0
  3208. v.BrickColor = BrickColor.new("Dark stone grey")
  3209. v.Material = "Glass"
  3210. end
  3211. end
  3212. for i = 0,2,0.1 do
  3213. swait()
  3214. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  3215. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  3216. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  3217. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
  3218. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
  3219. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
  3220. end
  3221. hum.JumpPower = 50
  3222. hum.WalkSpeed = storehumanoidWS
  3223. attack = false
  3224. end
  3225.  
  3226. function FuckMeSidewaysAndCallMeGay()
  3227. local whom = (mouse.Target and mouse.Target.Parent)
  3228. --[[local fuckThisBoi = false
  3229. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  3230. for _,v in next, ODers do
  3231. if(v == whom)then
  3232. fuckThisBoi = false
  3233. end
  3234. end
  3235. end
  3236. if(not fuckThisBoi)then
  3237. attack = false
  3238. warn'to fuck that boi you need to target them with z'
  3239. else]]
  3240. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  3241. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  3242. local hum = whom:FindFirstChildOfClass'Humanoid'
  3243. local ocf = RootPart.CFrame
  3244. hum.WalkSpeed = 0
  3245. hum.JumpPower = 0
  3246. hed.Anchored = true
  3247. RootPart.Anchored = true
  3248. Humanoid.WalkSpeed = 0
  3249. Humanoid.JumpPower = 0
  3250. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  3251. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3252. for i = 0, 9 do
  3253. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0)
  3254. end
  3255. for i = 0, 24 do
  3256. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
  3257. end
  3258. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  3259. attack = true
  3260. local speed = 1
  3261. local heck;
  3262. local stopitlol = false;
  3263. heck = mouse.KeyUp:connect(function(k)
  3264. if(k:lower() == 'm')then
  3265. stopitlol = true
  3266. heck:disconnect()
  3267. end
  3268. end)
  3269. local times = 0
  3270. repeat swait()
  3271. speed = speed - .01
  3272. times = times + 1
  3273. if(speed < .1)then
  3274. speed = .1
  3275. end
  3276. for i = 0, speed, .05 do
  3277. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  3278. swait()
  3279. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  3280. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  3281. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  3282. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  3283. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  3284. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  3285. end
  3286. CameraEnshaking(5,5)
  3287.  
  3288. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  3289.  
  3290. for i = 0, speed, .05 do
  3291. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  3292. swait()
  3293. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  3294. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  3295. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  3296. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  3297. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  3298. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  3299. end
  3300. until stopitlol and times >= 3
  3301. for i = 1, 3 do
  3302. for i = 0, 1.5, .05 do
  3303. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  3304. swait()
  3305. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  3306. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  3307. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  3308. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  3309. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  3310. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  3311. end
  3312. CameraEnshaking(5,25)
  3313.  
  3314. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  3315.  
  3316.  
  3317. coroutine.resume(coroutine.create(function()
  3318. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  3319. bld.LightEmission = 0.1
  3320. bld.Texture = "rbxassetid://284205403"
  3321. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3322. bld.Rate = 500
  3323. bld.Lifetime = NumberRange.new(1)
  3324. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3325. bld.Acceleration = vt(0,-25,0)
  3326. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3327. bld.Speed = NumberRange.new(10,50)
  3328. bld.EmissionDirection = "Back"
  3329. bld.VelocitySpread = 25
  3330. bld.Rotation = NumberRange.new(-500,500)
  3331. bld.RotSpeed = NumberRange.new(-500,500)
  3332. bld.Enabled = false
  3333. bld:Emit(250)
  3334. end))
  3335. coroutine.resume(coroutine.create(function()
  3336. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  3337. bld.LightEmission = 0.1
  3338. bld.Texture = "rbxassetid://284205403"
  3339. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3340. bld.Rate = 500
  3341. bld.Lifetime = NumberRange.new(1)
  3342. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3343. bld.Acceleration = vt(0,-25,0)
  3344. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3345. bld.Speed = NumberRange.new(10,50)
  3346. bld.EmissionDirection = "Back"
  3347. bld.VelocitySpread = 25
  3348. bld.Rotation = NumberRange.new(-500,500)
  3349. bld.RotSpeed = NumberRange.new(-500,500)
  3350. bld.Enabled = false
  3351. bld:Emit(250)
  3352. end))
  3353. for i = 0, 1.5, .05 do
  3354. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  3355. swait()
  3356. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  3357. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  3358. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  3359. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  3360. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  3361. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  3362. end
  3363. end
  3364. for i = 0, 4, .05 do
  3365. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  3366. swait()
  3367. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  3368. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3369. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  3370. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  3371. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  3372. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  3373. end
  3374. CameraEnshaking(5,25)
  3375. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  3376. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  3377.  
  3378. dmg(whom)
  3379. coroutine.resume(coroutine.create(function()
  3380. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  3381. bld.LightEmission = 0.1
  3382. bld.Texture = "rbxassetid://284205403"
  3383. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3384. bld.Rate = 500
  3385. bld.Lifetime = NumberRange.new(1)
  3386. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3387. bld.Acceleration = vt(0,-25,0)
  3388. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3389. bld.Speed = NumberRange.new(10,50)
  3390. bld.EmissionDirection = "Back"
  3391. bld.VelocitySpread = 25
  3392. bld.Rotation = NumberRange.new(-500,500)
  3393. bld.RotSpeed = NumberRange.new(-500,500)
  3394. bld.Enabled = true
  3395. end))
  3396. coroutine.resume(coroutine.create(function()
  3397. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  3398. bld.LightEmission = 0.1
  3399. bld.Texture = "rbxassetid://284205403"
  3400. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3401. bld.Rate = 500
  3402. bld.Lifetime = NumberRange.new(1)
  3403. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3404. bld.Acceleration = vt(0,-25,0)
  3405. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3406. bld.Speed = NumberRange.new(10,50)
  3407. bld.EmissionDirection = "Back"
  3408. bld.VelocitySpread = 25
  3409. bld.Rotation = NumberRange.new(-500,500)
  3410. bld.RotSpeed = NumberRange.new(-500,500)
  3411. bld.Enabled = true
  3412. end))
  3413. for i = 0, 3, .05 do
  3414. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  3415. swait()
  3416. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  3417. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  3418. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  3419. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  3420. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  3421. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  3422. end
  3423.  
  3424. RootPart.CFrame = ocf
  3425. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3426. for i = 0, 9 do
  3427. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Pink"),0)
  3428. end
  3429. for i = 0, 24 do
  3430. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
  3431. end
  3432. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  3433. RootPart.Anchored = false
  3434. Humanoid.WalkSpeed = storehumanoidWS
  3435. Humanoid.JumpPower = 50
  3436. attack = false
  3437. end
  3438. end
  3439.  
  3440. local input = ""
  3441.  
  3442. mouse.KeyDown:connect(function(k)
  3443. if(k == "w" or k == "a" or k == "s" or k == "d")then
  3444. input = input .. k
  3445. local newInput = input
  3446. coroutine.wrap(function()
  3447. for i = 1, 25 do
  3448. if(newInput ~= input)then break end
  3449. swait()
  3450. end
  3451. if(newInput == input)then input = "" end
  3452. end)()
  3453. if(input == "w" and not AllowRape)then
  3454. AllowRape = true
  3455. warn("Rape unlocked! Have fun ;)")
  3456. elseif(input == "w" and not AllowCata)then
  3457. AllowCata = true
  3458. warn("You unlocked CATASTROPHE.")
  3459. elseif(input == 'd' and ModeOfGlitch == 4 and not attack)then
  3460. ChaosBegone()
  3461. end
  3462. end
  3463. end)
  3464.  
  3465. mouse.KeyDown:connect(function(k)
  3466. if k == "h" then
  3467.  
  3468. end
  3469.  
  3470. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  3471. ModeOfGlitch = 2
  3472. storehumanoidWS = 16
  3473. hum.WalkSpeed = 16
  3474. rainbowmode = false
  3475. chaosmode = false
  3476. glitchymode = false
  3477. tl1.Enabled = false
  3478. tl2.Enabled = false
  3479. tl3.Enabled = false
  3480. RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
  3481. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
  3482. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
  3483. newTheme("rbxassetid://1539245059",0,1,1)
  3484. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  3485. for i, v in pairs(mw2:GetChildren()) do
  3486. if v:IsA("Part") then
  3487. v.BrickColor = MAINRUINCOLOR
  3488. v.Material = "Neon"
  3489. end
  3490. end
  3491. for i, v in pairs(mw1:GetChildren()) do
  3492. if v:IsA("Part") then
  3493. v.Transparency = 1
  3494. v.BrickColor = MAINRUINCOLOR
  3495. v.Material = "Neon"
  3496. end
  3497. end
  3498. for i, v in pairs(m:GetChildren()) do
  3499. if v:IsA("Part") then
  3500. v.BrickColor = BrickColor.new("White")
  3501. v.Material = "Ice"
  3502. end
  3503. end
  3504. for i, v in pairs(m2:GetChildren()) do
  3505. if v:IsA("Part") then
  3506. v.BrickColor = BrickColor.new("Pastel light blue")
  3507. v.Material = "Glass"
  3508. end
  3509. end
  3510. for i, v in pairs(m3:GetChildren()) do
  3511. if v:IsA("Part") then
  3512. v.BrickColor = BrickColor.new("Toothpaste")
  3513. v.Material = "Neon"
  3514. end
  3515. end
  3516. for i, v in pairs(extrawingmod1:GetChildren()) do
  3517. if v:IsA("Part") then
  3518. v.Transparency = 1
  3519. v.BrickColor = BrickColor.new("White")
  3520. v.Material = "Neon"
  3521. end
  3522. end
  3523. for i, v in pairs(extrawingmod2:GetChildren()) do
  3524. if v:IsA("Part") then
  3525. v.Transparency = 1
  3526. v.BrickColor = BrickColor.new("White")
  3527. v.Material = "Neon"
  3528. end
  3529. end
  3530. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  3531. resetmode()
  3532. end
  3533. if k == "f" and attack == false and ModeOfGlitch ~= 69 then
  3534. lustmode()
  3535. elseif k == "f" and attack == false and ModeOfGlitch == 69 then
  3536. resetmode()
  3537. end
  3538. if k == "m" and attack == false and ModeOfGlitch == 1 then
  3539. RiddleMeThisRiddleMeThat()
  3540. elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
  3541. resetmode()
  3542. end
  3543. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  3544. ModeOfGlitch = 3
  3545. storehumanoidWS = 16
  3546. hum.WalkSpeed = 16
  3547. rainbowmode = false
  3548. chaosmode = false
  3549. glitchymode = true
  3550. tl1.Enabled = true
  3551. tl2.Enabled = true
  3552. tl3.Enabled = true
  3553. RecolorTextAndRename("gLiTcHy",Color3.new(0,0,0),Color3.new(0.35,0,1))
  3554. newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
  3555. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  3556. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  3557. MAINRUINCOLOR = BrickColor.new("White")
  3558. for i, v in pairs(mw2:GetChildren()) do
  3559. if v:IsA("Part") then
  3560. v.BrickColor = MAINRUINCOLOR
  3561. v.Material = "Neon"
  3562. end
  3563. end
  3564. for i, v in pairs(mw1:GetChildren()) do
  3565. if v:IsA("Part") then
  3566. v.Transparency = 0
  3567. v.BrickColor = MAINRUINCOLOR
  3568. v.Material = "Neon"
  3569. end
  3570. end
  3571. for i, v in pairs(m:GetChildren()) do
  3572. if v:IsA("Part") then
  3573. v.BrickColor = BrickColor.new("Really black")
  3574. v.Material = "Ice"
  3575. end
  3576. end
  3577. for i, v in pairs(m2:GetChildren()) do
  3578. if v:IsA("Part") then
  3579. v.BrickColor = BrickColor.new("Dark indigo")
  3580. v.Material = "Glass"
  3581. end
  3582. end
  3583. for i, v in pairs(m3:GetChildren()) do
  3584. if v:IsA("Part") then
  3585. v.Transparency = 1
  3586. v.BrickColor = BrickColor.new("Royal purple")
  3587. v.Material = "Neon"
  3588. end
  3589. end
  3590. for i, v in pairs(extrawingmod1:GetChildren()) do
  3591. if v:IsA("Part") then
  3592. v.Transparency = 1
  3593. v.BrickColor = BrickColor.new("White")
  3594. v.Material = "Neon"
  3595. end
  3596. end
  3597. for i, v in pairs(extrawingmod2:GetChildren()) do
  3598. if v:IsA("Part") then
  3599. v.Transparency = 1
  3600. v.BrickColor = BrickColor.new("White")
  3601. v.Material = "Neon"
  3602. end
  3603. end
  3604. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  3605. resetmode()
  3606. end
  3607. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  3608. ModeOfGlitch = 4
  3609. storehumanoidWS = 16
  3610. hum.WalkSpeed = 16
  3611. rainbowmode = false
  3612. glitchymode = false
  3613. chaosmode = true
  3614. tl1.Enabled = true
  3615. tl2.Enabled = true
  3616. tl3.Enabled = true
  3617. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  3618. newTheme("rbxassetid://1369263130",0,1,1)
  3619. MAINRUINCOLOR = BrickColor.new("Black")
  3620. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3621. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3622. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3623. for i, v in pairs(mw2:GetChildren()) do
  3624. if v:IsA("Part") then
  3625. v.BrickColor = MAINRUINCOLOR
  3626. v.Material = "Neon"
  3627. end
  3628. end
  3629. for i, v in pairs(mw1:GetChildren()) do
  3630. if v:IsA("Part") then
  3631. v.Transparency = 0.75
  3632. v.BrickColor = BrickColor.random()
  3633. v.Material = "Neon"
  3634. end
  3635. end
  3636. for i, v in pairs(m:GetChildren()) do
  3637. if v:IsA("Part") then
  3638. v.BrickColor = BrickColor.new("Black")
  3639. v.Material = "Neon"
  3640. end
  3641. end
  3642. for i, v in pairs(m2:GetChildren()) do
  3643. if v:IsA("Part") then
  3644. v.BrickColor = BrickColor.random()
  3645. v.Material = "Neon"
  3646. end
  3647. end
  3648. for i, v in pairs(m3:GetChildren()) do
  3649. if v:IsA("Part") then
  3650. v.BrickColor = BrickColor.new("Black")
  3651. v.Material = "Neon"
  3652. end
  3653. end
  3654. for i, v in pairs(extrawingmod1:GetChildren()) do
  3655. if v:IsA("Part") then
  3656. v.Transparency = 1
  3657. v.BrickColor = BrickColor.new("White")
  3658. v.Material = "Neon"
  3659. end
  3660. end
  3661. for i, v in pairs(extrawingmod2:GetChildren()) do
  3662. if v:IsA("Part") then
  3663. v.Transparency = 1
  3664. v.BrickColor = BrickColor.new("White")
  3665. v.Material = "Neon"
  3666. end
  3667. end
  3668. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  3669. resetmode()
  3670. end
  3671.  
  3672. if k == "m" and attack == false and ModeOfGlitch == 4 then
  3673. insanitymode()
  3674. elseif k == "m" and attack == false and ModeOfGlitch == 666666 then
  3675. resetmode()
  3676. end
  3677. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  3678. ModeOfGlitch = 5
  3679. storehumanoidWS = 16
  3680. hum.WalkSpeed = 16
  3681. rainbowmode = false
  3682. chaosmode = false
  3683. glitchymode = false
  3684. tl1.Enabled = true
  3685. tl2.Enabled = true
  3686. tl3.Enabled = true
  3687. RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
  3688. newTheme("rbxassetid://661079869",0,1.02,1)
  3689. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
  3690. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
  3691. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  3692. for i, v in pairs(mw2:GetChildren()) do
  3693. if v:IsA("Part") then
  3694. v.BrickColor = MAINRUINCOLOR
  3695. v.Material = "Neon"
  3696. end
  3697. end
  3698. for i, v in pairs(mw1:GetChildren()) do
  3699. if v:IsA("Part") then
  3700. v.Transparency = 0
  3701. v.BrickColor = MAINRUINCOLOR
  3702. v.Material = "Neon"
  3703. end
  3704. end
  3705. for i, v in pairs(m:GetChildren()) do
  3706. if v:IsA("Part") then
  3707. v.BrickColor = BrickColor.new("Cool yellow")
  3708. v.Material = "Ice"
  3709. end
  3710. end
  3711. for i, v in pairs(m2:GetChildren()) do
  3712. if v:IsA("Part") then
  3713. v.BrickColor = BrickColor.new("Bright yellow")
  3714. v.Material = "Ice"
  3715. end
  3716. end
  3717. for i, v in pairs(m3:GetChildren()) do
  3718. if v:IsA("Part") then
  3719. v.BrickColor = BrickColor.new("Bright yellow")
  3720. v.Material = "Neon"
  3721. end
  3722. end
  3723. for i, v in pairs(extrawingmod1:GetChildren()) do
  3724. if v:IsA("Part") then
  3725. v.Transparency = 1
  3726. v.BrickColor = BrickColor.new("White")
  3727. v.Material = "Neon"
  3728. end
  3729. end
  3730. for i, v in pairs(extrawingmod2:GetChildren()) do
  3731. if v:IsA("Part") then
  3732. v.Transparency = 1
  3733. v.BrickColor = BrickColor.new("White")
  3734. v.Material = "Neon"
  3735. end
  3736. end
  3737. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  3738. resetmode()
  3739. end
  3740. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  3741. ModeOfGlitch = 6
  3742. storehumanoidWS = 75
  3743. hum.WalkSpeed = 75
  3744. rainbowmode = false
  3745. chaosmode = false
  3746. glitchymode = false
  3747. tl1.Enabled = true
  3748. tl2.Enabled = true
  3749. tl3.Enabled = true
  3750. RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1))
  3751. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  3752. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  3753. newTheme("rbxassetid://1102271169",0,1,1)
  3754. MAINRUINCOLOR = BrickColor.new("White")
  3755. for i, v in pairs(mw2:GetChildren()) do
  3756. if v:IsA("Part") then
  3757. v.BrickColor = MAINRUINCOLOR
  3758. v.Material = "Neon"
  3759. end
  3760. end
  3761. for i, v in pairs(mw1:GetChildren()) do
  3762. if v:IsA("Part") then
  3763. v.Transparency = 0
  3764. v.BrickColor = MAINRUINCOLOR
  3765. v.Material = "Neon"
  3766. end
  3767. end
  3768. for i, v in pairs(m:GetChildren()) do
  3769. if v:IsA("Part") then
  3770. v.BrickColor = BrickColor.new("White")
  3771. v.Material = "Ice"
  3772. end
  3773. end
  3774. for i, v in pairs(m2:GetChildren()) do
  3775. if v:IsA("Part") then
  3776. v.BrickColor = BrickColor.new("White")
  3777. v.Material = "Ice"
  3778. end
  3779. end
  3780. for i, v in pairs(m3:GetChildren()) do
  3781. if v:IsA("Part") then
  3782. v.BrickColor = BrickColor.new("White")
  3783. v.Material = "Neon"
  3784. end
  3785. end
  3786. for i, v in pairs(extrawingmod1:GetChildren()) do
  3787. if v:IsA("Part") then
  3788. v.Transparency = 1
  3789. v.BrickColor = BrickColor.new("White")
  3790. v.Material = "Neon"
  3791. end
  3792. end
  3793. for i, v in pairs(extrawingmod2:GetChildren()) do
  3794. if v:IsA("Part") then
  3795. v.Transparency = 1
  3796. v.BrickColor = BrickColor.new("White")
  3797. v.Material = "Neon"
  3798. end
  3799. end
  3800. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  3801. resetmode()
  3802. end
  3803. if k == "u" and attack == false then
  3804.  
  3805. storehumanoidWS = 50
  3806. hum.WalkSpeed = 50
  3807. rainbowmode = true
  3808. chaosmode = false
  3809. glitchymode = false
  3810. tl1.Enabled = true
  3811. tl2.Enabled = true
  3812. tl3.Enabled = true
  3813.  
  3814. if(ModeOfGlitch == 6127843)then
  3815. vaporwave = not vaporwave
  3816. end
  3817.  
  3818. if(not vaporwave)then
  3819. RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
  3820. newTheme("rbxassetid://147930134",0,1,1)
  3821. else
  3822. RecolorTextAndRename("Vaporwave",Color3.new(1,1,1),Color3.new(1,1,1))
  3823. newTheme("rbxassetid://1308711379",0,1,1)
  3824. end
  3825.  
  3826.  
  3827. ModeOfGlitch = 6127843
  3828. MAINRUINCOLOR = BrickColor.new("White")
  3829. for i, v in pairs(mw2:GetChildren()) do
  3830. if v:IsA("Part") then
  3831. v.BrickColor = MAINRUINCOLOR
  3832. v.Material = "Neon"
  3833. end
  3834. end
  3835. for i, v in pairs(mw1:GetChildren()) do
  3836. if v:IsA("Part") then
  3837. v.Transparency = 0
  3838. v.BrickColor = MAINRUINCOLOR
  3839. v.Material = "Neon"
  3840. end
  3841. end
  3842. for i, v in pairs(m:GetChildren()) do
  3843. if v:IsA("Part") then
  3844. v.BrickColor = BrickColor.new("White")
  3845. v.Material = "Neon"
  3846. end
  3847. end
  3848. for i, v in pairs(m2:GetChildren()) do
  3849. if v:IsA("Part") then
  3850. v.BrickColor = BrickColor.new("White")
  3851. v.Material = "Neon"
  3852. end
  3853. end
  3854. for i, v in pairs(m3:GetChildren()) do
  3855. if v:IsA("Part") then
  3856. v.BrickColor = BrickColor.new("White")
  3857. v.Material = "Neon"
  3858. end
  3859. end
  3860. for i, v in pairs(extrawingmod1:GetChildren()) do
  3861. if v:IsA("Part") then
  3862. v.Transparency = 1
  3863. v.BrickColor = BrickColor.new("White")
  3864. v.Material = "Neon"
  3865. end
  3866. end
  3867. for i, v in pairs(extrawingmod2:GetChildren()) do
  3868. if v:IsA("Part") then
  3869. v.Transparency = 1
  3870. v.BrickColor = BrickColor.new("White")
  3871. v.Material = "Neon"
  3872. end
  3873. end
  3874. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  3875. resetmode()
  3876. end
  3877. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  3878. ModeOfGlitch = 1000000
  3879. storehumanoidWS = 100
  3880. hum.WalkSpeed = 100
  3881. rainbowmode = false
  3882. chaosmode = false
  3883. glitchymode = false
  3884. tl1.Enabled = true
  3885. tl2.Enabled = true
  3886. tl3.Enabled = true
  3887. RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  3888. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end)
  3889. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end)
  3890. newTheme("rbxassetid://1359036559",0,1,1)
  3891. MAINRUINCOLOR = BrickColor.new("Bright violet")
  3892. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3893. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3894. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3895. for i, v in pairs(mw2:GetChildren()) do
  3896. if v:IsA("Part") then
  3897. v.BrickColor = MAINRUINCOLOR
  3898. v.Material = "Neon"
  3899. end
  3900. end
  3901. for i, v in pairs(mw1:GetChildren()) do
  3902. if v:IsA("Part") then
  3903. v.Transparency = 0
  3904. v.BrickColor = MAINRUINCOLOR
  3905. v.Material = "Neon"
  3906. end
  3907. end
  3908. for i, v in pairs(m:GetChildren()) do
  3909. if v:IsA("Part") then
  3910. v.Color = Color3.new(0.5,0,1)
  3911. v.Material = "Neon"
  3912. end
  3913. end
  3914. for i, v in pairs(m2:GetChildren()) do
  3915. if v:IsA("Part") then
  3916. v.Color = Color3.new(0.25,0,1)
  3917. v.Material = "Neon"
  3918. end
  3919. end
  3920. for i, v in pairs(m3:GetChildren()) do
  3921. if v:IsA("Part") then
  3922. v.Color = Color3.new(0.45,0,1)
  3923. v.Material = "Neon"
  3924. end
  3925. end
  3926. for i, v in pairs(extrawingmod1:GetChildren()) do
  3927. if v:IsA("Part") then
  3928. v.Transparency = 0.75
  3929. v.Color = Color3.new(0.25,0,1)
  3930. v.Material = "Neon"
  3931. end
  3932. end
  3933. for i, v in pairs(extrawingmod2:GetChildren()) do
  3934. if v:IsA("Part") then
  3935. v.Transparency = 0.75
  3936. v.Color = Color3.new(0.5,0,1)
  3937. v.Material = "Neon"
  3938. end
  3939. end
  3940. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  3941. resetmode()
  3942. end
  3943. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) then
  3944. newThemeCust("rbxassetid://1504604335",0,1,1)
  3945. attack = true
  3946. hum.WalkSpeed = 0
  3947. MAINRUINCOLOR = BrickColor.new("Royal purple")
  3948. for i = 0, 24, 0.1 do
  3949. swait()
  3950. 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)
  3951. 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)
  3952. 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)
  3953. 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)
  3954. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  3955. 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)
  3956. 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)
  3957. end
  3958. CameraEnshaking(1,1)
  3959. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3960. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  3961. wait(0.55)
  3962. CameraEnshaking(1,2)
  3963. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  3964. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3965. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3966. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  3967. wait(0.55)
  3968. CameraEnshaking(1,3)
  3969. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3970. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  3971. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  3972. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3973. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3974. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  3975. wait(0.55)
  3976. CameraEnshaking(10,5)
  3977. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  3978. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  3979. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  3980. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  3981. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  3982. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  3983. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  3984. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  3985. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  3986. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  3987. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  3988. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  3989. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  3990. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  3991. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  3992. for i = 0, 49 do
  3993. 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,200,-1,MAINRUINCOLOR,0)
  3994. 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,150,-0.5,MAINRUINCOLOR,0)
  3995. 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,100,-0.5,MAINRUINCOLOR,0)
  3996. 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,50,-0.5,MAINRUINCOLOR,0)
  3997. end
  3998. ModeOfGlitch = 12345678987654321
  3999. storehumanoidWS = 200
  4000. hum.WalkSpeed = 200
  4001. rainbowmode = false
  4002. chaosmode = false
  4003. glitchymode = false
  4004. tl1.Enabled = true
  4005. tl2.Enabled = true
  4006. tl3.Enabled = true
  4007. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end)
  4008. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end)
  4009. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  4010. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4011. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4012. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4013. for i, v in pairs(mw2:GetChildren()) do
  4014. if v:IsA("Part") then
  4015. v.BrickColor = MAINRUINCOLOR
  4016. v.Material = "Neon"
  4017. end
  4018. end
  4019. for i, v in pairs(mw1:GetChildren()) do
  4020. if v:IsA("Part") then
  4021. v.Transparency = 0
  4022. v.BrickColor = MAINRUINCOLOR
  4023. v.Material = "Neon"
  4024. end
  4025. end
  4026. for i, v in pairs(m:GetChildren()) do
  4027. if v:IsA("Part") then
  4028. v.Color = Color3.new(0.5,0,1)
  4029. v.Material = "Neon"
  4030. end
  4031. end
  4032. for i, v in pairs(m2:GetChildren()) do
  4033. if v:IsA("Part") then
  4034. v.Color = Color3.new(0.5,0,1)
  4035. v.Material = "Neon"
  4036. end
  4037. end
  4038. for i, v in pairs(m3:GetChildren()) do
  4039. if v:IsA("Part") then
  4040. v.Color = Color3.new(0.5,0,1)
  4041. v.Material = "Neon"
  4042. end
  4043. end
  4044. for i, v in pairs(extrawingmod1:GetChildren()) do
  4045. if v:IsA("Part") then
  4046. v.Transparency = 0
  4047. v.Color = Color3.new(0.5,0,1)
  4048. v.Material = "Neon"
  4049. end
  4050. end
  4051. for i, v in pairs(extrawingmod2:GetChildren()) do
  4052. if v:IsA("Part") then
  4053. v.Transparency = 0
  4054. v.Color = Color3.new(0.5,0,1)
  4055. v.Material = "Neon"
  4056. end
  4057. attack = false
  4058. end
  4059. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  4060. resetmode()
  4061. end
  4062. if k == "l" and toggleTag == false then
  4063. toggleTag = true
  4064. text.TextTransparency = 0
  4065. text.TextStrokeTransparency = 0
  4066. elseif k == "l" and toggleTag == true then
  4067. toggleTag = false
  4068. text.TextTransparency = 1
  4069. text.TextStrokeTransparency = 1
  4070. end
  4071. if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then
  4072. ExtinctiveHeartbreak()
  4073. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  4074. PureBomb()
  4075. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  4076. scattercorrupt()
  4077. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  4078. Judgement()
  4079. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  4080. ChaosGroundStrike()
  4081. elseif k == "z" and attack == false and ModeOfGlitch == 666666 then
  4082. InsaneGroundStrike()
  4083.  
  4084. elseif k == "z" and attack == false and ModeOfGlitch == 69 then
  4085. ChooseODer()
  4086. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  4087. Starfall()
  4088. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  4089. yinyangi()
  4090. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  4091. Wip()
  4092. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  4093. StarfallEX()
  4094. end
  4095. if k == "x" and attack == false and ModeOfGlitch == 1000000 then
  4096. StarDivision()
  4097. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  4098. JusticeBeam()
  4099. end
  4100. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  4101. UniversalCollapse()
  4102. end
  4103. if k == "b" and attack == false and ModeOfGlitch == 4 then
  4104.  
  4105. end
  4106. if k == "n" and attack == false then
  4107. CorruptBlink()
  4108. end
  4109. if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then
  4110. FuckMeSidewaysAndCallMeGay()
  4111. end
  4112. end)
  4113. coroutine.resume(coroutine.create(function()
  4114. while true do
  4115. swait(2)
  4116. if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then
  4117. sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0)
  4118. end
  4119.  
  4120. end
  4121. end))
  4122.  
  4123.  
  4124. coroutine.resume(coroutine.create(function()
  4125. while true do
  4126. if ModeOfGlitch == 1000000 then
  4127. swait(0.5)
  4128. end
  4129. swait()
  4130. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then
  4131. sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0)
  4132. end
  4133. if ModeOfGlitch == 12345678987654321 then
  4134. sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
  4135. end
  4136. end
  4137. end))
  4138.  
  4139.  
  4140. function RandomMaterial()
  4141. local getRandom;
  4142. local material;
  4143. local function IsTerrainMaterial(mat)
  4144. local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end)
  4145. return isMaterial
  4146. end
  4147. getRandom = function()
  4148. local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
  4149. if(not IsTerrainMaterial(mat))then material = mat else getRandom() end
  4150. end
  4151. getRandom()
  4152. repeat wait() until material
  4153. return material
  4154. end
  4155. function RandomCaps(str)
  4156. local new = ""
  4157. for i = 1, #str do
  4158. if(math.random(1,2) == 1)then
  4159. new = new .. (str:sub(i,i):upper())
  4160. else
  4161. new = new .. str:sub(i,i)
  4162. end
  4163. end
  4164. return new
  4165. end
  4166.  
  4167. coroutine.resume(coroutine.create(function()
  4168. while true do
  4169. for i = 1, #ODers do
  4170. local ODer = ODers[i]
  4171. if(ODer)then
  4172. local hed = ODer:FindFirstChild'Head'
  4173. if(ODer.Parent and hed)then
  4174. sphere(10,"Add",hed.CFrame * cf(0,4,0),vt(6,6,3),0,(ODer.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true,false,true)
  4175. else
  4176. table.remove(ODers,i)
  4177. end
  4178. else
  4179. table.remove(ODers,i)
  4180. end
  4181. end
  4182. if(not kan)then
  4183. kan = Instance.new("Sound",char)
  4184. end
  4185. kan.Parent = char
  4186. if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end
  4187. kan.Pitch = Pitch
  4188. kan.SoundId = MID
  4189. kan.Name = "wrecked"
  4190. kan.Looped = true
  4191. kan:Resume()
  4192. swait()
  4193. if glitchymode == true then
  4194. local val = math.random(1,255)
  4195. local color = Color3.fromRGB(val,val,val)
  4196. pcall(function() Character.ReaperShadowHead.Eye1.Color = color end)
  4197. pcall(function() Character.ReaperShadowHead.Eye2.Color = color end)
  4198. tl1.Color = ColorSequence.new(color)
  4199. tl2.Color = ColorSequence.new(color)
  4200. tl3.Color = ColorSequence.new(color)
  4201. tr1.Color = ColorSequence.new(color)
  4202. tr2.Color = ColorSequence.new(color)
  4203. tr3.Color = ColorSequence.new(color)
  4204. for i, v in pairs(mw1:GetChildren()) do
  4205. if v:IsA("Part") then
  4206. v.Transparency = 0
  4207. v.Color = color
  4208. v.Material = "Neon"
  4209. end
  4210. end
  4211. for i, v in pairs(mw2:GetChildren()) do
  4212. if v:IsA("Part") then
  4213. v.Color = color
  4214. v.Material = "Neon"
  4215. end
  4216. end
  4217. for i, v in pairs(m2:GetChildren()) do
  4218. if v:IsA("Part") then
  4219. v.Color = color
  4220. v.Material = "Neon"
  4221. end
  4222. end
  4223. RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color)
  4224. end
  4225. if chaosmode or glitchymode then
  4226. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  4227. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  4228. else
  4229. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end)
  4230. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end)
  4231. end
  4232. if chaosmode == true then
  4233. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  4234. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  4235. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  4236. RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color)
  4237. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end)
  4238. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end)
  4239. for i, v in pairs(mw1:GetChildren()) do
  4240. if v:IsA("Part") then
  4241. v.Transparency = 0.75
  4242. v.BrickColor = BrickColor.random()
  4243. v.Material = "Neon"
  4244. end
  4245. end
  4246. for i, v in pairs(extrawingmod1:GetChildren()) do
  4247. if v:IsA("Part") and ModeOfGlitch == 666666 then
  4248. v.Transparency = 0.75
  4249. v.BrickColor = BrickColor.random()
  4250. v.Material = "Neon"
  4251. elseif v:IsA("Part") then
  4252. v.Transparency = 1
  4253. end
  4254. end
  4255. for i, v in pairs(m2:GetChildren()) do
  4256. if v:IsA("Part") then
  4257. v.BrickColor = BrickColor.random()
  4258. v.Material = "Neon"
  4259. end
  4260. end
  4261. end
  4262. end
  4263. end))
  4264. Humanoid.Name = "STARGLITCHER"
  4265. Humanoid.MaxHealth = math.huge
  4266. Humanoid.Health = math.huge
  4267. Instance.new("ForceField",char).Visible = false
  4268. Humanoid.Animator.Parent = nil
  4269. idleanim=.4
  4270. while true do
  4271. if rainbowmode == false and chaosmode == false and glitchymode == false then
  4272. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4273. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4274. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4275. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4276. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4277. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4278. end
  4279. if rainbowmode == true then
  4280. pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end)
  4281. pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end)
  4282. if(not vaporwave)then
  4283. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  4284. else
  4285. RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  4286. end
  4287. MAINRUINCOLOR = BrickColor.new("White")
  4288. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  4289. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  4290. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  4291. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  4292. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  4293. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  4294. for i, v in pairs(m:GetChildren()) do
  4295. if v:IsA("Part") then
  4296. v.Color = Color3.new(r/255,g/255,b/255)
  4297. end
  4298. end
  4299. for i, v in pairs(m2:GetChildren()) do
  4300. if v:IsA("Part") then
  4301. v.Color = Color3.new(r/255,g/255,b/255)
  4302. end
  4303. end
  4304. for i, v in pairs(m3:GetChildren()) do
  4305. if v:IsA("Part") then
  4306. v.Color = Color3.new(r/255,g/255,b/255)
  4307. end
  4308. end
  4309. for i, v in pairs(mw1:GetChildren()) do
  4310. if v:IsA("Part") then
  4311. v.Color = Color3.new(r/255,g/255,b/255)
  4312. v.Material = "Neon"
  4313. end
  4314. end
  4315. for i, v in pairs(mw2:GetChildren()) do
  4316. if v:IsA("Part") then
  4317. v.Color = Color3.new(r/255,g/255,b/255)
  4318. v.Material = "Neon"
  4319. end
  4320. end
  4321. end
  4322. CameraManager()
  4323. swait()
  4324. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  4325. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  4326. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  4327. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  4328. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  4329. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  4330.  
  4331. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  4332. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  4333. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  4334. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  4335. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  4336. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  4337. sine = sine + change
  4338. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  4339. local velderp=RootPart.Velocity.y
  4340. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  4341. if equipped==true or equipped==false then
  4342. if attack==false then
  4343. idle=idle+1
  4344. else
  4345. idle=0
  4346. end
  4347. if idle>=500 then
  4348. if attack==false then
  4349. --Sheath()
  4350. end
  4351. end
  4352. if RootPart.Velocity.y > 1 and hitfloor==nil then
  4353. Anim="Jump"
  4354. if attack==false then
  4355. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  4356. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  4357. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  4358. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  4359. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  4360. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  4361. end
  4362. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  4363. Anim="Fall"
  4364. if attack==false then
  4365. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  4366. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  4367. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4368. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4369. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  4370. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  4371. end
  4372. elseif torvel2 and torvel=22 and hitfloor~=nil then
  4373. Anim="Run"
  4374. if attack==false then
  4375. if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then
  4376. RH.C0=clerp(RH.C0,cf(1,-1-.4*math.cos(sine/6)/2,.8*math.cos(sine/6)/2)*angles(math.rad(0-65*math.cos(sine/6))-math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(90),0),.1)
  4377. LH.C0=clerp(LH.C0,cf(-1,-1+.4*math.cos(sine/6)/2,-.8*math.cos(sine/6)/2)*angles(math.rad(0+65*math.cos(sine/6))+math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(-90),0),.1)
  4378. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  4379. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  4380. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 105 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  4381. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 105 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  4382. elseif ModeOfGlitch == 666666 then
  4383. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  4384. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  4385. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1)
  4386. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  4387. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  4388. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  4389.  
  4390. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then
  4391. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  4392. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
  4393. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  4394. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4395. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
  4396. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
  4397. end
  4398. end
  4399. end
  4400. end
  4401. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement