SHOW:
|
|
- or go back to the newest paste.
1 | - | Character = game.Players.LocalPlayer.Character |
1 | + | --//====================================================\\-- |
2 | - | Head = Character.Head |
2 | + | --|| CREATED BY Starcraftthecool |
3 | - | |
3 | + | --\\====================================================//-- |
4 | - | CV="Blue" |
4 | + | |
5 | - | p = game.Players.LocalPlayer |
5 | + | |
6 | - | char = p.Character |
6 | + | |
7 | - | local txt = Instance.new("BillboardGui", char) |
7 | + | wait(0.2) |
8 | - | txt.Adornee = char .Head |
8 | + | |
9 | - | txt.Name = "_status" |
9 | + | |
10 | - | txt.Size = UDim2.new(2, 0, 1.2, 0) |
10 | + | |
11 | - | txt.StudsOffset = Vector3.new(-9, 8, 0) |
11 | + | Player = game:GetService("Players").LocalPlayer |
12 | - | local text = Instance.new("TextLabel", txt) |
12 | + | PlayerGui = Player.PlayerGui |
13 | - | text.Size = UDim2.new(10, 0, 7, 0) |
13 | + | Cam = workspace.CurrentCamera |
14 | - | text.FontSize = "Size24" |
14 | + | Backpack = Player.Backpack |
15 | - | text.TextScaled = true |
15 | + | Character = Player.Character |
16 | - | text.TextTransparency = 0 |
16 | + | Humanoid = Character.Humanoid |
17 | - | text.BackgroundTransparency = 1 |
17 | + | Mouse = Player:GetMouse() |
18 | - | text.TextTransparency = 0 |
18 | + | RootPart = Character["HumanoidRootPart"] |
19 | - | text.TextStrokeTransparency = 0 |
19 | + | Torso = Character["Torso"] |
20 | - | text.Font = "Cartoon" |
20 | + | Head = Character["Head"] |
21 | - | text.TextStrokeColor3 = Color3.new(0,0,.50) |
21 | + | RightArm = Character["Right Arm"] |
22 | - | |
22 | + | LeftArm = Character["Left Arm"] |
23 | - | v=Instance.new("Part") |
23 | + | RightLeg = Character["Right Leg"] |
24 | - | v.Name = "ColorBrick" |
24 | + | LeftLeg = Character["Left Leg"] |
25 | - | v.Parent=p.Character |
25 | + | RootJoint = RootPart["RootJoint"] |
26 | - | v.FormFactor="Symmetric" |
26 | + | Neck = Torso["Neck"] |
27 | - | v.Anchored=true |
27 | + | RightShoulder = Torso["Right Shoulder"] |
28 | - | v.CanCollide=false |
28 | + | LeftShoulder = Torso["Left Shoulder"] |
29 | - | v.BottomSurface="Smooth" |
29 | + | RightHip = Torso["Right Hip"] |
30 | - | v.TopSurface="Smooth" |
30 | + | LeftHip = Torso["Left Hip"] |
31 | - | v.Size=Vector3.new(10,5,3) |
31 | + | local sick = Instance.new("Sound",Character) |
32 | - | v.Transparency=1 |
32 | + | sick.SoundId = "rbxassetid://434297181" |
33 | - | v.CFrame=char.Torso.CFrame |
33 | + | sick.Looped = true |
34 | - | v.BrickColor=BrickColor.new(CV) |
34 | + | sick.Pitch = 1 |
35 | - | v.Transparency=1 |
35 | + | sick.Volume = 1 |
36 | - | text.TextColor3 = Color3.new(0,0,.50) |
36 | + | sick:Play() |
37 | - | v.Shape="Block" |
37 | + | |
38 | - | text.Text = "Inferno" |
38 | + | local FF = Instance.new("ForceField",Character) |
39 | - | |
39 | + | FF.Visible = false |
40 | - | local s = Instance.new("Sound",char) |
40 | + | |
41 | - | s.Name = "BGMusic" |
41 | + | IT = Instance.new |
42 | - | s.SoundId = "rbxassetid://792238435" |
42 | + | CF = CFrame.new |
43 | - | s.Pitch = 1 |
43 | + | VT = Vector3.new |
44 | - | s.Volume = 10 |
44 | + | RAD = math.rad |
45 | - | s.Looped = true |
45 | + | C3 = Color3.new |
46 | - | s.archivable = false |
46 | + | UD2 = UDim2.new |
47 | - | s.Parent = char.Head |
47 | + | BRICKC = BrickColor.new |
48 | - | wait(0.1) |
48 | + | ANGLES = CFrame.Angles |
49 | - | s:play() |
49 | + | EULER = CFrame.fromEulerAnglesXYZ |
50 | - | |
50 | + | COS = math.cos |
51 | - | Instance.new("ForceField", game.Players.LocalPlayer.Character) |
51 | + | ACOS = math.acos |
52 | - | print("Inferno Loaded.") |
52 | + | SIN = math.sin |
53 | - | print("Unleash the deadly fire to anyone to destroy.") |
53 | + | ASIN = math.asin |
54 | - | p = game.Players.LocalPlayer |
54 | + | ABS = math.abs |
55 | - | char = p.Character |
55 | + | MRANDOM = math.random |
56 | - | torso = char.Torso |
56 | + | FLOOR = math.floor |
57 | - | neck = char.Torso.Neck |
57 | + | |
58 | - | |
58 | + | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) |
59 | - | Player=game:GetService("Players").LocalPlayer |
59 | + | local NEWMESH = IT(MESH) |
60 | - | Character=Player.Character |
60 | + | if MESH == "SpecialMesh" then |
61 | - | PlayerGui=Player.PlayerGui |
61 | + | NEWMESH.MeshType = MESHTYPE |
62 | - | Backpack=Player.Backpack |
62 | + | if MESHID ~= "nil" and MESHID ~= "" then |
63 | - | Torso=Character.Torso |
63 | + | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID |
64 | - | Head=Character.Head |
64 | + | |
65 | - | Humanoid=Character.Humanoid |
65 | + | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then |
66 | - | LeftArm=Character["Left Arm"] |
66 | + | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID |
67 | - | LeftLeg=Character["Left Leg"] |
67 | + | |
68 | - | RightArm=Character["Right Arm"] |
68 | + | |
69 | - | RightLeg=Character["Right Leg"] |
69 | + | NEWMESH.Offset = OFFSET or VT(0, 0, 0) |
70 | - | cam=game.Workspace.CurrentCamera |
70 | + | NEWMESH.Scale = SCALE |
71 | - | LS=Torso["Left Shoulder"] |
71 | + | NEWMESH.Parent = PARENT |
72 | - | LH=Torso["Left Hip"] |
72 | + | return NEWMESH |
73 | - | RS=Torso["Right Shoulder"] |
73 | + | |
74 | - | RH=Torso["Right Hip"] |
74 | + | |
75 | - | Face = Head.face |
75 | + | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE) |
76 | - | Neck=Torso.Neck |
76 | + | local NEWPART = IT("Part") |
77 | - | it=Instance.new |
77 | + | NEWPART.formFactor = FORMFACTOR |
78 | - | attacktype=1 |
78 | + | NEWPART.Reflectance = REFLECTANCE |
79 | - | vt=Vector3.new |
79 | + | NEWPART.Transparency = TRANSPARENCY |
80 | - | cf=CFrame.new |
80 | + | NEWPART.CanCollide = false |
81 | - | euler=CFrame.fromEulerAnglesXYZ |
81 | + | NEWPART.Locked = true |
82 | - | angles=CFrame.Angles |
82 | + | NEWPART.Anchored = true |
83 | - | cloaked=false |
83 | + | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) |
84 | - | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
84 | + | NEWPART.Name = NAME |
85 | - | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
85 | + | NEWPART.Size = SIZE |
86 | - | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
86 | + | NEWPART.Position = Torso.Position |
87 | - | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
87 | + | NEWPART.Material = MATERIAL |
88 | - | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
88 | + | NEWPART:BreakJoints() |
89 | - | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
89 | + | NEWPART.Parent = PARENT |
90 | - | RootPart=Character.HumanoidRootPart |
90 | + | return NEWPART |
91 | - | RootJoint=RootPart.RootJoint |
91 | + | |
92 | - | RootCF=euler(-1.57,0,3.14) |
92 | + | |
93 | - | attack = false |
93 | + | |
94 | - | bounce=false |
94 | + | --//=================================\\ |
95 | - | cooldown=false |
95 | + | --|| CUSTOMIZATION |
96 | - | deeznuts=false |
96 | + | --\\=================================// |
97 | - | attackdebounce = false |
97 | + | |
98 | - | deb=false |
98 | + | Class_Name = "Template" |
99 | - | equipped=true |
99 | + | Weapon_Name = "Add-ons" |
100 | - | hand=false |
100 | + | |
101 | - | MMouse=nil |
101 | + | Custom_Colors = { |
102 | - | combo=0 |
102 | + | Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon. |
103 | - | mana=0 |
103 | + | Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon. |
104 | - | trispeed=.2 |
104 | + | |
105 | - | attackmode='none' |
105 | + | Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities. |
106 | - | local idle=0 |
106 | + | Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar. |
107 | - | local Anim="Idle" |
107 | + | Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar. |
108 | - | local Effects={} |
108 | + | Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar. |
109 | - | local gun=false |
109 | + | Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar. |
110 | - | local shoot=false |
110 | + | |
111 | - | player=nil |
111 | + | Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar. |
112 | - | mana=0 |
112 | + | Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar. |
113 | - | cam = workspace.CurrentCamera |
113 | + | Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar. |
114 | - | ZTarget = nil |
114 | + | Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar. |
115 | - | RocketTarget = nil |
115 | + | Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities. |
116 | - | local m = Instance.new("Model",Character) |
116 | + | |
117 | - | m.Name = "WeaponModel" |
117 | + | |
118 | - | |
118 | + | |
119 | - | mouse=Player:GetMouse() |
119 | + | Player_Size = 1 --Size of the player. |
120 | - | --save shoulders |
120 | + | Animation_Speed = 3 |
121 | - | RSH, LSH=nil, nil |
121 | + | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) |
122 | - | --welds |
122 | + | |
123 | - | RW, LW=Instance.new("Weld"), Instance.new("Weld") |
123 | + | local Speed = 16 |
124 | - | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
124 | + | local Effects2 = {} |
125 | - | LH=Torso["Left Hip"] |
125 | + | |
126 | - | RH=Torso["Right Hip"] |
126 | + | --//=================================\\ |
127 | - | TorsoColor=Torso.BrickColor |
127 | + | --|| END OF CUSTOMIZATION |
128 | - | function NoOutline(Part) |
128 | + | --\\=================================// |
129 | - | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
129 | + | |
130 | local function weldBetween(a, b) | |
131 | - | player=Player |
131 | + | local weldd = Instance.new("ManualWeld") |
132 | - | ch=Character |
132 | + | weldd.Part0 = a |
133 | - | RSH=ch.Torso["Right Shoulder"] |
133 | + | weldd.Part1 = b |
134 | - | LSH=ch.Torso["Left Shoulder"] |
134 | + | weldd.C0 = CFrame.new() |
135 | - | -- |
135 | + | weldd.C1 = b.CFrame:inverse() * a.CFrame |
136 | - | RSH.Parent=nil |
136 | + | weldd.Parent = a |
137 | - | LSH.Parent=nil |
137 | + | return weldd |
138 | - | -- |
138 | + | |
139 | - | RW.Name="Right Shoulder" |
139 | + | |
140 | - | RW.Part0=ch.Torso |
140 | + | function createaccessory(attachmentpart,mesh,texture,scale,offset,color) |
141 | - | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
141 | + | local acs = Instance.new("Part") |
142 | - | RW.C1=cf(0, 0.5, 0) |
142 | + | acs.CanCollide = false |
143 | - | RW.Part1=ch["Right Arm"] |
143 | + | acs.Anchored = false |
144 | - | RW.Parent=ch.Torso |
144 | + | acs.Size = Vector3.new(0,0,0) |
145 | - | -- |
145 | + | acs.CFrame = attachmentpart.CFrame |
146 | - | LW.Name="Left Shoulder" |
146 | + | acs.Parent = Character |
147 | - | LW.Part0=ch.Torso |
147 | + | acs.BrickColor = color |
148 | - | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
148 | + | local meshs = Instance.new("SpecialMesh") |
149 | - | LW.C1=cf(0, 0.5, 0) |
149 | + | meshs.MeshId = mesh |
150 | - | LW.Part1=ch["Left Arm"] |
150 | + | meshs.TextureId = texture |
151 | - | LW.Parent=ch.Torso |
151 | + | meshs.Parent = acs |
152 | - | |
152 | + | meshs.Scale = scale |
153 | - | function swait(num) |
153 | + | meshs.Offset = offset |
154 | - | if num==0 or num==nil then |
154 | + | weldBetween(attachmentpart,acs) |
155 | - | game:service'RunService'.Heartbeat:wait(0) |
155 | + | |
156 | ||
157 | - | for i=0,num do |
157 | + | function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) |
158 | - | game:service'RunService'.Heartbeat:wait(0) |
158 | + | if TYPE == "Gem" then |
159 | local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
160 | acs.Anchored = false | |
161 | - | end |
161 | + | acs.CanCollide = false |
162 | - | |
162 | + | acs.CFrame = PART.CFrame |
163 | - | |
163 | + | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET) |
164 | - | local Player = game.Players.localPlayer |
164 | + | weldBetween(PART,acs) |
165 | - | local Character = Player.Character |
165 | + | elseif TYPE == "Skull" then |
166 | - | local red = 255 |
166 | + | local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) |
167 | - | local green = 255 |
167 | + | acs.Anchored = false |
168 | - | local blue = 255 |
168 | + | acs.CanCollide = false |
169 | - | local Humanoid = Character.Humanoid |
169 | + | acs.CFrame = PART.CFrame |
170 | - | local mouse = Player:GetMouse() |
170 | + | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET) |
171 | - | local m = Instance.new("Model", Character) |
171 | + | weldBetween(PART,acs) |
172 | - | m.Name = "WeaponModel" |
172 | + | elseif TYPE == "Eye" then |
173 | - | local LeftArm = Character["Left Arm"] |
173 | + | local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) |
174 | - | local RightArm = Character["Right Arm"] |
174 | + | acs.Anchored = false |
175 | - | local LeftLeg = Character["Left Leg"] |
175 | + | acs.CanCollide = false |
176 | - | local RightLeg = Character["Right Leg"] |
176 | + | acs.CFrame = PART.CFrame |
177 | - | local Head = Character.Head |
177 | + | local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET) |
178 | - | local Torso = Character.Torso |
178 | + | weldBetween(PART,acs) |
179 | - | local cam = game.Workspace.CurrentCamera |
179 | + | |
180 | - | local RootPart = Character.HumanoidRootPart |
180 | + | |
181 | - | local RootJoint = RootPart.RootJoint |
181 | + | |
182 | - | local equipped = false |
182 | + | local FIREHAND = IT("Attachment",RightArm) |
183 | - | local attack = false |
183 | + | FIREHAND.Position = VT(0,-1.2,0) |
184 | - | local Anim = "Idle" |
184 | + | |
185 | - | local idle = 0 |
185 | + | --//=================================\\ |
186 | - | local attacktype = 1 |
186 | + | --|| USEFUL VALUES |
187 | - | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude |
187 | + | --\\=================================// |
188 | - | local velocity = RootPart.Velocity.y |
188 | + | |
189 | - | local sine = 0 |
189 | + | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) |
190 | - | local change = 1 |
190 | + | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) |
191 | - | local grabbed = false |
191 | + | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) |
192 | - | local cn = CFrame.new |
192 | + | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) |
193 | - | local mr = math.rad |
193 | + | local CO1 = 0 |
194 | - | local angles = CFrame.Angles |
194 | + | local CO2 = 0 |
195 | - | local ud = UDim2.new |
195 | + | local CO3 = 0 |
196 | - | local c3 = Color3.new |
196 | + | local CO4 = 0 |
197 | - | local lim = 0 |
197 | + | local CHANGEDEFENSE = 0 |
198 | - | local st = 0 |
198 | + | local CHANGEDAMAGE = 0 |
199 | - | local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
199 | + | local CHANGEMOVEMENT = 0 |
200 | - | local attacktype = 1 |
200 | + | local ANIM = "Idle" |
201 | - | local ZTarget, RocketTarget = nil, nil |
201 | + | local ATTACK = false |
202 | - | local euler = CFrame.fromEulerAnglesXYZ |
202 | + | local EQUIPPED = false |
203 | - | function clerp(a,b,t) |
203 | + | local HOLD = false |
204 | - | local qa = {QuaternionFromCFrame(a)} |
204 | + | local COMBO = 1 |
205 | - | local qb = {QuaternionFromCFrame(b)} |
205 | + | local LASTPOINT = nil |
206 | - | local ax, ay, az = a.x, a.y, a.z |
206 | + | local BLCF = nil |
207 | - | local bx, by, bz = b.x, b.y, b.z |
207 | + | local SCFR = nil |
208 | - | local _t = 1-t |
208 | + | local STAGGERHITANIM = false |
209 | - | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
209 | + | local STAGGERANIM = false |
210 | - | end |
210 | + | local STUNANIM = false |
211 | local CRITCHANCENUMBER = 0 | |
212 | - | function QuaternionFromCFrame(cf) |
212 | + | local IDLENUMBER = 0 |
213 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
213 | + | local DONUMBER = 0 |
214 | - | local trace = m00 + m11 + m22 |
214 | + | local HANDIDLE = false |
215 | - | if trace > 0 then |
215 | + | local SINE = 0 |
216 | - | local s = math.sqrt(1 + trace) |
216 | + | local CHANGE = 2 / Animation_Speed |
217 | - | local recip = 0.5/s |
217 | + | local WALKINGANIM = false |
218 | - | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
218 | + | local WALK = 0 |
219 | - | else |
219 | + | local DISABLEJUMPING = false |
220 | - | local i = 0 |
220 | + | local HASBEENBLOCKED = false |
221 | - | if m11 > m00 then |
221 | + | local STUNDELAYNUMBER = 0 |
222 | - | i = 1 |
222 | + | local MANADELAYNUMBER = 0 |
223 | local SECONDARYMANADELAYNUMBER = 0 | |
224 | - | if m22 > (i == 0 and m00 or m11) then |
224 | + | local ROBLOXIDLEANIMATION = IT("Animation") |
225 | - | i = 2 |
225 | + | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" |
226 | - | end |
226 | + | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" |
227 | - | if i == 0 then |
227 | + | --ROBLOXIDLEANIMATION.Parent = Humanoid |
228 | - | local s = math.sqrt(m00-m11-m22+1) |
228 | + | local WEAPONGUI = IT("ScreenGui", nil) |
229 | - | local recip = 0.5/s |
229 | + | WEAPONGUI.Name = "Weapon GUI" |
230 | - | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
230 | + | local WEAPONTOOL = IT("HopperBin", nil) |
231 | - | elseif i == 1 then |
231 | + | WEAPONTOOL.Name = Weapon_Name |
232 | - | local s = math.sqrt(m11-m22-m00+1) |
232 | + | local Weapon = IT("Model") |
233 | - | local recip = 0.5/s |
233 | + | Weapon.Name = Weapon_Name |
234 | - | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
234 | + | local Effects = IT("Folder", Weapon) |
235 | - | elseif i == 2 then |
235 | + | Effects.Name = "Effects" |
236 | - | local s = math.sqrt(m22-m00-m11+1) |
236 | + | local ANIMATOR = Humanoid.Animator |
237 | - | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
237 | + | local ANIMATE = Character.Animate |
238 | - | end |
238 | + | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} |
239 | - | end |
239 | + | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} |
240 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
241 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
242 | - | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
242 | + | local UNANCHOR = true |
243 | - | local xs, ys, zs = x + x, y + y, z + z |
243 | + | local CIRCLESOUND = "462809305" |
244 | - | local wx, wy, wz = w*xs, w*ys, w*zs |
244 | + | local FIREBALL = "463598785" |
245 | - | local xx = x*xs |
245 | + | local EXPLOSION = "416328540" |
246 | - | local xy = x*ys |
246 | + | local RING1 = "462798941" |
247 | - | local xz = x*zs |
247 | + | local RING2 = "462798912" |
248 | - | local yy = y*ys |
248 | + | |
249 | - | local yz = y*zs |
249 | + | --//=================================\\ |
250 | - | local zz = z*zs |
250 | + | --\\=================================// |
251 | - | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) |
251 | + | |
252 | --//=================================\\ | |
253 | --|| STATS | |
254 | - | function QuaternionSlerp(a, b, t) |
254 | + | --\\=================================// |
255 | - | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
255 | + | |
256 | - | local startInterp, finishInterp; |
256 | + | if Character:FindFirstChild("Stats") ~= nil then |
257 | - | if cosTheta >= 0.0001 then |
257 | + | Character:FindFirstChild("Stats").Parent = nil |
258 | - | if (1 - cosTheta) > 0.0001 then |
258 | + | |
259 | - | local theta = math.acos(cosTheta) |
259 | + | |
260 | - | local invSinTheta = 1/math.sin(theta) |
260 | + | local Stats = IT("Folder", nil) |
261 | - | startInterp = math.sin((1-t)*theta)*invSinTheta |
261 | + | Stats.Name = "Stats" |
262 | - | finishInterp = math.sin(t*theta)*invSinTheta |
262 | + | local ChangeStat = IT("Folder", Stats) |
263 | - | else |
263 | + | ChangeStat.Name = "ChangeStat" |
264 | - | startInterp = 1-t |
264 | + | local Defense = IT("NumberValue", Stats) |
265 | - | finishInterp = t |
265 | + | Defense.Name = "Defense" |
266 | - | end |
266 | + | Defense.Value = 1 |
267 | - | else |
267 | + | local Movement = IT("NumberValue", Stats) |
268 | - | if (1+cosTheta) > 0.0001 then |
268 | + | Movement.Name = "Movement" |
269 | - | local theta = math.acos(-cosTheta) |
269 | + | Movement.Value = 1 |
270 | - | local invSinTheta = 1/math.sin(theta) |
270 | + | local Damage = IT("NumberValue", Stats) |
271 | - | startInterp = math.sin((t-1)*theta)*invSinTheta |
271 | + | Damage.Name = "Damage" |
272 | - | finishInterp = math.sin(t*theta)*invSinTheta |
272 | + | Damage.Value = 1 |
273 | - | else |
273 | + | local Mana = IT("NumberValue", Stats) |
274 | - | startInterp = t-1 |
274 | + | Mana.Name = "Mana" |
275 | - | finishInterp = t |
275 | + | Mana.Value = 0 |
276 | - | end |
276 | + | local SecondaryMana = IT("NumberValue", Stats) |
277 | - | end |
277 | + | SecondaryMana.Name = "SecondaryMana" |
278 | - | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp |
278 | + | SecondaryMana.Value = 0 |
279 | local CanCrit = IT("BoolValue", Stats) | |
280 | - | rayCast = function(Position, Direction, Range, Ignore) |
280 | + | CanCrit.Name = "CanCrit" |
281 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) |
281 | + | CanCrit.Value = false |
282 | local CritChance = IT("NumberValue", Stats) | |
283 | - | local v = game.Players.localPlayer |
283 | + | CritChance.Name = "CritChance" |
284 | - | local torso = v.Character.Torso |
284 | + | CritChance.Value = 20 |
285 | - | |
285 | + | local CanPenetrateArmor = IT("BoolValue", Stats) |
286 | - | plr = game.Players.LocalPlayer |
286 | + | CanPenetrateArmor.Name = "CanPenetrateArmor" |
287 | - | char = game.Players.LocalPlayer.Character |
287 | + | CanPenetrateArmor.Value = false |
288 | - | hum = game.Players.LocalPlayer.Character.Humanoid |
288 | + | local AntiTeamKill = IT("BoolValue", Stats) |
289 | - | t = game.Players.LocalPlayer.Character.Torso |
289 | + | AntiTeamKill.Name = "AntiTeamKill" |
290 | - | h = game.Players.LocalPlayer.Character.Head |
290 | + | AntiTeamKill.Value = false |
291 | - | ra = game.Players.LocalPlayer.Character["Right Arm"] |
291 | + | local Rooted = IT("BoolValue", Stats) |
292 | - | la = game.Players.LocalPlayer.Character["Left Arm"] |
292 | + | Rooted.Name = "Rooted" |
293 | - | rl = game.Players.LocalPlayer.Character["Right Leg"] |
293 | + | Rooted.Value = false |
294 | - | ll = game.Players.LocalPlayer.Character["Left Leg"] |
294 | + | local Block = IT("BoolValue", Stats) |
295 | - | tors = Character.Torso |
295 | + | Block.Name = "Block" |
296 | - | lleg = Character["Left Leg"] |
296 | + | Block.Value = false |
297 | - | root = Character.HumanoidRootPart |
297 | + | local RecentEnemy = IT("ObjectValue", Stats) |
298 | - | hed = Character.Head |
298 | + | RecentEnemy.Name = "RecentEnemy" |
299 | - | rleg = Character["Right Leg"] |
299 | + | RecentEnemy.Value = nil |
300 | - | rarm = Character["Right Arm"] |
300 | + | local StaggerHit = IT("BoolValue", Stats) |
301 | - | larm = Character["Left Arm"] |
301 | + | StaggerHit.Name = "StaggerHit" |
302 | - | bsize1 = NumberSequenceKeypoint.new(3,3,3) |
302 | + | StaggerHit.Value = false |
303 | - | bsize2 = NumberSequenceKeypoint.new(10,10,10) |
303 | + | local Stagger = IT("BoolValue", Stats) |
304 | - | local Effects = {} |
304 | + | Stagger.Name = "Stagger" |
305 | - | attack = false |
305 | + | Stagger.Value = false |
306 | - | local attacking = false |
306 | + | local Stun = IT("BoolValue", Stats) |
307 | - | vt = Vector3.new |
307 | + | Stun.Name = "Stun" |
308 | - | bc = BrickColor.new |
308 | + | Stun.Value = false |
309 | - | br = BrickColor.random |
309 | + | local StunValue = IT("NumberValue", Stats) |
310 | - | it = Instance.new |
310 | + | StunValue.Name = "StunValue" |
311 | - | cf = CFrame.new |
311 | + | StunValue.Value = 0 |
312 | - | euler = CFrame.fromEulerAnglesXYZ |
312 | + | |
313 | - | angles = CFrame.Angles |
313 | + | |
314 | - | matr = math.random |
314 | + | --//=================================\\ |
315 | - | local colororg = BrickColor.new("Dark indigo") -- set color u like |
315 | + | --\\=================================// |
316 | - | local meshtype = "Sphere" -- only for specialmesh |
316 | + | |
317 | - | mouse = plr:GetMouse() |
317 | + | |
318 | - | |
318 | + | |
319 | - | CFuncs = { |
319 | + | |
320 | - | ["Part"] = { |
320 | + | |
321 | - | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
321 | + | --//=================================\\ |
322 | - | local Part = Create("Part"){ |
322 | + | --|| DEBUFFS / BUFFS |
323 | - | Parent = Parent, |
323 | + | --\\=================================// |
324 | - | Reflectance = Reflectance, |
324 | + | |
325 | - | Transparency = Transparency, |
325 | + | local DEFENSECHANGE1 = IT("NumberValue", ChangeStat) |
326 | - | CanCollide = false, |
326 | + | DEFENSECHANGE1.Name = "ChangeDefense" |
327 | - | Locked = true, |
327 | + | DEFENSECHANGE1.Value = 0 |
328 | - | BrickColor = BrickColor.new(tostring(BColor)), |
328 | + | |
329 | - | Name = Name, |
329 | + | local MOVEMENTCHANGE1 = IT("NumberValue", nil) |
330 | - | Size = Size, |
330 | + | MOVEMENTCHANGE1.Name = "ChangeMovement" |
331 | - | Material = Material, |
331 | + | MOVEMENTCHANGE1.Value = 0 |
332 | - | } |
332 | + | |
333 | - | RemoveOutlines(Part) |
333 | + | --//=================================\\ |
334 | - | return Part |
334 | + | --\\=================================// |
335 | - | end; |
335 | + | |
336 | - | }; |
336 | + | |
337 | - | |
337 | + | |
338 | - | ["Mesh"] = { |
338 | + | |
339 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
339 | + | |
340 | - | local Msh = Create(Mesh){ |
340 | + | --//=================================\\ |
341 | - | Parent = Part, |
341 | + | --|| SAZERENOS' ARTIFICIAL HEARTBEAT |
342 | - | Offset = OffSet, |
342 | + | --\\=================================// |
343 | - | Scale = Scale, |
343 | + | |
344 | - | } |
344 | + | ArtificialHB = Instance.new("BindableEvent", script) |
345 | - | if Mesh == "SpecialMesh" then |
345 | + | ArtificialHB.Name = "ArtificialHB" |
346 | - | Msh.MeshType = MeshType |
346 | + | |
347 | - | Msh.MeshId = MeshId |
347 | + | script:WaitForChild("ArtificialHB") |
348 | - | end |
348 | + | |
349 | - | return Msh |
349 | + | frame = Frame_Speed |
350 | - | end; |
350 | + | tf = 0 |
351 | - | }; |
351 | + | allowframeloss = false |
352 | - | |
352 | + | tossremainder = false |
353 | - | ["Mesh"] = { |
353 | + | lastframe = tick() |
354 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
354 | + | script.ArtificialHB:Fire() |
355 | - | local Msh = Create(Mesh){ |
355 | + | |
356 | - | Parent = Part, |
356 | + | game:GetService("RunService").Heartbeat:connect(function(s, p) |
357 | - | Offset = OffSet, |
357 | + | tf = tf + s |
358 | - | Scale = Scale, |
358 | + | if tf >= frame then |
359 | - | } |
359 | + | if allowframeloss then |
360 | - | if Mesh == "SpecialMesh" then |
360 | + | script.ArtificialHB:Fire() |
361 | - | Msh.MeshType = MeshType |
361 | + | lastframe = tick() |
362 | - | Msh.MeshId = MeshId |
362 | + | |
363 | - | end |
363 | + | for i = 1, math.floor(tf / frame) do |
364 | - | return Msh |
364 | + | script.ArtificialHB:Fire() |
365 | - | end; |
365 | + | |
366 | - | }; |
366 | + | lastframe = tick() |
367 | - | |
367 | + | |
368 | - | ["Weld"] = { |
368 | + | if tossremainder then |
369 | - | Create = function(Parent, Part0, Part1, C0, C1) |
369 | + | tf = 0 |
370 | - | local Weld = Create("Weld"){ |
370 | + | |
371 | - | Parent = Parent, |
371 | + | tf = tf - frame * math.floor(tf / frame) |
372 | - | Part0 = Part0, |
372 | + | |
373 | - | Part1 = Part1, |
373 | + | |
374 | - | C0 = C0, |
374 | + | |
375 | - | C1 = C1, |
375 | + | |
376 | - | } |
376 | + | --//=================================\\ |
377 | - | return Weld |
377 | + | --\\=================================// |
378 | - | end; |
378 | + | |
379 | - | }; |
379 | + | |
380 | - | |
380 | + | |
381 | - | ["Sound"] = { |
381 | + | |
382 | - | Create = function(id, par, vol, pit) |
382 | + | |
383 | - | coroutine.resume(coroutine.create(function() |
383 | + | --//=================================\\ |
384 | - | local S = Create("Sound"){ |
384 | + | --|| SOME FUNCTIONS |
385 | - | Volume = vol, |
385 | + | --\\=================================// |
386 | - | Pitch = pit or 1, |
386 | + | |
387 | - | SoundId = id, |
387 | + | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) |
388 | - | Parent = par or workspace, |
388 | + | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) |
389 | - | } |
389 | + | |
390 | - | wait() |
390 | + | |
391 | - | S:play() |
391 | + | function PositiveAngle(NUMBER) |
392 | - | game:GetService("Debris"):AddItem(S, 6) |
392 | + | if NUMBER >= 0 then |
393 | - | end)) |
393 | + | NUMBER = 0 |
394 | - | end; |
394 | + | |
395 | - | }; |
395 | + | return NUMBER |
396 | - | |
396 | + | |
397 | - | ["ParticleEmitter"] = { |
397 | + | |
398 | - | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
398 | + | function NegativeAngle(NUMBER) |
399 | - | local fp = Create("ParticleEmitter"){ |
399 | + | if NUMBER <= 0 then |
400 | - | Parent = Parent, |
400 | + | NUMBER = 0 |
401 | - | Color = ColorSequence.new(Color1, Color2), |
401 | + | |
402 | - | LightEmission = LightEmission, |
402 | + | return NUMBER |
403 | - | Size = Size, |
403 | + | |
404 | - | Texture = Texture, |
404 | + | |
405 | - | Transparency = Transparency, |
405 | + | function Swait(NUMBER) |
406 | - | ZOffset = ZOffset, |
406 | + | if NUMBER == 0 or NUMBER == nil then |
407 | - | Acceleration = Accel, |
407 | + | ArtificialHB.Event:wait() |
408 | - | Drag = Drag, |
408 | + | |
409 | - | LockedToPart = LockedToPart, |
409 | + | for i = 1, NUMBER do |
410 | - | VelocityInheritance = VelocityInheritance, |
410 | + | ArtificialHB.Event:wait() |
411 | - | EmissionDirection = EmissionDirection, |
411 | + | |
412 | - | Enabled = Enabled, |
412 | + | |
413 | - | Lifetime = LifeTime, |
413 | + | |
414 | - | Rate = Rate, |
414 | + | |
415 | - | Rotation = Rotation, |
415 | + | function QuaternionFromCFrame(cf) |
416 | - | RotSpeed = RotSpeed, |
416 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
417 | - | Speed = Speed, |
417 | + | local trace = m00 + m11 + m22 |
418 | - | VelocitySpread = VelocitySpread, |
418 | + | if trace > 0 then |
419 | - | } |
419 | + | local s = math.sqrt(1 + trace) |
420 | - | return fp |
420 | + | local recip = 0.5 / s |
421 | - | end; |
421 | + | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 |
422 | - | }; |
422 | + | |
423 | - | |
423 | + | local i = 0 |
424 | - | CreateTemplate = { |
424 | + | if m11 > m00 then |
425 | - | |
425 | + | i = 1 |
426 | - | }; |
426 | + | |
427 | if m22 > (i == 0 and m00 or m11) then | |
428 | - | |
428 | + | i = 2 |
429 | - | |
429 | + | |
430 | - | |
430 | + | if i == 0 then |
431 | - | New = function(Object, Parent, Name, Data) |
431 | + | local s = math.sqrt(m00 - m11 - m22 + 1) |
432 | - | local Object = Instance.new(Object) |
432 | + | local recip = 0.5 / s |
433 | - | for Index, Value in pairs(Data or {}) do |
433 | + | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip |
434 | - | Object[Index] = Value |
434 | + | elseif i == 1 then |
435 | - | end |
435 | + | local s = math.sqrt(m11 - m22 - m00 + 1) |
436 | - | Object.Parent = Parent |
436 | + | local recip = 0.5 / s |
437 | - | Object.Name = Name |
437 | + | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip |
438 | - | return Object |
438 | + | elseif i == 2 then |
439 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
440 | - | |
440 | + | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
441 | - | function chatfunc(text) |
441 | + | |
442 | end | |
443 | end | |
444 | ||
445 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
446 | local xs, ys, zs = x + x, y + y, z + z | |
447 | local wx, wy, wz = w * xs, w * ys, w * zs | |
448 | - | naeeym2.StudsOffset = Vector3.new(0,3,0) |
448 | + | local xx = x * xs |
449 | local xy = x * ys | |
450 | local xz = x * zs | |
451 | local yy = y * ys | |
452 | local yz = y * zs | |
453 | local zz = z * zs | |
454 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
455 | - | tecks2.Font = "SciFi" |
455 | + | |
456 | ||
457 | - | tecks2.TextStrokeTransparency = 0 |
457 | + | function QuaternionSlerp(a, b, t) |
458 | - | tecks2.TextColor3 = Color3.new(0.15,0.15,1) |
458 | + | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] |
459 | local startInterp, finishInterp; | |
460 | if cosTheta >= 0.0001 then | |
461 | if (1 - cosTheta) > 0.0001 then | |
462 | local theta = ACOS(cosTheta) | |
463 | local invSinTheta = 1 / SIN(theta) | |
464 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
465 | - | tecks3.Font = "SciFi" |
465 | + | finishInterp = SIN(t * theta) * invSinTheta |
466 | else | |
467 | - | tecks3.TextStrokeTransparency = 0 |
467 | + | startInterp = 1 - t |
468 | - | tecks3.TextColor3 = Color3.new(0.15,0.15,1) |
468 | + | finishInterp = t |
469 | end | |
470 | else | |
471 | if (1 + cosTheta) > 0.0001 then | |
472 | - | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8) |
472 | + | local theta = ACOS(-cosTheta) |
473 | local invSinTheta = 1 / SIN(theta) | |
474 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
475 | finishInterp = SIN(t * theta) * invSinTheta | |
476 | else | |
477 | - | wait(2) |
477 | + | startInterp = t - 1 |
478 | - | for i = 1, 50 do |
478 | + | finishInterp = t |
479 | - | swait() |
479 | + | |
480 | - | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) |
480 | + | |
481 | - | tecks2.Rotation = tecks2.Rotation - .8 |
481 | + | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp |
482 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
482 | + | |
483 | - | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
483 | + | |
484 | - | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) |
484 | + | function Clerp(a, b, t) |
485 | - | tecks3.Rotation = tecks2.Rotation + .8 |
485 | + | local qa = {QuaternionFromCFrame(a)} |
486 | - | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
486 | + | local qb = {QuaternionFromCFrame(b)} |
487 | - | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
487 | + | local ax, ay, az = a.x, a.y, a.z |
488 | local bx, by, bz = b.x, b.y, b.z | |
489 | local _t = 1 - t | |
490 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
491 | end | |
492 | ||
493 | - | function onChatted(msg) |
493 | + | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) |
494 | - | chatfunc(msg) |
494 | + | local frame = IT("Frame") |
495 | frame.BackgroundTransparency = TRANSPARENCY | |
496 | - | Player.Chatted:connect(onChatted) |
496 | + | frame.BorderSizePixel = BORDERSIZEPIXEL |
497 | - | |
497 | + | frame.Position = POSITION |
498 | - | |
498 | + | frame.Size = SIZE |
499 | - | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) |
499 | + | frame.BackgroundColor3 = COLOR |
500 | - | if hit.Parent==nil then |
500 | + | frame.BorderColor3 = BORDERCOLOR |
501 | - | return |
501 | + | frame.Name = NAME |
502 | frame.Parent = PARENT | |
503 | - | h=hit.Parent:FindFirstChild("Humanoid") |
503 | + | return frame |
504 | - | for _,v in pairs(hit.Parent:children()) do |
504 | + | |
505 | - | if v:IsA("Humanoid") then |
505 | + | |
506 | - | h=v |
506 | + | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) |
507 | local label = IT("TextLabel") | |
508 | label.BackgroundTransparency = 1 | |
509 | - | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then |
509 | + | label.Size = UD2(1, 0, 1, 0) |
510 | - | h=hit.Parent.Parent:FindFirstChild("Humanoid") |
510 | + | label.Position = UD2(0, 0, 0, 0) |
511 | label.TextColor3 = C3(255, 255, 255) | |
512 | - | if hit.Parent.className=="Hat" then |
512 | + | label.TextStrokeTransparency = STROKETRANSPARENCY |
513 | - | hit=hit.Parent.Parent:findFirstChild("Head") |
513 | + | label.TextTransparency = TRANSPARENCY |
514 | label.FontSize = TEXTFONTSIZE | |
515 | - | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then |
515 | + | label.Font = TEXTFONT |
516 | - | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end |
516 | + | label.BorderSizePixel = BORDERSIZEPIXEL |
517 | - | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then |
517 | + | label.TextScaled = true |
518 | - | return |
518 | + | label.Text = TEXT |
519 | - | end]] |
519 | + | label.Name = NAME |
520 | - | -- hs(hit,1.2) |
520 | + | label.Parent = PARENT |
521 | - | c=Instance.new("ObjectValue") |
521 | + | return label |
522 | - | c.Name="creator" |
522 | + | |
523 | - | c.Value=game:service("Players").LocalPlayer |
523 | + | |
524 | - | c.Parent=h |
524 | + | function NoOutlines(PART) |
525 | - | game:GetService("Debris"):AddItem(c,.5) |
525 | + | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 |
526 | - | Damage=math.random(minim,maxim) |
526 | + | |
527 | - | -- h:TakeDamage(Damage) |
527 | + | |
528 | - | blocked=false |
528 | + | |
529 | - | block=hit.Parent:findFirstChild("Block") |
529 | + | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) |
530 | - | if block~=nil then |
530 | + | local NEWWELD = IT(TYPE) |
531 | - | print(block.className) |
531 | + | NEWWELD.Part0 = PART0 |
532 | - | if block.className=="NumberValue" then |
532 | + | NEWWELD.Part1 = PART1 |
533 | - | if block.Value>0 then |
533 | + | NEWWELD.C0 = C0 |
534 | - | blocked=true |
534 | + | NEWWELD.C1 = C1 |
535 | - | if decreaseblock==nil then |
535 | + | NEWWELD.Parent = PARENT |
536 | - | block.Value=block.Value-1 |
536 | + | return NEWWELD |
537 | end | |
538 | ||
539 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
540 | - | if block.className=="IntValue" then |
540 | + | coroutine.resume(coroutine.create(function() |
541 | - | if block.Value>0 then |
541 | + | local NEWSOUND = IT("Sound", PARENT) |
542 | - | blocked=true |
542 | + | NEWSOUND.Volume = VOLUME |
543 | - | if decreaseblock~=nil then |
543 | + | NEWSOUND.Pitch = PITCH |
544 | - | block.Value=block.Value-1 |
544 | + | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID |
545 | Swait() | |
546 | NEWSOUND:play() | |
547 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
548 | end)) | |
549 | - | if blocked==false then |
549 | + | |
550 | - | -- h:TakeDamage(Damage) |
550 | + | |
551 | - | h.Health=h.Health-Damage |
551 | + | function CFrameFromTopBack(at, top, back) |
552 | - | showDamage(hit.Parent,Damage,3,TorsoColor) |
552 | + | local right = top:Cross(back) |
553 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
554 | - | h.Health=h.Health-(Damage/2) |
554 | + | |
555 | - | showDamage(hit.Parent,Damage/2,3,BrickColor.new("Bright blue")) |
555 | + | |
556 | function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset,color) | |
557 | - | if Type=="Knockdown" then |
557 | + | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0)) |
558 | - | hum=hit.Parent.Humanoid |
558 | + | local mesh = IT("SpecialMesh",wave) |
559 | - | hum.PlatformStand=true |
559 | + | mesh.MeshType = "FileMesh" |
560 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
560 | + | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" |
561 | - | swait(1) |
561 | + | mesh.Scale = VT(size,size,size) |
562 | - | HHumanoid.PlatformStand=false |
562 | + | mesh.Offset = VT(0,0,-size/8) |
563 | - | end),hum) |
563 | + | wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0)) |
564 | - | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit |
564 | + | coroutine.resume(coroutine.create(function(PART) |
565 | - | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) |
565 | + | for i = 1, waitt do |
566 | - | local bodvol=Instance.new("BodyVelocity") |
566 | + | |
567 | - | bodvol.velocity=angle*knockback |
567 | + | mesh.Scale = mesh.Scale + VT(size/5,0,size/5) |
568 | - | bodvol.P=5000 |
568 | + | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) |
569 | - | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
569 | + | if doesrotate == true then |
570 | - | bodvol.Parent=hit |
570 | + | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0) |
571 | - | rl=Instance.new("BodyAngularVelocity") |
571 | + | |
572 | - | rl.P=3000 |
572 | + | wave.Transparency = wave.Transparency + (0.5/waitt) |
573 | - | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
573 | + | if wave.Transparency > 0.99 then |
574 | - | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
574 | + | wave:remove() |
575 | - | rl.Parent=hit |
575 | + | |
576 | - | game:GetService("Debris"):AddItem(bodvol,.5) |
576 | + | |
577 | - | game:GetService("Debris"):AddItem(rl,.5) |
577 | + | end)) |
578 | - | elseif Type=="Normal" then |
578 | + | |
579 | - | vp=Instance.new("BodyVelocity") |
579 | + | |
580 | - | vp.P=500 |
580 | + | function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,part,offset,color) |
581 | - | vp.maxForce=Vector3.new(math.huge,0,math.huge) |
581 | + | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0)) |
582 | - | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback |
582 | + | local mesh = IT("SpecialMesh",wave) |
583 | - | if KnockbackType==1 then |
583 | + | mesh.MeshType = "FileMesh" |
584 | - | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 |
584 | + | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" |
585 | - | elseif KnockbackType==2 then |
585 | + | mesh.Scale = VT(size,size,size) |
586 | - | vp.velocity=Property.CFrame.lookVector*knockback |
586 | + | wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0)) |
587 | coroutine.resume(coroutine.create(function(PART) | |
588 | - | if knockback>0 then |
588 | + | for i = 1, waitt do |
589 | - | vp.Parent=hit.Parent.Torso |
589 | + | |
590 | mesh.Scale = mesh.Scale + VT(size/5,0,size/5) | |
591 | - | game:GetService("Debris"):AddItem(vp,.5) |
591 | + | if doesrotate == true then |
592 | - | elseif Type=="Up" then |
592 | + | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0) |
593 | - | local bodyVelocity=Instance.new("BodyVelocity") |
593 | + | |
594 | - | bodyVelocity.velocity=vt(0,10,0) |
594 | + | wave.Transparency = wave.Transparency + (0.5/waitt) |
595 | - | bodyVelocity.P=1000 |
595 | + | if wave.Transparency > 0.99 then |
596 | - | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) |
596 | + | wave:remove() |
597 | - | bodyVelocity.Parent=hit |
597 | + | |
598 | - | game:GetService("Debris"):AddItem(bodyVelocity,1) |
598 | + | |
599 | - | rl=Instance.new("BodyAngularVelocity") |
599 | + | end)) |
600 | - | rl.P=3000 |
600 | + | |
601 | - | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
601 | + | |
602 | - | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) |
602 | + | function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,part,offset,color) |
603 | - | rl.Parent=hit |
603 | + | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0)) |
604 | - | game:GetService("Debris"):AddItem(rl,.5) |
604 | + | local mesh = IT("SpecialMesh",wave) |
605 | - | elseif Type=="Snare" then |
605 | + | mesh.MeshType = "FileMesh" |
606 | - | bp=Instance.new("BodyPosition") |
606 | + | mesh.MeshId = "http://www.roblox.com/asset/?id=102638417" |
607 | - | bp.P=2000 |
607 | + | mesh.Scale = VT(size,size,size) |
608 | - | bp.D=100 |
608 | + | wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0)) |
609 | - | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
609 | + | coroutine.resume(coroutine.create(function(PART) |
610 | - | bp.position=hit.Parent.Torso.Position |
610 | + | for i = 1, waitt do |
611 | - | bp.Parent=hit.Parent.Torso |
611 | + | |
612 | - | game:GetService("Debris"):AddItem(bp,1) |
612 | + | if doesrotate == true then |
613 | - | elseif Type=="Target" then |
613 | + | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0) |
614 | - | if Targetting==false then |
614 | + | |
615 | - | ZTarget=hit.Parent.Torso |
615 | + | wave.Transparency = wave.Transparency + (0.5/waitt) |
616 | - | coroutine.resume(coroutine.create(function(Part) |
616 | + | if wave.Transparency > 0.99 then |
617 | - | swait(5) |
617 | + | wave.Parent = nil |
618 | - | end),ZTarget) |
618 | + | |
619 | - | TargHum=ZTarget.Parent:findFirstChild("Humanoid") |
619 | + | |
620 | - | targetgui=Instance.new("BillboardGui") |
620 | + | end)) |
621 | - | targetgui.Parent=ZTarget |
621 | + | return wave |
622 | - | targetgui.Size=UDim2.new(10,100,10,100) |
622 | + | |
623 | - | targ=Instance.new("ImageLabel") |
623 | + | |
624 | - | targ.Parent=targetgui |
624 | + | function CreateRing(inair,size,doesrotate,rotatedirection,waitt,part,offset,spin1,spin2,color) |
625 | - | targ.BackgroundTransparency=1 |
625 | + | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0)) |
626 | - | targ.Image="rbxassetid://4834067" |
626 | + | local mesh = IT("SpecialMesh",wave) |
627 | - | targ.Size=UDim2.new(1,0,1,0) |
627 | + | mesh.MeshType = "FileMesh" |
628 | - | cam.CameraType="Scriptable" |
628 | + | mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" |
629 | - | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
629 | + | mesh.Scale = VT(size,size,size) |
630 | - | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
630 | + | mesh.Offset = VT(0,0,0) |
631 | - | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
631 | + | wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0)) |
632 | - | Targetting=true |
632 | + | coroutine.resume(coroutine.create(function(PART) |
633 | - | RocketTarget=ZTarget |
633 | + | for i = 1, waitt do |
634 | - | for i=1,Property do |
634 | + | |
635 | - | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do |
635 | + | mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5) |
636 | - | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then |
636 | + | if doesrotate == true then |
637 | - | swait() |
637 | + | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1) |
638 | end | |
639 | - | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) |
639 | + | wave.Transparency = wave.Transparency + (0.5/waitt) |
640 | - | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
640 | + | if wave.Transparency > 0.99 then |
641 | - | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
641 | + | wave:remove() |
642 | - | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) |
642 | + | |
643 | end | |
644 | - | Targetting=false |
644 | + | end)) |
645 | - | RocketTarget=nil |
645 | + | |
646 | - | targetgui.Parent=nil |
646 | + | |
647 | - | cam.CameraType="Custom" |
647 | + | function MagicSphere(size,waitt,part,offset,color) |
648 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(0,0,0)) | |
649 | local mesh = IT("SpecialMesh",wave) | |
650 | - | debounce=Instance.new("BoolValue") |
650 | + | mesh.MeshType = "FileMesh" |
651 | - | debounce.Name="DebounceHit" |
651 | + | mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" |
652 | - | debounce.Parent=hit.Parent |
652 | + | mesh.Scale = VT(size,size,size) |
653 | - | debounce.Value=true |
653 | + | mesh.Offset = VT(0,0,0) |
654 | - | game:GetService("Debris"):AddItem(debounce,Delay) |
654 | + | wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0)) |
655 | - | c=Instance.new("ObjectValue") |
655 | + | coroutine.resume(coroutine.create(function(PART) |
656 | - | c.Name="creator" |
656 | + | for i = 1, waitt do |
657 | - | c.Value=Player |
657 | + | |
658 | - | c.Parent=h |
658 | + | mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5) |
659 | - | game:GetService("Debris"):AddItem(c,.5) |
659 | + | wave.Transparency = wave.Transparency + (1/waitt) |
660 | - | CRIT=false |
660 | + | if wave.Transparency > 0.99 then |
661 | - | hitDeb=true |
661 | + | wave:remove() |
662 | - | AttackPos=6 |
662 | + | |
663 | end | |
664 | end)) | |
665 | end | |
666 | - | showDamage=function(Char,Dealt,du,Color) |
666 | + | |
667 | - | m=Instance.new("Model") |
667 | + | function MagicBlock(size,waitt,part,offset,color) |
668 | - | m.Name="" |
668 | + | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size)) |
669 | - | h=Instance.new("Humanoid") |
669 | + | local mesh = IT("BlockMesh",wave) |
670 | - | h.Health=0 |
670 | + | wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0)) |
671 | - | h.MaxHealth=0 |
671 | + | coroutine.resume(coroutine.create(function(PART) |
672 | - | h.Parent=m |
672 | + | for i = 1, waitt do |
673 | - | c=Instance.new("Part") |
673 | + | |
674 | - | c.Transparency=0 |
674 | + | mesh.Scale = mesh.Scale + VT(size/15,size/15,size/15) |
675 | - | c.Material = "Neon" |
675 | + | wave.CFrame = CF(wave.Position) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) |
676 | - | c.BrickColor=bc("Bright red") |
676 | + | wave.Transparency = wave.Transparency + (1/waitt) |
677 | - | c.Name="Head" |
677 | + | if wave.Transparency > 0.99 then |
678 | - | c.TopSurface=0 |
678 | + | wave:remove() |
679 | - | c.BottomSurface=0 |
679 | + | |
680 | - | CV="Hot pink" |
680 | + | |
681 | - | |
681 | + | end)) |
682 | - | local txt = Instance.new("BillboardGui", c) |
682 | + | |
683 | - | txt.Adornee = c |
683 | + | |
684 | - | txt.Name = "_status" |
684 | + | local EyeSizes={ |
685 | - | txt.Size = UDim2.new(2, 0, 1.2, 0) |
685 | + | NumberSequenceKeypoint.new(0,0.5,0), |
686 | - | txt.StudsOffset = Vector3.new(-9, 8, 0) |
686 | + | NumberSequenceKeypoint.new(1,0.2,0) |
687 | - | local text = Instance.new("TextLabel", txt) |
687 | + | |
688 | - | text.Size = UDim2.new(10, 0, 7, 0) |
688 | + | local EyeTrans={ |
689 | - | text.FontSize = "Size24" |
689 | + | NumberSequenceKeypoint.new(0,0,0), |
690 | - | text.TextScaled = true |
690 | + | NumberSequenceKeypoint.new(1,1,0) |
691 | - | text.TextTransparency = 0 |
691 | + | |
692 | - | text.BackgroundTransparency = 1 |
692 | + | local PE=Instance.new("ParticleEmitter") |
693 | - | text.TextTransparency = 0 |
693 | + | PE.LightEmission=0.8 |
694 | - | text.TextStrokeTransparency = 0 |
694 | + | PE.Size=NumberSequence.new(EyeSizes) |
695 | - | if Dealt < 12 then |
695 | + | PE.Transparency=NumberSequence.new(EyeTrans) |
696 | - | text.Font = "Highway" |
696 | + | PE.Rotation=NumberRange.new(0,360) |
697 | - | elseif Dealt < 20 then |
697 | + | PE.LockedToPart = false |
698 | - | text.Font = "SourceSansBold" |
698 | + | PE.Speed = NumberRange.new(0,0,0) |
699 | - | elseif Dealt >= 20 then |
699 | + | PE.ZOffset = 0.3 |
700 | - | text.Font = "Fantasy" |
700 | + | PE.Rate = 999 |
701 | PE.VelocitySpread = 90000 | |
702 | - | text.TextStrokeColor3 = BrickColor.new("Really black").Color |
702 | + | PE.Name = "Particles" |
703 | - | local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} |
703 | + | |
704 | - | v=Instance.new("Part") |
704 | + | function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed) |
705 | - | v.Name = "ColorBrick" |
705 | + | local particle = nil |
706 | - | v.Parent=c |
706 | + | coroutine.resume(coroutine.create(function(PART) |
707 | - | v.FormFactor="Symmetric" |
707 | + | particle = PE:Clone() |
708 | - | v.Anchored=true |
708 | + | |
709 | - | v.CanCollide=false |
709 | + | particle.Rate = 999 |
710 | - | v.BottomSurface="Smooth" |
710 | + | particle.Parent = art |
711 | - | v.TopSurface="Smooth" |
711 | + | particle.Acceleration = accel |
712 | - | v.Size=Vector3.new(10,5,3) |
712 | + | if type == "Fire" then |
713 | - | v.Transparency=1 |
713 | + | local EyeSizes={ |
714 | - | v.CFrame=c.CFrame |
714 | + | NumberSequenceKeypoint.new(0,size,size/2), |
715 | - | v.BrickColor=BrickColor.new(CV) |
715 | + | NumberSequenceKeypoint.new(1,size/4,size/8) |
716 | - | v.Transparency=1 |
716 | + | } |
717 | - | if Dealt < 12 then |
717 | + | particle.Size = NumberSequence.new(EyeSizes) |
718 | - | text.TextColor3 = BrickColor.new("White").Color |
718 | + | elseif type == "Smoke" then |
719 | - | elseif Dealt < 20 then |
719 | + | local EyeSizes={ |
720 | - | text.TextColor3 = BrickColor.new("Bright yellow").Color |
720 | + | NumberSequenceKeypoint.new(0,0.5,0), |
721 | - | elseif Dealt >= 20 then |
721 | + | NumberSequenceKeypoint.new(1,5,0.5) |
722 | - | text.TextColor3 = BrickColor.new("Really red").Color |
722 | + | } |
723 | particle.Size = NumberSequence.new(EyeSizes) | |
724 | - | v.Shape="Block" |
724 | + | elseif type == "Solid" then |
725 | - | text.Text = tostring(Dealt).. "!" |
725 | + | local EyeSizes={ |
726 | - | local dam = Instance.new("Sound",c) |
726 | + | NumberSequenceKeypoint.new(0,0.5,0), |
727 | - | local rndm=math.random(1,#hitsounds) |
727 | + | NumberSequenceKeypoint.new(1,0.5,0) |
728 | - | local r=rndm |
728 | + | } |
729 | - | dam.SoundId = "http://www.roblox.com/asset/?id="..hitsounds[r] |
729 | + | particle.Size = NumberSequence.new(EyeSizes) |
730 | - | dam.Volume = 1.25 |
730 | + | |
731 | - | dam.Pitch = 1 |
731 | + | particle.Lifetime=NumberRange.new(lifetime) |
732 | - | dam:Play() |
732 | + | particle.Drag = drag |
733 | - | c.formFactor="Plate" |
733 | + | if locked == true then |
734 | - | c.Transparency = 1 |
734 | + | particle.LockedToPart = true |
735 | - | c.Size=Vector3.new(1,.4,1) |
735 | + | |
736 | - | ms=Instance.new("CylinderMesh") |
736 | + | particle.Speed = NumberRange.new(speed,speed,speed) |
737 | - | ms.Scale=Vector3.new(.8,.8,.8) |
737 | + | particle.Texture = "http://www.roblox.com/asset/?id=296874871" |
738 | - | if CRIT==true then |
738 | + | particle.Enabled = isenabledbydefault |
739 | - | ms.Scale=Vector3.new(1,1.25,1) |
739 | + | particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0)) |
740 | end)) | |
741 | - | ms.Parent=c |
741 | + | return particle |
742 | - | c.Reflectance=0 |
742 | + | |
743 | - | Instance.new("BodyGyro").Parent=c |
743 | + | |
744 | - | c.Parent=m |
744 | + | local Decal = IT("Decal") |
745 | - | if Char:findFirstChild("Head")~=nil then |
745 | + | |
746 | - | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
746 | + | function CreateMagicCircle(size,doesrotate,rotatedirection,waitt,cframe,alwaysfade) |
747 | - | elseif Char.Parent:findFirstChild("Head")~=nil then |
747 | + | local sinkhole = IT("Part") |
748 | - | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
748 | + | sinkhole.Size = VT(size,0,size) |
749 | sinkhole.CFrame = cframe | |
750 | - | f=Instance.new("BodyPosition") |
750 | + | --sinkhole.Orientation = VT(0,0,0) |
751 | - | f.P=2000 |
751 | + | sinkhole.Parent = Effects |
752 | - | f.D=100 |
752 | + | sinkhole.Material = "Neon" |
753 | - | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
753 | + | sinkhole.Color = C3(1,0,0) |
754 | - | f.position=c.Position+Vector3.new(0,3,0) |
754 | + | sinkhole.Anchored = true |
755 | - | f.Parent=c |
755 | + | sinkhole.CanCollide = false |
756 | - | game:GetService("Debris"):AddItem(m,.5+du) |
756 | + | sinkhole.Transparency = 1 |
757 | - | c.CanCollide=false |
757 | + | local decal = Decal:Clone() |
758 | - | m.Parent=workspace |
758 | + | decal.Parent = sinkhole |
759 | - | c.CanCollide=false |
759 | + | decal.Face = "Top" |
760 | - | wait(1) |
760 | + | decal.Texture = "http://www.roblox.com/asset/?id=1217786509" |
761 | - | for l = 0, 9 do |
761 | + | local decal2 = Decal:Clone() |
762 | - | text.TextTransparency = text.TextTransparency + 0.1 |
762 | + | decal2.Parent = sinkhole |
763 | - | text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1 |
763 | + | decal2.Face = "Bottom" |
764 | - | wait() |
764 | + | decal2.Texture = "http://www.roblox.com/asset/?id=1217788749" |
765 | coroutine.resume(coroutine.create(function(PART) | |
766 | for i = 1, waitt do | |
767 | - | |
767 | + | |
768 | - | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) |
768 | + | if doesrotate == true then |
769 | - | local gui = it(GuiType) |
769 | + | sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0) |
770 | - | gui.Parent = parent |
770 | + | |
771 | - | gui.Text = text |
771 | + | if alwaysfade == true then |
772 | - | gui.BackgroundTransparency = backtrans |
772 | + | decal.Transparency = decal.Transparency + (1/waitt) |
773 | - | gui.BackgroundColor3 = backcol |
773 | + | decal2.Transparency = decal.Transparency + (1/waitt) |
774 | - | gui.SizeConstraint = "RelativeXY" |
774 | + | |
775 | - | gui.TextXAlignment = "Center" |
775 | + | if i > waitt-11 and (alwaysfade ~= true) then |
776 | - | gui.TextYAlignment = "Center" |
776 | + | decal.Transparency = decal.Transparency + 0.1 |
777 | - | gui.Position = pos |
777 | + | decal2.Transparency = decal.Transparency + 0.1 |
778 | - | gui.Size = size |
778 | + | |
779 | - | gui.Font = "SourceSans" |
779 | + | |
780 | - | gui.FontSize = "Size14" |
780 | + | sinkhole.Parent = nil |
781 | - | gui.TextWrapped = false |
781 | + | end)) |
782 | - | gui.TextStrokeTransparency = 0 |
782 | + | return sinkhole |
783 | - | gui.TextColor = BrickColor.new("White") |
783 | + | |
784 | - | return gui |
784 | + | |
785 | function CreateMagicRingTilSize(cframe,size,waitt) | |
786 | - | ---- GUI set |
786 | + | for i = 1, size do |
787 | - | local basgui = it("GuiMain") |
787 | + | CreateMagicCircle(i/5,false,0,3,cframe,true) |
788 | - | basgui.Parent = Player.PlayerGui |
788 | + | |
789 | - | basgui.Name = "CooldownsGUI" |
789 | + | |
790 | - | local basframe = it("Frame") |
790 | + | CreateMagicCircle(size/5,false,0,waitt,cframe,false) |
791 | - | basframe.Parent = basgui |
791 | + | |
792 | - | basframe.BackgroundColor3 = Color3.new(255, 255, 255) |
792 | + | |
793 | - | basframe.BackgroundTransparency = 1 |
793 | + | --//=================================\\ |
794 | - | basframe.BorderColor3 = Color3.new(17, 17, 17) |
794 | + | --\\=================================// |
795 | - | basframe.Size = UDim2.new(0.2, 0, 0.2, 0) |
795 | + | |
796 | - | basframe.Position = UDim2.new(0.8, 0, 0.8, 0) |
796 | + | |
797 | - | local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0)) |
797 | + | --//=================================\\ |
798 | - | basicgui.ZIndex = 2 |
798 | + | --|| WEAPON CREATION |
799 | - | basicgui.Font = "Highway" |
799 | + | --\\=================================// |
800 | - | basicgui.BackgroundTransparency = 0.5 |
800 | + | |
801 | - | basicgui.BorderSizePixel = 0.65 |
801 | + | if Player_Size ~= 1 then |
802 | - | basicgui.TextScaled = true |
802 | + | for _, v in pairs (Weapon:GetChildren()) do |
803 | - | basicgui.Text = "(F)\nInferno Meteor" |
803 | + | if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then |
804 | - | basicgui.TextSize = 24 |
804 | + | local p1 = v.Part1 |
805 | - | local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0)) |
805 | + | v.Part1 = nil |
806 | - | basicgui2.ZIndex = 2 |
806 | + | local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components() |
807 | - | basicgui2.Font = "Highway" |
807 | + | v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12) |
808 | - | basicgui2.BackgroundTransparency = 0.5 |
808 | + | v.Part1 = p1 |
809 | - | basicgui2.BorderSizePixel = 0.65 |
809 | + | elseif v.ClassName == "Part" then |
810 | - | basicgui2.TextScaled = true |
810 | + | for _, b in pairs (v:GetChildren()) do |
811 | - | basicgui2.Text = "(E)\nInferno Demise" |
811 | + | if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then |
812 | - | basicgui2.TextSize = 24 |
812 | + | b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size) |
813 | - | local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0)) |
813 | + | |
814 | - | basicgui3.ZIndex = 2 |
814 | + | |
815 | - | basicgui3.Font = "Highway" |
815 | + | |
816 | - | basicgui3.BackgroundTransparency = 0.5 |
816 | + | |
817 | - | basicgui3.BorderSizePixel = 0.65 |
817 | + | |
818 | - | basicgui3.TextScaled = true |
818 | + | |
819 | - | basicgui3.Text = "(Q)\nInferno Comet" |
819 | + | for _, c in pairs(Weapon:GetChildren()) do |
820 | - | basicgui3.TextSize = 24 |
820 | + | if c.ClassName == "Part" then |
821 | - | local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0)) |
821 | + | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) |
822 | - | basicgui4.ZIndex = 2 |
822 | + | |
823 | - | basicgui4.Font = "Highway" |
823 | + | |
824 | - | basicgui4.BackgroundTransparency = 0.5 |
824 | + | |
825 | - | basicgui4.BorderSizePixel = 0.65 |
825 | + | Weapon.Parent = Character |
826 | - | basicgui4.TextScaled = true |
826 | + | |
827 | - | basicgui4.Text = "(R)\nInferno Wrath" |
827 | + | Humanoid.Died:connect(function() |
828 | - | basicgui4.TextSize = 24 |
828 | + | |
829 | - | local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0)) |
829 | + | |
830 | - | basicgui5.ZIndex = 2 |
830 | + | |
831 | - | basicgui5.Font = "Highway" |
831 | + | print(Class_Name.." loaded.") |
832 | - | basicgui5.BackgroundTransparency = 0.5 |
832 | + | |
833 | - | basicgui5.BorderSizePixel = 0.65 |
833 | + | --//=================================\\ |
834 | - | basicgui5.TextScaled = true |
834 | + | --\\=================================// |
835 | - | basicgui5.Text = "(Z)\n???" |
835 | + | |
836 | - | basicgui5.TextSize = 24 |
836 | + | |
837 | - | local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0)) |
837 | + | |
838 | - | basicgui6.ZIndex = 2 |
838 | + | |
839 | - | basicgui6.Font = "Highway" |
839 | + | |
840 | - | basicgui6.BackgroundTransparency = 0.5 |
840 | + | --//=================================\\ |
841 | - | basicgui6.BorderSizePixel = 0.65 |
841 | + | --|| DAMAGE FUNCTIONS |
842 | - | basicgui6.TextScaled = true |
842 | + | --\\=================================// |
843 | - | basicgui6.Text = "(X)\nInferno Hell" |
843 | + | |
844 | - | basicgui6.TextSize = 24 |
844 | + | function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR) |
845 | - | |
845 | + | local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) |
846 | - | local healthg = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, 0.675, 0), UDim2.new(0.95, 0, 0.15, 0)) |
846 | + | STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0)) |
847 | - | healthg.ZIndex = 2 |
847 | + | local BODYGYRO = IT("BodyGyro", STATPART) |
848 | - | healthg.Font = "Highway" |
848 | + | local BODYPOSITION = IT("BodyPosition", STATPART) |
849 | - | healthg.BackgroundTransparency = 0.5 |
849 | + | BODYPOSITION.P = 2000 |
850 | - | healthg.BorderSizePixel = 0.65 |
850 | + | BODYPOSITION.D = 100 |
851 | - | healthg.TextScaled = true |
851 | + | BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge) |
852 | - | healthg.Text = "health" |
852 | + | if LABELTYPE == "Normal" then |
853 | - | healthg.TextSize = 24 |
853 | + | BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2)) |
854 | - | |
854 | + | elseif LABELTYPE == "Debuff" then |
855 | - | char.Humanoid.Animator.Parent = nil |
855 | + | BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2)) |
856 | - | |
856 | + | elseif LABELTYPE == "Interruption" then |
857 | - | ---------------- set a position |
857 | + | BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2)) |
858 | - | local handle = Instance.new("Part") |
858 | + | |
859 | - | handle.Parent = Character |
859 | + | game:GetService("Debris"):AddItem(STATPART ,5) |
860 | - | handle.Size = Vector3.new(0.2,0.2,0.2) |
860 | + | local BILLBOARDGUI = Instance.new("BillboardGui", STATPART) |
861 | - | handle.Archivable = true |
861 | + | BILLBOARDGUI.Adornee = STATPART |
862 | - | handle.Transparency = 1 |
862 | + | BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0) |
863 | - | handle.CanCollide = false |
863 | + | BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) |
864 | - | handle.BrickColor = BrickColor.new("White") |
864 | + | BILLBOARDGUI.AlwaysOnTop = false |
865 | - | handle.Material = "Neon" |
865 | + | local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI) |
866 | - | local handlmesh = Instance.new("BlockMesh",handle) |
866 | + | TEXTLABEL.BackgroundTransparency = 1 |
867 | - | handlmesh.Scale = Vector3.new(1,1,1) |
867 | + | TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) |
868 | - | local handleweld = Instance.new("Weld") |
868 | + | TEXTLABEL.Text = TEXT |
869 | - | handleweld.Parent = handle |
869 | + | TEXTLABEL.Font = "SciFi" |
870 | - | handleweld.Part0 = rarm |
870 | + | TEXTLABEL.FontSize="Size42" |
871 | - | handleweld.Part1 = handle |
871 | + | TEXTLABEL.TextColor3 = COLOR |
872 | - | handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) |
872 | + | TEXTLABEL.TextStrokeTransparency = 1 |
873 | - | handleweld.Part0 = rarm |
873 | + | TEXTLABEL.TextScaled = true |
874 | - | |
874 | + | TEXTLABEL.TextWrapped = true |
875 | - | ---- yeee boi here comes entrance of inferno |
875 | + | coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) |
876 | - | |
876 | + | wait(0.2) |
877 | - | hum.WalkSpeed = 0 |
877 | + | for i=1, 5 do |
878 | - | |
878 | + | wait() |
879 | - | local dd = Instance.new("ParticleEmitter",handle) |
879 | + | THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0) |
880 | - | dd.Texture = "http://www.roblox.com/asset/?id=745304849" |
880 | + | |
881 | - | dd.LightEmission = 1 |
881 | + | wait(1.2) |
882 | - | dd.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
882 | + | for i=1, 5 do |
883 | - | dd.Rate = 50 |
883 | + | wait() |
884 | - | dd.Lifetime = NumberRange.new(0.5) |
884 | + | THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2 |
885 | - | dd.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) |
885 | + | THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2 |
886 | - | dd.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)}) |
886 | + | THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0) |
887 | - | dd.Speed = NumberRange.new(0) |
887 | + | |
888 | - | dd.Rotation = NumberRange.new(-500,500) |
888 | + | THEPART.Parent = nil |
889 | - | dd.VelocitySpread = 90000 |
889 | + | end),STATPART, BODYPOSITION, TEXTLABEL) |
890 | - | dd.LockedToPart = true |
890 | + | |
891 | - | dd.RotSpeed = NumberRange.new(-500,500) |
891 | + | |
892 | - | local bon = Instance.new("ParticleEmitter",handle) |
892 | + | |
893 | - | bon.Texture = "rbxassetid://296874871" |
893 | + | --//=================================\\ |
894 | - | bon.LightEmission = 0.75 |
894 | + | --|| DAMAGING |
895 | - | bon.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
895 | + | --\\=================================// |
896 | - | bon.Rate = 0 |
896 | + | |
897 | - | bon.Lifetime = NumberRange.new(2.5) |
897 | + | function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier) |
898 | - | bon.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) |
898 | + | if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then |
899 | - | bon.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
899 | + | local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid") |
900 | - | bon.Speed = NumberRange.new(15) |
900 | + | local dmg = math.random(min,max) |
901 | - | bon.Rotation = NumberRange.new(-500,500) |
901 | + | if humanoid.Health > 0 then |
902 | - | bon.VelocitySpread = 90000 |
902 | + | if beserk == true then |
903 | - | bon.RotSpeed = NumberRange.new(-500,500) |
903 | + | humanoid.Health = 0 |
904 | - | local bon2 = Instance.new("ParticleEmitter",handle) |
904 | + | else |
905 | - | bon2.Texture = "rbxassetid://296874871" |
905 | + | CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10) |
906 | - | bon2.LightEmission = 0.75 |
906 | + | hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength |
907 | - | bon2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
907 | + | if math.random(1,100) < critrate+1 then |
908 | - | bon2.Rate = 0 |
908 | + | humanoid.Health = humanoid.Health - dmg*critmultiplier |
909 | - | bon2.Lifetime = NumberRange.new(2.5) |
909 | + | StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0)) |
910 | - | bon2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,10,0)}) |
910 | + | |
911 | - | bon2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
911 | + | humanoid.Health = humanoid.Health - dmg |
912 | - | bon2.Speed = NumberRange.new(25) |
912 | + | StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(255/255, 0, 0)) |
913 | - | bon2.Rotation = NumberRange.new(-500,500) |
913 | + | |
914 | - | bon2.VelocitySpread = 90000 |
914 | + | local defence = Instance.new("BoolValue",hit.Parent) |
915 | - | bon2.RotSpeed = NumberRange.new(-500,500) |
915 | + | defence.Name = ("HitBy"..Player.Name) |
916 | - | for i = 0,8,0.1 do |
916 | + | game:GetService("Debris"):AddItem(defence, 0.5) |
917 | - | swait() |
917 | + | |
918 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
918 | + | |
919 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) |
919 | + | |
920 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(100)), 0.3) |
920 | + | |
921 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-7.5 + 2.5 * math.cos(sine / 32))), 0.3) |
921 | + | |
922 | function killnearest(position,range,maxstrength) | |
923 | - | dd.Rate = 0 |
923 | + | for i,v in ipairs(workspace:GetChildren()) do |
924 | - | bon.Rate = 99999 |
924 | + | local body = v:GetChildren() |
925 | - | bon2.Rate = 99999 |
925 | + | for part = 1, #body do |
926 | - | |
926 | + | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then |
927 | - | local tran = Instance.new("ParticleEmitter",handle) |
927 | + | if(body[part].Position - position).Magnitude < range then |
928 | - | tran.Texture = "rbxassetid://296874871" |
928 | + | if v.ClassName == "Model" then |
929 | - | tran.LightEmission = 0.75 |
929 | + | v:BreakJoints() |
930 | - | tran.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
930 | + | |
931 | - | tran.Rate = 99999 |
931 | + | --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2}) |
932 | - | tran.Lifetime = NumberRange.new(0.25) |
932 | + | body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength |
933 | - | tran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(1,0,0)}) |
933 | + | |
934 | - | tran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) |
934 | + | |
935 | - | tran.Speed = NumberRange.new(0) |
935 | + | |
936 | - | tran.Rotation = NumberRange.new(-500,500) |
936 | + | if v.ClassName == "Part" then |
937 | - | tran.VelocitySpread = 90000 |
937 | + | if v.Anchored == false and (v.Position - position).Magnitude < range then |
938 | - | tran.LockedToPart = true |
938 | + | --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2}) |
939 | - | tran.RotSpeed = NumberRange.new(-500,500) |
939 | + | v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength |
940 | - | local tran2 = Instance.new("ParticleEmitter",handle) |
940 | + | |
941 | - | tran2.Texture = "http://www.roblox.com/asset/?id=745304849" |
941 | + | |
942 | - | tran2.LightEmission = 1 |
942 | + | |
943 | - | tran2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
943 | + | |
944 | - | tran2.Rate = 50 |
944 | + | |
945 | - | tran2.Lifetime = NumberRange.new(0.5) |
945 | + | --//=================================\\ |
946 | - | tran2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5,0),NumberSequenceKeypoint.new(1,0,0)}) |
946 | + | --|| ATTACK FUNCTIONS AND STUFF |
947 | - | tran2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)}) |
947 | + | --\\=================================// |
948 | - | tran2.Speed = NumberRange.new(0) |
948 | + | |
949 | - | tran2.Rotation = NumberRange.new(-500,500) |
949 | + | function chatfunc(text,waitt) |
950 | - | tran2.VelocitySpread = 90000 |
950 | + | |
951 | - | tran2.LockedToPart = true |
951 | + | |
952 | - | tran2.RotSpeed = NumberRange.new(-500,500) |
952 | + | |
953 | - | wait(0.5) |
953 | + | |
954 | - | bon.Rate = 0 |
954 | + | |
955 | - | bon2.Rate = 0 |
955 | + | |
956 | - | wait(3.25) |
956 | + | naeeym2.StudsOffset = Vector3.new(0,2,0) |
957 | - | bon:Destroy() |
957 | + | |
958 | - | bon:Destroy() |
958 | + | |
959 | - | dd:Destroy() |
959 | + | naeeym2.AlwaysOnTop = true |
960 | - | hum.WalkSpeed = 16 |
960 | + | |
961 | - | ----------- |
961 | + | |
962 | - | |
962 | + | |
963 | - | function InfernoComet() |
963 | + | |
964 | - | attack = true |
964 | + | tecks2.Font = "Fantasy" |
965 | - | chatfunc("Inferno Comet!!") |
965 | + | |
966 | - | handleweld.Part0 = rarm |
966 | + | tecks2.TextStrokeTransparency = 1 |
967 | - | local tra = Instance.new("ParticleEmitter",handle) |
967 | + | tecks2.TextColor3 = Color3.new(255/255, 176/255, 0) |
968 | - | tra.Texture = "rbxassetid://296874871" |
968 | + | |
969 | - | tra.LightEmission = 0.75 |
969 | + | |
970 | - | tra.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
970 | + | |
971 | - | tra.Rate = 99999 |
971 | + | |
972 | - | tra.Lifetime = NumberRange.new(0.25) |
972 | + | |
973 | - | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) |
973 | + | |
974 | - | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) |
974 | + | tecks3.Font = "Fantasy" |
975 | - | tra.Speed = NumberRange.new(0) |
975 | + | |
976 | - | tra.Rotation = NumberRange.new(-500,500) |
976 | + | tecks3.TextStrokeTransparency = 1 |
977 | - | tra.VelocitySpread = 90000 |
977 | + | tecks3.TextColor3 = Color3.new(255/255, 176/255, 0) |
978 | - | tra.LockedToPart = true |
978 | + | |
979 | - | tra.RotSpeed = NumberRange.new(-500,500) |
979 | + | |
980 | - | local tra2 = Instance.new("ParticleEmitter",handle) |
980 | + | |
981 | - | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" |
981 | + | |
982 | - | tra2.LightEmission = 1 |
982 | + | |
983 | - | tra2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
983 | + | |
984 | - | tra2.Rate = 50 |
984 | + | |
985 | - | tra2.Lifetime = NumberRange.new(0.5) |
985 | + | wait(waitt) |
986 | - | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)}) |
986 | + | |
987 | - | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) |
987 | + | |
988 | - | tra2.Speed = NumberRange.new(0) |
988 | + | |
989 | - | tra2.Rotation = NumberRange.new(-500,500) |
989 | + | |
990 | - | tra2.VelocitySpread = 90000 |
990 | + | |
991 | - | tra2.LockedToPart = true |
991 | + | function turnto(pos,part) |
992 | - | tra2.RotSpeed = NumberRange.new(-500,500) |
992 | + | part.CFrame = CF(part.Position,VT(pos.X,RootPart.Position.Y,pos.Z)) |
993 | - | for i = 0,4,0.1 do |
993 | + | |
994 | - | swait() |
994 | + | |
995 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) |
995 | + | function createfireball(size,enabled) |
996 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) |
996 | + | local FIREBALL = IT("Part",Effects) |
997 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) |
997 | + | FIREBALL.Shape = "Ball" |
998 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) |
998 | + | FIREBALL.Size = VT(size,size,size) |
999 | - | end |
999 | + | FIREBALL.Material = "Neon" |
1000 | - | local sa = Instance.new("Sound",handle) |
1000 | + | FIREBALL.BrickColor = BRICKC("Deep orange") |
1001 | - | sa.SoundId = "rbxassetid://304448425" |
1001 | + | local PARTICLES = CreateParticles(FIREBALL,VT(0,0,0),2,1,"Fire",enabled,false,size*1.5,5) |
1002 | - | sa.Volume = 1 |
1002 | + | return FIREBALL,PARTICLES |
1003 | - | sa.Pitch = 1 |
1003 | + | |
1004 | - | sa:Play() |
1004 | + | |
1005 | - | tra.Rate = 0 |
1005 | + | function Fireball() |
1006 | - | tra2.Rate = 0 |
1006 | + | |
1007 | - | local lb = Instance.new("Part") |
1007 | + | chatfunc("Sun...",100) |
1008 | - | lb.Parent = char |
1008 | + | for i=0, 1.5, 0.1 / Animation_Speed do |
1009 | - | lb.Material = "Neon" |
1009 | + | |
1010 | - | lb.Color = BrickColor.new("Bright blue").Color |
1010 | + | turnto(Mouse.Hit.p,RootPart) |
1011 | - | lb.CanCollide = false |
1011 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed) |
1012 | - | lb.Shape = "Ball" |
1012 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed) |
1013 | - | lb.CFrame = handle.CFrame |
1013 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1014 | - | lb.Anchored = true |
1014 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
1015 | - | lb.Transparency = 1 |
1015 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1016 | - | lb.Size = vt(1,1,1) |
1016 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1017 | - | local thing = Instance.new("SpecialMesh",lb) |
1017 | + | |
1018 | - | thing.MeshType = meshtype |
1018 | + | local aimpos = Mouse.Hit.p |
1019 | - | local hitted = false |
1019 | + | CreateSound(CIRCLESOUND, RightArm, 2, 1) |
1020 | - | lb.Anchored = false |
1020 | + | CreateMagicRingTilSize(RightArm.CFrame*CF(0,-1.2,0),35,25) |
1021 | - | local trail = Instance.new("ParticleEmitter",lb) |
1021 | + | chatfunc("Comet!",2) |
1022 | - | trail.Texture = "rbxassetid://296874871" |
1022 | + | local FIRE,PARTICLES = createfireball(3,true) |
1023 | - | trail.LightEmission = 1 |
1023 | + | CreateSound(FIREBALL, FIRE, 2, 1) |
1024 | - | trail.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1024 | + | FIRE.CFrame = RightArm.CFrame*CF(0,-1.2,0) |
1025 | - | trail.Rate = 9999 |
1025 | + | |
1026 | - | trail.Lifetime = NumberRange.new(1.5) |
1026 | + | |
1027 | - | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) |
1027 | + | bv.velocity = CF(FIRE.Position,aimpos).lookVector*50 |
1028 | - | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
1028 | + | bv.Parent = FIRE |
1029 | - | trail.Speed = NumberRange.new(0,0) |
1029 | + | bv.Name = "MOVE" |
1030 | - | trail.Rotation = NumberRange.new(-500,500) |
1030 | + | local HIT = false |
1031 | - | trail.RotSpeed = NumberRange.new(-500,500) |
1031 | + | local harm = FIRE.Touched:Connect(function(hit) |
1032 | - | local bv = Instance.new("BodyVelocity") |
1032 | + | if HIT == false and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then |
1033 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
1033 | + | HIT = true |
1034 | - | bv.velocity = mouse.Hit.lookVector *75 |
1034 | + | coroutine.resume(coroutine.create(function() |
1035 | - | bv.Parent = lb |
1035 | + | FIRE.Anchored = true |
1036 | - | wait(0.05) |
1036 | + | FIRE.CanCollide = false |
1037 | - | lb.Touched:connect(function(hit) |
1037 | + | PARTICLES.Enabled = false |
1038 | - | if hitted == false then |
1038 | + | CreateSound(EXPLOSION, FIRE, 10, 1) |
1039 | - | hitted = true |
1039 | + | local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,85) |
1040 | - | trail.Rate = 0 |
1040 | + | BURST:Emit(750) |
1041 | - | lb.Anchored = true |
1041 | + | killnearest(FIRE.Position,35,75) |
1042 | - | local aa = Instance.new("Part") |
1042 | + | for i = 1, 35 do |
1043 | - | local val = 1*3.5 |
1043 | + | Swait() |
1044 | - | aa.Parent = lb |
1044 | + | FIRE.Size = FIRE.Size + VT(2,2,2) |
1045 | - | local exsound = Instance.new("Sound",aa) |
1045 | + | FIRE.Transparency = FIRE.Transparency + (1/35) |
1046 | - | exsound.SoundId = "rbxassetid://402347142" |
1046 | + | |
1047 | - | exsound.Volume = 3.5 |
1047 | + | Swait(250) |
1048 | - | exsound.Pitch = 1 |
1048 | + | FIRE:remove() |
1049 | - | exsound:Play() |
1049 | + | end)) |
1050 | - | aa.Material = "Neon" |
1050 | + | |
1051 | - | aa.Color = BrickColor.new("Bright blue").Color |
1051 | + | end) |
1052 | - | aa.CanCollide = false |
1052 | + | |
1053 | - | aa.Shape = "Ball" |
1053 | + | |
1054 | - | aa.CFrame = lb.CFrame |
1054 | + | |
1055 | - | aa.Anchored = true |
1055 | + | function SolarPunch() |
1056 | - | aa.Transparency = 0 |
1056 | + | |
1057 | - | aa.Size = vt(1,1,1) |
1057 | + | for i=0, 0.5, 0.1 / Animation_Speed do |
1058 | - | local thinger = Instance.new("SpecialMesh",aa) |
1058 | + | |
1059 | - | thinger.MeshType = meshtype |
1059 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed) |
1060 | - | thinger.Scale = vt(15,15,15) |
1060 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed) |
1061 | - | local explosion = Instance.new("Explosion",aa) |
1061 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1062 | - | explosion.Position = aa.Position |
1062 | + | |
1063 | - | explosion.BlastRadius = 22.5 |
1063 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed) |
1064 | - | explosion.BlastPressure = 100 |
1064 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed) |
1065 | - | local exp = Instance.new("ParticleEmitter",aa) |
1065 | + | |
1066 | - | exp.Texture = "rbxassetid://296874871" |
1066 | + | local GRAB = nil |
1067 | - | exp.LightEmission = 1 |
1067 | + | local HIT = false |
1068 | - | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1068 | + | local hitting = RightArm.Touched:connect(function(hit) |
1069 | - | exp.Rate = 9000000000 |
1069 | + | if GRAB == nil then |
1070 | - | exp.Lifetime = NumberRange.new(1) |
1070 | + | if hit.Parent:FindFirstChild("Humanoid") then |
1071 | - | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) |
1071 | + | if hit.Parent.Humanoid.Health ~= 0 then |
1072 | - | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
1072 | + | HIT = true |
1073 | - | exp.Speed = NumberRange.new(100) |
1073 | + | GRAB = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") |
1074 | - | exp.VelocitySpread = 9000000 |
1074 | + | MagicBlock(1.2,20,GRAB,0,BRICKC("Pearl").Color) |
1075 | - | exp.Rotation = NumberRange.new(-500,500) |
1075 | + | GRAB.Anchored = true |
1076 | - | exp.RotSpeed = NumberRange.new(-500,500) |
1076 | + | CreateSound("131237241", GRAB, 3, 1) |
1077 | - | local expa = Instance.new("ParticleEmitter",aa) |
1077 | + | |
1078 | - | expa.Texture = "rbxassetid://296874871" |
1078 | + | |
1079 | - | expa.LightEmission = 1 |
1079 | + | |
1080 | - | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1080 | + | end) |
1081 | - | expa.Rate = 9000000000 |
1081 | + | |
1082 | - | expa.Lifetime = NumberRange.new(2.75) |
1082 | + | |
1083 | - | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) |
1083 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(55)), 0.15 / Animation_Speed) |
1084 | - | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) |
1084 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.45 / Animation_Speed) |
1085 | - | expa.Speed = NumberRange.new(100) |
1085 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1086 | - | expa.VelocitySpread = 9000000 |
1086 | + | |
1087 | - | expa.Rotation = NumberRange.new(-500,500) |
1087 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed) |
1088 | - | expa.RotSpeed = NumberRange.new(-500,500) |
1088 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed) |
1089 | - | local exp2 = exp:Clone() |
1089 | + | if HIT == true then |
1090 | - | exp2.Parent = aa |
1090 | + | break |
1091 | - | local exp3 = exp:Clone() |
1091 | + | |
1092 | - | exp3.Parent = aa |
1092 | + | |
1093 | - | local exp4 = exp:Clone() |
1093 | + | hitting:disconnect() |
1094 | - | exp4.Parent = aa |
1094 | + | if GRAB ~= nil then |
1095 | - | local exp5 = exp:Clone() |
1095 | + | Rooted = true |
1096 | - | exp5.Parent = aa |
1096 | + | local BURST = CreateParticles(FIREHAND,VT(0,0,0),1,2,"Fire",true,false,1,2) |
1097 | - | local exp6 = exp:Clone() |
1097 | + | turnto(RootPart.Position,GRAB) |
1098 | - | exp6.Parent = aa |
1098 | + | RootPart.CFrame = GRAB.CFrame * CF(0,0,-4) * ANGLES(RAD(0),RAD(180),RAD(0)) |
1099 | - | local exp7 = exp:Clone() |
1099 | + | for i=0, 3, 0.1 / Animation_Speed*4 do |
1100 | - | exp7.Parent = aa |
1100 | + | if GRAB ~= nil then |
1101 | - | local expa2 = expa:Clone() |
1101 | + | |
1102 | - | expa2.Parent = aa |
1102 | + | turnto(GRAB.Position,RootPart) |
1103 | - | local expa3 = expa:Clone() |
1103 | + | turnto(RootPart.Position,GRAB) |
1104 | - | expa3.Parent = aa |
1104 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.2 / Animation_Speed*8) |
1105 | - | local expa4 = expa:Clone() |
1105 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.2 / Animation_Speed*8) |
1106 | - | expa4.Parent = aa |
1106 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*8) |
1107 | - | local expa5 = expa:Clone() |
1107 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-30)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*8) |
1108 | - | expa5.Parent = aa |
1108 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*8) |
1109 | - | local expa6 = expa:Clone() |
1109 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*8) |
1110 | - | expa6.Parent = aa |
1110 | + | |
1111 | - | local expa7 = expa:Clone() |
1111 | + | |
1112 | - | expa7.Parent = aa |
1112 | + | chatfunc("Solar...",100) |
1113 | - | for i = 0, 1 do |
1113 | + | CreateSound(CIRCLESOUND, GRAB, 2, 1) |
1114 | - | val = val - 0.025*3.5 |
1114 | + | CreateMagicRingTilSize(GRAB.CFrame * CF(0,0,2) * ANGLES(RAD(90),RAD(0),RAD(0)),45,75) |
1115 | - | thinger.Scale = thinger.Scale + vt(val,val,val) |
1115 | + | BURST.Enabled = false |
1116 | - | wait() |
1116 | + | local BURST = CreateParticles(FIREHAND,VT(0,0,0),1,2,"Fire",false,false,6,25) |
1117 | - | end |
1117 | + | for i=0, 1, 0.1 / Animation_Speed*6 do |
1118 | - | exp.Rate = 0 |
1118 | + | if GRAB ~= nil then |
1119 | - | exp2.Rate = 0 |
1119 | + | |
1120 | - | exp3.Rate = 0 |
1120 | + | turnto(GRAB.Position,RootPart) |
1121 | - | exp4.Rate = 0 |
1121 | + | turnto(RootPart.Position,GRAB) |
1122 | - | exp5.Rate = 0 |
1122 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.2 / Animation_Speed*8) |
1123 | - | exp6.Rate = 0 |
1123 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.2 / Animation_Speed*8) |
1124 | - | exp7.Rate = 0 |
1124 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*8) |
1125 | - | for i = 0, 1 do |
1125 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*8) |
1126 | - | val = val - 0.025*3.5 |
1126 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*3) |
1127 | - | thinger.Scale = thinger.Scale + vt(val,val,val) |
1127 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*3) |
1128 | - | wait() |
1128 | + | |
1129 | - | end |
1129 | + | |
1130 | - | expa.Rate = 0 |
1130 | + | chatfunc("Fist!",2) |
1131 | - | expa2.Rate = 0 |
1131 | + | if GRAB ~= nil then |
1132 | - | expa3.Rate = 0 |
1132 | + | CreateSound(EXPLOSION, GRAB, 10, 1) |
1133 | - | expa4.Rate = 0 |
1133 | + | BURST:Emit(300) |
1134 | - | expa5.Rate = 0 |
1134 | + | GRAB.Parent:BreakJoints() |
1135 | - | expa6.Rate = 0 |
1135 | + | Swait(150) |
1136 | - | expa7.Rate = 0 |
1136 | + | |
1137 | - | for i = 0, 21 do |
1137 | + | |
1138 | - | val = val - 0.025*3.5 |
1138 | + | FIREHAND:ClearAllChildren() |
1139 | - | thinger.Scale = thinger.Scale + vt(val,val,val) |
1139 | + | GRAB = nil |
1140 | - | wait() |
1140 | + | |
1141 | - | end |
1141 | + | HIT = nil |
1142 | - | for i = 0, 74 do |
1142 | + | |
1143 | - | val = val - 0.0145 |
1143 | + | |
1144 | - | aa.Transparency = aa.Transparency + 0.0145 |
1144 | + | |
1145 | - | thinger.Scale = thinger.Scale + vt(val,val,val) |
1145 | + | function SunEruption() |
1146 | - | wait() |
1146 | + | |
1147 | - | end |
1147 | + | |
1148 | chatfunc("Sun...",100) | |
1149 | for i=0, 1, 0.1 / Animation_Speed do | |
1150 | - | attack = false |
1150 | + | |
1151 | - | wait(30) |
1151 | + | |
1152 | - | sa:Destroy() |
1152 | + | |
1153 | - | tra:Destroy() |
1153 | + | |
1154 | - | tra2:Destroy() |
1154 | + | |
1155 | - | lb:Destroy() |
1155 | + | |
1156 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.2 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(12.5)), 0.15 / Animation_Speed) | |
1157 | - | |
1157 | + | |
1158 | - | |
1158 | + | CreateSound(CIRCLESOUND, LeftLeg, 2, 1) |
1159 | - | function SolarBarrage() |
1159 | + | CreateMagicRingTilSize(LeftLeg.CFrame*CF(0,-1.2,0),75,25) |
1160 | chatfunc("Eruption!",2) | |
1161 | local Animation_Speed2 = Animation_Speed/8 | |
1162 | for i=0, 1, 0.1 / Animation_Speed2 do | |
1163 | Swait() | |
1164 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2) | |
1165 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed2) | |
1166 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2) | |
1167 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2) | |
1168 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed2) | |
1169 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(5), RAD(-25)), 0.15 / Animation_Speed2) | |
1170 | end | |
1171 | RootPart.Anchored = true | |
1172 | local FIRE,PARTICLES = createfireball(6,false) | |
1173 | FIRE.CFrame = LeftLeg.CFrame | |
1174 | PARTICLES:remove() | |
1175 | CreateMagicCircle(75,true,-0.01,75,CF(LeftLeg.Position) * CF(0,-1,0),false) | |
1176 | coroutine.resume(coroutine.create(function() | |
1177 | FIRE.Anchored = true | |
1178 | FIRE.CanCollide = false | |
1179 | CreateSound(EXPLOSION, FIRE, 10, 1) | |
1180 | local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,75) | |
1181 | BURST:Emit(750) | |
1182 | local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,55) | |
1183 | BURST:Emit(750) | |
1184 | killnearest(FIRE.Position,45,75) | |
1185 | local mesh = IT("CylinderMesh",FIRE) | |
1186 | mesh.Scale = VT(1,10000,1) | |
1187 | for i = 1, 35 do | |
1188 | Swait() | |
1189 | FIRE.Size = FIRE.Size + VT(1,1,1) | |
1190 | FIRE.Transparency = FIRE.Transparency + (1/35) | |
1191 | end | |
1192 | Swait(250) | |
1193 | FIRE:remove() | |
1194 | end)) | |
1195 | RootPart.Anchored = false | |
1196 | Rooted = false | |
1197 | ATTACK = false | |
1198 | end | |
1199 | ||
1200 | function SolarImpact() | |
1201 | ATTACK = true | |
1202 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1203 | Swait() | |
1204 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed) | |
1205 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed) | |
1206 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1207 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1208 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed) | |
1209 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed) | |
1210 | end | |
1211 | local GRAB = nil | |
1212 | local HIT = false | |
1213 | local hitting = RightArm.Touched:connect(function(hit) | |
1214 | if GRAB == nil then | |
1215 | if hit.Parent:FindFirstChild("Humanoid") then | |
1216 | if hit.Parent.Humanoid.Health ~= 0 then | |
1217 | HIT = true | |
1218 | GRAB = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
1219 | MagicBlock(1.2,20,GRAB,0,BRICKC("Pearl").Color) | |
1220 | GRAB.Anchored = true | |
1221 | CreateSound("131237241", GRAB, 3, 1) | |
1222 | end | |
1223 | end | |
1224 | end | |
1225 | end) | |
1226 | for i=0, 1, 0.1 / Animation_Speed do | |
1227 | Swait() | |
1228 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(55)), 0.15 / Animation_Speed) | |
1229 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.45 / Animation_Speed) | |
1230 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1231 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1232 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed) | |
1233 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed) | |
1234 | if HIT == true then | |
1235 | break | |
1236 | end | |
1237 | end | |
1238 | hitting:disconnect() | |
1239 | if GRAB ~= nil then | |
1240 | Rooted = true | |
1241 | turnto(RootPart.Position,GRAB) | |
1242 | RootPart.CFrame = GRAB.CFrame * CF(0,0,-6) * ANGLES(RAD(0),RAD(180),RAD(0)) | |
1243 | for i=0, 2, 0.1 / Animation_Speed do | |
1244 | Swait() | |
1245 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1246 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1247 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1248 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1249 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1250 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1251 | end | |
1252 | - | |
1252 | + | CreateSound("2767090", Torso, 5, MRANDOM(7, 12) / 10) |
1253 | - | function InfernoMeteor() |
1253 | + | CreateWave(0,1.5,true,0.02,150,RootPart,-2,"Deep orange") |
1254 | - | attack = true |
1254 | + | CreateWave(0,3,true,-0.02,150,RootPart,-2,"Deep orange") |
1255 | - | chatfunc("Inferno...") |
1255 | + | |
1256 | - | handleweld.Part0 = rarm |
1256 | + | |
1257 | - | local tra = Instance.new("ParticleEmitter",handle) |
1257 | + | bv.velocity = Vector3.new(0,300,0) |
1258 | - | tra.Texture = "rbxassetid://296874871" |
1258 | + | bv.Parent = Torso |
1259 | - | tra.LightEmission = 0.75 |
1259 | + | bv.Name = "DASH" |
1260 | - | tra.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1260 | + | game:GetService("Debris"):AddItem(bv, 0.5) |
1261 | - | tra.Rate = 99999 |
1261 | + | coroutine.resume(coroutine.create(function() |
1262 | - | tra.Lifetime = NumberRange.new(0.25) |
1262 | + | for i=0, 2, 0.1 / Animation_Speed do |
1263 | - | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) |
1263 | + | Swait() |
1264 | - | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) |
1264 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1265 | - | tra.Speed = NumberRange.new(0) |
1265 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1266 | - | tra.Rotation = NumberRange.new(-500,500) |
1266 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) |
1267 | - | tra.VelocitySpread = 90000 |
1267 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
1268 | - | tra.LockedToPart = true |
1268 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) |
1269 | - | tra.RotSpeed = NumberRange.new(-500,500) |
1269 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) |
1270 | - | local tra2 = Instance.new("ParticleEmitter",handle) |
1270 | + | |
1271 | - | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" |
1271 | + | end)) |
1272 | - | tra2.LightEmission = 1 |
1272 | + | Swait(125) |
1273 | - | tra2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1273 | + | UNANCHOR = false |
1274 | - | tra2.Rate = 50 |
1274 | + | RootPart.Anchored = true |
1275 | - | tra2.Lifetime = NumberRange.new(0.5) |
1275 | + | chatfunc("Solar...",100) |
1276 | - | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) |
1276 | + | for i=0, 0.5, 0.1 / Animation_Speed do |
1277 | - | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) |
1277 | + | |
1278 | - | tra2.Speed = NumberRange.new(0) |
1278 | + | turnto(GRAB.Position,RootPart) |
1279 | - | tra2.Rotation = NumberRange.new(-500,500) |
1279 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.4 / Animation_Speed) |
1280 | - | tra2.VelocitySpread = 90000 |
1280 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1281 | - | tra2.LockedToPart = true |
1281 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1282 | - | tra2.RotSpeed = NumberRange.new(-500,500) |
1282 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
1283 | - | local sa = Instance.new("Sound",handle) |
1283 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) |
1284 | - | sa.SoundId = "rbxassetid://565538688" |
1284 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) |
1285 | - | sa.Volume = 1.5 |
1285 | + | --HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1286 | - | sa.Pitch = 0.975 |
1286 | + | |
1287 | - | sa:Play() |
1287 | + | local TRAIL = CreateParticles(Torso,VT(0,0,0),2,2,"Fire",true,true,6,15) |
1288 | - | for i = 0,4,0.1 do |
1288 | + | local A1 = IT("Attachment",Torso) |
1289 | - | swait() |
1289 | + | A1.Position = Vector3.new(0, 0.5, 0) |
1290 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) |
1290 | + | local A2 = IT("Attachment",Torso) |
1291 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) |
1291 | + | A2.Position = Vector3.new(0, -0.5, 0) |
1292 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) |
1292 | + | local Trail = IT("Trail",Torso) |
1293 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) |
1293 | + | Trail.LightEmission = 1 |
1294 | - | end |
1294 | + | Trail.FaceCamera = true |
1295 | - | chatfunc("Meteor!!") |
1295 | + | Trail.Texture = "rbxassetid://945758042" |
1296 | - | local sa = Instance.new("Sound",handle) |
1296 | + | Trail.Attachment0 = A1 |
1297 | - | sa.SoundId = "rbxassetid://304529688" |
1297 | + | Trail.Attachment1 = A2 |
1298 | - | sa.Volume = 1.5 |
1298 | + | Trail.Lifetime = 0.6 |
1299 | - | sa.Pitch = 0.85 |
1299 | + | Trail.MinLength = 0 |
1300 | - | sa:Play() |
1300 | + | Trail.Transparency = NumberSequence.new(0) |
1301 | - | tra.Rate = 0 |
1301 | + | Trail.Color = ColorSequence.new(BrickColor.new("Deep orange").Color) |
1302 | - | tra2.Rate = 0 |
1302 | + | CreateMagicRingTilSize(GRAB.CFrame * CF(0,0,2) * ANGLES(RAD(90),RAD(0),RAD(0)),45,75) |
1303 | - | local lb = Instance.new("Part") |
1303 | + | Swait(30) |
1304 | - | lb.Parent = char |
1304 | + | TRAIL.Enabled = false |
1305 | - | lb.Material = "Neon" |
1305 | + | for i=0, 3, 0.1 / Animation_Speed do |
1306 | - | lb.Color = BrickColor.new("Bright blue").Color |
1306 | + | turnto(GRAB.Position,RootPart) |
1307 | - | lb.CanCollide = false |
1307 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1308 | - | lb.Shape = "Ball" |
1308 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1309 | - | lb.CFrame = handle.CFrame |
1309 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) |
1310 | - | lb.Anchored = true |
1310 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.2 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) |
1311 | - | lb.Transparency = 1 |
1311 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) |
1312 | - | lb.Size = vt(1,1,1) |
1312 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed) |
1313 | - | local thing = Instance.new("SpecialMesh",lb) |
1313 | + | |
1314 | - | thing.MeshType = meshtype |
1314 | + | RootPart.CFrame = GRAB.CFrame * CF(0,0,4) * ANGLES(RAD(0),RAD(180),RAD(0)) |
1315 | - | local hitted = false |
1315 | + | chatfunc("Impact!",2) |
1316 | - | lb.Anchored = false |
1316 | + | CreateSound(EXPLOSION, Torso, 10, 1) |
1317 | - | local trail = Instance.new("ParticleEmitter",lb) |
1317 | + | killnearest(Torso.Position,5,0) |
1318 | - | trail.Texture = "rbxassetid://296874871" |
1318 | + | local BURST = CreateParticles(Torso,VT(0,0,0),2,2,"Fire",false,true,6,25) |
1319 | - | trail.LightEmission = 1 |
1319 | + | BURST:Emit(750) |
1320 | - | trail.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1320 | + | Swait(150) |
1321 | - | trail.Rate = 9999 |
1321 | + | Trail:remove() |
1322 | - | trail.Lifetime = NumberRange.new(1.5) |
1322 | + | BURST:remove() |
1323 | - | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)}) |
1323 | + | UNANCHOR = true |
1324 | - | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
1324 | + | TRAIL:remove() |
1325 | - | trail.Speed = NumberRange.new(0,0) |
1325 | + | |
1326 | - | trail.Rotation = NumberRange.new(-500,500) |
1326 | + | FIREHAND:ClearAllChildren() |
1327 | - | trail.RotSpeed = NumberRange.new(-500,500) |
1327 | + | GRAB = nil |
1328 | - | local bv = Instance.new("BodyVelocity") |
1328 | + | |
1329 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
1329 | + | HIT = nil |
1330 | - | bv.velocity = mouse.Hit.lookVector *95 |
1330 | + | |
1331 | - | bv.Parent = lb |
1331 | + | |
1332 | - | wait(0.05) |
1332 | + | |
1333 | - | lb.Touched:connect(function(hit) |
1333 | + | function SolarDemise() |
1334 | - | if hitted == false then |
1334 | + | |
1335 | - | hitted = true |
1335 | + | |
1336 | - | trail.Rate = 0 |
1336 | + | |
1337 | - | lb.Anchored = true |
1337 | + | |
1338 | - | local aa = Instance.new("Part") |
1338 | + | |
1339 | - | local val = 1*8 |
1339 | + | |
1340 | - | aa.Parent = lb |
1340 | + | |
1341 | - | local exsound = Instance.new("Sound",aa) |
1341 | + | |
1342 | - | exsound.SoundId = "rbxassetid://402347142" |
1342 | + | |
1343 | - | exsound.Volume = 10 |
1343 | + | |
1344 | - | exsound.Pitch = 0.945 |
1344 | + | |
1345 | - | exsound:Play() |
1345 | + | |
1346 | - | aa.Material = "Neon" |
1346 | + | |
1347 | - | aa.Color = BrickColor.new("Bright blue").Color |
1347 | + | |
1348 | - | aa.CanCollide = false |
1348 | + | |
1349 | - | aa.Shape = "Ball" |
1349 | + | |
1350 | - | aa.CFrame = lb.CFrame |
1350 | + | |
1351 | - | aa.Anchored = true |
1351 | + | |
1352 | - | aa.Transparency = 0 |
1352 | + | |
1353 | - | aa.Size = vt(1,1,1) |
1353 | + | |
1354 | - | local thinger = Instance.new("SpecialMesh",aa) |
1354 | + | |
1355 | - | thinger.MeshType = meshtype |
1355 | + | |
1356 | - | thinger.Scale = vt(15,15,15) |
1356 | + | |
1357 | - | local explosion = Instance.new("Explosion",aa) |
1357 | + | |
1358 | - | explosion.Position = aa.Position |
1358 | + | |
1359 | - | explosion.BlastRadius = 65 |
1359 | + | |
1360 | - | explosion.BlastPressure = 100 |
1360 | + | |
1361 | - | local exp = Instance.new("ParticleEmitter",aa) |
1361 | + | |
1362 | - | exp.Texture = "rbxassetid://296874871" |
1362 | + | |
1363 | - | exp.LightEmission = 1 |
1363 | + | |
1364 | - | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1364 | + | |
1365 | - | exp.Rate = 9000000000 |
1365 | + | |
1366 | - | exp.Lifetime = NumberRange.new(1) |
1366 | + | |
1367 | - | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(1,1,0)}) |
1367 | + | |
1368 | - | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
1368 | + | |
1369 | - | exp.Speed = NumberRange.new(200) |
1369 | + | |
1370 | - | exp.VelocitySpread = 9000000 |
1370 | + | |
1371 | - | exp.Rotation = NumberRange.new(-500,500) |
1371 | + | |
1372 | - | exp.RotSpeed = NumberRange.new(-500,500) |
1372 | + | |
1373 | - | local expa = Instance.new("ParticleEmitter",aa) |
1373 | + | |
1374 | - | expa.Texture = "rbxassetid://296874871" |
1374 | + | |
1375 | - | expa.LightEmission = 1 |
1375 | + | |
1376 | - | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1376 | + | |
1377 | - | expa.Rate = 9000000000 |
1377 | + | |
1378 | - | expa.Lifetime = NumberRange.new(2.75) |
1378 | + | |
1379 | - | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,125,0)}) |
1379 | + | |
1380 | - | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) |
1380 | + | |
1381 | - | expa.Speed = NumberRange.new(200) |
1381 | + | |
1382 | - | expa.VelocitySpread = 9000000 |
1382 | + | |
1383 | - | expa.Rotation = NumberRange.new(-500,500) |
1383 | + | |
1384 | - | expa.RotSpeed = NumberRange.new(-500,500) |
1384 | + | |
1385 | - | local exp2 = exp:Clone() |
1385 | + | |
1386 | - | exp2.Parent = aa |
1386 | + | |
1387 | - | local exp3 = exp:Clone() |
1387 | + | |
1388 | - | exp3.Parent = aa |
1388 | + | |
1389 | - | local exp4 = exp:Clone() |
1389 | + | |
1390 | - | exp4.Parent = aa |
1390 | + | |
1391 | - | local exp5 = exp:Clone() |
1391 | + | |
1392 | - | exp5.Parent = aa |
1392 | + | |
1393 | - | local exp6 = exp:Clone() |
1393 | + | |
1394 | - | exp6.Parent = aa |
1394 | + | |
1395 | - | local exp7 = exp:Clone() |
1395 | + | |
1396 | - | exp7.Parent = aa |
1396 | + | |
1397 | - | local expa2 = expa:Clone() |
1397 | + | |
1398 | - | expa2.Parent = aa |
1398 | + | |
1399 | - | local expa3 = expa:Clone() |
1399 | + | |
1400 | - | expa3.Parent = aa |
1400 | + | |
1401 | - | local expa4 = expa:Clone() |
1401 | + | |
1402 | - | expa4.Parent = aa |
1402 | + | |
1403 | - | local expa5 = expa:Clone() |
1403 | + | |
1404 | - | expa5.Parent = aa |
1404 | + | |
1405 | - | local expa6 = expa:Clone() |
1405 | + | |
1406 | - | expa6.Parent = aa |
1406 | + | |
1407 | - | local expa7 = expa:Clone() |
1407 | + | |
1408 | - | expa7.Parent = aa |
1408 | + | |
1409 | - | for i = 0, 1 do |
1409 | + | |
1410 | - | val = val - 0.025*8 |
1410 | + | |
1411 | - | thinger.Scale = thinger.Scale + vt(val,val,val) |
1411 | + | |
1412 | - | wait() |
1412 | + | |
1413 | - | end |
1413 | + | |
1414 | - | exp.Rate = 0 |
1414 | + | |
1415 | - | exp2.Rate = 0 |
1415 | + | |
1416 | - | exp3.Rate = 0 |
1416 | + | |
1417 | - | exp4.Rate = 0 |
1417 | + | |
1418 | - | exp5.Rate = 0 |
1418 | + | |
1419 | - | exp6.Rate = 0 |
1419 | + | |
1420 | - | exp7.Rate = 0 |
1420 | + | |
1421 | - | for i = 0, 1 do |
1421 | + | |
1422 | - | val = val - 0.025*8 |
1422 | + | |
1423 | - | thinger.Scale = thinger.Scale + vt(val,val,val) |
1423 | + | |
1424 | - | wait() |
1424 | + | |
1425 | - | end |
1425 | + | |
1426 | - | expa.Rate = 0 |
1426 | + | |
1427 | - | expa2.Rate = 0 |
1427 | + | --//=================================\\ |
1428 | - | expa3.Rate = 0 |
1428 | + | --|| ASSIGN THINGS TO KEYS |
1429 | - | expa4.Rate = 0 |
1429 | + | --\\=================================// |
1430 | - | expa5.Rate = 0 |
1430 | + | |
1431 | - | expa6.Rate = 0 |
1431 | + | Humanoid.Changed:connect(function(Jump) |
1432 | - | expa7.Rate = 0 |
1432 | + | if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then |
1433 | - | for i = 0, 21 do |
1433 | + | Humanoid.Jump = false |
1434 | - | val = val - 0.025*8 |
1434 | + | |
1435 | - | thinger.Scale = thinger.Scale + vt(val,val,val) |
1435 | + | |
1436 | - | wait() |
1436 | + | |
1437 | - | end |
1437 | + | function MouseDown(Mouse) |
1438 | - | for i = 0, 74 do |
1438 | + | if ATTACK == false then |
1439 | - | val = val - 0.0145 |
1439 | + | |
1440 | - | aa.Transparency = aa.Transparency + 0.0145 |
1440 | + | |
1441 | - | thinger.Scale = thinger.Scale + vt(val,val,val) |
1441 | + | |
1442 | - | wait() |
1442 | + | function MouseUp(Mouse) |
1443 | - | end |
1443 | + | HOLD = false |
1444 | end | |
1445 | ||
1446 | - | attack = false |
1446 | + | function KeyDown(Key) |
1447 | - | wait(30) |
1447 | + | if Rooted == false then |
1448 | - | sa:Destroy() |
1448 | + | if Key == "q" and ATTACK == false then |
1449 | - | tra:Destroy() |
1449 | + | Fireball() |
1450 | - | tra2:Destroy() |
1450 | + | |
1451 | - | lb:Destroy() |
1451 | + | |
1452 | if Key == "e" and ATTACK == false then | |
1453 | - | |
1453 | + | SolarPunch() |
1454 | - | |
1454 | + | |
1455 | - | function InfernoWrath() |
1455 | + | |
1456 | - | attack = true |
1456 | + | if Key == "r" and ATTACK == false then |
1457 | - | chatfunc("Inferno Wrath!!") |
1457 | + | SunEruption() |
1458 | - | for i = 0,4,0.1 do |
1458 | + | |
1459 | - | swait() |
1459 | + | |
1460 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
1460 | + | if Key == "f" and ATTACK == false then |
1461 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) |
1461 | + | SolarImpact() |
1462 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) |
1462 | + | |
1463 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) |
1463 | + | |
1464 | - | end |
1464 | + | if Key == "x" and ATTACK == false then |
1465 | - | local ff = Instance.new("ForceField",char) |
1465 | + | SolarDemise() |
1466 | - | hum.WalkSpeed = 0 |
1466 | + | |
1467 | - | local lb = Instance.new("Part") |
1467 | + | |
1468 | - | lb.Parent = char |
1468 | + | if Key == "7" and ATTACK == false then |
1469 | - | lb.Material = "Neon" |
1469 | + | CreateSound("907333294", Head, 5, 1.1) |
1470 | - | lb.Color = BrickColor.new("Bright blue").Color |
1470 | + | |
1471 | - | lb.CanCollide = false |
1471 | + | |
1472 | - | lb.Shape = "Ball" |
1472 | + | if Key == "8" and ATTACK == false then |
1473 | - | lb.CFrame = torso.CFrame |
1473 | + | CreateSound("907333406", Head, 5, 1.1) |
1474 | - | lb.Anchored = true |
1474 | + | |
1475 | - | lb.Transparency = 1 |
1475 | + | |
1476 | - | lb.Size = vt(1,1,1) |
1476 | + | if Key == "9" and ATTACK == false then |
1477 | - | local thing = Instance.new("SpecialMesh",lb) |
1477 | + | CreateSound("907329293", Head, 5, 1.1) |
1478 | - | thing.MeshType = meshtype |
1478 | + | |
1479 | - | for i = 0, 4 do |
1479 | + | |
1480 | - | local lbr = Instance.new("Part") |
1480 | + | |
1481 | - | lbr.Parent = char |
1481 | + | |
1482 | - | lbr.Material = "Neon" |
1482 | + | function KeyUp(Key) |
1483 | - | lbr.Color = BrickColor.new("Bright blue").Color |
1483 | + | |
1484 | - | lbr.CanCollide = false |
1484 | + | |
1485 | - | lbr.Shape = "Ball" |
1485 | + | Mouse.Button1Down:connect(function(NEWKEY) |
1486 | - | lbr.CFrame = lb.CFrame |
1486 | + | MouseDown(NEWKEY) |
1487 | - | lbr.Anchored = true |
1487 | + | end) |
1488 | - | lbr.Transparency = 1 |
1488 | + | Mouse.Button1Up:connect(function(NEWKEY) |
1489 | - | lbr.Size = vt(1,1,1) |
1489 | + | MouseUp(NEWKEY) |
1490 | - | local thinga = Instance.new("SpecialMesh",lbr) |
1490 | + | end) |
1491 | - | thinga.MeshType = meshtype |
1491 | + | Mouse.KeyDown:connect(function(NEWKEY) |
1492 | - | thinga.Scale = vt(20*6,20*6,20*6) |
1492 | + | KeyDown(NEWKEY) |
1493 | - | for z = 0, 19 do |
1493 | + | end) |
1494 | - | wait(0.025) |
1494 | + | Mouse.KeyUp:connect(function(NEWKEY) |
1495 | - | lbr.Transparency = lbr.Transparency - 0.05 |
1495 | + | KeyUp(NEWKEY) |
1496 | - | thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6) |
1496 | + | end) |
1497 | ||
1498 | - | lbr:Destroy() |
1498 | + | --//=================================\\ |
1499 | --\\=================================// | |
1500 | - | local aa = Instance.new("Part") |
1500 | + | |
1501 | - | local val = 1*7.5 |
1501 | + | |
1502 | - | aa.Parent = lb |
1502 | + | function unanchor() |
1503 | - | local exsound = Instance.new("Sound",handle) |
1503 | + | if UNANCHOR == true then |
1504 | - | exsound.SoundId = "rbxassetid://402347142" |
1504 | + | g = Character:GetChildren() |
1505 | - | exsound.Volume = 10 |
1505 | + | for i = 1, #g do |
1506 | - | exsound.Pitch = 1 |
1506 | + | if g[i].ClassName == "Part" then |
1507 | - | exsound:Play() |
1507 | + | g[i].Anchored = false |
1508 | - | aa.Material = "Neon" |
1508 | + | |
1509 | - | aa.Color = BrickColor.new("Bright blue").Color |
1509 | + | |
1510 | - | aa.CanCollide = false |
1510 | + | |
1511 | - | aa.Shape = "Ball" |
1511 | + | |
1512 | - | aa.CFrame = lb.CFrame |
1512 | + | |
1513 | - | aa.Anchored = true |
1513 | + | |
1514 | - | aa.Transparency = 0 |
1514 | + | --//=================================\\ |
1515 | - | aa.Size = vt(1,1,1) |
1515 | + | --|| WRAP THE WHOLE SCRIPT UP |
1516 | - | local thinger = Instance.new("SpecialMesh",aa) |
1516 | + | --\\=================================// |
1517 | - | thinger.MeshType = meshtype |
1517 | + | |
1518 | - | thinger.Scale = vt(15*1.5,15*1.5,15*1.5) |
1518 | + | Humanoid.Changed:connect(function(Jump) |
1519 | - | local explosion = Instance.new("Explosion",aa) |
1519 | + | if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then |
1520 | - | explosion.Position = aa.Position |
1520 | + | Humanoid.Jump = false |
1521 | - | explosion.BlastRadius = 50 |
1521 | + | |
1522 | - | explosion.BlastPressure = 100 |
1522 | + | |
1523 | - | local exp = Instance.new("ParticleEmitter",aa) |
1523 | + | |
1524 | - | exp.Texture = "rbxassetid://296874871" |
1524 | + | ANIMATE.Parent = nil |
1525 | - | exp.LightEmission = 1 |
1525 | + | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) |
1526 | - | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1526 | + | IDLEANIMATION:Play() |
1527 | - | exp.Rate = 9000000000 |
1527 | + | Rooted = false |
1528 | - | exp.Lifetime = NumberRange.new(1) |
1528 | + | |
1529 | - | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) |
1529 | + | local eye = IT("Part",Weapon) |
1530 | - | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
1530 | + | eye.Size = VT(0.2,0.2,0.2) |
1531 | - | exp.Speed = NumberRange.new(115) |
1531 | + | eye.Shape = "Ball" |
1532 | - | exp.VelocitySpread = 9000000 |
1532 | + | eye.CFrame = Head.CFrame * CF(0.15,0.2,-0.55) |
1533 | - | exp.Rotation = NumberRange.new(-500,500) |
1533 | + | eye.Material = "Neon" |
1534 | - | exp.RotSpeed = NumberRange.new(-500,500) |
1534 | + | eye.BrickColor = BRICKC("Deep orange") |
1535 | - | local expa = Instance.new("ParticleEmitter",aa) |
1535 | + | weldBetween(Head,eye) |
1536 | - | expa.Texture = "rbxassetid://296874871" |
1536 | + | CreateParticles(eye,VT(1,-5,0),1,1,"Fire",true,true,0.1,0) |
1537 | - | expa.LightEmission = 1 |
1537 | + | |
1538 | - | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1538 | + | local eye = IT("Part",Weapon) |
1539 | - | expa.Rate = 9000000000 |
1539 | + | eye.Size = VT(0.15,0.15,0.15) |
1540 | - | expa.Lifetime = NumberRange.new(2.75) |
1540 | + | eye.Shape = "Ball" |
1541 | - | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) |
1541 | + | eye.CFrame = Head.CFrame * CF(-0.15,0.2,-0.55) |
1542 | - | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) |
1542 | + | eye.BrickColor = BRICKC("Black") |
1543 | - | expa.Speed = NumberRange.new(115) |
1543 | + | weldBetween(Head,eye) |
1544 | - | expa.VelocitySpread = 9000000 |
1544 | + | |
1545 | - | expa.Rotation = NumberRange.new(-500,500) |
1545 | + | while true do |
1546 | - | expa.RotSpeed = NumberRange.new(-500,500) |
1546 | + | Swait() |
1547 | - | local exp2 = exp:Clone() |
1547 | + | SINE = SINE + CHANGE |
1548 | - | exp2.Parent = aa |
1548 | + | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude |
1549 | - | local exp3 = exp:Clone() |
1549 | + | local TORSOVERTICALVELOCITY = RootPart.Velocity.y |
1550 | - | exp3.Parent = aa |
1550 | + | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) |
1551 | - | local exp4 = exp:Clone() |
1551 | + | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) |
1552 | - | exp4.Parent = aa |
1552 | + | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) |
1553 | - | local exp5 = exp:Clone() |
1553 | + | if ANIM == "Walk" and TORSOVELOCITY > 1 then |
1554 | - | exp5.Parent = aa |
1554 | + | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1555 | - | local exp6 = exp:Clone() |
1555 | + | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1556 | - | exp6.Parent = aa |
1556 | + | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1557 | - | local exp7 = exp:Clone() |
1557 | + | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1558 | - | exp7.Parent = aa |
1558 | + | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then |
1559 | - | local expa2 = expa:Clone() |
1559 | + | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1560 | - | expa2.Parent = aa |
1560 | + | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1561 | - | local expa3 = expa:Clone() |
1561 | + | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1562 | - | expa3.Parent = aa |
1562 | + | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1563 | - | local expa4 = expa:Clone() |
1563 | + | |
1564 | - | expa4.Parent = aa |
1564 | + | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then |
1565 | - | local expa5 = expa:Clone() |
1565 | + | ANIM = "Jump" |
1566 | - | expa5.Parent = aa |
1566 | + | if ATTACK == false then |
1567 | - | local expa6 = expa:Clone() |
1567 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1568 | - | expa6.Parent = aa |
1568 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1569 | - | local expa7 = expa:Clone() |
1569 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) |
1570 | - | expa7.Parent = aa |
1570 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
1571 | - | for i = 0, 1 do |
1571 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) |
1572 | - | val = val - 0.025*7.5 |
1572 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) |
1573 | - | thinger.Scale = thinger.Scale + vt(val,val,val) |
1573 | + | |
1574 | - | wait() |
1574 | + | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then |
1575 | - | end |
1575 | + | ANIM = "Fall" |
1576 | - | exp.Rate = 0 |
1576 | + | if ATTACK == false then |
1577 | - | exp2.Rate = 0 |
1577 | + | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1578 | - | exp3.Rate = 0 |
1578 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
1579 | - | exp4.Rate = 0 |
1579 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) |
1580 | - | exp5.Rate = 0 |
1580 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
1581 | - | exp6.Rate = 0 |
1581 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) |
1582 | - | exp7.Rate = 0 |
1582 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) |
1583 | - | for i = 0, 1 do |
1583 | + | |
1584 | - | val = val - 0.025*7.5 |
1584 | + | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then |
1585 | - | thinger.Scale = thinger.Scale + vt(val,val,val) |
1585 | + | ANIM = "Idle" |
1586 | - | wait() |
1586 | + | if ATTACK == false then |
1587 | - | end |
1587 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1588 | - | ff:Destroy() |
1588 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1589 | - | hum.WalkSpeed = 16 |
1589 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1590 | - | attack = false |
1590 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
1591 | - | expa.Rate = 0 |
1591 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1592 | - | expa2.Rate = 0 |
1592 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1593 | - | expa3.Rate = 0 |
1593 | + | |
1594 | - | expa4.Rate = 0 |
1594 | + | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then |
1595 | - | expa5.Rate = 0 |
1595 | + | ANIM = "Walk" |
1596 | - | expa6.Rate = 0 |
1596 | + | WALK = WALK + 1 / Animation_Speed |
1597 | - | expa7.Rate = 0 |
1597 | + | if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then |
1598 | - | for i = 0, 21 do |
1598 | + | WALK = 0 |
1599 | - | val = val - 0.025*7.5 |
1599 | + | if WALKINGANIM == true then |
1600 | - | thinger.Scale = thinger.Scale + vt(val,val,val) |
1600 | + | WALKINGANIM = false |
1601 | - | wait() |
1601 | + | elseif WALKINGANIM == false then |
1602 | - | end |
1602 | + | WALKINGANIM = true |
1603 | - | for i = 0, 74 do |
1603 | + | |
1604 | - | val = val - 0.0145 |
1604 | + | |
1605 | - | aa.Transparency = aa.Transparency + 0.0145 |
1605 | + | --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1606 | - | thinger.Scale = thinger.Scale + vt(val,val,val) |
1606 | + | --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1607 | - | wait() |
1607 | + | if ATTACK == false then |
1608 | - | end |
1608 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1609 | - | wait(5) |
1609 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1610 | - | lb:Destroy() |
1610 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
1611 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1612 | - | |
1612 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1613 | - | function InfernoDemise() |
1613 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
1614 | - | attack = true |
1614 | + | |
1615 | - | chatfunc("Inferno Demise!!") |
1615 | + | |
1616 | - | local tra = Instance.new("ParticleEmitter",handle) |
1616 | + | if #Effects2>0 then |
1617 | - | tra.Texture = "rbxassetid://296874871" |
1617 | + | for e=1,#Effects2 do |
1618 | - | tra.LightEmission = 0.75 |
1618 | + | if Effects2[e]~=nil then |
1619 | - | tra.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1619 | + | local Thing=Effects2[e] |
1620 | - | tra.Rate = 99999 |
1620 | + | if Thing~=nil then |
1621 | - | tra.Lifetime = NumberRange.new(0.25) |
1621 | + | local Part=Thing[1] |
1622 | - | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) |
1622 | + | local Mode=Thing[2] |
1623 | - | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) |
1623 | + | local Delay=Thing[3] |
1624 | - | tra.Speed = NumberRange.new(0) |
1624 | + | local IncX=Thing[4] |
1625 | - | tra.Rotation = NumberRange.new(-500,500) |
1625 | + | local IncY=Thing[5] |
1626 | - | tra.VelocitySpread = 90000 |
1626 | + | local IncZ=Thing[6] |
1627 | - | tra.LockedToPart = true |
1627 | + | local Part2=Thing[8] |
1628 | - | tra.RotSpeed = NumberRange.new(-500,500) |
1628 | + | if Thing[1].Transparency<=1 then |
1629 | - | local tra2 = Instance.new("ParticleEmitter",handle) |
1629 | + | if Thing[2]=="Block1" then |
1630 | - | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" |
1630 | + | Thing[1].CFrame=Thing[1].CFrame |
1631 | - | tra2.LightEmission = 1 |
1631 | + | Mesh=Thing[1].Mesh |
1632 | - | tra2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1632 | + | Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) |
1633 | - | tra2.Rate = 50 |
1633 | + | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
1634 | - | tra2.Lifetime = NumberRange.new(0.5) |
1634 | + | elseif Thing[2]=="Cylinder" then |
1635 | - | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)}) |
1635 | + | Mesh=Thing[1].Mesh |
1636 | - | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) |
1636 | + | Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) |
1637 | - | tra2.Speed = NumberRange.new(0) |
1637 | + | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
1638 | - | tra2.Rotation = NumberRange.new(-500,500) |
1638 | + | elseif Thing[2]=="Blood" then |
1639 | - | tra2.VelocitySpread = 90000 |
1639 | + | Mesh=Thing[7] |
1640 | - | tra2.LockedToPart = true |
1640 | + | Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0) |
1641 | - | tra2.RotSpeed = NumberRange.new(-500,500) |
1641 | + | Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) |
1642 | - | for i = 0,1,0.1 do |
1642 | + | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
1643 | - | swait() |
1643 | + | elseif Thing[2]=="Elec" then |
1644 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) |
1644 | + | Mesh=Thing[1].Mesh |
1645 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) |
1645 | + | Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9]) |
1646 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3) |
1646 | + | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
1647 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) |
1647 | + | elseif Thing[2]=="Disappear" then |
1648 | - | end |
1648 | + | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
1649 | - | tra.Rate = 0 |
1649 | + | |
1650 | - | tra2.Rate = 0 |
1650 | + | else |
1651 | - | local lb = Instance.new("Part") |
1651 | + | Part.Parent=nil |
1652 | - | lb.Parent = char |
1652 | + | table.remove(Effects2,e) |
1653 | - | lb.Material = "Neon" |
1653 | + | |
1654 | - | lb.Color = BrickColor.new("Bright blue").Color |
1654 | + | |
1655 | - | lb.CanCollide = false |
1655 | + | |
1656 | - | lb.Shape = "Ball" |
1656 | + | |
1657 | - | lb.CFrame = mouse.Hit |
1657 | + | |
1658 | - | lb.Anchored = true |
1658 | + | unanchor() |
1659 | - | lb.Transparency = 1 |
1659 | + | Humanoid.MaxHealth = "inf" |
1660 | - | lb.Size = vt(1,1,1) |
1660 | + | Humanoid.Health = "inf" |
1661 | - | local thing = Instance.new("SpecialMesh",lb) |
1661 | + | if Rooted == false then |
1662 | - | thing.MeshType = meshtype |
1662 | + | Disable_Jump = false |
1663 | - | for i = 0, 4 do |
1663 | + | Humanoid.WalkSpeed = Speed |
1664 | - | local lbr = Instance.new("Part") |
1664 | + | elseif Rooted == true then |
1665 | - | lbr.Parent = char |
1665 | + | Disable_Jump = true |
1666 | - | lbr.Material = "Neon" |
1666 | + | Humanoid.WalkSpeed = 0 |
1667 | - | lbr.Color = BrickColor.new("Bright blue").Color |
1667 | + | |
1668 | - | lbr.CanCollide = false |
1668 | + | if Head:FindFirstChild("face") then |
1669 | - | lbr.Shape = "Ball" |
1669 | + | Head.face:remove() |
1670 | - | lbr.CFrame = lb.CFrame |
1670 | + | |
1671 | - | lbr.Anchored = true |
1671 | + | |
1672 | - | lbr.Transparency = 1 |
1672 | + | |
1673 | - | lbr.Size = vt(1,1,1) |
1673 | + | --//=================================\\ |
1674 | - | local thinga = Instance.new("SpecialMesh",lbr) |
1674 | + | --\\=================================// |
1675 | - | thinga.MeshType = meshtype |
1675 | + | |
1676 | - | thinga.Scale = vt(20*4.5,20*4.5,20*4.5) |
1676 | + | |
1677 | - | for z = 0, 19 do |
1677 | + | |
1678 | - | wait(0.025) |
1678 | + | |
1679 | - | lbr.Transparency = lbr.Transparency - 0.05 |
1679 | + | |
1680 | - | thinga.Scale = thinga.Scale - vt(1*4.5,1*4.5,1*4.5) |
1680 | + | --//====================================================\\-- |
1681 | --|| END OF SCRIPT | |
1682 | - | lbr:Destroy() |
1682 | + | --\\====================================================//-- |