Advertisement
feigum777

asda

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