daily pastebin goal
7%
SHARE
TWEET

asd

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