reset234567890

Untitled

May 28th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.76 KB | None | 0 0
  1. --[[
  2. > ⚙Mechanized Angel v.2
  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 )
  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. --]]
  17. local wedge=Instance.new("Part")wedge.Material="Neon"wedge.Anchored=1 wedge.TopSurface=Enum.SurfaceType.Smooth wedge.BottomSurface=Enum.SurfaceType.Smooth wedge.CanCollide=false
  18. musicId="rbxassetid://389898352"local mcol=Color3.new(1,1,.7)wedge.Color=mcol local Camera=workspace.CurrentCamera Instance.new("SpecialMesh",wedge).MeshType="Wedge"wedge.Size=Vector3.new()
  19. --local Moon={"🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘"}useless now for idealess
  20.  
  21. local function ToMesh(Part)
  22. local Mesh=Instance.new("SpecialMesh",Part)
  23. if Part:IsA"WedgePart"then Mesh.MeshType="Wedge"
  24. 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
  25. Mesh.Scale=Part.Size*20 Part.Size=Vector3.new()
  26. return Mesh
  27. end
  28. function drawTriangle(a,b,c,parent,PartStat,classic)
  29. 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
  30. if not a or not b or not c then error'Attempt to use NIL value'end
  31. local TriangleModel=Instance.new("Model",parent)
  32. 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}}
  33. table.sort(edges,function(a,b) return a.longest.magnitude > b.longest.magnitude end)local edge=edges[1]
  34. 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))
  35. 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
  36. local right=edge.longest:Cross(edge.other).unit local up=right:Cross(edge.longest).unit local back=edge.longest.unit
  37. 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)
  38. local w1=wedge:Clone()local w2=wedge:Clone()w1.Mesh.Scale=Vector3.new(siz,s1.y,s1.x)*20 w2.Mesh.Scale=Vector3.new(siz,s2.y,s2.x)*20 w1.CFrame=cf1 w2.CFrame=cf2 w1.Parent=TriangleModel w2.Parent=TriangleModel
  39. for Index, Value in pairs(PartStat or{})do w1[Index]=Value end for Index, Value in pairs(PartStat or{})do w2[Index]=Value end
  40. if not classic then w1.Name="Wedge1"w2.Name="Wedge2"
  41. TriangleModel.Parent=parent or workspace
  42. return TriangleModel
  43. else
  44. w1.Parent=parent or workspace w2.Parent=parent or workspace return w1,w2
  45. end
  46. end
  47. function DoSquare(A,B,C,D,parent,PartStat,classic)
  48. if not classic then local SquareModel=Instance.new("Model",parent or workspace)
  49. local mA=drawTriangle(A,B,C,SquareModel,PartStat)local mB=drawTriangle(C,D,A,SquareModel,PartStat)mA.Name="A"mB.Name="B"return SquareModel
  50. 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
  51. function ReDrawSqu(m,A,B,C,D,PartStat)ReDrawTri(m.A,A,B,C,PartStat)B=ReDrawTri(m.B,C,D,A,PartStat)end
  52. function ReDrawTri(TriangleModel,a,b,c,PartStat)
  53. 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
  54. 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}}
  55. table.sort(edges,function(a,b) return a.longest.magnitude > b.longest.magnitude end)local edge=edges[1]
  56. 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))
  57. 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
  58. local right=edge.longest:Cross(edge.other).unit local up=right:Cross(edge.longest).unit local back=edge.longest.unit
  59. 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)
  60. local w1=TriangleModel.Wedge1 local w2=TriangleModel.Wedge2 w1.Mesh.Scale=Vector3.new(siz,s1.y,s1.x)*20 w2.Mesh.Scale=Vector3.new(siz,s2.y,s2.x)*20 w1.CFrame=cf1 w2.CFrame=cf2 w1.Parent=TriangleModel w2.Parent=TriangleModel
  61. for Index, Value in pairs(PartStat or{})do w1[Index]=Value end for Index, Value in pairs(PartStat or{})do w2[Index]=Value end
  62. end
  63. local PL=game:service("Players").LocalPlayer script.Parent=PL:FindFirstChildOfClass("PlayerScripts")
  64. 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
  65. 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
  66. local function ieraseurmotor(chr)
  67. 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
  68. p2:Destroy()end end end if chr:FindFirstChild("Animate")then chr.Animate:Destroy()end
  69. if chr:FindFirstChildOfClass("Humanoid")then if chr:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator")then chr:FindFirstChildOfClass("Humanoid").Animator:Destroy()end end
  70. end
  71. Humanoid=nil local DoEffect=1 local CooldownBox=Instance.new("Folder")
  72. 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
  73. 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
  74. if 1 then --Engine ? anyway by tomonaoboys maybe
  75. PierceForceField = false E_MainColor=Color3.new(1,1,2/3)
  76. local AutomaticRegen=true local HealthRValue=.02
  77. local Players=game:GetService("Players")
  78. local ply=Players.LocalPlayer
  79. local chr=ply.Character
  80. local humanoid=chr:FindFirstChildOfClass("Humanoid")
  81. local DVal=Instance.new("NumberValue",humanoid)DVal.Name="Defense"
  82. local Defense=7.77
  83. local Mouse=ply:GetMouse()
  84. local rs=game:GetService("RunService")if HBMode=="RenderStepped"then rs=rs.RenderStepped else rs=rs.Heartbeat end
  85. local DCoolDowns={}local Debri=function(itm,t)game:GetService("Debris"):AddItem(itm,t)end
  86. function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
  87. function tDamage(CF,Range,Dam,DRand,DC,K,KH,Guide)--CFrame or Part , Range , Damage , DCoolDown , Knockback , Knockback Hold ,Knockback Guide
  88. if typeof(CF)=="Instance"then CF=CF.CFrame end
  89. local FinalD=0
  90. if Dam==1/0 then FinalD=1/0 else FinalD=math.random(Dam-DRand,Dam+DRand)end
  91. for i,m in pairs(workspace:GetChildren())do
  92. if m:IsA("Model")and m~=chr then
  93. local DCFlg=false
  94. for i=1,#DCoolDowns do
  95. if DCoolDowns[i].Model==m then DCFlg=true end
  96. end
  97. if m:FindFirstChild("HumanoidRootPart")and not DCFlg then
  98. local hp=m.HumanoidRootPart
  99. if hp:IsA("BasePart")then
  100. if m:FindFirstChildOfClass("Humanoid")and(CF.p-hp.CFrame.p).magnitude<=Range then
  101. local hum=m:FindFirstChildOfClass("Humanoid")local Guard=false
  102. if hum:FindFirstChild("Defense")then if hum.Defense:IsA("NumberValue")then
  103. FinalD=math.ceil(FinalD/(hum.Defense.Value/5+.8))
  104. end end FinalD=FinalD+math.random(0,1)
  105. if m:FindFirstChildOfClass("ForceField")and not PierceForceField then
  106. Guard=true
  107. end
  108. 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
  109. if DC~=nil then table.insert(DCoolDowns,{Model=m,Time=DC})end
  110. if hum.Health~=0 then if K then
  111. if KH==nil then KH=1/2 end
  112. if Guide then
  113. local j=Instance.new("BodyVelocity",hp)j.MaxForce=Vector3.new(100,100,100)*10000
  114. j.Velocity=CFrame.new(hp.CFrame.p,CF.p).lookVector*K
  115. Debri(j,KH)
  116. else
  117. local j=Instance.new("BodyVelocity",hp)j.MaxForce=Vector3.new(100,100,100)*10000
  118. j.Velocity=K
  119. Debri(j,KH)
  120. end
  121. end end
  122. local dp=Instance.new("Part",workspace)dp.Transparency=1 dp.CanCollide=false dp.Anchored=true dp.Size=Vector3.new()dp.CFrame=hp.CFrame
  123. local b=Instance.new("BillboardGui",dp)b.Size=UDim2.new(100,0,2,0)b.AlwaysOnTop=true b.MaxDistance=100
  124. local d=Instance.new("TextLabel",b)d.Size=UDim2.new(1,0,1,0)d.TextScaled=true d.BackgroundTransparency=1 d.TextStrokeTransparency=0
  125. 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
  126. spawn(function()local j=Instance.new("BodyVelocity",dp)j.MaxForce=Vector3.new(1/0,1/0,1/0)
  127. for i=1,50 do
  128. if dp.Parent then dp.Anchored=true
  129. if i<25 then
  130. dp.CFrame=dp.CFrame+Vector3.new(0,.1,0)
  131. else
  132. d.TextTransparency=i/25-1
  133. d.TextStrokeTransparency=i/25-1
  134. end
  135. sw()
  136. end
  137. end dp:Destroy()
  138. end)
  139. end
  140. end
  141. end
  142. end
  143. end
  144. end
  145. spawn(function()if chr:FindFirstChild("Health")then chr.Health:Destroy()end
  146. local hs=Instance.new("ScreenGui",ply:FindFirstChildOfClass("PlayerGui"))hs.Name="statsidk"
  147. 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
  148. HFrame.BackgroundColor3=Color3.new()HFrame.BorderSizePixel=0
  149. local HPBar1=Instance.new("TextLabel",HFrame)HPBar1.Size=UDim2.new(1,0,1,0)HPBar1.Text=" Health"HPBar1.TextStrokeTransparency=0
  150. HPBar1.TextScaled=true HPBar1.TextXAlignment="Left"HPBar1.TextColor3=Color3.new(.5,1,.5)HPBar1.BackgroundTransparency=1 HPBar1.ZIndex=3
  151. 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
  152. 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
  153. HPBar3.BackgroundTransparency=.5 local AR=0
  154. 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)
  155. wst.BorderSizePixel=0 wst.BackgroundTransparency=.5 wst.Font="ArialBold"wst.TextScaled=1
  156. 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)
  157. dft.BorderSizePixel=0 dft.BackgroundTransparency=.5 dft.Font="ArialBold"dft.TextScaled=1
  158. while sw()do
  159. if chr then
  160. if chr.Parent then
  161. if AutomaticRegen and humanoid.Health<0 then
  162. humanoid.Health=humanoid.Health+HealthRValue
  163. end
  164. for i=1,#DCoolDowns do
  165. if DCoolDowns[i]~=nil then
  166. if DCoolDowns[i].Model.Parent then
  167. if DCoolDowns[i].Time>0 then
  168. DCoolDowns[i].Time=DCoolDowns[i].Time-1
  169. else
  170. table.remove(DCoolDowns,i)
  171. end
  172. else
  173. table.remove(DCoolDowns,i)
  174. end
  175. end
  176. end
  177. --HPScreen
  178. if hs.Parent then
  179. HPBar2.Size=UDim2.new(humanoid.Health/humanoid.MaxHealth,0,1,0)
  180. HPBar3.Size=UDim2.new(HPBar3.Size.X.Scale*(1-.1)+(HPBar2.Size.X.Scale*.1),0,1,0)
  181. HPBar1.Text=" Health "..tostring(math.floor(humanoid.Health*10)/10).."/"..tostring(math.floor(humanoid.MaxHealth))
  182. wst.Text="WalkSpeed "..tostring(humanoid.WalkSpeed)
  183. dft.Text="Defense "..tostring(Defense)
  184. end
  185. else
  186. chr=ply.Character
  187. end
  188. end
  189. end
  190. end)
  191. end
  192. --Global Functions that can use easily
  193. --tDamage ( CFrame or Part , Range , Damage , Damage Randomize , DCoolDown , Knockback , Knockback Hold ,Knockback Guide )magnitudedamagelol but has idk
  194. --sw ( number ) this function can use like wait() because it has true returning. if think easily, just small version of swait lol
  195. local PC=PL.Character debri=function(item,tim)game:service("Debris"):AddItem(item,tim)end
  196. local hum=PC:FindFirstChildOfClass("Humanoid")
  197. local function DoPrism(pos,top,sid,par,option)--returns model
  198. local Model=Instance.new("Model",par)
  199. 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
  200. drawTriangle(Position0,Position1,Position3,Model,option).Name="A"drawTriangle(Position1,Position2,Position3,Model,option).Name="B"drawTriangle(Position2,Position0,Position3,Model,option).Name="C"
  201. drawTriangle(Position0,Position1,Position2,Model,option).Name="D"
  202. return Model
  203. end
  204. local function ReDrawPrism(m,pos,top,sid,par,option)--returns model
  205. local Model=m
  206. 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
  207. ReDrawTri(m.A,Position0,Position1,Position3,option)
  208. ReDrawTri(m.B,Position1,Position2,Position3,option)
  209. ReDrawTri(m.C,Position2,Position0,Position3,option)
  210. ReDrawTri(m.D,Position0,Position1,Position2,option)
  211. return Model
  212. end
  213. local function GetBeamLight(Parent,Length,Width0,Width1,FirstTransparent,Color,LightEm)
  214. local BPart=Instance.new("Part",Parent)BPart.CanCollide=false BPart.Size=Vector3.new()BPart.Transparency=1
  215. local a0=Instance.new("Attachment",BPart)local a1=Instance.new("Attachment",BPart)a1.Position=Vector3.new(0,0,Length)
  216. local beam=Instance.new("Beam",BPart)beam.FaceCamera=1
  217. beam.Attachment0=a0 beam.Attachment1=a1 beam.Segments=0
  218. beam.Width0=Width0 beam.Width1=Width1 beam.Texture="rbxassetid://1251856844"beam.LightEmission=LightEm or 1
  219. beam.Transparency=NumberSequence.new(FirstTransparent,1)beam.Color=ColorSequence.new(Color)
  220. return BPart,beam
  221. end
  222. local function FadeBeamL(Beam,Type,Add)
  223. if Beam~=nil then
  224. if Beam:IsA("Beam")and Beam.Parent then
  225. if Type=="Normal"then
  226. spawn(function()
  227. for i=0,1,Add do
  228. if Beam.Parent then
  229. Beam.Transparency=NumberSequence.new(i,1)
  230. sw()end
  231. end Beam.Parent:Destroy()
  232. end)
  233. end
  234. if Type=="idk"then
  235. spawn(function()
  236. for i=1,0,-Add do
  237. if Beam.Parent then
  238. Beam.Transparency=NumberSequence.new(i,1)
  239. sw()end
  240. end
  241. for i=0,1,Add do
  242. if Beam.Parent then
  243. Beam.Transparency=NumberSequence.new(i,1)
  244. sw()end
  245. end if Beam.Parent then Beam.Parent:Destroy()end
  246. end)
  247. end
  248. end
  249. end
  250. end
  251. ieraseurmotor(PC)local RootPart=PC.HumanoidRootPart
  252. local walk=false local onground=false local walkspeed=50 local Active=false local Effects=Instance.new("Folder",workspace)
  253. local function GlitchParts(m,siz,t,Invisible,Hold)spawn(function()
  254. local Glit={}local invi={}
  255. if not m:IsA'BasePart'then for i,p in pairs(m:children())do
  256. if p:IsA"BasePart"then
  257. local a=p:Clone()a.Anchored=1 a.CanCollide=nil a:ClearAllChildren()
  258. 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)
  259. table.insert(Glit,{Pt=a,pst=CF,Sav=p,Tr=p.Transparency})if Invisible then p.Transparency=1 end
  260. end
  261. end
  262. else
  263. local a=m:Clone()a.Anchored=1 a.CanCollide=nil a:ClearAllChildren()
  264. 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)
  265. table.insert(Glit,{Pt=a,pst=CF,Sav=m,Tr=m.Transparency})if Invisible then m.Transparency=1 end
  266. end
  267. for i=1,t do
  268. for i,p in pairs(Glit)do
  269. if p.Pt.Parent then
  270. if Hold then p.pst=p.Sav.CFrame end
  271. p.Pt.CFrame=p.pst*CFrame.new(math.random(-100,100)/siz,math.random(-100,100)/siz,math.random(-100,100)/siz)
  272. end
  273. end
  274. sw()
  275. end
  276. for i,p in pairs(Glit)do p.Pt:Destroy()if Invisible then p.Sav.Transparency=p.Tr end end
  277. end)
  278. end
  279. local Mouse=PL:GetMouse()local ShowHitBoxes=false FH=FindHumanoid
  280. local RArm=PC["Right Arm"]local LArm=PC["Left Arm"]local RLeg=PC["Right Leg"]local LLeg=PC["Left Leg"]local Torso=PC.Torso
  281. if 1 then
  282. local function motor(part0,part1,c0,c1)
  283. local motor=Instance.new("Motor",part0)
  284. motor.Part0=part0 motor.Part1=part1 motor.C0=c0 motor.C1=c1
  285. return motor
  286. end
  287. 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))
  288. 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))
  289. local nek=Torso.Neck local rjoint=RootPart.RootJoint nek.C0=CFrame.new(0,0,0)nek.C1=CFrame.new(0,0,0)
  290. rjoint.C0=CFrame.new(0,0,0)rjoint.C1=CFrame.new(0,0,0)
  291. function ReCallAnimate()
  292. RArm=PC["Right Arm"]LArm=PC["Left Arm"]RLeg=PC["Right Leg"]LLeg=PC["Left Leg"]Torso=PC.Torso RootPart=PC.HumanoidRootPart
  293. 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))
  294. 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))
  295. nek=Torso.Neck rjoint=RootPart.RootJoint nek.C0=CFrame.new(0,0,0)nek.C1=CFrame.new(0,0,0)
  296. rjoint.C0=CFrame.new(0,0,0)rjoint.C1=CFrame.new(0,0,0)Anim(latest,1)
  297. end
  298. function Anim(idk,lerpval)
  299. rjoint.C0=rjoint.C0:lerp(idk[1],lerpval)
  300. nek.C0=nek.C0:lerp(idk[2],lerpval)
  301. ra.C0=ra.C0:lerp(idk[3],lerpval)
  302. la.C0=la.C0:lerp(idk[4],lerpval)
  303. rl.C0=rl.C0:lerp(idk[5],lerpval)
  304. ll.C0=ll.C0:lerp(idk[6],lerpval)
  305. 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
  306. end
  307. end
  308. 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
  309. 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
  310. local function CreateHitBox(Size,CF,Script)
  311. 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
  312. 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
  313. local function BreakHitBox()pt:Destroy()end pt.Touched:connect(Script)spawn(function()sw()pt:Destroy()end)
  314. end
  315. local function CreateHitSphere(Size,CF,Script)
  316. local pt=Instance.new("Part")a(pt)pt.CanCollide=false pt.Size=Vector3.new(Size,Size,Size)
  317. rot(pt,Vector3.new(),1/0)pt.Transparency=1 pt.CFrame=CF pt.Shape="Ball"
  318. 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
  319. local function BreakHitBox()pt:Destroy()end pt.Touched:connect(Script)spawn(function()sw()pt:Destroy()end)
  320. end
  321. local function Region3Find(Size,Pos,Script,AutoSearch)--if AutoSearch==true then it automatically insert Humanoid after Part.
  322. Pos=typeof(Pos)=="CFrame"and Pos.p or Pos
  323. local reg=Region3.new(Pos-Vector3.new(Size/2,Size/2,Size/2),Pos+Vector3.new(Size/2,Size/2,Size/2))
  324. for i,p in pairs(workspace:FindPartsInRegion3WithIgnoreList(reg,{PC,Effects},1000))do
  325. 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
  326. end
  327. end
  328. RayForMovingObj=function(Part,Length,WaterOpt)--or else , JUST CFrame. (return : hitting part / position )
  329. local cf=typeof(Part)=="Instance"and Part.CFrame or Part
  330. return workspace:FindPartOnRayWithIgnoreList(Ray.new(cf.p,cf.lookVector*Length),{PC,Effects},true,not WaterOpt)
  331. end
  332. local MusicEnabled=1
  333. spawn(function()local opos=Vector3.new(0,0,0)local pts=0
  334. local pos=opos
  335. local MusicI=nil local MusicPos=0
  336. if PC.Head:FindFirstChild"Running"then PC.Head.Running:Destroy()end
  337. --local pos=RootPart.Position
  338. if 1 then
  339. local frm=Torso.CFrame*CFrame.new(0,1.5,0) local wf=Instance.new("Folder",RootPart)wf.Name="Wings"
  340. 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)
  341. 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)
  342. 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)
  343. 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)
  344. 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)
  345. 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)
  346. --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)
  347. ua(wf)for _, v in pairs(wf:children())do--auto welding from Ace of Spades script
  348. if v.ClassName=="UnionOperation" or v.ClassName=="MeshPart" or v.ClassName=="Part" or v.ClassName=="WedgePart" or v.ClassName=="BasePart" then v.Anchored=false
  349. local OR=CFrame.new(v.Position)
  350. local P1C, P2C=v.CFrame:inverse() * OR, Torso.CFrame:inverse() * OR
  351. local weld=Instance.new("Weld", RootPart)
  352. weld.Name=v.Name .. "->" .. Torso.Name
  353. weld.Part0=v
  354. weld.Part1=Torso
  355. weld.C0=P1C
  356. weld.C1=P2C
  357. end
  358. end
  359. end
  360. for i=0,360,6 do
  361. local Head=PC.Head
  362. local part=Instance.new("Part",Head)part.Material="Neon"part.Size=Vector3.new(.1,.1,.125)
  363. local weld=Instance.new("Weld",part)ToMesh(part)part.Color=Color3.new(1,1,.7)
  364. 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)
  365. end
  366. local namebbg=Instance.new("BillboardGui",PC)namebbg.Size=UDim2.new(16,0,2,0)namebbg.Adornee=RootPart namebbg.Name="NameTag"
  367. namebbg.StudsOffset=Vector3.new(0,4.8,0)namebbg.AlwaysOnTop=1
  368. 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)
  369. nt.Font="Fantasy"nt.BackgroundTransparency=1 nt.TextTransparency=0 nt.TextStrokeTransparency=.5 nt.Size=UDim2.new(1,0,1,0)
  370. while sw()do pts=pts+.05
  371. 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
  372. MusicI.SoundId=musicId MusicI.Volume=4 MusicI.Playing=MusicEnabled MusicPos=MusicI.TimePosition
  373. pos=RootPart.Position
  374. if PC.Parent==nil or PC~=PL.Character then Effects:Destroy()script:Destroy()end
  375. if PC then
  376. if PC:FindFirstChildOfClass("ForceField")then PC:FindFirstChildOfClass("ForceField").Visible=false else GetInstance("ForceField",PC).Name=""end ua(PC)
  377. local hit,pos=workspace:FindPartOnRayWithIgnoreList(Ray.new(RootPart.CFrame.p,Vector3.new(0,-1,0).unit*3.5),{PC,Effects},false,true)
  378. if not hit then onground=false else onground=true end
  379. if (Vector3.new(pos.X,0,pos.Z)-Vector3.new(opos.X,0,opos.Z)).magnitude>=.01 then walk=true else walk=false end
  380. if not Active then
  381. if onground then
  382. if walk then
  383. Anim({CFrame.new(0,1+math.sin(pts)/10,0)*CFrame.Angles(-.4,0,0),
  384. CFrame.new(0,1.5,0)*CFrame.Angles(.3,0,0),
  385. CFrame.new(1.5,0,.4)*CFrame.Angles(-.3,0,.2),
  386. CFrame.new(-1.5,0,.4)*CFrame.Angles(-.3,0,-.2),
  387. CFrame.new(.5,-1.8,.7)*CFrame.Angles(-.7-math.sin(pts)/15,0,.1-math.sin(pts)/15),
  388. CFrame.new(-.5,-1.3,-.55)*CFrame.Angles(0,0,-.1+math.sin(pts)/15),
  389. },.3)
  390. else
  391. Anim({CFrame.new(0,1+math.sin(pts)/10,0)*CFrame.Angles(0,0,0),
  392. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  393. CFrame.new(.5,.3,-.5)*CFrame.Angles(.3,3.1,1.4),
  394. CFrame.new(-.5,.3,-.5)*CFrame.Angles(.3,-3.1,-1.4),
  395. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1-math.sin(pts)/15),
  396. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1+math.sin(pts)/15),
  397. },.3)
  398. end
  399. else
  400. Anim({CFrame.new(0,1,0)*CFrame.Angles(0,0,0),
  401. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  402. CFrame.new(1.5,0,0)*CFrame.Angles(0,0,.2),
  403. CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,-.2),
  404. CFrame.new(.5,-1.8,.2)*CFrame.Angles(-.3-math.sin(pts)/15,0,.1-math.sin(pts)/15),
  405. CFrame.new(-.5,-1.5,-.25)*CFrame.Angles(0,0,-.1+math.sin(pts)/15),
  406. },.3)
  407. end
  408. end
  409. end
  410. if not Active then walkspeed=150 ua(PC)end
  411. if not hum then hum=Instance.new("Humanoid",PC)workspace.CurrentCamera.CameraSubject=hum
  412. elseif not hum.Parent then hum=Instance.new("Humanoid",PC)workspace.CurrentCamera.CameraSubject=hum end
  413. hum.PlatformStand=false hum.Name="No Bright Things , but if you thought."
  414. hum.MaxHealth=1/0 hum.Health=0/0 hum.WalkSpeed=walkspeed if walkspeed>0 then hum.JumpPower=50 else hum.JumpPower=0 end
  415. if Effects.Parent==nil then Effects:Destroy()Effects=Instance.new("Folder",workspace)end
  416. Mouse.TargetFilter=Effects
  417. --if not PC:FindFirstChild("WingFolder")then Instance.new("Folder",PC).Name="WingFolder"else PC.WingFolder:ClearAllChildren()end
  418. --[[if DoEffect then
  419. local fol=PC.WingFolder
  420. local frm=Torso.CFrame+Vector3.new(0,1.5,0)
  421. 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})
  422. 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})
  423. 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})
  424. 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})
  425. 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})
  426. 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})
  427. end]]
  428. hum:ClearAllChildren()opos=pos
  429. end
  430. end)
  431. function chatfunc(text)
  432. spawn(function()
  433. local rs=game:service'RunService'.RenderStepped
  434. local function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
  435. local Character=game:service'Players'.LocalPlayer.Character local RootPart=Character.HumanoidRootPart
  436. local s=GetInstance("Sound",PC)s.SoundId="rbxassetid://418252437"s.Volume=2
  437. if Character:FindFirstChild("cht")then Character.cht:Destroy()end
  438. local b=Instance.new("BillboardGui",Character)b.AlwaysOnTop=true b.Adornee=RootPart b.StudsOffset=Vector3.new(0,4.8,0)b.Name="cht"
  439. local snum=text:len()b.Size=UDim2.new(snum/1.7,0,2,0)
  440. local texts={}
  441. for i=1,snum do
  442. texts[i]=Instance.new("TextButton",b)
  443. texts[i].Size=UDim2.new(1/snum,0,1,0)texts[i].Name=text:sub(i,i)--texts[i].TextSize=30
  444. 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)
  445. texts[i].BackgroundTransparency=1 texts[i].TextColor3=Color3.new(1,1,1)
  446. texts[i].TextStrokeTransparency=1 texts[i].Font="Fantasy"texts[i].TextScaled=1 texts[i].TextTransparency=1
  447. end
  448. local DoOpt=function(Set,Val,LerpB)for i=1,#texts do if texts[i].Parent and b.Parent then if LerpB~=nil then
  449. 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
  450. else texts[i][Set]=Val end end end end
  451. for i=1,#texts do
  452. if texts[i].Parent then
  453. spawn(function()for i2=0,1,.025 do
  454. texts[i].Position=texts[i].Position:lerp(UDim2.new((i-1)/#texts,0,.3,0),.15)sw()
  455. texts[i].TextTransparency=1-i2 texts[i].TextStrokeTransparency=1-(i2/2)
  456. end
  457. texts[i].Position=UDim2.new((i-1)/#texts,0,.3,0)texts[i].TextTransparency=0 texts[i].TextStrokeTransparency=.5
  458. end)
  459. end
  460. --if texts[i].Text~=" "then s:Play()end
  461. sw(3)
  462. end
  463. sw(180)
  464. s:Destroy()
  465. for i=1,0,-.025 do
  466. DoOpt("TextTransparency",1-i)DoOpt("TextStrokeTransparency",.5+(1-i)/2)
  467. DoOpt("Position",UDim2.new(.5,0,.3,0),.05)
  468. sw()
  469. end
  470. b:Destroy()
  471. end)
  472.  
  473. end
  474. PL.Chatted:connect(function(m)chatfunc(game:service'Chat':FilterStringAsync(m,PL,PL))end)
  475. function EfcGUI(ref,alwaysNOTtop,BGCol,Option)
  476. local b=Instance.new("BillboardGui",ref)b.Adornee=ref b.AlwaysOnTop=not alwaysNOTtop
  477. local t=Instance.new("TextLabel",b)t.Size=UDim2.new(1,0,1,0)t.Text=""t.BorderSizePixel=0
  478. t.BackgroundColor3=BGCol or mcol
  479. return b,t
  480. end
  481. local function Sound(id,parent,vol,pit,extra)
  482. local so=GetInstance("Sound",parent or Effects)if extra~=nil then if extra.M=="Dist"then Instance.new("DistortionSoundEffect",so).Level=extra.Val end end
  483. 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()so:Destroy()end)
  484. end
  485. function TriangleSpam(num,Pos,r,r2)
  486. for i=1,num do
  487. local Model=drawTriangle(Vector3.new(),Vector3.new(),Vector3.new(),Effects,{Transparency=1})
  488. spawn(function()local fpos=typeof(Pos)=="CFrame"and Pos.p or Pos-- local r=1200 local r2=70
  489. local add0=Vector3.new(math.random(-100,100)/r2,math.random(-100,100)/800,math.random(-100,100)/r2)
  490. local vec1=fpos local add1=Vector3.new(math.random(-100,100)/r,math.random(-100,100)/r,math.random(-100,100)/r)
  491. local vec2=fpos local add2=Vector3.new(math.random(-100,100)/r,math.random(-100,100)/r,math.random(-100,100)/r)
  492. local vec3=fpos local add3=Vector3.new(math.random(-100,100)/r,math.random(-100,100)/r,math.random(-100,100)/r)
  493. for i=0,1,.01 do
  494. add0=add0/Vector3.new(1.1,1,1.1)
  495. add0=add0+Vector3.new(0,.005,0)
  496. vec1,vec2,vec3=vec1+add1+add0,vec2+add2+add0,vec3+add3+add0
  497. ReDrawTri(Model,vec1,vec2,vec3,{Transparency=i})
  498. sw()
  499. end Model:Destroy()
  500. end)
  501. end
  502. end
  503. function LightningEffect(Pos,Seg,Size,Time,Col,Options)--Position {Vector3 Start,Vector3 End} , Segment , Size , Time , Color(or nil)
  504. 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]
  505. 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}
  506. local mag=(p1-p2).Magnitude local col=Col or mcol local LightningSize=Options.LightningSiz
  507. local OldPos=CFrame.new(p1)local Step=mag/Seg local CF=CFrame.new(p1,p2)
  508. if Options.AutoSegment then Step=Seg end
  509. for i=1+Step,mag-Step,Step do
  510. 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)
  511. local pt=Instance.new("Part",Effects)pt.Color=Col pt.Material="Neon"
  512. 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)
  513. pt.Anchored=1 pt.CanCollide=nil
  514. if Options.Fade then pt.Transparency=lerp(Options.Transparency,1,i/mag)else pt.Transparency=Options.Transparency end
  515. 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)*20
  516. OldPos=Pos
  517. 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)
  518. end
  519. local Pos=CF*CFrame.new(0,0,mag)
  520. local pt=Instance.new("Part",Effects)pt.Color=Col pt.Material="Neon"
  521. 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)
  522. pt.Anchored=1 pt.CanCollide=nil
  523. if Options.Fade then pt.Transparency=1 else pt.Transparency=Options.Transparency end
  524. local Mesh=Instance.new("SpecialMesh",pt)Mesh.MeshType="Cylinder"Mesh.Scale=Vector3.new((Pos.p-OldPos.p).Magnitude,Size,Size)*20
  525. 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)
  526. end
  527. --Lightning Options (table) (n = default) : Fade=false (fading by range?) , AutoSegment=false , Transparency=0 , LightningSiz=1 , Block = false , SizeFade=0
  528. --I've added table option to dodge INSANE OPTIONS like some my scripts (Destroyer)... that was terrible.
  529. local NormalAttackNumber=0 Holding={}
  530. Mouse.KeyDown:connect(function(k3y)
  531. Holding[k3y]=true
  532. if not Active then
  533. if k3y=="e"and GetCDown"Flawing Light"then
  534. DoCDown("Flawing Light",.5)
  535. for i=1,3 do
  536. local part=Instance.new("Part",Effects)part.Size=Vector3.new(1,1,1)part.Shape="Ball"ToMesh(part)part.Anchored=1
  537. part.Material="Neon"part.Color=mcol
  538. 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)
  539. spawn(function()for i=1,100 do
  540. local h,p=RayForMovingObj(part,1)
  541. if h==nil then part.CFrame=part.CFrame*CFrame.new(0,0,-1)
  542. else break end sw()
  543. end
  544. Region3Find(12,part.CFrame,function(p,h)h.Health=nil GlitchParts(p,200,60,1)p:Destroy()end,1)
  545. local b,g=EfcGUI(part)part.Transparency=1
  546. 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
  547. end
  548. part:Destroy()end)
  549. sw(6)
  550. end
  551. end
  552. if k3y=="r"and GetCDown"Infinite Bright"then Active=true
  553. walkspeed=60 chatfunc("Feel the Light...")
  554. Sound(255679384,PC,4,3.7)Sound(392838370,PC,2,1)
  555. for i=0,1,.02 do
  556. Anim({CFrame.new(0,1,0)*CFrame.Angles(0,0,0),
  557. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  558. CFrame.new(.5,.3,-.5)*CFrame.Angles(.3,3.1,1.4),
  559. CFrame.new(-1.4,1.2,0)*CFrame.Angles(math.rad(180),0,-.1),
  560. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1),
  561. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1),
  562. },.4)sw()
  563. end
  564. spawn(function()local keepit=4 local num=0
  565. while sw(keepit)and Active do
  566. if num<78 then num=num+1 else keepit=8 end
  567. Camera.CFrame=Camera.CFrame*CFrame.Angles(math.rad(math.random(-10,10)/20),math.rad(math.random(-10,10)/20),0)
  568. Sound(1145252750,PC,1,2)
  569. local CF=CFrame.new(LArm.CFrame.p,Mouse.Hit.p)
  570. local h,p=RayForMovingObj(CF,4000)
  571. LightningEffect({p,LArm.CFrame*CFrame.new(0,-1,0)},10,.4,10,Color3.new(1,1,.7),{LightningSiz=.5,SizeFade=1,Fade=true})
  572. local ref=spawnref(p)
  573. local b,g=EfcGUI(ref)
  574. 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
  575. end ref:Destroy()end)
  576. 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
  577. efc.Parent=Effects efc.Anchored=1 efc.CanCollide=nil
  578. efc.Material="Neon"efc.Color=mcol local away=Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100))/500
  579. spawn(function()for i=0,1,.01 do efc.Transparency=i efc.CFrame=efc.CFrame+away sw()end efc:Destroy()end)end end,1)
  580. end
  581. end)local num=0
  582. while sw()and(Holding.r or num<45)do if num<46 then num=num+1 end
  583. Anim({CFrame.new(0,1,0)*CFrame.Angles(0,-1,0),
  584. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  585. CFrame.new(.5,.3,-.5)*CFrame.Angles(.3,3.1,1.4),
  586. CFrame.new(-1.8,.3,-.9)*CFrame.Angles(0,-.8,-1.6),
  587. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1),
  588. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1),
  589. },.6)sw()
  590. end
  591. DoCDown("Infinite Bright",1)
  592. Active=nil
  593. end
  594. if k3y=="t"and GetCDown"Blink"then
  595. local Pos=Mouse.Hit local OldCF=RootPart.CFrame
  596. if Mouse.Target then
  597. Sound(289556450,Effects,5)Sound(1012554393,Effects,1)
  598. RootPart.CFrame=Pos+Vector3.new(0,2,0)local CF=RootPart.CFrame
  599. local ref=spawnref(OldCF)local b=Instance.new("BillboardGui",ref)b.Size=UDim2.new(30,0,30,0)
  600. b.AlwaysOnTop=1 local d=Instance.new("ImageLabel",b)d.BackgroundTransparency=1 d.Image="rbxassetid://328647556"d.Size=UDim2.new(1,0,1,0)
  601. 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)
  602. local ref=spawnref(OldCF)local b=Instance.new("BillboardGui",ref)b.Size=UDim2.new(10,0,10,0)
  603. b.AlwaysOnTop=1 local d=Instance.new("ImageLabel",b)d.BackgroundTransparency=1 d.Image="rbxassetid://328647556"d.Size=UDim2.new(1,0,1,0)
  604. 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)
  605. spawn(function()
  606. 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})
  607. 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})
  608. sw()end Model:Destroy()end)DoCDown("Blink",1)TriangleSpam(20,RootPart.CFrame.p,800,40)
  609. end
  610. end
  611. if k3y=="z"and GetCDown"Judgement Prism"then Active=true walkspeed=30
  612. for i=0,1,.05 do
  613. Anim({CFrame.new(0,1,0)*CFrame.Angles(0,0,0),
  614. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  615. CFrame.new(1.3,1.4,0)*CFrame.Angles(math.rad(180),0,.1),
  616. CFrame.new(-1.3,1.4,0)*CFrame.Angles(math.rad(180),0,-.1),
  617. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1),
  618. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1),
  619. },.5)sw()
  620. end
  621. Active=false
  622. DoCDown("Judgement Prism",12)
  623. local Pos=CFrame.new(RootPart.Position)
  624. local PrismTop=CFrame.new(0,12,0)local PrismSide=CFrame.new(9,0,0)--just two number is easier I think
  625. --Animate Prism
  626. local m=DoPrism(Pos,PrismTop,PrismSide,Effects,{Transparency=1})
  627. for i=1,.8,-.0025 do
  628. Pos=Pos*CFrame.new(0,.1,0)*CFrame.Angles(0,.05,0)
  629. PrismTop=PrismTop:lerp(CFrame.new(0,9,0),.1)PrismSide=PrismSide:lerp(CFrame.new(6,0,0),.1)
  630. ReDrawPrism(m,Pos,PrismTop,PrismSide,Effects,{Transparency=i})
  631. sw()
  632. end m:Destroy()
  633. local sound=GetInstance("Sound",PC)sound.SoundId="rbxassetid://255679384"sound.Volume=5
  634. sound:Play()
  635. while 1 and(sound.Parent~=nil and sound.Playing and sound.Parent.Parent~=nil )do
  636. Pos=Pos*CFrame.Angles(0,.05,0)
  637. local m=DoPrism(Pos,PrismTop,PrismSide,Effects,{Transparency=.8})
  638. sw()
  639. m:Destroy()
  640. end
  641. Sound(878000314,Effects,2.5)LightningEffect({Pos,Pos+Vector3.new(0,300,0)},60,3,1,mcol,{SizeFade=.5,Fade=true,LightningSiz=3})
  642. TriangleSpam(40,Pos,1200,70)
  643. sw(60)
  644. for i=1,10 do
  645. local Pos=Mouse.Hit
  646. LightningEffect({Pos,Pos+Vector3.new(0,300,0)},60,1,5,mcol,{SizeFade=.5,Fade=true,LightningSiz=5})
  647. TriangleSpam(4,Pos,1200,120)Sound(480357531,Effects,2)Sound(1145252750,Effects,2)
  648. for i=1,10 do
  649. local pt=Instance.new("Part",Effects)pt.Color=mcol pt.Material="Neon"
  650. pt.Anchored=1 pt.CanCollide=nil pt.Size=Vector3.new()local m=ToMesh(pt)
  651. local CF=Pos*rc()pt.CFrame=CF local add=math.random(5,100)/100
  652. spawn(function()
  653. 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()
  654. end)
  655. end
  656. Region3Find(17,Pos,function(p,h)
  657. if h.Parent then
  658. for i,p in pairs(h.Parent:GetDescendants())do
  659. if p:IsA"BasePart"then
  660. local part=Instance.new("Part",Effects)part.Material="Neon"part.Size=p.Size
  661. part.Color=mcol part.Anchored=1 part.CanCollide=nil part.CFrame=CFrame.new(p.Position)
  662. local add=Vector3.new(math.random(-100,100)/200,math.random(-100,100)/200,math.random(-100,100)/200)
  663. spawn(function()for i=0,1,.01 do part.CFrame=part.CFrame+add part.Transparency=i sw()end part:Destroy()end)
  664. end
  665. end h:Destroy()p.Parent:Destroy()
  666. end
  667. end,1)
  668. --[[spawn(function()local ref=spawnref(Pos)
  669. local b,g=EfcGUI(ref)ref.Transparency=1
  670. 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
  671. end ref:Destroy()end)]]
  672. sw(20)
  673. end
  674. end
  675. end
  676. if k3y=="m"then MusicEnabled=not MusicEnabled end
  677. end)
  678. Mouse.KeyUp:connect(function(k3y)
  679. if Holding[k3y]then Holding[k3y]=nil end
  680. end)
  681. if 1 then
  682. Mouse.Button1Down:connect(function()
  683. if not Active then
  684. end
  685. end)
  686. end
  687. print"Load finished."print"Hello world!"
  688. warn'Credits : her boy friend:koonguy98755 , Do not erase this.'
  689. warn'For my love roblox'
  690.  
  691. --[[
  692. > ⚙Mechanized Angel v.2
  693. > - by tomonaoboys
  694. >
  695. > Hello world!
  696. > what things can be a real angel?
  697. > Only The angel knows.
  698. > There's no light ... Only have fake one.
  699. > Warning : this is NOT complete. the move can get added ,removed ,or replaced.
  700. > I'm not made for editing. The codes are spagetti.
  701. >
  702. > Moves : ( *:Able to hold , or required )
  703. > E : Flawing Light It shoots three holy? blasts. they explodes after 100 or got hit any object.
  704. > 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.
  705. > T : Blink Teleport. Only it is. many my script or edits highly have teleport.
  706. --]]
  707. local wedge=Instance.new("Part")wedge.Material="Neon"wedge.Anchored=1 wedge.TopSurface=Enum.SurfaceType.Smooth wedge.BottomSurface=Enum.SurfaceType.Smooth wedge.CanCollide=false
  708. musicId="rbxassetid://389898352"local mcol=Color3.new(1,1,.7)wedge.Color=mcol local Camera=workspace.CurrentCamera Instance.new("SpecialMesh",wedge).MeshType="Wedge"wedge.Size=Vector3.new()
  709. --local Moon={"🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘"}useless now for idealess
  710.  
  711. local function ToMesh(Part)
  712. local Mesh=Instance.new("SpecialMesh",Part)
  713. if Part:IsA"WedgePart"then Mesh.MeshType="Wedge"
  714. 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
  715. Mesh.Scale=Part.Size*20 Part.Size=Vector3.new()
  716. return Mesh
  717. end
  718. function drawTriangle(a,b,c,parent,PartStat,classic)
  719. 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
  720. if not a or not b or not c then error'Attempt to use NIL value'end
  721. local TriangleModel=Instance.new("Model",parent)
  722. 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}}
  723. table.sort(edges,function(a,b) return a.longest.magnitude > b.longest.magnitude end)local edge=edges[1]
  724. 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))
  725. 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
  726. local right=edge.longest:Cross(edge.other).unit local up=right:Cross(edge.longest).unit local back=edge.longest.unit
  727. 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)
  728. local w1=wedge:Clone()local w2=wedge:Clone()w1.Mesh.Scale=Vector3.new(siz,s1.y,s1.x)*20 w2.Mesh.Scale=Vector3.new(siz,s2.y,s2.x)*20 w1.CFrame=cf1 w2.CFrame=cf2 w1.Parent=TriangleModel w2.Parent=TriangleModel
  729. for Index, Value in pairs(PartStat or{})do w1[Index]=Value end for Index, Value in pairs(PartStat or{})do w2[Index]=Value end
  730. if not classic then w1.Name="Wedge1"w2.Name="Wedge2"
  731. TriangleModel.Parent=parent or workspace
  732. return TriangleModel
  733. else
  734. w1.Parent=parent or workspace w2.Parent=parent or workspace return w1,w2
  735. end
  736. end
  737. function DoSquare(A,B,C,D,parent,PartStat,classic)
  738. if not classic then local SquareModel=Instance.new("Model",parent or workspace)
  739. local mA=drawTriangle(A,B,C,SquareModel,PartStat)local mB=drawTriangle(C,D,A,SquareModel,PartStat)mA.Name="A"mB.Name="B"return SquareModel
  740. 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
  741. function ReDrawSqu(m,A,B,C,D,PartStat)ReDrawTri(m.A,A,B,C,PartStat)B=ReDrawTri(m.B,C,D,A,PartStat)end
  742. function ReDrawTri(TriangleModel,a,b,c,PartStat)
  743. 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
  744. 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}}
  745. table.sort(edges,function(a,b) return a.longest.magnitude > b.longest.magnitude end)local edge=edges[1]
  746. 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))
  747. 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
  748. local right=edge.longest:Cross(edge.other).unit local up=right:Cross(edge.longest).unit local back=edge.longest.unit
  749. 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)
  750. local w1=TriangleModel.Wedge1 local w2=TriangleModel.Wedge2 w1.Mesh.Scale=Vector3.new(siz,s1.y,s1.x)*20 w2.Mesh.Scale=Vector3.new(siz,s2.y,s2.x)*20 w1.CFrame=cf1 w2.CFrame=cf2 w1.Parent=TriangleModel w2.Parent=TriangleModel
  751. for Index, Value in pairs(PartStat or{})do w1[Index]=Value end for Index, Value in pairs(PartStat or{})do w2[Index]=Value end
  752. end
  753. 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
  754. local IsChatAvailable=false local HBMode="HeartBeat"
  755. if script.ClassName=="Script"then if tostring(game.PlaceId)=="843468296"then owner:Explode()end error("HOW?!??!?!")end
  756. local PL=game:service("Players").LocalPlayer script.Parent=PL:FindFirstChildOfClass("PlayerScripts")
  757. 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
  758. 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
  759. local function ieraseurmotor(chr)
  760. 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
  761. p2:Destroy()end end end if chr:FindFirstChild("Animate")then chr.Animate:Destroy()end
  762. if chr:FindFirstChildOfClass("Humanoid")then if chr:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator")then chr:FindFirstChildOfClass("Humanoid").Animator:Destroy()end end
  763. end
  764. Humanoid=nil local DoEffect=1 local CooldownBox=Instance.new("Folder")
  765. 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
  766. 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
  767. if 1 then --Engine ? anyway by tomonaoboys maybe
  768. PierceForceField = false E_MainColor=Color3.new(1,1,2/3)
  769. local AutomaticRegen=true local HealthRValue=.02
  770. local Players=game:GetService("Players")
  771. local ply=Players.LocalPlayer
  772. local chr=ply.Character
  773. local humanoid=chr:FindFirstChildOfClass("Humanoid")
  774. local DVal=Instance.new("NumberValue",humanoid)DVal.Name="Defense"
  775. local Defense=7.77
  776. local Mouse=ply:GetMouse()
  777. local rs=game:GetService("RunService")if HBMode=="RenderStepped"then rs=rs.RenderStepped else rs=rs.Heartbeat end
  778. local DCoolDowns={}local Debri=function(itm,t)game:GetService("Debris"):AddItem(itm,t)end
  779. function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
  780. function tDamage(CF,Range,Dam,DRand,DC,K,KH,Guide)--CFrame or Part , Range , Damage , DCoolDown , Knockback , Knockback Hold ,Knockback Guide
  781. if typeof(CF)=="Instance"then CF=CF.CFrame end
  782. local FinalD=0
  783. if Dam==1/0 then FinalD=1/0 else FinalD=math.random(Dam-DRand,Dam+DRand)end
  784. for i,m in pairs(workspace:GetChildren())do
  785. if m:IsA("Model")and m~=chr then
  786. local DCFlg=false
  787. for i=1,#DCoolDowns do
  788. if DCoolDowns[i].Model==m then DCFlg=true end
  789. end
  790. if m:FindFirstChild("HumanoidRootPart")and not DCFlg then
  791. local hp=m.HumanoidRootPart
  792. if hp:IsA("BasePart")then
  793. if m:FindFirstChildOfClass("Humanoid")and(CF.p-hp.CFrame.p).magnitude<=Range then
  794. local hum=m:FindFirstChildOfClass("Humanoid")local Guard=false
  795. if hum:FindFirstChild("Defense")then if hum.Defense:IsA("NumberValue")then
  796. FinalD=math.ceil(FinalD/(hum.Defense.Value/5+.8))
  797. end end FinalD=FinalD+math.random(0,1)
  798. if m:FindFirstChildOfClass("ForceField")and not PierceForceField then
  799. Guard=true
  800. end
  801. 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
  802. if DC~=nil then table.insert(DCoolDowns,{Model=m,Time=DC})end
  803. if hum.Health~=0 then if K then
  804. if KH==nil then KH=1/2 end
  805. if Guide then
  806. local j=Instance.new("BodyVelocity",hp)j.MaxForce=Vector3.new(100,100,100)*10000
  807. j.Velocity=CFrame.new(hp.CFrame.p,CF.p).lookVector*K
  808. Debri(j,KH)
  809. else
  810. local j=Instance.new("BodyVelocity",hp)j.MaxForce=Vector3.new(100,100,100)*10000
  811. j.Velocity=K
  812. Debri(j,KH)
  813. end
  814. end end
  815. local dp=Instance.new("Part",workspace)dp.Transparency=1 dp.CanCollide=false dp.Anchored=true dp.Size=Vector3.new()dp.CFrame=hp.CFrame
  816. local b=Instance.new("BillboardGui",dp)b.Size=UDim2.new(100,0,2,0)b.AlwaysOnTop=true b.MaxDistance=100
  817. local d=Instance.new("TextLabel",b)d.Size=UDim2.new(1,0,1,0)d.TextScaled=true d.BackgroundTransparency=1 d.TextStrokeTransparency=0
  818. 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
  819. spawn(function()local j=Instance.new("BodyVelocity",dp)j.MaxForce=Vector3.new(1/0,1/0,1/0)
  820. for i=1,50 do
  821. if dp.Parent then dp.Anchored=true
  822. if i<25 then
  823. dp.CFrame=dp.CFrame+Vector3.new(0,.1,0)
  824. else
  825. d.TextTransparency=i/25-1
  826. d.TextStrokeTransparency=i/25-1
  827. end
  828. sw()
  829. end
  830. end dp:Destroy()
  831. end)
  832. end
  833. end
  834. end
  835. end
  836. end
  837. end
  838. spawn(function()if chr:FindFirstChild("Health")then chr.Health:Destroy()end
  839. local hs=Instance.new("ScreenGui",ply:FindFirstChildOfClass("PlayerGui"))hs.Name="statsidk"
  840. 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
  841. HFrame.BackgroundColor3=Color3.new()HFrame.BorderSizePixel=0
  842. local HPBar1=Instance.new("TextLabel",HFrame)HPBar1.Size=UDim2.new(1,0,1,0)HPBar1.Text=" Health"HPBar1.TextStrokeTransparency=0
  843. HPBar1.TextScaled=true HPBar1.TextXAlignment="Left"HPBar1.TextColor3=Color3.new(.5,1,.5)HPBar1.BackgroundTransparency=1 HPBar1.ZIndex=3
  844. 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
  845. 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
  846. HPBar3.BackgroundTransparency=.5 local AR=0
  847. 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)
  848. wst.BorderSizePixel=0 wst.BackgroundTransparency=.5 wst.Font="ArialBold"wst.TextScaled=1
  849. 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)
  850. dft.BorderSizePixel=0 dft.BackgroundTransparency=.5 dft.Font="ArialBold"dft.TextScaled=1
  851. while sw()do
  852. if chr then
  853. if chr.Parent then
  854. if AutomaticRegen and humanoid.Health<0 then
  855. humanoid.Health=humanoid.Health+HealthRValue
  856. end
  857. for i=1,#DCoolDowns do
  858. if DCoolDowns[i]~=nil then
  859. if DCoolDowns[i].Model.Parent then
  860. if DCoolDowns[i].Time>0 then
  861. DCoolDowns[i].Time=DCoolDowns[i].Time-1
  862. else
  863. table.remove(DCoolDowns,i)
  864. end
  865. else
  866. table.remove(DCoolDowns,i)
  867. end
  868. end
  869. end
  870. --HPScreen
  871. if hs.Parent then
  872. HPBar2.Size=UDim2.new(humanoid.Health/humanoid.MaxHealth,0,1,0)
  873. HPBar3.Size=UDim2.new(HPBar3.Size.X.Scale*(1-.1)+(HPBar2.Size.X.Scale*.1),0,1,0)
  874. HPBar1.Text=" Health "..tostring(math.floor(humanoid.Health*10)/10).."/"..tostring(math.floor(humanoid.MaxHealth))
  875. wst.Text="WalkSpeed "..tostring(humanoid.WalkSpeed)
  876. dft.Text="Defense "..tostring(Defense)
  877. end
  878. else
  879. chr=ply.Character
  880. end
  881. end
  882. end
  883. end)
  884. end
  885. --Global Functions that can use easily
  886. --tDamage ( CFrame or Part , Range , Damage , Damage Randomize , DCoolDown , Knockback , Knockback Hold ,Knockback Guide )magnitudedamagelol but has idk
  887. --sw ( number ) this function can use like wait() because it has true returning. if think easily, just small version of swait lol
  888. local PC=PL.Character debri=function(item,tim)game:service("Debris"):AddItem(item,tim)end
  889. local hum=PC:FindFirstChildOfClass("Humanoid")
  890. local function DoPrism(pos,top,sid,par,option)--returns model
  891. local Model=Instance.new("Model",par)
  892. 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
  893. drawTriangle(Position0,Position1,Position3,Model,option).Name="A"drawTriangle(Position1,Position2,Position3,Model,option).Name="B"drawTriangle(Position2,Position0,Position3,Model,option).Name="C"
  894. drawTriangle(Position0,Position1,Position2,Model,option).Name="D"
  895. return Model
  896. end
  897. local function ReDrawPrism(m,pos,top,sid,par,option)--returns model
  898. local Model=m
  899. 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
  900. ReDrawTri(m.A,Position0,Position1,Position3,option)
  901. ReDrawTri(m.B,Position1,Position2,Position3,option)
  902. ReDrawTri(m.C,Position2,Position0,Position3,option)
  903. ReDrawTri(m.D,Position0,Position1,Position2,option)
  904. return Model
  905. end
  906. local function GetBeamLight(Parent,Length,Width0,Width1,FirstTransparent,Color,LightEm)
  907. local BPart=Instance.new("Part",Parent)BPart.CanCollide=false BPart.Size=Vector3.new()BPart.Transparency=1
  908. local a0=Instance.new("Attachment",BPart)local a1=Instance.new("Attachment",BPart)a1.Position=Vector3.new(0,0,Length)
  909. local beam=Instance.new("Beam",BPart)beam.FaceCamera=1
  910. beam.Attachment0=a0 beam.Attachment1=a1 beam.Segments=0
  911. beam.Width0=Width0 beam.Width1=Width1 beam.Texture="rbxassetid://1251856844"beam.LightEmission=LightEm or 1
  912. beam.Transparency=NumberSequence.new(FirstTransparent,1)beam.Color=ColorSequence.new(Color)
  913. return BPart,beam
  914. end
  915. local function FadeBeamL(Beam,Type,Add)
  916. if Beam~=nil then
  917. if Beam:IsA("Beam")and Beam.Parent then
  918. if Type=="Normal"then
  919. spawn(function()
  920. for i=0,1,Add do
  921. if Beam.Parent then
  922. Beam.Transparency=NumberSequence.new(i,1)
  923. sw()end
  924. end Beam.Parent:Destroy()
  925. end)
  926. end
  927. if Type=="idk"then
  928. spawn(function()
  929. for i=1,0,-Add do
  930. if Beam.Parent then
  931. Beam.Transparency=NumberSequence.new(i,1)
  932. sw()end
  933. end
  934. for i=0,1,Add do
  935. if Beam.Parent then
  936. Beam.Transparency=NumberSequence.new(i,1)
  937. sw()end
  938. end if Beam.Parent then Beam.Parent:Destroy()end
  939. end)
  940. end
  941. end
  942. end
  943. end
  944. ieraseurmotor(PC)local RootPart=PC.HumanoidRootPart
  945. local walk=false local onground=false local walkspeed=50 local Active=false local Effects=Instance.new("Folder",workspace)
  946. local function GlitchParts(m,siz,t,Invisible,Hold)spawn(function()
  947. local Glit={}local invi={}
  948. if not m:IsA'BasePart'then for i,p in pairs(m:children())do
  949. if p:IsA"BasePart"then
  950. local a=p:Clone()a.Anchored=1 a.CanCollide=nil a:ClearAllChildren()
  951. 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)
  952. table.insert(Glit,{Pt=a,pst=CF,Sav=p,Tr=p.Transparency})if Invisible then p.Transparency=1 end
  953. end
  954. end
  955. else
  956. local a=m:Clone()a.Anchored=1 a.CanCollide=nil a:ClearAllChildren()
  957. 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)
  958. table.insert(Glit,{Pt=a,pst=CF,Sav=m,Tr=m.Transparency})if Invisible then m.Transparency=1 end
  959. end
  960. for i=1,t do
  961. for i,p in pairs(Glit)do
  962. if p.Pt.Parent then
  963. if Hold then p.pst=p.Sav.CFrame end
  964. p.Pt.CFrame=p.pst*CFrame.new(math.random(-100,100)/siz,math.random(-100,100)/siz,math.random(-100,100)/siz)
  965. end
  966. end
  967. sw()
  968. end
  969. for i,p in pairs(Glit)do p.Pt:Destroy()if Invisible then p.Sav.Transparency=p.Tr end end
  970. end)
  971. end
  972. local Mouse=PL:GetMouse()local ShowHitBoxes=false FH=FindHumanoid
  973. local RArm=PC["Right Arm"]local LArm=PC["Left Arm"]local RLeg=PC["Right Leg"]local LLeg=PC["Left Leg"]local Torso=PC.Torso
  974. if 1 then
  975. local function motor(part0,part1,c0,c1)
  976. local motor=Instance.new("Motor",part0)
  977. motor.Part0=part0 motor.Part1=part1 motor.C0=c0 motor.C1=c1
  978. return motor
  979. end
  980. 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))
  981. 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))
  982. local nek=Torso.Neck local rjoint=RootPart.RootJoint nek.C0=CFrame.new(0,0,0)nek.C1=CFrame.new(0,0,0)
  983. rjoint.C0=CFrame.new(0,0,0)rjoint.C1=CFrame.new(0,0,0)
  984. function ReCallAnimate()
  985. RArm=PC["Right Arm"]LArm=PC["Left Arm"]RLeg=PC["Right Leg"]LLeg=PC["Left Leg"]Torso=PC.Torso RootPart=PC.HumanoidRootPart
  986. 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))
  987. 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))
  988. nek=Torso.Neck rjoint=RootPart.RootJoint nek.C0=CFrame.new(0,0,0)nek.C1=CFrame.new(0,0,0)
  989. rjoint.C0=CFrame.new(0,0,0)rjoint.C1=CFrame.new(0,0,0)Anim(latest,1)
  990. end
  991. function Anim(idk,lerpval)
  992. rjoint.C0=rjoint.C0:lerp(idk[1],lerpval)
  993. nek.C0=nek.C0:lerp(idk[2],lerpval)
  994. ra.C0=ra.C0:lerp(idk[3],lerpval)
  995. la.C0=la.C0:lerp(idk[4],lerpval)
  996. rl.C0=rl.C0:lerp(idk[5],lerpval)
  997. ll.C0=ll.C0:lerp(idk[6],lerpval)
  998. 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
  999. end
  1000. end
  1001. 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
  1002. 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
  1003. local function CreateHitBox(Size,CF,Script)
  1004. 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
  1005. 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
  1006. local function BreakHitBox()pt:Destroy()end pt.Touched:connect(Script)spawn(function()sw()pt:Destroy()end)
  1007. end
  1008. local function CreateHitSphere(Size,CF,Script)
  1009. local pt=Instance.new("Part")a(pt)pt.CanCollide=false pt.Size=Vector3.new(Size,Size,Size)
  1010. rot(pt,Vector3.new(),1/0)pt.Transparency=1 pt.CFrame=CF pt.Shape="Ball"
  1011. 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
  1012. local function BreakHitBox()pt:Destroy()end pt.Touched:connect(Script)spawn(function()sw()pt:Destroy()end)
  1013. end
  1014. local function Region3Find(Size,Pos,Script,AutoSearch)--if AutoSearch==true then it automatically insert Humanoid after Part.
  1015. Pos=typeof(Pos)=="CFrame"and Pos.p or Pos
  1016. local reg=Region3.new(Pos-Vector3.new(Size/2,Size/2,Size/2),Pos+Vector3.new(Size/2,Size/2,Size/2))
  1017. for i,p in pairs(workspace:FindPartsInRegion3WithIgnoreList(reg,{PC,Effects},1000))do
  1018. 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
  1019. end
  1020. end
  1021. RayForMovingObj=function(Part,Length,WaterOpt)--or else , JUST CFrame. (return : hitting part / position )
  1022. local cf=typeof(Part)=="Instance"and Part.CFrame or Part
  1023. return workspace:FindPartOnRayWithIgnoreList(Ray.new(cf.p,cf.lookVector*Length),{PC,Effects},true,not WaterOpt)
  1024. end
  1025. local MusicEnabled=1
  1026. spawn(function()local opos=Vector3.new(0,0,0)local pts=0
  1027. local pos=opos
  1028. local MusicI=nil local MusicPos=0
  1029. if PC.Head:FindFirstChild"Running"then PC.Head.Running:Destroy()end
  1030. --local pos=RootPart.Position
  1031. if 1 then
  1032. local frm=Torso.CFrame*CFrame.new(0,1.5,0) local wf=Instance.new("Folder",RootPart)wf.Name="Wings"
  1033. 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)
  1034. 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)
  1035. 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)
  1036. 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)
  1037. 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)
  1038. 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)
  1039. --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)
  1040. ua(wf)for _, v in pairs(wf:children())do--auto welding from Ace of Spades script
  1041. if v.ClassName=="UnionOperation" or v.ClassName=="MeshPart" or v.ClassName=="Part" or v.ClassName=="WedgePart" or v.ClassName=="BasePart" then v.Anchored=false
  1042. local OR=CFrame.new(v.Position)
  1043. local P1C, P2C=v.CFrame:inverse() * OR, Torso.CFrame:inverse() * OR
  1044. local weld=Instance.new("Weld", RootPart)
  1045. weld.Name=v.Name .. "->" .. Torso.Name
  1046. weld.Part0=v
  1047. weld.Part1=Torso
  1048. weld.C0=P1C
  1049. weld.C1=P2C
  1050. end
  1051. end
  1052. end
  1053. for i=0,360,6 do
  1054. local Head=PC.Head
  1055. local part=Instance.new("Part",Head)part.Material="Neon"part.Size=Vector3.new(.1,.1,.125)
  1056. local weld=Instance.new("Weld",part)ToMesh(part)part.Color=Color3.new(1,1,.7)
  1057. 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)
  1058. end
  1059. local namebbg=Instance.new("BillboardGui",PC)namebbg.Size=UDim2.new(16,0,2,0)namebbg.Adornee=RootPart namebbg.Name="NameTag"
  1060. namebbg.StudsOffset=Vector3.new(0,4.8,0)namebbg.AlwaysOnTop=1
  1061. 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)
  1062. nt.Font="Fantasy"nt.BackgroundTransparency=1 nt.TextTransparency=0 nt.TextStrokeTransparency=.5 nt.Size=UDim2.new(1,0,1,0)
  1063. while sw()do pts=pts+.05
  1064. 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
  1065. MusicI.SoundId=musicId MusicI.Volume=4 MusicI.Playing=MusicEnabled MusicPos=MusicI.TimePosition
  1066. pos=RootPart.Position
  1067. if PC.Parent==nil or PC~=PL.Character then Effects:Destroy()script:Destroy()end
  1068. if PC then
  1069. if PC:FindFirstChildOfClass("ForceField")then PC:FindFirstChildOfClass("ForceField").Visible=false else GetInstance("ForceField",PC).Name=""end ua(PC)
  1070. local hit,pos=workspace:FindPartOnRayWithIgnoreList(Ray.new(RootPart.CFrame.p,Vector3.new(0,-1,0).unit*3.5),{PC,Effects},false,true)
  1071. if not hit then onground=false else onground=true end
  1072. if (Vector3.new(pos.X,0,pos.Z)-Vector3.new(opos.X,0,opos.Z)).magnitude>=.01 then walk=true else walk=false end
  1073. if not Active then
  1074. if onground then
  1075. if walk then
  1076. Anim({CFrame.new(0,1+math.sin(pts)/10,0)*CFrame.Angles(-.4,0,0),
  1077. CFrame.new(0,1.5,0)*CFrame.Angles(.3,0,0),
  1078. CFrame.new(1.5,0,.4)*CFrame.Angles(-.3,0,.2),
  1079. CFrame.new(-1.5,0,.4)*CFrame.Angles(-.3,0,-.2),
  1080. CFrame.new(.5,-1.8,.7)*CFrame.Angles(-.7-math.sin(pts)/15,0,.1-math.sin(pts)/15),
  1081. CFrame.new(-.5,-1.3,-.55)*CFrame.Angles(0,0,-.1+math.sin(pts)/15),
  1082. },.3)
  1083. else
  1084. Anim({CFrame.new(0,1+math.sin(pts)/10,0)*CFrame.Angles(0,0,0),
  1085. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  1086. CFrame.new(.5,.3,-.5)*CFrame.Angles(.3,3.1,1.4),
  1087. CFrame.new(-.5,.3,-.5)*CFrame.Angles(.3,-3.1,-1.4),
  1088. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1-math.sin(pts)/15),
  1089. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1+math.sin(pts)/15),
  1090. },.3)
  1091. end
  1092. else
  1093. Anim({CFrame.new(0,1,0)*CFrame.Angles(0,0,0),
  1094. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  1095. CFrame.new(1.5,0,0)*CFrame.Angles(0,0,.2),
  1096. CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,-.2),
  1097. CFrame.new(.5,-1.8,.2)*CFrame.Angles(-.3-math.sin(pts)/15,0,.1-math.sin(pts)/15),
  1098. CFrame.new(-.5,-1.5,-.25)*CFrame.Angles(0,0,-.1+math.sin(pts)/15),
  1099. },.3)
  1100. end
  1101. end
  1102. end
  1103. if not Active then walkspeed=150 ua(PC)end
  1104. if not hum then hum=Instance.new("Humanoid",PC)workspace.CurrentCamera.CameraSubject=hum
  1105. elseif not hum.Parent then hum=Instance.new("Humanoid",PC)workspace.CurrentCamera.CameraSubject=hum end
  1106. hum.PlatformStand=false hum.Name="No Bright Things , but if you thought."
  1107. hum.MaxHealth=1/0 hum.Health=0/0 hum.WalkSpeed=walkspeed if walkspeed>0 then hum.JumpPower=50 else hum.JumpPower=0 end
  1108. if Effects.Parent==nil then Effects:Destroy()Effects=Instance.new("Folder",workspace)end
  1109. Mouse.TargetFilter=Effects
  1110. --if not PC:FindFirstChild("WingFolder")then Instance.new("Folder",PC).Name="WingFolder"else PC.WingFolder:ClearAllChildren()end
  1111. --[[if DoEffect then
  1112. local fol=PC.WingFolder
  1113. local frm=Torso.CFrame+Vector3.new(0,1.5,0)
  1114. 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})
  1115. 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})
  1116. 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})
  1117. 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})
  1118. 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})
  1119. 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})
  1120. end]]
  1121. hum:ClearAllChildren()opos=pos
  1122. end
  1123. end)
  1124. function chatfunc(text)
  1125. spawn(function()
  1126. local rs=game:service'RunService'.RenderStepped
  1127. local function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
  1128. local Character=game:service'Players'.LocalPlayer.Character local RootPart=Character.HumanoidRootPart
  1129. local s=GetInstance("Sound",PC)s.SoundId="rbxassetid://418252437"s.Volume=2
  1130. if Character:FindFirstChild("cht")then Character.cht:Destroy()end
  1131. local b=Instance.new("BillboardGui",Character)b.AlwaysOnTop=true b.Adornee=RootPart b.StudsOffset=Vector3.new(0,4.8,0)b.Name="cht"
  1132. local snum=text:len()b.Size=UDim2.new(snum/1.7,0,2,0)
  1133. local texts={}
  1134. for i=1,snum do
  1135. texts[i]=Instance.new("TextButton",b)
  1136. texts[i].Size=UDim2.new(1/snum,0,1,0)texts[i].Name=text:sub(i,i)--texts[i].TextSize=30
  1137. 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)
  1138. texts[i].BackgroundTransparency=1 texts[i].TextColor3=Color3.new(1,1,1)
  1139. texts[i].TextStrokeTransparency=1 texts[i].Font="Fantasy"texts[i].TextScaled=1 texts[i].TextTransparency=1
  1140. end
  1141. local DoOpt=function(Set,Val,LerpB)for i=1,#texts do if texts[i].Parent and b.Parent then if LerpB~=nil then
  1142. 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
  1143. else texts[i][Set]=Val end end end end
  1144. for i=1,#texts do
  1145. if texts[i].Parent then
  1146. spawn(function()for i2=0,1,.025 do
  1147. texts[i].Position=texts[i].Position:lerp(UDim2.new((i-1)/#texts,0,.3,0),.15)sw()
  1148. texts[i].TextTransparency=1-i2 texts[i].TextStrokeTransparency=1-(i2/2)
  1149. end
  1150. texts[i].Position=UDim2.new((i-1)/#texts,0,.3,0)texts[i].TextTransparency=0 texts[i].TextStrokeTransparency=.5
  1151. end)
  1152. end
  1153. --if texts[i].Text~=" "then s:Play()end
  1154. sw(3)
  1155. end
  1156. sw(180)
  1157. s:Destroy()
  1158. for i=1,0,-.025 do
  1159. DoOpt("TextTransparency",1-i)DoOpt("TextStrokeTransparency",.5+(1-i)/2)
  1160. DoOpt("Position",UDim2.new(.5,0,.3,0),.05)
  1161. sw()
  1162. end
  1163. b:Destroy()
  1164. end)
  1165.  
  1166. end
  1167. PL.Chatted:connect(function(m)chatfunc(game:service'Chat':FilterStringAsync(m,PL,PL))end)
  1168. function EfcGUI(ref,alwaysNOTtop,BGCol,Option)
  1169. local b=Instance.new("BillboardGui",ref)b.Adornee=ref b.AlwaysOnTop=not alwaysNOTtop
  1170. local t=Instance.new("TextLabel",b)t.Size=UDim2.new(1,0,1,0)t.Text=""t.BorderSizePixel=0
  1171. t.BackgroundColor3=BGCol or mcol
  1172. return b,t
  1173. end
  1174. local function Sound(id,parent,vol,pit,extra)
  1175. local so=GetInstance("Sound",parent or Effects)if extra~=nil then if extra.M=="Dist"then Instance.new("DistortionSoundEffect",so).Level=extra.Val end end
  1176. 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()so:Destroy()end)
  1177. end
  1178. function TriangleSpam(num,Pos,r,r2)
  1179. for i=1,num do
  1180. local Model=drawTriangle(Vector3.new(),Vector3.new(),Vector3.new(),Effects,{Transparency=1})
  1181. spawn(function()local fpos=typeof(Pos)=="CFrame"and Pos.p or Pos-- local r=1200 local r2=70
  1182. local add0=Vector3.new(math.random(-100,100)/r2,math.random(-100,100)/800,math.random(-100,100)/r2)
  1183. local vec1=fpos local add1=Vector3.new(math.random(-100,100)/r,math.random(-100,100)/r,math.random(-100,100)/r)
  1184. local vec2=fpos local add2=Vector3.new(math.random(-100,100)/r,math.random(-100,100)/r,math.random(-100,100)/r)
  1185. local vec3=fpos local add3=Vector3.new(math.random(-100,100)/r,math.random(-100,100)/r,math.random(-100,100)/r)
  1186. for i=0,1,.01 do
  1187. add0=add0/Vector3.new(1.1,1,1.1)
  1188. add0=add0+Vector3.new(0,.005,0)
  1189. vec1,vec2,vec3=vec1+add1+add0,vec2+add2+add0,vec3+add3+add0
  1190. ReDrawTri(Model,vec1,vec2,vec3,{Transparency=i})
  1191. sw()
  1192. end Model:Destroy()
  1193. end)
  1194. end
  1195. end
  1196. function LightningEffect(Pos,Seg,Size,Time,Col,Options)--Position {Vector3 Start,Vector3 End} , Segment , Size , Time , Color(or nil)
  1197. 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]
  1198. 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}
  1199. local mag=(p1-p2).Magnitude local col=Col or mcol local LightningSize=Options.LightningSiz
  1200. local OldPos=CFrame.new(p1)local Step=mag/Seg local CF=CFrame.new(p1,p2)
  1201. if Options.AutoSegment then Step=Seg end
  1202. for i=1+Step,mag-Step,Step do
  1203. 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)
  1204. local pt=Instance.new("Part",Effects)pt.Color=Col pt.Material="Neon"
  1205. 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)
  1206. pt.Anchored=1 pt.CanCollide=nil
  1207. if Options.Fade then pt.Transparency=lerp(Options.Transparency,1,i/mag)else pt.Transparency=Options.Transparency end
  1208. 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)*20
  1209. OldPos=Pos
  1210. 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)
  1211. end
  1212. local Pos=CF*CFrame.new(0,0,mag)
  1213. local pt=Instance.new("Part",Effects)pt.Color=Col pt.Material="Neon"
  1214. 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)
  1215. pt.Anchored=1 pt.CanCollide=nil
  1216. if Options.Fade then pt.Transparency=1 else pt.Transparency=Options.Transparency end
  1217. local Mesh=Instance.new("SpecialMesh",pt)Mesh.MeshType="Cylinder"Mesh.Scale=Vector3.new((Pos.p-OldPos.p).Magnitude,Size,Size)*20
  1218. 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)
  1219. end
  1220. --Lightning Options (table) (n = default) : Fade=false (fading by range?) , AutoSegment=false , Transparency=0 , LightningSiz=1 , Block = false , SizeFade=0
  1221. --I've added table option to dodge INSANE OPTIONS like some my scripts (Destroyer)... that was terrible.
  1222. local NormalAttackNumber=0 Holding={}
  1223. Mouse.KeyDown:connect(function(k3y)
  1224. Holding[k3y]=true
  1225. if not Active then
  1226. if k3y=="e"and GetCDown"Flawing Light"then
  1227. DoCDown("Flawing Light",.5)
  1228. for i=1,3 do
  1229. local part=Instance.new("Part",Effects)part.Size=Vector3.new(1,1,1)part.Shape="Ball"ToMesh(part)part.Anchored=1
  1230. part.Material="Neon"part.Color=mcol
  1231. 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)
  1232. spawn(function()for i=1,100 do
  1233. local h,p=RayForMovingObj(part,1)
  1234. if h==nil then part.CFrame=part.CFrame*CFrame.new(0,0,-1)
  1235. else break end sw()
  1236. end
  1237. Region3Find(12,part.CFrame,function(p,h)h.Health=nil GlitchParts(p,200,60,1)p:Destroy()end,1)
  1238. local b,g=EfcGUI(part)part.Transparency=1
  1239. 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
  1240. end
  1241. part:Destroy()end)
  1242. sw(6)
  1243. end
  1244. end
  1245. if k3y=="r"and GetCDown"Infinite Bright"then Active=true
  1246. walkspeed=60 chatfunc("Feel the Light...")
  1247. Sound(255679384,PC,4,3.7)Sound(392838370,PC,2,1)
  1248. for i=0,1,.02 do
  1249. Anim({CFrame.new(0,1,0)*CFrame.Angles(0,0,0),
  1250. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  1251. CFrame.new(.5,.3,-.5)*CFrame.Angles(.3,3.1,1.4),
  1252. CFrame.new(-1.4,1.2,0)*CFrame.Angles(math.rad(180),0,-.1),
  1253. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1),
  1254. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1),
  1255. },.4)sw()
  1256. end
  1257. spawn(function()local keepit=4 local num=0
  1258. while sw(keepit)and Active do
  1259. if num<78 then num=num+1 else keepit=8 end
  1260. Camera.CFrame=Camera.CFrame*CFrame.Angles(math.rad(math.random(-10,10)/20),math.rad(math.random(-10,10)/20),0)
  1261. Sound(1145252750,PC,1,2)
  1262. local CF=CFrame.new(LArm.CFrame.p,Mouse.Hit.p)
  1263. local h,p=RayForMovingObj(CF,4000)
  1264. LightningEffect({p,LArm.CFrame*CFrame.new(0,-1,0)},10,.4,10,Color3.new(1,1,.7),{LightningSiz=.5,SizeFade=1,Fade=true})
  1265. local ref=spawnref(p)
  1266. local b,g=EfcGUI(ref)
  1267. 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
  1268. end ref:Destroy()end)
  1269. 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
  1270. efc.Parent=Effects efc.Anchored=1 efc.CanCollide=nil
  1271. efc.Material="Neon"efc.Color=mcol local away=Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100))/500
  1272. spawn(function()for i=0,1,.01 do efc.Transparency=i efc.CFrame=efc.CFrame+away sw()end efc:Destroy()end)end end,1)
  1273. end
  1274. end)local num=0
  1275. while sw()and(Holding.r or num<45)do if num<46 then num=num+1 end
  1276. Anim({CFrame.new(0,1,0)*CFrame.Angles(0,-1,0),
  1277. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  1278. CFrame.new(.5,.3,-.5)*CFrame.Angles(.3,3.1,1.4),
  1279. CFrame.new(-1.8,.3,-.9)*CFrame.Angles(0,-.8,-1.6),
  1280. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1),
  1281. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1),
  1282. },.6)sw()
  1283. end
  1284. DoCDown("Infinite Bright",1)
  1285. Active=nil
  1286. end
  1287. if k3y=="t"and GetCDown"Blink"then
  1288. local Pos=Mouse.Hit local OldCF=RootPart.CFrame
  1289. if Mouse.Target then
  1290. Sound(289556450,Effects,5)Sound(1012554393,Effects,1)
  1291. RootPart.CFrame=Pos+Vector3.new(0,2,0)local CF=RootPart.CFrame
  1292. local ref=spawnref(OldCF)local b=Instance.new("BillboardGui",ref)b.Size=UDim2.new(30,0,30,0)
  1293. b.AlwaysOnTop=1 local d=Instance.new("ImageLabel",b)d.BackgroundTransparency=1 d.Image="rbxassetid://328647556"d.Size=UDim2.new(1,0,1,0)
  1294. 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)
  1295. local ref=spawnref(OldCF)local b=Instance.new("BillboardGui",ref)b.Size=UDim2.new(10,0,10,0)
  1296. b.AlwaysOnTop=1 local d=Instance.new("ImageLabel",b)d.BackgroundTransparency=1 d.Image="rbxassetid://328647556"d.Size=UDim2.new(1,0,1,0)
  1297. 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)
  1298. spawn(function()
  1299. 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})
  1300. 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})
  1301. sw()end Model:Destroy()end)DoCDown("Blink",1)TriangleSpam(20,RootPart.CFrame.p,800,40)
  1302. end
  1303. end
  1304. if k3y=="z"and GetCDown"Judgement Prism"then Active=true walkspeed=30
  1305. for i=0,1,.05 do
  1306. Anim({CFrame.new(0,1,0)*CFrame.Angles(0,0,0),
  1307. CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),
  1308. CFrame.new(1.3,1.4,0)*CFrame.Angles(math.rad(180),0,.1),
  1309. CFrame.new(-1.3,1.4,0)*CFrame.Angles(math.rad(180),0,-.1),
  1310. CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1),
  1311. CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1),
  1312. },.5)sw()
  1313. end
  1314. Active=false
  1315. DoCDown("Judgement Prism",12)
  1316. local Pos=CFrame.new(RootPart.Position)
  1317. local PrismTop=CFrame.new(0,12,0)local PrismSide=CFrame.new(9,0,0)--just two number is easier I think
  1318. --Animate Prism
  1319. local m=DoPrism(Pos,PrismTop,PrismSide,Effects,{Transparency=1})
  1320. for i=1,.8,-.0025 do
  1321. Pos=Pos*CFrame.new(0,.1,0)*CFrame.Angles(0,.05,0)
  1322. PrismTop=PrismTop:lerp(CFrame.new(0,9,0),.1)PrismSide=PrismSide:lerp(CFrame.new(6,0,0),.1)
  1323. ReDrawPrism(m,Pos,PrismTop,PrismSide,Effects,{Transparency=i})
  1324. sw()
  1325. end m:Destroy()
  1326. local sound=GetInstance("Sound",PC)sound.SoundId="rbxassetid://255679384"sound.Volume=5
  1327. sound:Play()
  1328. while 1 and(sound.Parent~=nil and sound.Playing and sound.Parent.Parent~=nil )do
  1329. Pos=Pos*CFrame.Angles(0,.05,0)
  1330. local m=DoPrism(Pos,PrismTop,PrismSide,Effects,{Transparency=.8})
  1331. sw()
  1332. m:Destroy()
  1333. end
  1334. Sound(878000314,Effects,2.5)LightningEffect({Pos,Pos+Vector3.new(0,300,0)},60,3,1,mcol,{SizeFade=.5,Fade=true,LightningSiz=3})
  1335. TriangleSpam(40,Pos,1200,70)
  1336. sw(60)
  1337. for i=1,10 do
  1338. local Pos=Mouse.Hit
  1339. LightningEffect({Pos,Pos+Vector3.new(0,300,0)},60,1,5,mcol,{SizeFade=.5,Fade=true,LightningSiz=5})
  1340. TriangleSpam(4,Pos,1200,120)Sound(480357531,Effects,2)Sound(1145252750,Effects,2)
  1341. for i=1,10 do
  1342. local pt=Instance.new("Part",Effects)pt.Color=mcol pt.Material="Neon"
  1343. pt.Anchored=1 pt.CanCollide=nil pt.Size=Vector3.new()local m=ToMesh(pt)
  1344. local CF=Pos*rc()pt.CFrame=CF local add=math.random(5,100)/100
  1345. spawn(function()
  1346. 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()
  1347. end)
  1348. end
  1349. Region3Find(17,Pos,function(p,h)
  1350. if h.Parent then
  1351. for i,p in pairs(h.Parent:GetDescendants())do
  1352. if p:IsA"BasePart"then
  1353. local part=Instance.new("Part",Effects)part.Material="Neon"part.Size=p.Size
  1354. part.Color=mcol part.Anchored=1 part.CanCollide=nil part.CFrame=CFrame.new(p.Position)
  1355. local add=Vector3.new(math.random(-100,100)/200,math.random(-100,100)/200,math.random(-100,100)/200)
  1356. spawn(function()for i=0,1,.01 do part.CFrame=part.CFrame+add part.Transparency=i sw()end part:Destroy()end)
  1357. end
  1358. end h:Destroy()p.Parent:Destroy()
  1359. end
  1360. end,1)
  1361. --[[spawn(function()local ref=spawnref(Pos)
  1362. local b,g=EfcGUI(ref)ref.Transparency=1
  1363. 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
  1364. end ref:Destroy()end)]]
  1365. sw(20)
  1366. end
  1367. end
  1368. end
  1369. if k3y=="m"then MusicEnabled=not MusicEnabled end
  1370. end)
  1371. Mouse.KeyUp:connect(function(k3y)
  1372. if Holding[k3y]then Holding[k3y]=nil end
  1373. end)
  1374. if 1 then
  1375. Mouse.Button1Down:connect(function()
  1376. if not Active then
  1377. end
  1378. end)
  1379. end
  1380. print"Load finished."print"Hello world!"
  1381. warn'Credits : her boy friend:koonguy98755 , Do not erase this.'
  1382. warn'For my love roblox'
Advertisement
Add Comment
Please, Sign In to add comment