tomonaoboys

Mechanized Angel(New link)

May 4th, 2018 (edited)
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 52.15 KB | None | 0 0
  1. --[[
  2.     > ⚙Mechanized Angel
  3.     >  - by tomonaoboys
  4.     >
  5.     > Hello world!
  6.     > what things can be a real angel?
  7.     > Only The angel knows.
  8.     > There's no light ... Only have fake one.
  9.     > Warning : this is NOT complete. the move can get added ,removed ,or replaced.
  10.     > I'm not made for editing. The codes are spagetti.
  11.     >
  12.     > Moves : ( *:Able to hold , or required ) ( ✦:it came from Others Idea. Thanks to them very much.)
  13.     > E     : Flawing Light         It shoots three holy? blasts. they explodes after 100 or got hit any object.
  14.     > R*    : Infinite Bright           It spams something like beam? ...it shoots continuous beam. gatling? WARNING : it makes missing sound if you are using potato. I highly do this on server.
  15.     > T     : Blink                 Teleport. Only it is. many my script or edits highly have teleport.
  16.     > Z     : Judgement Prism       It's laggy attack ever I made less laggy , just effects are not bad. else its ded
  17.     > X✦  : Purifying Blast       It spawns many boxes (but just 30...), and it falls on you. they moves beautiful bit...?
  18.     >
  19.     > maybe some thing will get improved when next update come.
  20. --]]
  21. local Player,game,owner = owner,game
  22. local RealPlayer = Player
  23. local _Mouse
  24. if script.ClassName=="Script"then
  25. --if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  26.  
  27. do
  28.     print("FE Compatibility code V2 by Mokiros")
  29.     local RealPlayer = RealPlayer
  30.     script.Parent = RealPlayer.Character
  31.  
  32.     --Fake event to make stuff like Mouse.KeyDown work
  33.     local Disconnect_Function = function(this)
  34.         this[1].Functions[this[2]] = nil
  35.     end
  36.     local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  37.     local FakeEvent_Metatable = {__index={
  38.         Connect = function(this,f)
  39.             local i = tostring(math.random(0,10000))
  40.             while this.Functions[i] do
  41.                 i = tostring(math.random(0,10000))
  42.             end
  43.             this.Functions[i] = f
  44.             return setmetatable({this,i},Disconnect_Metatable)
  45.         end
  46.     }}
  47.     FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  48.     local function fakeEvent()
  49.         return setmetatable({Functions={}},FakeEvent_Metatable)
  50.     end
  51.  
  52.     --Creating fake input objects with fake variables
  53.     local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  54.     FakeMouse.keyUp = FakeMouse.KeyUp
  55.     FakeMouse.keyDown = FakeMouse.KeyDown
  56.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  57.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  58.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  59.     end}
  60.     _Mouse = FakeMouse
  61.     --Merged 2 functions into one by checking amount of arguments
  62.     CAS.UnbindAction = CAS.BindAction
  63.  
  64.     --This function will trigger the events that have been :Connect()'ed
  65.     local function TriggerEvent(self,ev,...)
  66.         for _,f in pairs(self[ev].Functions) do
  67.             f(...)
  68.         end
  69.     end
  70.     FakeMouse.TriggerEvent = TriggerEvent
  71.     UIS.TriggerEvent = TriggerEvent
  72.  
  73.     --Client communication
  74.     local Event = Instance.new("RemoteEvent")
  75.     Event.Name = "UserInput_Event"
  76.     Event.OnServerEvent:Connect(function(plr,io)
  77.         if plr~=RealPlayer then return end
  78.         FakeMouse.Target = io.Target
  79.         FakeMouse.Hit = io.Hit
  80.         if not io.isMouse then
  81.             local b = io.UserInputState == Enum.UserInputState.Begin
  82.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  83.                 return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  84.             end
  85.             if io.UserInputType == Enum.UserInputType.MouseButton2 then
  86.                 return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  87.             end
  88.             for _,t in pairs(CAS.Actions) do
  89.                 for _,k in pairs(t.Keys) do
  90.                     if k==io.KeyCode then
  91.                         t.Function(t.Name,io.UserInputState,io)
  92.                     end
  93.                 end
  94.             end
  95.             FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  96.             UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  97.         end
  98.     end)
  99.     Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  100.     local Mouse = owner:GetMouse()
  101.     local UIS = game:GetService("UserInputService")
  102.     local input = function(io,RobloxHandled)
  103.         if RobloxHandled then return end
  104.         --Since InputObject is a client-side instance, we create and pass table instead
  105.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  106.     end
  107.     UIS.InputBegan:Connect(input)
  108.     UIS.InputEnded:Connect(input)
  109.     local h,t
  110.     --Give the server mouse data every second frame, but only if the values changed
  111.     --If player is not moving their mouse, client won't fire events
  112.     local HB = game:GetService("RunService").Heartbeat
  113.     while true do
  114.         if h~=Mouse.Hit or t~=Mouse.Target then
  115.             h,t=Mouse.Hit,Mouse.Target
  116.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  117.         end
  118.         --Wait 2 frames
  119.         for i=1,2 do
  120.             HB:Wait()
  121.         end
  122.     end]==],script)
  123.  
  124.     ----Sandboxed game object that allows the usage of client-side methods and services
  125.     --Real game object
  126.     local RealGame = game
  127.  
  128.     --Metatable for fake service
  129.     local FakeService_Metatable = {
  130.         __index = function(self,k)
  131.             local s = rawget(self,"_RealService")
  132.             if s then
  133.                 return typeof(s[k])=="function"
  134.                 and function(_,...)return s[k](s,...)end or s[k]
  135.             end
  136.         end,
  137.         __newindex = function(self,k,v)
  138.             local s = rawget(self,"_RealService")
  139.             if s then s[k]=v end
  140.         end
  141.     }
  142.     local function FakeService(t,RealService)
  143.         t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  144.         return setmetatable(t,FakeService_Metatable)
  145.     end
  146.  
  147.     --Fake game object
  148.     local FakeGame = {
  149.         GetService = function(self,s)
  150.             return rawget(self,s) or RealGame:GetService(s)
  151.         end,
  152.         Players = FakeService({
  153.             LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  154.         },"Players"),
  155.         UserInputService = FakeService(UIS,"UserInputService"),
  156.         ContextActionService = FakeService(CAS,"ContextActionService"),
  157.         RunService = FakeService({
  158.             _btrs = {},
  159.             RenderStepped = RealGame:GetService("RunService").Heartbeat,
  160.             BindToRenderStep = function(self,name,_,fun)
  161.                 self._btrs[name] = self.Heartbeat:Connect(fun)
  162.             end,
  163.             UnbindFromRenderStep = function(self,name)
  164.                 self._btrs[name]:Disconnect()
  165.             end,
  166.         },"RunService")
  167.     }
  168.     rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  169.     FakeGame.service = FakeGame.GetService
  170.     FakeService(FakeGame,game)
  171.     --Changing owner to fake player object to support owner:GetMouse()
  172.     game,owner = FakeGame,FakeGame.Players.LocalPlayer
  173. end
  174. end
  175.  
  176.  
  177. local Mouse = _Mouse
  178. local wedge=Instance.new("Part")wedge.Material="Neon"wedge.Anchored=1 wedge.TopSurface=Enum.SurfaceType.Smooth wedge.BottomSurface=Enum.SurfaceType.Smooth wedge.CanCollide=false
  179. musicId="rbxassetid://526788848"local mcol=Color3.new(1,1,.7)wedge.Color=mcol local Camera=workspace.CurrentCamera Instance.new("SpecialMesh",wedge).MeshType="Wedge"wedge.Size=Vector3.new()
  180. --local Moon={"🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘"}useless now for idealess
  181. --whil={tomonaoboys=1,duckiles=1,Melody_Cow=1,krit2552=1,Fragmentation123=1,KontaPingvin=1}
  182.  
  183. local meshfactor = 1000
  184. local function ToMesh(Part)
  185.     local Mesh=Instance.new("SpecialMesh",Part)
  186.     if Part:IsA"WedgePart"then Mesh.MeshType="Wedge"
  187.     elseif Part.Shape==Enum.PartType.Block then Mesh.MeshType="Brick"elseif Part.Shape==Enum.PartType.Ball then Mesh.MeshType="Sphere"elseif Part.Shape==Enum.PartType.Cylinder then Mesh.MeshType="Cylinder"end
  188.     Mesh.Scale=Part.Size*meshfactor Part.Size=Vector3.new()
  189.     return Mesh
  190. end
  191. function drawTriangle(a,b,c,parent,PartStat,classic)
  192.     a=typeof(a)=="CFrame"and a.p or a b=typeof(b)=="CFrame"and b.p or b c=typeof(c)=="CFrame"and c.p or c
  193.     if not a or not b or not c then error'Attempt to use NIL value'end
  194.     local TriangleModel=Instance.new("Model",parent)
  195.     local siz=0 local edges={{longest=(c-b),other=(a-b),position=b},{longest=(a-c),other=(b-c),position=c},{longest=(b-a),other=(c-a),position=a}}
  196.     table.sort(edges,function(a,b) return a.longest.magnitude > b.longest.magnitude end)local edge=edges[1]
  197.     local theta=math.acos(edge.longest.unit:Dot(edge.other.unit))local s1=Vector2.new(edge.other.magnitude * math.cos(theta),edge.other.magnitude * math.sin(theta))
  198.     local s2=Vector2.new(edge.longest.magnitude-s1.x,s1.y)local p1=edge.position + edge.other * 0.5 local p2=edge.position + edge.longest + (edge.other-edge.longest) * 0.5
  199.     local right=edge.longest:Cross(edge.other).unit local up=right:Cross(edge.longest).unit local back=edge.longest.unit
  200.     local cf1=CFrame.new(p1.x,p1.y,p1.z,-right.x,up.x,back.x,-right.y,up.y,back.y,-right.z,up.z,back.z)local cf2=CFrame.new(p2.x,p2.y,p2.z,right.x,up.x,-back.x,right.y,up.y,-back.y,right.z,up.z,-back.z)
  201.     local w1=wedge:Clone()local w2=wedge:Clone()w1.Mesh.Scale=Vector3.new(siz,s1.y,s1.x)*meshfactor w2.Mesh.Scale=Vector3.new(siz,s2.y,s2.x)*meshfactor w1.CFrame=cf1 w2.CFrame=cf2 w1.Parent=TriangleModel w2.Parent=TriangleModel
  202.     for Index, Value in pairs(PartStat or{})do w1[Index]=Value end for Index, Value in pairs(PartStat or{})do w2[Index]=Value end
  203.     if not classic then w1.Name="Wedge1"w2.Name="Wedge2"
  204.     TriangleModel.Parent=parent or workspace
  205.     return TriangleModel
  206.     else
  207.     w1.Parent=parent or workspace w2.Parent=parent or workspace return w1,w2
  208.     end
  209. end
  210. function DoSquare(A,B,C,D,parent,PartStat,classic)
  211. if not classic then local SquareModel=Instance.new("Model",parent or workspace)
  212. local mA=drawTriangle(A,B,C,SquareModel,PartStat)local mB=drawTriangle(C,D,A,SquareModel,PartStat)mA.Name="A"mB.Name="B"return SquareModel
  213. else local a,b=drawTriangle(A,B,C,parent,PartStat,1)local c,d=drawTriangle(C,D,A,parent,PartStat,1)return a,b,c,d end end
  214. function ReDrawSqu(m,A,B,C,D,PartStat)ReDrawTri(m.A,A,B,C,PartStat)B=ReDrawTri(m.B,C,D,A,PartStat)end
  215. function ReDrawTri(TriangleModel,a,b,c,PartStat)
  216.     a=typeof(a)=="CFrame"and a.p or a b=typeof(b)=="CFrame"and b.p or b c=typeof(c)=="CFrame"and c.p or c
  217.     local siz=0 local edges={{longest=(c-b),other=(a-b),position=b},{longest=(a-c),other=(b-c),position=c},{longest=(b-a),other=(c-a),position=a}}
  218.     table.sort(edges,function(a,b) return a.longest.magnitude > b.longest.magnitude end)local edge=edges[1]
  219.     local theta=math.acos(edge.longest.unit:Dot(edge.other.unit))local s1=Vector2.new(edge.other.magnitude * math.cos(theta),edge.other.magnitude * math.sin(theta))
  220.     local s2=Vector2.new(edge.longest.magnitude-s1.x,s1.y)local p1=edge.position + edge.other * 0.5 local p2=edge.position + edge.longest + (edge.other-edge.longest) * 0.5
  221.     local right=edge.longest:Cross(edge.other).unit local up=right:Cross(edge.longest).unit local back=edge.longest.unit
  222.     local cf1=CFrame.new(p1.x,p1.y,p1.z,-right.x,up.x,back.x,-right.y,up.y,back.y,-right.z,up.z,back.z)local cf2=CFrame.new(p2.x,p2.y,p2.z,right.x,up.x,-back.x,right.y,up.y,-back.y,right.z,up.z,-back.z)
  223.     local w1=TriangleModel.Wedge1 local w2=TriangleModel.Wedge2 w1.Mesh.Scale=Vector3.new(siz,s1.y,s1.x)*meshfactor w2.Mesh.Scale=Vector3.new(siz,s2.y,s2.x)*meshfactor w1.CFrame=cf1 w2.CFrame=cf2 w1.Parent=TriangleModel w2.Parent=TriangleModel
  224.     for Index, Value in pairs(PartStat or{})do w1[Index]=Value end for Index, Value in pairs(PartStat or{})do w2[Index]=Value end
  225. end
  226. owner=owner function lerp(a,b,t)return a*(1-t)+(b*t)end function rc()return CFrame.Angles(math.rad(math.random(360)),math.rad(math.random(360)),math.rad(math.random(360)))end
  227. local IsChatAvailable=false local HBMode="HeartBeat"
  228. --if script.ClassName=="Script"then if tostring(game.PlaceId)=="843468296"then owner:Explode()end error("HOW?!??!?!")end
  229. local PL=owner or game:service("Players").LocalPlayer script.Parent=PL:FindFirstChildOfClass("PlayerScripts")
  230. function a(part)local j=Instance.new("BodyVelocity",part)j.MaxForce=Vector3.new(1/0,1/0,1/0)j.Velocity=Vector3.new(0,0,0)end
  231. if 1 then local InsertModel=Instance.new'Model'GetInstance=function(CallInst,Parent)if InsertModel:FindFirstChildOfClass(CallInst)==nil then Instance.new(CallInst,InsertModel)end local Obj=InsertModel:Clone():FindFirstChildOfClass(CallInst)Obj.Parent=Parent or nil return Obj end end
  232. local function ieraseurmotor(chr)
  233.     for i,p in pairs(chr:children())do for i2,p2 in pairs(p:children())do if p2:IsA("Motor6D")and(tostring(p2)~="RootJoint"and tostring(p2)~="Neck")then
  234.     p2:Destroy()end end end if chr:FindFirstChild("Animate")then chr.Animate:Destroy()end
  235.     if chr:FindFirstChildOfClass("Humanoid")then if chr:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator")then chr:FindFirstChildOfClass("Humanoid").Animator:Destroy()end end
  236. end
  237. Humanoid=nil local DoEffect=1 local CooldownBox=Instance.new("Folder")
  238. function DoCDown(Name,time)local tag=Instance.new("Part",CooldownBox)tag.Name=Name debri(tag,time)end function GetCDown(Name)return not CooldownBox:FindFirstChild(Name)end
  239. local function FindHumanoid(Part)local humanoid=nil if Part.Parent then if Part.Parent~=PL.Character and Part.Parent:FindFirstChildOfClass("Humanoid")~=nil then humanoid=Part.Parent:FindFirstChildOfClass("Humanoid")else if Part.Parent.Parent then if Part.Parent.Parent:FindFirstChildOfClass("Humanoid")and Part.Parent.Parent~=PL.Character then humanoid=Part.Parent.Parent:FindFirstChildOfClass("Humanoid")end end end end if humanoid==Humanoid then humanoid=nil end return humanoid end
  240. if 1 then --Engine ? anyway by tomonaoboys maybe
  241. PierceForceField = false E_MainColor=Color3.new(1,1,2/3)
  242. local AutomaticRegen=true local HealthRValue=.02
  243. local Players=game:GetService("Players")
  244. local ply=owner or Players.LocalPlayer
  245. local chr=ply.Character
  246. local humanoid=chr:FindFirstChildOfClass("Humanoid")
  247. local DVal=Instance.new("NumberValue",humanoid)DVal.Name="Defense"
  248. local Defense=7.77
  249. --local Mouse=ply:GetMouse()
  250. local rs=game:GetService("RunService")if HBMode=="RenderStepped"then rs=rs.RenderStepped else rs=rs.Heartbeat end
  251. local DCoolDowns={}local Debri=function(itm,t)game:GetService("Debris"):AddItem(itm,t)end
  252. function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
  253. function tDamage(CF,Range,Dam,DRand,DC,K,KH,Guide)--CFrame or Part , Range , Damage , DCoolDown , Knockback , Knockback Hold ,Knockback Guide
  254.     if typeof(CF)=="Instance"then CF=CF.CFrame end
  255.     local FinalD=0
  256.     if Dam==1/0 then FinalD=1/0 else FinalD=math.random(Dam-DRand,Dam+DRand)end
  257.     for i,m in pairs(workspace:GetChildren())do
  258.         if m:IsA("Model")and m~=chr then
  259.             local DCFlg=false
  260.             for i=1,#DCoolDowns do
  261.                 if DCoolDowns[i].Model==m then DCFlg=true end
  262.             end
  263.             if m:FindFirstChild("HumanoidRootPart")and not DCFlg then
  264.                 local hp=m.HumanoidRootPart
  265.                 if hp:IsA("BasePart")then
  266.                 if m:FindFirstChildOfClass("Humanoid")and(CF.p-hp.CFrame.p).magnitude<=Range then
  267.                     local hum=m:FindFirstChildOfClass("Humanoid")local Guard=false
  268.                     if hum:FindFirstChild("Defense")then if hum.Defense:IsA("NumberValue")then
  269.                         FinalD=math.ceil(FinalD/(hum.Defense.Value/5+.8))
  270.                     end end FinalD=FinalD+math.random(0,1)
  271.                     if m:FindFirstChildOfClass("ForceField")and not PierceForceField then
  272.                         Guard=true
  273.                     end
  274.                     if not Guard then hum.Health=hum.Health-FinalD if Dam==1/0 then hum.Health=nil if hum.Parent then hum.Parent:BreakJoints()end end end
  275.                     if DC~=nil then table.insert(DCoolDowns,{Model=m,Time=DC})end
  276.                     if hum.Health~=0 then if K then
  277.                         if KH==nil then KH=1/2 end
  278.                         if Guide then
  279.                             local j=Instance.new("BodyVelocity",hp)j.MaxForce=Vector3.new(100,100,100)*10000
  280.                             j.Velocity=CFrame.new(hp.CFrame.p,CF.p).lookVector*K
  281.                             Debri(j,KH)
  282.                         else
  283.                             local j=Instance.new("BodyVelocity",hp)j.MaxForce=Vector3.new(100,100,100)*10000
  284.                             j.Velocity=K
  285.                             Debri(j,KH)
  286.                         end
  287.                     end end
  288.                     local dp=Instance.new("Part",workspace)dp.Transparency=1 dp.CanCollide=false dp.Anchored=true dp.Size=Vector3.new()dp.CFrame=hp.CFrame
  289.                     local b=Instance.new("BillboardGui",dp)b.Size=UDim2.new(100,0,2,0)b.AlwaysOnTop=true b.MaxDistance=100
  290.                     local d=Instance.new("TextLabel",b)d.Size=UDim2.new(1,0,1,0)d.TextScaled=true d.BackgroundTransparency=1 d.TextStrokeTransparency=0
  291.                     if not Guard then d.TextColor3=Color3.new(1,1,1)d.Text=tostring(FinalD)else d.TextColor3=Color3.new(.4,.7,1)d.Text="Guard"end
  292.                     spawn(function()local j=Instance.new("BodyVelocity",dp)j.MaxForce=Vector3.new(1/0,1/0,1/0)
  293.                         for i=1,50 do
  294.                             if dp.Parent then dp.Anchored=true
  295.                             if i<25 then
  296.                                 dp.CFrame=dp.CFrame+Vector3.new(0,.1,0)
  297.                             else
  298.                                 d.TextTransparency=i/25-1
  299.                                 d.TextStrokeTransparency=i/25-1
  300.                             end
  301.                             sw()
  302.                             end
  303.                         end dp:Destroy()
  304.                     end)
  305.                 end
  306.                 end
  307.             end
  308.         end
  309.     end
  310. end
  311. spawn(function()if chr:FindFirstChild("Health")then chr.Health:Destroy()end
  312. local hs=Instance.new("ScreenGui",ply:FindFirstChildOfClass("PlayerGui"))hs.Name="statsidk"
  313. local HFrame=Instance.new("Frame",hs)HFrame.Position=UDim2.new(.4,0,.8,0)HFrame.Size=UDim2.new(.2,0,.03,0)HFrame.BackgroundTransparency=.5
  314. HFrame.BackgroundColor3=Color3.new()HFrame.BorderSizePixel=0
  315. local HPBar1=Instance.new("TextLabel",HFrame)HPBar1.Size=UDim2.new(1,0,1,0)HPBar1.Text=" Health"HPBar1.TextStrokeTransparency=0
  316. HPBar1.TextScaled=true HPBar1.TextXAlignment="Left"HPBar1.TextColor3=Color3.new(.5,1,.5)HPBar1.BackgroundTransparency=1 HPBar1.ZIndex=3
  317. local HPBar2=Instance.new("Frame",HFrame)HPBar2.Size=UDim2.new(1,0,1,0)HPBar2.BorderSizePixel=0 HPBar2.BackgroundColor3=Color3.new(0,1,0)HPBar2.ZIndex=2
  318. local HPBar3=Instance.new("Frame",HFrame)HPBar3.Size=UDim2.new(1,0,1,0)HPBar3.BorderSizePixel=0 HPBar3.BackgroundColor3=Color3.new(1,0,0)HPBar3.ZIndex=1
  319. HPBar3.BackgroundTransparency=.5 local AR=0
  320. local wst=Instance.new("TextLabel",hs)wst.Size=UDim2.new(.09,0,.03,0)wst.Text="WalkSpeed 0"wst.Position=UDim2.new(.91,0,.4,0)wst.BackgroundColor3=E_MainColor wst.TextStrokeTransparency=0 wst.TextColor3=Color3.new(1,1,1)
  321. wst.BorderSizePixel=0 wst.BackgroundTransparency=.5 wst.Font="ArialBold"wst.TextScaled=1
  322. local dft=Instance.new("TextLabel",hs)dft.Size=UDim2.new(.09,0,.03,0)dft.Text="Defense   0"dft.Position=UDim2.new(.91,0,.368,0)dft.BackgroundColor3=E_MainColor dft.TextStrokeTransparency=0 dft.TextColor3=Color3.new(1,1,1)
  323. dft.BorderSizePixel=0 dft.BackgroundTransparency=.5 dft.Font="ArialBold"dft.TextScaled=1
  324. while sw()do
  325.     if chr then
  326.     if chr.Parent then
  327.     if AutomaticRegen and humanoid.Health<0 then
  328.         humanoid.Health=humanoid.Health+HealthRValue
  329.     end
  330.     for i=1,#DCoolDowns do
  331.         if DCoolDowns[i]~=nil then
  332.             if DCoolDowns[i].Model.Parent then
  333.                 if DCoolDowns[i].Time>0 then
  334.                     DCoolDowns[i].Time=DCoolDowns[i].Time-1
  335.                 else
  336.                     table.remove(DCoolDowns,i)
  337.                 end
  338.             else
  339.                 table.remove(DCoolDowns,i)
  340.             end
  341.         end
  342.     end
  343.     --HPScreen
  344.     if hs.Parent then
  345.         HPBar2.Size=UDim2.new(humanoid.Health/humanoid.MaxHealth,0,1,0)
  346.         HPBar3.Size=UDim2.new(HPBar3.Size.X.Scale*(1-.1)+(HPBar2.Size.X.Scale*.1),0,1,0)
  347.         HPBar1.Text=" Health "..tostring(math.floor(humanoid.Health*10)/10).."/"..tostring(math.floor(humanoid.MaxHealth))
  348.         wst.Text="WalkSpeed "..tostring(humanoid.WalkSpeed)
  349.         dft.Text="Defense "..tostring(Defense)
  350.     end
  351.     else
  352.     chr=ply.Character
  353.     end
  354.     end
  355. end
  356. end)
  357. end
  358. --Global Functions that can use easily
  359. --tDamage ( CFrame or Part , Range , Damage , Damage Randomize , DCoolDown , Knockback , Knockback Hold ,Knockback Guide )magnitudedamagelol but has idk
  360. --sw ( number ) this function can use like wait() because it has true returning. if think easily, just small version of swait lol
  361. local PC=PL.Character debri=function(item,tim)game:service("Debris"):AddItem(item,tim)end
  362. local hum=PC:FindFirstChildOfClass("Humanoid")
  363. local function DoPrism(pos,top,sid,par,option)--returns model
  364.     local Model=Instance.new("Model",par)
  365.     local Position0,Position1,Position2,Position3=pos*sid,pos*CFrame.Angles(0,math.rad(120),0)*sid,pos*CFrame.Angles(0,math.rad(240),0)*sid,pos*top
  366.     drawTriangle(Position0,Position1,Position3,Model,option).Name="A"drawTriangle(Position1,Position2,Position3,Model,option).Name="B"drawTriangle(Position2,Position0,Position3,Model,option).Name="C"
  367.     drawTriangle(Position0,Position1,Position2,Model,option).Name="D"
  368.     return Model
  369. end
  370. local function ReDrawPrism(m,pos,top,sid,par,option)--returns model
  371.     local Model=m
  372.     local Position0,Position1,Position2,Position3=pos*sid,pos*CFrame.Angles(0,math.rad(120),0)*sid,pos*CFrame.Angles(0,math.rad(240),0)*sid,pos*top
  373.     ReDrawTri(m.A,Position0,Position1,Position3,option)
  374.     ReDrawTri(m.B,Position1,Position2,Position3,option)
  375.     ReDrawTri(m.C,Position2,Position0,Position3,option)
  376.     ReDrawTri(m.D,Position0,Position1,Position2,option)
  377.     return Model
  378. end
  379. local function GetBeamLight(Parent,Length,Width0,Width1,FirstTransparent,Color,LightEm)
  380.     local BPart=Instance.new("Part",Parent)BPart.CanCollide=false BPart.Size=Vector3.new()BPart.Transparency=1
  381.     local a0=Instance.new("Attachment",BPart)local a1=Instance.new("Attachment",BPart)a1.Position=Vector3.new(0,0,Length)
  382.     local beam=Instance.new("Beam",BPart)beam.FaceCamera=1
  383.     beam.Attachment0=a0 beam.Attachment1=a1 beam.Segments=0
  384.     beam.Width0=Width0 beam.Width1=Width1 beam.Texture="rbxassetid://1251856844"beam.LightEmission=LightEm or 1
  385.     beam.Transparency=NumberSequence.new(FirstTransparent,1)beam.Color=ColorSequence.new(Color)
  386.     return BPart,beam
  387. end
  388. local function FadeBeamL(Beam,Type,Add)
  389.     if Beam~=nil then
  390.         if Beam:IsA("Beam")and Beam.Parent then
  391.             if Type=="Normal"then
  392.                 spawn(function()
  393.                     for i=0,1,Add do
  394.                         if Beam.Parent then
  395.                         Beam.Transparency=NumberSequence.new(i,1)
  396.                         sw()end
  397.                     end Beam.Parent:Destroy()
  398.                 end)
  399.             end
  400.             if Type=="idk"then
  401.                 spawn(function()
  402.                     for i=1,0,-Add do
  403.                         if Beam.Parent then
  404.                         Beam.Transparency=NumberSequence.new(i,1)
  405.                         sw()end
  406.                     end
  407.                     for i=0,1,Add do
  408.                         if Beam.Parent then
  409.                         Beam.Transparency=NumberSequence.new(i,1)
  410.                         sw()end
  411.                     end if Beam.Parent then Beam.Parent:Destroy()end
  412.                 end)
  413.             end
  414.         end
  415.     end
  416. end
  417. ieraseurmotor(PC)local RootPart=PC.HumanoidRootPart
  418. local walk=false local onground=false local walkspeed=16 local Active=false local Effects=Instance.new("Folder",workspace)
  419. local function GlitchParts(m,siz,t,Invisible,Hold)spawn(function()
  420.     local Glit={}local invi={}
  421.     if not m:IsA'BasePart'then for i,p in pairs(m:children())do
  422.     if p:IsA"BasePart"then
  423.     local a=p:Clone()a.Anchored=1 a.CanCollide=nil a:ClearAllChildren()
  424.     local CF=a.CFrame a.Parent=Effects a.CFrame=CF*CFrame.new(math.random(-100,100)/siz,math.random(-100,100)/siz,math.random(-100,100)/siz)
  425.     table.insert(Glit,{Pt=a,pst=CF,Sav=p,Tr=p.Transparency})if Invisible then p.Transparency=1 end
  426.     end
  427.     end
  428.     else
  429.     local a=m:Clone()a.Anchored=1 a.CanCollide=nil a:ClearAllChildren()
  430.     local CF=a.CFrame a.Parent=Effects a.CFrame=CF*CFrame.new(math.random(-100,100)/siz,math.random(-100,100)/siz,math.random(-100,100)/siz)
  431.     table.insert(Glit,{Pt=a,pst=CF,Sav=m,Tr=m.Transparency})if Invisible then m.Transparency=1 end
  432.     end
  433.     for i=1,t do
  434.         for i,p in pairs(Glit)do
  435.             if p.Pt.Parent then
  436.                 if Hold then p.pst=p.Sav.CFrame end
  437.                 p.Pt.CFrame=p.pst*CFrame.new(math.random(-100,100)/siz,math.random(-100,100)/siz,math.random(-100,100)/siz)
  438.             end
  439.         end
  440.         sw()
  441.     end
  442.     for i,p in pairs(Glit)do p.Pt:Destroy()if Invisible then p.Sav.Transparency=p.Tr end end
  443.     end)
  444. end
  445. local Mouse=PL:GetMouse()local ShowHitBoxes=false FH=FindHumanoid
  446. local RArm=PC["Right Arm"]local LArm=PC["Left Arm"]local RLeg=PC["Right Leg"]local LLeg=PC["Left Leg"]local Torso=PC.Torso
  447. if 1 then
  448.     local function motor(part0,part1,c0,c1)
  449.     local motor=Instance.new("Motor",part0)
  450.     motor.Part0=part0 motor.Part1=part1 motor.C0=c0 motor.C1=c1
  451.     return motor
  452.     end
  453.     local ra=motor(Torso,RArm,CFrame.new(1.5,0,0),CFrame.new(0,0,0))local la=motor(Torso,LArm,CFrame.new(-1.5,0,0),CFrame.new(0,0,0))
  454.     local rl=motor(Torso,RLeg,CFrame.new(.5,-2,0),CFrame.new(0,0,0))local ll=motor(Torso,LLeg,CFrame.new(-.5,-2,0),CFrame.new(0,0,0))
  455.     local nek=Torso.Neck local rjoint=RootPart.RootJoint nek.C0=CFrame.new(0,0,0)nek.C1=CFrame.new(0,0,0)
  456.     rjoint.C0=CFrame.new(0,0,0)rjoint.C1=CFrame.new(0,0,0)
  457.     function ReCallAnimate()
  458.     RArm=PC["Right Arm"]LArm=PC["Left Arm"]RLeg=PC["Right Leg"]LLeg=PC["Left Leg"]Torso=PC.Torso RootPart=PC.HumanoidRootPart
  459.     ra=motor(Torso,RArm,CFrame.new(1.5,0,0),CFrame.new(0,0,0))la=motor(Torso,LArm,CFrame.new(-1.5,0,0),CFrame.new(0,0,0))
  460.     rl=motor(Torso,RLeg,CFrame.new(.5,-2,0),CFrame.new(0,0,0))ll=motor(Torso,LLeg,CFrame.new(-.5,-2,0),CFrame.new(0,0,0))
  461.     nek=Torso.Neck rjoint=RootPart.RootJoint nek.C0=CFrame.new(0,0,0)nek.C1=CFrame.new(0,0,0)
  462.     rjoint.C0=CFrame.new(0,0,0)rjoint.C1=CFrame.new(0,0,0)Anim(latest,1)
  463.     end
  464.     function Anim(idk,lerpval)
  465.         rjoint.C0=rjoint.C0:lerp(idk[1],lerpval)
  466.         nek.C0=nek.C0:lerp(idk[2],lerpval)
  467.         ra.C0=ra.C0:lerp(idk[3],lerpval)
  468.         la.C0=la.C0:lerp(idk[4],lerpval)
  469.         rl.C0=rl.C0:lerp(idk[5],lerpval)
  470.         ll.C0=ll.C0:lerp(idk[6],lerpval)
  471.         latest={}latest[1]=rjoint.C0 latest[2]=nek.C0 latest[3]=ra.C0 latest[4]=la.C0 latest[5]=rl.C0 latest[6]=ll.C0
  472.     end
  473. end
  474. local function spawnref(Position)Position=typeof(Position)=="Vector3"and CFrame.new(Position)or Position local ref=Instance.new("Part",Effects)ref.Transparency=1 ref.Size=Vector3.new()ref.CFrame=Position ref.Anchored=1 ref.CanCollide=nil return ref end
  475. local function ua(part)if part:IsA("BasePart")then part.Anchored=false end local c=part:GetChildren()for i=1,#c do ua(c[i])end end local function rot(part,vec3,pow)local j=Instance.new("BodyAngularVelocity",part)j.MaxTorque=Vector3.new(pow,pow,pow)j.AngularVelocity=vec3 return j end
  476. local function CreateHitBox(Size,CF,Script)
  477.     local pt=Instance.new("Part")a(pt)pt.CanCollide=false pt.Size=Size rot(pt,Vector3.new(),1/0)pt.Transparency=1 pt.CFrame=CF
  478.     pt.Parent=Effects if ShowHitBoxes then pt.Transparency=.8 local s=Instance.new("SelectionBox",pt)s.Color3=Color3.new(.5,.5,.5)s.Adornee=pt end
  479.     local function BreakHitBox()pt:Destroy()end pt.Touched:connect(Script)spawn(function()sw()pt:Destroy()end)
  480. end
  481. local function CreateHitSphere(Size,CF,Script)
  482.     local pt=Instance.new("Part")a(pt)pt.CanCollide=false pt.Size=Vector3.new(Size,Size,Size)
  483.     rot(pt,Vector3.new(),1/0)pt.Transparency=1 pt.CFrame=CF pt.Shape="Ball"
  484.     pt.Parent=Effects if ShowHitBoxes then pt.Transparency=.8 local s=Instance.new("SelectionBox",pt)s.Color3=Color3.new(.5,.5,.5)s.Adornee=pt end
  485.     local function BreakHitBox()pt:Destroy()end pt.Touched:connect(Script)spawn(function()sw()pt:Destroy()end)
  486. end
  487. local function Region3Find(Size,Pos,Script,AutoSearch)--if AutoSearch==true then it automatically insert Humanoid after Part.
  488.     Pos=typeof(Pos)=="CFrame"and Pos.p or Pos
  489.     local reg=Region3.new(Pos-Vector3.new(Size/2,Size/2,Size/2),Pos+Vector3.new(Size/2,Size/2,Size/2))
  490.     for i,p in pairs(workspace:FindPartsInRegion3WithIgnoreList(reg,{PC,Effects},1000))do
  491.     if AutoSearch then local h=FH(p)if h then spawn(function()if h.Parent then Script(p,h)end end)end else spawn(function()Script(p)end)end
  492.     end
  493. end
  494. RayForMovingObj=function(Part,Length,WaterOpt)--or else , JUST CFrame. (return : hitting part / position )
  495.     local cf=typeof(Part)=="Instance"and Part.CFrame or Part
  496.     return workspace:FindPartOnRayWithIgnoreList(Ray.new(cf.p,cf.lookVector*Length),{PC,Effects},true,not WaterOpt)
  497. end
  498. local MusicEnabled=1 local Dead=nil
  499. ondied=function()
  500.     Dead=true
  501.     for i=1,2 do
  502.     for i,p in pairs(PC:GetDescendants())do
  503.         if p:IsA"BasePart"then
  504.             local part=Instance.new("Part",Effects)part.Material="Neon"part.Size=p.Size
  505.             part.Color=mcol part.Anchored=1 part.CanCollide=nil part.CFrame=CFrame.new(p.Position)
  506.             local add=Vector3.new(math.random(-100,100)/1200,math.random(-100,100)/1200,math.random(-100,100)/1200)
  507.             spawn(function()for i=0,1,.005 do part.CFrame=part.CFrame+add part.Transparency=i sw()end part:Destroy()end)
  508.         end
  509.     end
  510.     end
  511.     PC:Remove()
  512. end
  513. spawn(function()local opos=Vector3.new(0,0,0)local pts=0
  514.     local pos=opos
  515.     local MusicI=nil local MusicPos=0
  516.     if PC.Head:FindFirstChild"Running"then PC.Head.Running:Destroy()end
  517.     --local pos=RootPart.Position
  518.     if 1 then
  519.     local frm=Torso.CFrame*CFrame.new(0,1.5,0) local wf=Instance.new("Folder",RootPart)wf.Name="Wings"
  520.     local a,b,c,d=DoSquare(frm*CFrame.new(2,.5,2),frm*CFrame.new(3,4,2),frm*CFrame.new(6,3,4),frm*CFrame.new(7,3,5),wf,{Transparency=.7,Anchored=nil},1)
  521.     local d,e,f,g=DoSquare(frm*CFrame.new(-2,.5,2),frm*CFrame.new(-3,4,2),frm*CFrame.new(-6,3,4),frm*CFrame.new(-7,3,5),wf,{Transparency=.7,Anchored=nil},1)
  522.     local h,i=drawTriangle(frm*CFrame.new(2,-.5,1.5),frm*CFrame.new(3,-.5,1.2),frm*CFrame.new(8,-2,1.5),wf,{Transparency=.9,Anchored=nil},1)
  523.     local j,k=drawTriangle(frm*CFrame.new(-2,-.5,1.5),frm*CFrame.new(-3,-.5,1.2),frm*CFrame.new(-8,-2,1.5),wf,{Transparency=.9,Anchored=nil},1)
  524.     local l,m=drawTriangle(frm*CFrame.new(1.5,0,1.5),frm*CFrame.new(3,-.6,1.9),frm*CFrame.new(8,2,3),wf,{Transparency=.8,Anchored=nil},1)
  525.     local n,o=drawTriangle(frm*CFrame.new(-1.5,0,1.5),frm*CFrame.new(-3,-.6,1.9),frm*CFrame.new(-8,2,3),wf,{Transparency=.8,Anchored=nil},1)
  526.     --ToMesh(a)ToMesh(b)ToMesh(c)ToMesh(d)ToMesh(e)ToMesh(f)ToMesh(g)ToMesh(h)ToMesh(i)ToMesh(j)ToMesh(k)ToMesh(l)ToMesh(m)ToMesh(n)ToMesh(o)
  527.     ua(wf)for _, v in pairs(wf:children())do--auto welding from Ace of Spades script
  528.     if v.ClassName=="UnionOperation" or v.ClassName=="MeshPart" or v.ClassName=="Part" or v.ClassName=="WedgePart" or v.ClassName=="BasePart" then v.Anchored=false
  529.     local OR=CFrame.new(v.Position)
  530.     local P1C, P2C=v.CFrame:inverse() * OR, Torso.CFrame:inverse() * OR
  531.     local weld=Instance.new("Weld", RootPart)
  532.     weld.Name=v.Name .. "->" .. Torso.Name
  533.     weld.Part0=v
  534.     weld.Part1=Torso
  535.     weld.C0=P1C
  536.     weld.C1=P2C
  537.     end
  538.     end
  539.     end
  540.     for i=0,360,6 do
  541.         local Head=PC.Head
  542.         local part=Instance.new("Part",Head)part.Material="Neon"part.Size=Vector3.new(.1,.1,.125)
  543.         local weld=Instance.new("Weld",part)ToMesh(part)part.Color=Color3.new(1,1,.7)
  544.         weld.Part0=Head weld.Part1=part weld.C0=CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,1)+Vector3.new(0,1.5,0)
  545.     end
  546.     local namebbg=Instance.new("BillboardGui",PC)namebbg.Size=UDim2.new(16,0,2,0)namebbg.Adornee=RootPart namebbg.Name="NameTag"
  547.     namebbg.StudsOffset=Vector3.new(0,4.8,0)namebbg.AlwaysOnTop=1
  548.     local nt=Instance.new("TextLabel",namebbg)nt.Text="Mechanized Angel"nt.TextColor3=Color3.new(1,1,.7)nt.TextScaled=1 nt.Position=UDim2.new(0,0,-.4,0)hum.Died:connect(ondied)
  549.     nt.Font="Fantasy"nt.BackgroundTransparency=1 nt.TextTransparency=0 nt.TextStrokeTransparency=.5 nt.Size=UDim2.new(1,0,1,0)
  550.     for i,p in pairs(PC:GetDescendants())do
  551.         local par=p.Parent
  552.         p.Changed:connect(function(E)
  553.             if tostring(E)=="Parent"then
  554.                 sw()pcall(function()p.Parent=par end)
  555.             end
  556.         end)
  557.     end
  558.     while sw()do pts=pts+.05
  559.         if (PC.Parent==nil or PC.Parent.Parent==nil or PC~=PL.Character)and not Dead then
  560.             sw()if pcall(function()PC.Parent=workspace end)then
  561.                 PL.Character=PC print'someone removed character , but revived.'
  562.                 else Dead=true
  563.             end
  564.         end
  565.         if not Dead then
  566.         if MusicI then if not MusicI.Parent then MusicI=GetInstance("Sound",PC)MusicI.TimePosition=MusicPos end else MusicI=GetInstance("Sound",PC)MusicI.TimePosition=MusicPos end
  567.         MusicI.SoundId=musicId MusicI.Volume=0 MusicI.Playing=MusicEnabled MusicPos=MusicI.TimePosition
  568.         pos=RootPart.Position
  569.         if PC then
  570.         if PC:FindFirstChildOfClass("ForceField")then PC:FindFirstChildOfClass("ForceField").Visible=false else GetInstance("ForceField",PC).Name=""end ua(PC)
  571.         local hit,pos=workspace:FindPartOnRayWithIgnoreList(Ray.new(RootPart.CFrame.p,Vector3.new(0,-1,0).unit*3.5),{PC,Effects},false,true)
  572.         if not hit then onground=false else onground=true end
  573.         if (Vector3.new(pos.X,0,pos.Z)-Vector3.new(opos.X,0,opos.Z)).magnitude>=.01 then walk=true else walk=false end
  574.         if not Active then
  575.         if onground then
  576.         if walk then
  577.         Anim({CFrame.new(0,1+math.sin(pts)/10,0)*CFrame.Angles(-.4,0,0),
  578.         CFrame.new(0,1.5,0)*CFrame.Angles(.3,0,0),
  579.         CFrame.new(1.5,0,.4)*CFrame.Angles(-.3,0,.2),
  580.         CFrame.new(-1.5,0,.4)*CFrame.Angles(-.3,0,-.2),
  581.         CFrame.new(.5,-1.8,.7)*CFrame.Angles(-.7-math.sin(pts)/15,0,.1-math.sin(pts)/15),
  582.         CFrame.new(-.5,-1.3,-.55)*CFrame.Angles(0,0,-.1+math.sin(pts)/15),
  583.         },.3)
  584.         else
  585.         Anim({CFrame.new(0,1+math.sin(pts)/10,0)*CFrame.Angles(0,0,0),
  586.         CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  587.         CFrame.new(.5,.3,-.5)*CFrame.Angles(.3,3.1,1.4),
  588.         CFrame.new(-.5,.3,-.5)*CFrame.Angles(.3,-3.1,-1.4),
  589.         CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1-math.sin(pts)/15),
  590.         CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1+math.sin(pts)/15),
  591.         },.3)
  592.         end
  593.         else
  594.         Anim({CFrame.new(0,1,0)*CFrame.Angles(0,0,0),
  595.         CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  596.         CFrame.new(1.5,0,0)*CFrame.Angles(0,0,.2),
  597.         CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,-.2),
  598.         CFrame.new(.5,-1.8,.2)*CFrame.Angles(-.3-math.sin(pts)/15,0,.1-math.sin(pts)/15),
  599.         CFrame.new(-.5,-1.5,-.25)*CFrame.Angles(0,0,-.1+math.sin(pts)/15),
  600.         },.3)
  601.         end
  602.         end
  603.         end
  604.         if not Active then walkspeed=30 ua(PC)end
  605.         if not hum then hum=Instance.new("Humanoid",PC)hum.Died:connect(ondied)workspace.CurrentCamera.CameraSubject=hum
  606.         elseif not hum.Parent then hum=Instance.new("Humanoid",PC)hum.Died:connect(ondied)workspace.CurrentCamera.CameraSubject=hum end
  607.         hum.PlatformStand=false hum.Name="No Bright Things , but if you thought."
  608.         hum.MaxHealth=1/0 hum.Health=0/0 hum.WalkSpeed=walkspeed if walkspeed>0 then hum.JumpPower=50 else hum.JumpPower=0 end
  609.         if Effects.Parent==nil then Effects:Destroy()Effects=Instance.new("Folder",workspace)end
  610.         Mouse.TargetFilter=Effects
  611.         --if not PC:FindFirstChild("WingFolder")then Instance.new("Folder",PC).Name="WingFolder"else PC.WingFolder:ClearAllChildren()end
  612.         --[[if DoEffect then
  613.             local fol=PC.WingFolder
  614.             local frm=Torso.CFrame+Vector3.new(0,1.5,0)
  615.             DoSquare(frm*CFrame.new(2,.5,2),frm*CFrame.new(3,4,2),frm*CFrame.new(6,3,4),frm*CFrame.new(7,3,5),fol,{Transparency=.7})
  616.             DoSquare(frm*CFrame.new(-2,.5,2),frm*CFrame.new(-3,4,2),frm*CFrame.new(-6,3,4),frm*CFrame.new(-7,3,5),fol,{Transparency=.7})
  617.             drawTriangle(frm*CFrame.new(2,-.5,1.5),frm*CFrame.new(3,-.5,1.2),frm*CFrame.new(8,-2,1.5),fol,{Transparency=.9})
  618.             drawTriangle(frm*CFrame.new(-2,-.5,1.5),frm*CFrame.new(-3,-.5,1.2),frm*CFrame.new(-8,-2,1.5),fol,{Transparency=.9})
  619.             drawTriangle(frm*CFrame.new(1.5,0,1.5),frm*CFrame.new(3,-.6,1.9),frm*CFrame.new(8,2,3),fol,{Transparency=.8})
  620.             drawTriangle(frm*CFrame.new(-1.5,0,1.5),frm*CFrame.new(-3,-.6,1.9),frm*CFrame.new(-8,2,3),fol,{Transparency=.8})
  621.         end]]
  622.         end
  623.         hum:ClearAllChildren()opos=pos
  624.     end
  625. end)
  626. function chatfunc(text)--[[if not Dead then
  627. spawn(function()
  628.     local rs=game:service'RunService'.RenderStepped
  629.     local function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
  630.     local Character=Player.Character local RootPart=Character.HumanoidRootPart
  631.     local s=GetInstance("Sound",PC)s.SoundId="rbxassetid://418252437"s.Volume=2
  632.     if Character:FindFirstChild("cht")then Character.cht:Destroy()end
  633.     local b=Instance.new("BillboardGui",Character)b.AlwaysOnTop=true b.Adornee=RootPart b.StudsOffset=Vector3.new(0,4.8,0)b.Name="cht"
  634.     local snum=text:len()b.Size=UDim2.new(snum/1.7,0,2,0)
  635.     local texts={}
  636.     for i=1,snum do
  637.         texts[i]=Instance.new("TextButton",b)
  638.         texts[i].Size=UDim2.new(1/snum,0,1,0)texts[i].Name=text:sub(i,i)--texts[i].TextSize=30
  639.         texts[i].Text=text:sub(i,i)texts[i].Position=UDim2.new((i-1)/snum+math.random(-100,100)/100,0,math.random(-100,100)/100,0)
  640.         texts[i].BackgroundTransparency=1 texts[i].TextColor3=Color3.new(1,1,1)
  641.         texts[i].TextStrokeTransparency=1 texts[i].Font="Fantasy"texts[i].TextScaled=1 texts[i].TextTransparency=1
  642.     end
  643.     local DoOpt=function(Set,Val,LerpB)for i=1,#texts do if texts[i].Parent and b.Parent then if LerpB~=nil then
  644.     if typeof(texts[i][Set])=="UDim2"then texts[i][Set]=texts[i][Set]:lerp(Val,LerpB)else texts[i][Set]=lerp(texts[i][Set],Val,LerpB)end
  645.     else texts[i][Set]=Val end end end end
  646.     for i=1,#texts do
  647.         if texts[i].Parent then
  648.             spawn(function()for i2=0,1,.025 do
  649.             texts[i].Position=texts[i].Position:lerp(UDim2.new((i-1)/#texts,0,.3,0),.15)sw()
  650.             texts[i].TextTransparency=1-i2 texts[i].TextStrokeTransparency=1-(i2/2)
  651.             end
  652.             texts[i].Position=UDim2.new((i-1)/#texts,0,.3,0)texts[i].TextTransparency=0 texts[i].TextStrokeTransparency=.5
  653.             end)
  654.         end
  655.         --if texts[i].Text~=" "then s:Play()end
  656.         sw(3)
  657.     end
  658.     sw(180)
  659.     s:Destroy()
  660.     for i=1,0,-.025 do
  661.         DoOpt("TextTransparency",1-i)DoOpt("TextStrokeTransparency",.5+(1-i)/2)
  662.         DoOpt("Position",UDim2.new(.5,0,.3,0),.05)
  663.         sw()
  664.     end
  665.     b:Destroy()
  666. end)
  667. end]]--
  668. end
  669. --PL.Chatted:connect(function(m)chatfunc(game:service'Chat':FilterStringAsync(m,PL,PL))end)
  670. function EfcGUI(ref,alwaysNOTtop,BGCol,Option)
  671.     local b=Instance.new("BillboardGui",ref)b.Adornee=ref b.AlwaysOnTop=not alwaysNOTtop
  672.     local t=Instance.new("TextLabel",b)t.Size=UDim2.new(1,0,1,0)t.Text=""t.BorderSizePixel=0
  673.     t.BackgroundColor3=BGCol or mcol
  674.     return b,t
  675. end
  676. local function Sound(id,parent,vol,pit,pos)local R=nil
  677.     if pos then R=spawnref(pos)end
  678.     local so=GetInstance("Sound",R or parent or Effects)
  679.     so.SoundId="rbxassetid://"..tostring(id)if vol~=nil then so.Volume=vol else so.Volume=1 end if pit~=nil then so.Pitch=pit else so.Pitch=1 end so:Play()so.Ended:connect(function()if R then R:Destroy()else so:Destroy()end end)
  680. end
  681. function TriangleSpam(num,Pos,r,r2)
  682.     for i=1,num do
  683.     local Model=drawTriangle(Vector3.new(),Vector3.new(),Vector3.new(),Effects,{Transparency=1})
  684.     spawn(function()local fpos=typeof(Pos)=="CFrame"and Pos.p or Pos-- local r=1200 local r2=70
  685.     local add0=Vector3.new(math.random(-100,100)/r2,math.random(-100,100)/800,math.random(-100,100)/r2)
  686.     local vec1=fpos local add1=Vector3.new(math.random(-100,100)/r,math.random(-100,100)/r,math.random(-100,100)/r)
  687.     local vec2=fpos local add2=Vector3.new(math.random(-100,100)/r,math.random(-100,100)/r,math.random(-100,100)/r)
  688.     local vec3=fpos local add3=Vector3.new(math.random(-100,100)/r,math.random(-100,100)/r,math.random(-100,100)/r)
  689.     for i=0,1,.01 do
  690.     add0=add0/Vector3.new(1.1,1,1.1)
  691.     add0=add0+Vector3.new(0,.005,0)
  692.     vec1,vec2,vec3=vec1+add1+add0,vec2+add2+add0,vec3+add3+add0
  693.     ReDrawTri(Model,vec1,vec2,vec3,{Transparency=i})
  694.     sw()
  695.     end Model:Destroy()
  696.     end)
  697.     end
  698. end
  699. function LightningEffect(Pos,Seg,Size,Time,Col,Options)--Position {Vector3 Start,Vector3 End} , Segment , Size , Time , Color(or nil)
  700.     local p1,p2=typeof(Pos[1])=="CFrame"and Pos[1].p or Pos[1],typeof(Pos[2])=="CFrame"and Pos[2].p or Pos[2]
  701.     Options={Fade=Options.Fade or false,AutoSegment=Options.AutoSegment or false,Transparency=Options.Transparency or 0,LightningSiz=Options.LightningSiz or 1,Block=Options.Block or false,SizeFade=Options.SizeFade or 0}
  702.     local mag=(p1-p2).Magnitude local col=Col or mcol local LightningSize=Options.LightningSiz
  703.     local OldPos=CFrame.new(p1)local Step=mag/Seg local CF=CFrame.new(p1,p2)
  704.     if Options.AutoSegment then Step=Seg end
  705.     for i=1+Step,mag-Step,Step do
  706.         local Pos=CF*CFrame.new(0,0,-i)*CFrame.new(math.random(-LightningSize*50,LightningSize*50)/50,math.random(-LightningSize*50,LightningSize*50)/50,math.random(-LightningSize*50,LightningSize*50)/50)
  707.         local pt=Instance.new("Part",Effects)pt.Color=Col pt.Material="Neon"
  708.         pt.Size=Vector3.new()pt.CFrame=(CFrame.new(OldPos.p,Pos.p)*CFrame.new(0,0,-(Pos.p-OldPos.p).Magnitude/2))*CFrame.Angles(0,math.rad(90),0)
  709.         pt.Anchored=1 pt.CanCollide=nil
  710.         if Options.Fade then pt.Transparency=lerp(Options.Transparency,1,i/mag)else pt.Transparency=Options.Transparency end
  711.         local Mesh=Instance.new("SpecialMesh",pt)Mesh.MeshType=not Options.Block and"Cylinder"or "Brick"Mesh.Scale=Vector3.new((Pos.p-OldPos.p).Magnitude,Size,Size)*meshfactor
  712.         OldPos=Pos
  713.         spawn(function()local tr=pt.Transparency for i=0,1,Time/100 do pt.Transparency=lerp(tr,1,i)sw()Mesh.Scale=Mesh.Scale-Vector3.new(0,Options.SizeFade,Options.SizeFade)end pt:Destroy()end)
  714.     end
  715.     local Pos=CF*CFrame.new(0,0,mag)
  716.     local pt=Instance.new("Part",Effects)pt.Color=Col pt.Material="Neon"
  717.     pt.Size=Vector3.new()pt.CFrame=(CFrame.new(OldPos.p,Pos.p)*CFrame.new(0,0,-(Pos.p-OldPos.p).Magnitude/2))*CFrame.Angles(0,math.rad(90),0)
  718.     pt.Anchored=1 pt.CanCollide=nil
  719.     if Options.Fade then pt.Transparency=1 else pt.Transparency=Options.Transparency end
  720.     local Mesh=Instance.new("SpecialMesh",pt)Mesh.MeshType="Cylinder"Mesh.Scale=Vector3.new((Pos.p-OldPos.p).Magnitude,Size,Size)*meshfactor
  721.     spawn(function()local tr=pt.Transparency for i=0,1,Time/100 do pt.Transparency=lerp(tr,1,i)sw()Mesh.Scale=Mesh.Scale-Vector3.new(0,Options.SizeFade,Options.SizeFade)end pt:Destroy()end)
  722. end
  723. --Lightning Options (table) (n = default) : Fade=false (fading by range?) , AutoSegment=false , Transparency=0 , LightningSiz=1 , Block = false , SizeFade=0
  724. --I've added table option to dodge INSANE OPTIONS like some my scripts (Destroyer)... that was terrible.
  725. local NormalAttackNumber=0 Holding={}
  726. Mouse.KeyDown:Connect(function(k3y)
  727.     print(k3y,Dead,Active)
  728.     Holding[k3y]=true
  729.     if not Dead then
  730.     if not Active then
  731.         if k3y=="e"and GetCDown"Flawing Light"then
  732.             DoCDown("Flawing Light",.5)
  733.             for i=1,3 do
  734.             local part=Instance.new("Part",Effects)part.Size=Vector3.new(1,1,1)part.Shape="Ball"ToMesh(part)part.Anchored=1
  735.             part.Material="Neon"part.Color=mcol
  736.             part.CFrame=CFrame.new((RootPart.CFrame+Vector3.new(math.random(-50,50)/10,5+math.random(-50,50)/10,math.random(-50,50)/10)).p,Mouse.Hit.p)
  737.             spawn(function()for i=1,100 do
  738.             local h,p=RayForMovingObj(part,1)
  739.             if h==nil then part.CFrame=part.CFrame*CFrame.new(0,0,-1)
  740.             else break end sw()
  741.             end
  742.             Region3Find(12,part.CFrame,function(p,h)h.Health=nil GlitchParts(p,200,60,1)p:Destroy()end,1)
  743.             local b,g=EfcGUI(part)part.Transparency=1
  744.             g.Rotation=45 for i=0,60 do b.Size=b.Size:lerp(UDim2.new(18,0,18,0),.1)sw()g.BackgroundTransparency=i/60
  745.             end
  746.             part:Destroy()end)
  747.             sw(6)
  748.             end
  749.         end
  750.         if k3y=="r"and GetCDown"Infinite Bright"then Active=true
  751.             walkspeed=8 chatfunc("Feel the Light...")
  752.             Sound(255679384,PC,4,3.7,LArm.CFrame)Sound(392838370,PC,2,1,LArm.CFrame)
  753.             for i=0,1,.02 do
  754.                 Anim({CFrame.new(0,1,0)*CFrame.Angles(0,0,0),
  755.                 CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  756.                 CFrame.new(.5,.3,-.5)*CFrame.Angles(.3,3.1,1.4),
  757.                 CFrame.new(-1.4,1.2,0)*CFrame.Angles(math.rad(180),0,-.1),
  758.                 CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1),
  759.                 CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1),
  760.                 },.4)sw()
  761.             end
  762.             spawn(function()local keepit=4 local num=0
  763.                 while sw(keepit)and Active do
  764.                     if num<78 then num=num+1 else keepit=8 end
  765.                     Camera.CFrame=Camera.CFrame*CFrame.Angles(math.rad(math.random(-10,10)/20),math.rad(math.random(-10,10)/20),0)
  766.                     Sound(1145252750,PC,1,2,LArm.CFrame)
  767.                     local CF=CFrame.new(LArm.CFrame.p,Mouse.Hit.p)
  768.                     local h,p=RayForMovingObj(CF,4000)
  769.                     LightningEffect({p,LArm.CFrame*CFrame.new(0,-1,0)},10,.4,10,Color3.new(1,1,.7),{LightningSiz=.5,SizeFade=1,Fade=true})
  770.                     local ref=spawnref(p)
  771.                     local b,g=EfcGUI(ref)
  772.                     spawn(function()g.Rotation=math.random(360)for i=0,30 do    b.Size=b.Size:lerp(UDim2.new(10,0,10,0),.1)sw()g.BackgroundTransparency=i/30
  773.                     end ref:Destroy()end)
  774.                     Region3Find(7,p,function(p,h)h.Health=nil p:Destroy()for i=1,2 do local efc=Instance.new("Part")efc.Size=p.Size efc.Position=p.CFrame.p
  775.                     efc.Parent=Effects efc.Anchored=1 efc.CanCollide=nil
  776.                     efc.Material="Neon"efc.Color=mcol local away=Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100))/500
  777.                     spawn(function()for i=0,1,.01 do efc.Transparency=i efc.CFrame=efc.CFrame+away sw()end efc:Destroy()end)end end,1)
  778.                 end
  779.             end)local num=0
  780.             while sw()and(Holding.r or num<45)do if num<46 then num=num+1 end
  781.                 Anim({CFrame.new(0,1,0)*CFrame.Angles(0,-1,0),
  782.                 CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  783.                 CFrame.new(.5,.3,-.5)*CFrame.Angles(.3,3.1,1.4),
  784.                 CFrame.new(-1.8,.3,-.9)*CFrame.Angles(0,-.8,-1.6),
  785.                 CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1),
  786.                 CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1),
  787.                 },.6)sw()
  788.             end
  789.             DoCDown("Infinite Bright",1)
  790.             Active=nil
  791.         end
  792.         if k3y=="t"and GetCDown"Blink"then
  793.             local Pos=Mouse.Hit local OldCF=RootPart.CFrame
  794.             if Mouse.Target then
  795.                 Sound(289556450,Effects,5,1,OldCF)Sound(1012554393,Effects,1,1,OldCF)
  796.                 RootPart.CFrame=Pos+Vector3.new(0,2,0)local CF=RootPart.CFrame
  797.                 local ref=spawnref(OldCF)local b=Instance.new("BillboardGui",ref)b.Size=UDim2.new(30,0,30,0)
  798.                 b.AlwaysOnTop=1 local d=Instance.new("ImageLabel",b)d.BackgroundTransparency=1 d.Image="rbxassetid://328647556"d.Size=UDim2.new(1,0,1,0)
  799.                 spawn(function()for i=0,1,.025 do d.Rotation=lerp(d.Rotation,180,.15)sw()end for i=0,1,.05 do d.ImageTransparency=i sw()end ref:Destroy()end)
  800.                 local ref=spawnref(OldCF)local b=Instance.new("BillboardGui",ref)b.Size=UDim2.new(10,0,10,0)
  801.                 b.AlwaysOnTop=1 local d=Instance.new("ImageLabel",b)d.BackgroundTransparency=1 d.Image="rbxassetid://328647556"d.Size=UDim2.new(1,0,1,0)
  802.                 spawn(function()for i=0,1,.025 do d.Rotation=lerp(d.Rotation,-180,.15)sw()end for i=0,1,.05 do d.ImageTransparency=i sw()end ref:Destroy()end)
  803.                 spawn(function()
  804.                 local Model=DoSquare(CF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),CF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),OldCF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),OldCF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),Effects,{Transparency=1})
  805.                 for i=0,1,.05 do ReDrawSqu(Model,CF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),CF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),OldCF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),OldCF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),{Transparency=i})
  806.                 sw()end Model:Destroy()end)DoCDown("Blink",1)TriangleSpam(20,RootPart.CFrame.p,800,40)
  807.             end
  808.         end
  809.         if k3y=="z"and GetCDown"Judgement Prism"then Active=true walkspeed=8
  810.             for i=0,1,.05 do
  811.                 Anim({CFrame.new(0,1,0)*CFrame.Angles(0,0,0),
  812.                 CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  813.                 CFrame.new(1.3,1.4,0)*CFrame.Angles(math.rad(180),0,.1),
  814.                 CFrame.new(-1.3,1.4,0)*CFrame.Angles(math.rad(180),0,-.1),
  815.                 CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1),
  816.                 CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1),
  817.                 },.5)sw()
  818.             end
  819.             Active=false
  820.             DoCDown("Judgement Prism",12)
  821.             local Pos=CFrame.new(RootPart.Position)
  822.             local PrismTop=CFrame.new(0,12,0)local PrismSide=CFrame.new(9,0,0)--just two number is easier I think
  823.             --Animate Prism
  824.             local m=DoPrism(Pos,PrismTop,PrismSide,Effects,{Transparency=1})
  825.             for i=1,.8,-.0025 do
  826.             Pos=Pos*CFrame.new(0,.1,0)*CFrame.Angles(0,.05,0)
  827.             PrismTop=PrismTop:lerp(CFrame.new(0,9,0),.1)PrismSide=PrismSide:lerp(CFrame.new(6,0,0),.1)
  828.             ReDrawPrism(m,Pos,PrismTop,PrismSide,Effects,{Transparency=i})
  829.             sw()
  830.             end m:Destroy()
  831.             local ref=spawnref(Pos)
  832.             local sound=GetInstance("Sound",ref)sound.SoundId="rbxassetid://255679384"sound.Volume=5
  833.             sound:Play()
  834.             while 1 and(sound.Parent~=nil and sound.Playing and sound.Parent.Parent~=nil )do
  835.             Pos=Pos*CFrame.Angles(0,.05,0)
  836.             local m=DoPrism(Pos,PrismTop,PrismSide,Effects,{Transparency=.8})
  837.             sw()
  838.             m:Destroy()
  839.             end
  840.             Sound(878000314,Effects,2.5,1,Pos)LightningEffect({Pos,Pos+Vector3.new(0,300,0)},60,3,1,mcol,{SizeFade=.5,Fade=true,LightningSiz=3})
  841.             TriangleSpam(40,Pos,1200,70)
  842.             sw(60)
  843.             for i=1,10 do
  844.                 local Pos=Mouse.Hit
  845.                 LightningEffect({Pos,Pos+Vector3.new(0,300,0)},60,1,5,mcol,{SizeFade=.5,Fade=true,LightningSiz=5})
  846.                 TriangleSpam(4,Pos,1200,120)Sound(480357531,Effects,2,1,Pos)Sound(1145252750,Effects,1,1,Pos)
  847.                 for i=1,10 do
  848.                     local pt=Instance.new("Part",Effects)pt.Color=mcol pt.Material="Neon"
  849.                     pt.Anchored=1 pt.CanCollide=nil pt.Size=Vector3.new()local m=ToMesh(pt)
  850.                     local CF=Pos*rc()pt.CFrame=CF local add=math.random(5,100)/100
  851.                     spawn(function()
  852.                     for i=1,0,-.01 do m.Scale=Vector3.new(i,i,i)*20 pt.CFrame=pt.CFrame+Vector3.new(0,add,0)sw()end pt:Destroy()
  853.                     end)
  854.                 end
  855.                 Region3Find(17,Pos,function(p,h)
  856.                 if h.Parent then
  857.                     for i,p in pairs(h.Parent:GetDescendants())do
  858.                         if p:IsA"BasePart"then
  859.                             local part=Instance.new("Part",Effects)part.Material="Neon"part.Size=p.Size
  860.                             part.Color=mcol part.Anchored=1 part.CanCollide=nil part.CFrame=CFrame.new(p.Position)
  861.                             local add=Vector3.new(math.random(-100,100)/200,math.random(-100,100)/200,math.random(-100,100)/200)
  862.                             spawn(function()for i=0,1,.01 do part.CFrame=part.CFrame+add part.Transparency=i sw()end part:Destroy()end)
  863.                         end
  864.                     end h:Destroy()p.Parent:Destroy()
  865.                 end
  866.                 end,1)
  867.                 sw(20)
  868.             end
  869.         end
  870.         if k3y=="x"and GetCDown"Purifying Blast"then Active=true --rbxassetid://1346253336
  871.             chatfunc"There's glowing things such as Light , will fall to defeat you."
  872.             DoCDown("Purifying Blast",7.77)
  873.             for i=0,1,.045 do walkspeed=0
  874.                 Anim({CFrame.new(0,-1.5,0)*CFrame.Angles(0,0,0),
  875.                 CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  876.                 CFrame.new(1.3,0,0)*CFrame.Angles(math.rad(0),0,.1),
  877.                 CFrame.new(-1.3,0,0)*CFrame.Angles(math.rad(0),0,-.1),
  878.                 CFrame.new(.5,-1,-.5)*CFrame.Angles(math.rad(10),0,.1),
  879.                 CFrame.new(-.5,-1.2,1)*CFrame.Angles(math.rad(-80),0,-.1),
  880.                 },.3)sw()
  881.             end
  882.             for id=1,50 do
  883.                 local sp=CFrame.new(math.random(-200,200)/20,math.random(-200,200)/20+70,math.random(-200,200)/20)+RootPart.CFrame.p
  884.                 local Flow=CFrame.new(math.random(-50,50)/10,math.random(-50,50)/10,math.random(-50,50)/10)
  885.                 local idk=CFrame.new(math.random(-200,200)/5,math.random(-200,200)/20,math.random(-200,200)/5)
  886.                 local Rotate=rc()
  887.                 spawn(function()
  888.                    
  889.                     local p=GetInstance("Part",Effects)p.Anchored=1 p.CanCollide=nil p.Color=E_MainColor p.Anchored=1
  890.                     local a0=Instance.new("Attachment",p)a0.Position=Vector3.new(0,.5,0)local a1=Instance.new("Attachment",p)a1.Position=-a0.Position
  891.                     local t=GetInstance("Trail",p)t.Transparency=NumberSequence.new(0,1)t.LightEmission=1 t.LightInfluence=0 t.Texture="rbxassetid://1251856844"
  892.                     t.FaceCamera=1 t.Lifetime=.5 t.Attachment0=a0 t.Attachment1=a1 t.Color=ColorSequence.new(Color3.new(1,1,.6))
  893.                     p.Size=Vector3.new(1,1,1)local m=ToMesh(p)p.Material="Neon"
  894.                     p.CFrame=RootPart.CFrame*sp
  895.                     for i=0,1,.02 do p.Transparency=1-i/2
  896.                         t.Transparency=NumberSequence.new(1-i,1)
  897.                         p.CFrame=sp:lerp(sp*Flow,i)*Rotate
  898.                         sw()
  899.                     end
  900.                     for i=0,id/20,.025 do
  901.                         p.CFrame=sp:lerp(sp*Flow,i+1)*Rotate
  902.                         sw()
  903.                     end
  904.                     local sav=p.CFrame local add=math.random(-150,150)
  905.                     for i=0,1,.05 do
  906.                         local sav=sav*CFrame.new(0,math.sin(i*math.pi/2)*add,0)
  907.                         p.CFrame=sav:lerp(RootPart.CFrame*idk,i)*rc()
  908.                         sw()
  909.                     end
  910.                     local ref=spawnref(RootPart.CFrame*idk)
  911.                     Sound(201858087,ref,1,1)
  912.                     local b,g=EfcGUI(ref)
  913.                     spawn(function()g.Rotation=math.random(360)for i=0,60 do    b.Size=b.Size:lerp(UDim2.new(20,0,20,0),.1)sw()g.BackgroundTransparency=i/60
  914.                     end ref:Destroy()end)
  915.                     Region3Find(20,RootPart.CFrame*idk,function(p,h)h.Health=nil p:Destroy()for i=1,2 do local efc=Instance.new("Part")efc.Size=p.Size efc.Position=p.CFrame.p
  916.                     efc.Parent=Effects efc.Anchored=1 efc.CanCollide=nil
  917.                     efc.Material="Neon"efc.Color=mcol local away=Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100))/500
  918.                     spawn(function()for i=0,1,.01 do efc.Transparency=i efc.CFrame=efc.CFrame+away sw()end efc:Destroy()end)end end,1)
  919.                     p.Transparency=1 debri(p,1)
  920.                 end)
  921.             end
  922.             Active=false
  923.         end
  924.     end
  925.     if k3y=="m"then MusicEnabled=not MusicEnabled end
  926.     end
  927. end)
  928. Mouse.KeyUp:connect(function(k3y)
  929.     if Holding[k3y]then Holding[k3y]=nil end
  930. end)
  931. if 1 then
  932. Mouse.Button1Down:connect(function()
  933.     if not Active then
  934.     end
  935. end)
  936. end
  937. print"Load finished."print"Hello world!"
  938. warn'Credits : tomonaoboys , Do not erase this.'
  939. warn'Private Version - Do not trade this easily.'
  940. warn"Now won't spawn error by death , and death effects available?"
Add Comment
Please, Sign In to add comment