SHOW:
|
|
- or go back to the newest paste.
1 | - | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
1 | + | Character = game.Players.LocalPlayer.Character |
2 | - | local Player,game,owner = owner,game |
2 | + | |
3 | - | local RealPlayer = Player |
3 | + | t = 0,255,255 |
4 | - | do |
4 | + | y = 255,255,0 |
5 | - | print("FE Compatibility code by Mokiros") |
5 | + | s = 0.8 |
6 | - | local rp = RealPlayer |
6 | + | |
7 | - | script.Parent = rp.Character |
7 | + | local Num = 0.5 |
8 | - | |
8 | + | local Num2 = 4 -------------Mods:1,4,8,10,15,20------------------------------------- |
9 | - | --RemoteEvent for communicating |
9 | + | local Rate = 400 |
10 | - | local Event = Instance.new("RemoteEvent") |
10 | + | local Wing1 = Instance.new("Part",Character) |
11 | - | Event.Name = "UserInput_Event" |
11 | + | Wing1.FormFactor = Enum.FormFactor.Custom |
12 | Wing1.Size = Vector3.new(.2, .2, .2) | |
13 | - | --Fake event to make stuff like Mouse.KeyDown work |
13 | + | Wing1.Name = "WIng_1" |
14 | - | local function fakeEvent() |
14 | + | |
15 | - | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} |
15 | + | local fire = Instance.new("ParticleEmitter", Wing1) |
16 | - | t.connect = t.Connect |
16 | + | fire.VelocitySpread = 0 |
17 | - | return t |
17 | + | fire.Lifetime = NumberRange.new(2) |
18 | fire.Acceleration = Vector3.new(0, 2, 2) | |
19 | fire.RotSpeed = NumberRange.new(10) | |
20 | - | --Creating fake input objects with fake variables |
20 | + | fire.Rate = Rate |
21 | - | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} |
21 | + | fire.Rotation = NumberRange.new(151515) |
22 | - | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} |
22 | + | fire.Name = "Fire" |
23 | - | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) |
23 | + | fire.LightEmission = 1 |
24 | - | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil |
24 | + | fire.LockedToPart = true |
25 | - | end} |
25 | + | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" |
26 | - | --Merged 2 functions into one by checking amount of arguments |
26 | + | fire.Color = ColorSequence.new(Color3.new(255,255,0), Color3.new(255,255,0)) |
27 | - | CAS.UnbindAction = CAS.BindAction |
27 | + | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, s), NumberSequenceKeypoint.new(0.9, 5), NumberSequenceKeypoint.new(1, 0.1)}) |
28 | ||
29 | - | --This function will trigger the events that have been :Connect()'ed |
29 | + | local Wing2 = Wing1:Clone() |
30 | - | local function te(self,ev,...) |
30 | + | Wing2.Parent = Torso |
31 | - | local t = m[ev] |
31 | + | local x,y,z = 0,-1,-6 |
32 | - | if t and t._fakeEvent then |
32 | + | |
33 | - | for _,f in pairs(t.Functions) do |
33 | + | Wld = function(a,b,cf) |
34 | - | f(...) |
34 | + | local Weld = Instance.new('Weld',a) |
35 | Weld.Part0 = a | |
36 | Weld.Part1 = b | |
37 | Weld.C1 = cf | |
38 | - | m.TrigEvent = te |
38 | + | return Weld |
39 | - | UIS.TrigEvent = te |
39 | + | |
40 | ||
41 | - | Event.OnServerEvent:Connect(function(Player,io) |
41 | + | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90))) |
42 | - | if Player~=rp then return end |
42 | + | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90))) |
43 | - | m.Target = io.Target |
43 | + | |
44 | - | m.Hit = io.Hit |
44 | + | |
45 | - | if not io.isMouse then |
45 | + | game:service'RunService'.Stepped:connect(function() |
46 | - | local b = io.UserInputState == Enum.UserInputState.Begin |
46 | + | --z = 6+math.sin(tick()*2) |
47 | - | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
47 | + | y = -1+math.sin(tick()*Num)*Num2 |
48 | - | return m:TrigEvent(b and "Button1Down" or "Button1Up") |
48 | + | Wing1.Fire.Acceleration = Vector3.new(x,y,z) |
49 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
50 | - | for _,t in pairs(CAS.Actions) do |
50 | + | |
51 | - | for _,k in pairs(t.Keys) do |
51 | + | ------------------------------------------------------------------------------------------------ |
52 | - | if k==io.KeyCode then |
52 | + | Torso = Character:WaitForChild'Torso' |
53 | - | t.Function(t.Name,io.UserInputState,io) |
53 | + | |
54 | - | end |
54 | + | local Wing1 = Instance.new("Part",Character) |
55 | Wing1.FormFactor = Enum.FormFactor.Custom | |
56 | Wing1.Size = Vector3.new(.2, .2, .2) | |
57 | - | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) |
57 | + | Wing1.Name = "WIng_1" |
58 | - | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
58 | + | |
59 | local fire = Instance.new("ParticleEmitter", Wing1) | |
60 | - | end) |
60 | + | fire.VelocitySpread = 0 |
61 | - | Event.Parent = NLS([==[ |
61 | + | fire.Lifetime = NumberRange.new(2.5) |
62 | - | local Player = owner |
62 | + | fire.Acceleration = Vector3.new(0, 4, 4) |
63 | - | local Event = script:WaitForChild("UserInput_Event") |
63 | + | fire.RotSpeed = NumberRange.new(10) |
64 | fire.Rate = Rate | |
65 | - | local mouse = Player:GetMouse() |
65 | + | fire.Rotation = NumberRange.new(151515) |
66 | - | local UIS = game:GetService("UserInputService") |
66 | + | fire.Name = "Fire" |
67 | - | local input = function(io,a) |
67 | + | fire.LightEmission = 0.78 |
68 | - | if a then return end |
68 | + | fire.LockedToPart = true |
69 | - | --Since InputObject is a client-side instance, we create and pass table instead |
69 | + | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" |
70 | - | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=mouse.Hit,Target=mouse.Target}) |
70 | + | fire.Color = ColorSequence.new(Color3.new(255,255,0), Color3.new(255,255,0)) |
71 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, s), NumberSequenceKeypoint.new(0.9, 5), NumberSequenceKeypoint.new(1, 0.1)}) | |
72 | - | UIS.InputBegan:Connect(input) |
72 | + | local Wing2 = Wing1:Clone() |
73 | - | UIS.InputEnded:Connect(input) |
73 | + | Wing2.Parent = Torso |
74 | local x,y,z = 0,-1,-6 | |
75 | - | local h,t |
75 | + | |
76 | - | --Give the server mouse data 30 times every second, but only if the values changed |
76 | + | Wld = function(a,b,cf) |
77 | - | --If player is not moving their mouse, client won't fire events |
77 | + | local Weld = Instance.new('Weld',a) |
78 | - | while wait(1/30) do |
78 | + | Weld.Part0 = a |
79 | - | if h~=mouse.Hit or t~=mouse.Target then |
79 | + | Weld.Part1 = b |
80 | - | h,t=mouse.Hit,mouse.Target |
80 | + | Weld.C1 = cf |
81 | - | Event:FireServer({isMouse=true,Target=t,Hit=h}) |
81 | + | return Weld |
82 | end | |
83 | - | end]==],Player.Character) |
83 | + | |
84 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90))) | |
85 | - | ----Sandboxed game object that allows the usage of client-side methods and services |
85 | + | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90))) |
86 | - | --Real game object |
86 | + | |
87 | - | local _rg = game |
87 | + | print'Loaded' |
88 | ||
89 | - | --Metatable for fake service |
89 | + | game:service'RunService'.Stepped:connect(function() |
90 | - | local fsmt = { |
90 | + | --z = 6+math.sin(tick()*2) |
91 | - | __index = function(self,k) |
91 | + | y = -1+math.sin(tick()*Num)*Num2 |
92 | - | local s = rawget(self,"_RealService") |
92 | + | Wing1.Fire.Acceleration = Vector3.new(x,y,z) |
93 | - | if s then return s[k] end |
93 | + | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) |
94 | - | end, |
94 | + | |
95 | - | __newindex = function(self,k,v) |
95 | + | |
96 | - | local s = rawget(self,"_RealService") |
96 | + | ------------------------------------------------------------------------------------------------ |
97 | - | if s then s[k]=v end |
97 | + | Torso = Character:WaitForChild'Torso' |
98 | - | end, |
98 | + | |
99 | - | __call = function(self,...) |
99 | + | local Wing1 = Instance.new("Part",Character) |
100 | - | local s = rawget(self,"_RealService") |
100 | + | Wing1.FormFactor = Enum.FormFactor.Custom |
101 | - | if s then return s(...) end |
101 | + | Wing1.Size = Vector3.new(.2, .2, .2) |
102 | Wing1.Name = "WIng_1" | |
103 | - | } |
103 | + | |
104 | - | local function FakeService(t,RealService) |
104 | + | local fire = Instance.new("ParticleEmitter", Wing1) |
105 | - | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService |
105 | + | fire.VelocitySpread = 0 |
106 | - | return setmetatable(t,fsmt) |
106 | + | fire.Lifetime = NumberRange.new(2.8) |
107 | fire.Acceleration = Vector3.new(0, 4, 4) | |
108 | fire.RotSpeed = NumberRange.new(10) | |
109 | - | --Fake game object |
109 | + | fire.Rate = Rate |
110 | - | local g = { |
110 | + | fire.Rotation = NumberRange.new(151515) |
111 | - | GetService = function(self,s) |
111 | + | fire.Name = "Fire" |
112 | - | return self[s] |
112 | + | fire.LightEmission = 0.78 |
113 | - | end, |
113 | + | fire.LockedToPart = true |
114 | - | Players = FakeService({ |
114 | + | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" |
115 | - | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) |
115 | + | fire.Color = ColorSequence.new(Color3.new(0,255,255), Color3.new(0,255,255)) |
116 | - | },"Players"), |
116 | + | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, s), NumberSequenceKeypoint.new(0.9, 5), NumberSequenceKeypoint.new(1, 0.1)}) |
117 | - | UserInputService = FakeService(UIS,"UserInputService"), |
117 | + | local Wing2 = Wing1:Clone() |
118 | - | ContextActionService = FakeService(CAS,"ContextActionService"), |
118 | + | Wing2.Parent = Torso |
119 | - | } |
119 | + | local x,y,z = 0,-1,-6 |
120 | - | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) |
120 | + | |
121 | - | g.service = g.GetService |
121 | + | Wld = function(a,b,cf) |
122 | - | |
122 | + | local Weld = Instance.new('Weld',a) |
123 | - | g.RunService = FakeService({ |
123 | + | Weld.Part0 = a |
124 | - | RenderStepped = _rg:GetService("RunService").Heartbeat, |
124 | + | Weld.Part1 = b |
125 | - | BindToRenderStep = function(self,name,_,fun) |
125 | + | Weld.C1 = cf |
126 | return Weld | |
127 | - | end, |
127 | + | |
128 | - | UnbindFromRenderStep = function(self,name) |
128 | + | |
129 | - | self._btrs[name]:Disconnect() |
129 | + | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90))) |
130 | - | end, |
130 | + | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90))) |
131 | - | },"RunService") |
131 | + | |
132 | print'Loaded' | |
133 | - | setmetatable(g,{ |
133 | + | |
134 | - | __index=function(self,s) |
134 | + | game:service'RunService'.Stepped:connect(function() |
135 | - | return _rg:GetService(s) or typeof(_rg[s])=="function" |
135 | + | --z = 6+math.sin(tick()*2) |
136 | - | and function(_,...)return _rg[s](_rg,...)end or _rg[s] |
136 | + | y = -1+math.sin(tick()*Num)*Num2 |
137 | - | end, |
137 | + | Wing1.Fire.Acceleration = Vector3.new(x,y,z) |
138 | - | __newindex = fsmt.__newindex, |
138 | + | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) |
139 | - | __call = fsmt.__call |
139 | + | |
140 | - | }) |
140 | + | |
141 | - | --Changing owner to fake player object to support owner:GetMouse() |
141 | + | ------------------------------------------------------------------------------------------------ |
142 | - | game,owner = g,g.Players.LocalPlayer |
142 | + | Torso = Character:WaitForChild'Torso' |
143 | ||
144 | - | Character = owner.Character |
144 | + | local Wing1 = Instance.new("Part",Character) |
145 | Wing1.FormFactor = Enum.FormFactor.Custom | |
146 | Wing1.Size = Vector3.new(.2, .2, .2) | |
147 | - | CV="Dark green" |
147 | + | Wing1.Name = "WIng_1" |
148 | - | p = owner |
148 | + | |
149 | local fire = Instance.new("ParticleEmitter", Wing1) | |
150 | fire.VelocitySpread = 0 | |
151 | fire.Lifetime = NumberRange.new(3) | |
152 | fire.Acceleration = Vector3.new(0, 4, 4) | |
153 | fire.RotSpeed = NumberRange.new(10) | |
154 | fire.Rate = Rate | |
155 | fire.Rotation = NumberRange.new(151515) | |
156 | fire.Name = "Fire" | |
157 | fire.LightEmission = 0.78 | |
158 | fire.LockedToPart = true | |
159 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
160 | fire.Color = ColorSequence.new(Color3.new(0,255,255), Color3.new(0,255,255)) | |
161 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, s), NumberSequenceKeypoint.new(0.9,5), NumberSequenceKeypoint.new(1, 0.1)}) | |
162 | local Wing2 = Wing1:Clone() | |
163 | Wing2.Parent = Torso | |
164 | local x,y,z = 0,-1,-6 | |
165 | ||
166 | Wld = function(a,b,cf) | |
167 | local Weld = Instance.new('Weld',a) | |
168 | Weld.Part0 = a | |
169 | Weld.Part1 = b | |
170 | Weld.C1 = cf | |
171 | return Weld | |
172 | end | |
173 | ||
174 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90))) | |
175 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(50),-math.rad(90))) | |
176 | ||
177 | print'Loaded' | |
178 | ||
179 | - | text.TextColor3 = Color3.new(55,0,255) |
179 | + | game:service'RunService'.Stepped:connect(function() |
180 | --z = 6+math.sin(tick()*2) | |
181 | y = -1+math.sin(tick()*Num)*Num2 | |
182 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
183 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
184 | end) | |
185 | - | s.SoundId = "rbxassetid://792238435" |
185 | + | |
186 | ------------------------------------------------------------------------------------------------ | |
187 | Torso = Character:WaitForChild'Torso' | |
188 | ||
189 | local Wing1 = Instance.new("Part",Character) | |
190 | Wing1.FormFactor = Enum.FormFactor.Custom | |
191 | Wing1.Size = Vector3.new(.2, .2, .2) | |
192 | Wing1.Name = "WIng_1" | |
193 | ||
194 | - | Instance.new("ForceField", owner.Character) |
194 | + | local fire = Instance.new("ParticleEmitter", Wing1) |
195 | fire.VelocitySpread = 0 | |
196 | fire.Lifetime = NumberRange.new(3.1) | |
197 | - | p = owner |
197 | + | fire.Acceleration = Vector3.new(0, 4, 4) |
198 | fire.RotSpeed = NumberRange.new(10) | |
199 | fire.Rate = Rate | |
200 | fire.Rotation = NumberRange.new(151515) | |
201 | fire.Name = "Fire" | |
202 | - | Player=owner |
202 | + | fire.LightEmission = 0.78 |
203 | fire.LockedToPart = true | |
204 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
205 | fire.Color = ColorSequence.new(Color3.new(0,255,255), Color3.new(0,255,255)) | |
206 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, s), NumberSequenceKeypoint.new(0.9, 5), NumberSequenceKeypoint.new(1, 0.1)}) | |
207 | local Wing2 = Wing1:Clone() | |
208 | Wing2.Parent = Torso | |
209 | local x,y,z = 0,-1,-6 | |
210 | ||
211 | Wld = function(a,b,cf) | |
212 | local Weld = Instance.new('Weld',a) | |
213 | Weld.Part0 = a | |
214 | Weld.Part1 = b | |
215 | Weld.C1 = cf | |
216 | return Weld | |
217 | end | |
218 | ||
219 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90))) | |
220 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(60),-math.rad(90))) | |
221 | ||
222 | print'Loaded' | |
223 | ||
224 | game:service'RunService'.Stepped:connect(function() | |
225 | --z = 6+math.sin(tick()*2) | |
226 | y = -1+math.sin(tick()*Num)*Num2 | |
227 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
228 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
229 | end) | |
230 | ||
231 | CV="Toothpaste" | |
232 | p = game.Players.LocalPlayer | |
233 | char = p.Character | |
234 | local txt = Instance.new("BillboardGui", char) | |
235 | txt.Adornee = char .Head | |
236 | txt.Name = "_status" | |
237 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
238 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
239 | local text = Instance.new("TextLabel", txt) | |
240 | text.Size = UDim2.new(10, 0, 7, 0) | |
241 | text.FontSize = "Size24" | |
242 | text.TextScaled = true | |
243 | text.TextTransparency = 0 | |
244 | text.BackgroundTransparency = 1 | |
245 | text.TextTransparency = 0 | |
246 | text.TextStrokeTransparency = 0 | |
247 | text.Font = "Cartoon" | |
248 | text.TextStrokeColor3 = Color3.new(0,255,255) | |
249 | ||
250 | v=Instance.new("Part") | |
251 | v.Name = "ColorBrick" | |
252 | v.Parent=p.Character | |
253 | v.FormFactor="Symmetric" | |
254 | v.Anchored=true | |
255 | v.CanCollide=false | |
256 | v.BottomSurface="Smooth" | |
257 | v.TopSurface="Smooth" | |
258 | v.Size=Vector3.new(10,5,3) | |
259 | v.Transparency=1 | |
260 | v.CFrame=char.Torso.CFrame | |
261 | v.BrickColor=BrickColor.new(CV) | |
262 | v.Transparency=1 | |
263 | text.TextColor3 = Color3.new(255,255,255) | |
264 | v.Shape="Block" | |
265 | text.Text = "Light Phoenix" | |
266 | ||
267 | local s = Instance.new("Sound",char) | |
268 | s.Name = "BGMusic" | |
269 | s.SoundId = "rbxassetid://165232232" | |
270 | s.Pitch = 1 | |
271 | s.Volume = 10 | |
272 | s.Looped = true | |
273 | s.archivable = false | |
274 | s.Parent = char.Head | |
275 | wait(0.1) | |
276 | s:play() | |
277 | ||
278 | Instance.new("ForceField", game.Players.LocalPlayer.Character) | |
279 | print("Holy Light will shine above all.") | |
280 | print("Unleash the Holy fire to anyone to destroy.") | |
281 | p = game.Players.LocalPlayer | |
282 | char = p.Character | |
283 | torso = char.Torso | |
284 | neck = char.Torso.Neck | |
285 | ||
286 | Player=game:GetService("Players").LocalPlayer | |
287 | Character=Player.Character | |
288 | PlayerGui=Player.PlayerGui | |
289 | Backpack=Player.Backpack | |
290 | Torso=Character.Torso | |
291 | Head=Character.Head | |
292 | Humanoid=Character.Humanoid | |
293 | LeftArm=Character["Left Arm"] | |
294 | LeftLeg=Character["Left Leg"] | |
295 | RightArm=Character["Right Arm"] | |
296 | RightLeg=Character["Right Leg"] | |
297 | cam=game.Workspace.CurrentCamera | |
298 | LS=Torso["Left Shoulder"] | |
299 | LH=Torso["Left Hip"] | |
300 | RS=Torso["Right Shoulder"] | |
301 | RH=Torso["Right Hip"] | |
302 | Face = Head.face | |
303 | Neck=Torso.Neck | |
304 | it=Instance.new | |
305 | attacktype=1 | |
306 | vt=Vector3.new | |
307 | - | local Player = owner |
307 | + | |
308 | euler=CFrame.fromEulerAnglesXYZ | |
309 | angles=CFrame.Angles | |
310 | cloaked=false | |
311 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
312 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
313 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
314 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
315 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
316 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
317 | RootPart=Character.HumanoidRootPart | |
318 | RootJoint=RootPart.RootJoint | |
319 | RootCF=euler(-1.57,0,3.14) | |
320 | attack = false | |
321 | bounce=false | |
322 | cooldown=false | |
323 | deeznuts=false | |
324 | attackdebounce = false | |
325 | deb=false | |
326 | equipped=true | |
327 | hand=false | |
328 | MMouse=nil | |
329 | combo=0 | |
330 | mana=0 | |
331 | trispeed=.2 | |
332 | attackmode='none' | |
333 | local idle=0 | |
334 | local Anim="Idle" | |
335 | local Effects={} | |
336 | local gun=false | |
337 | local shoot=false | |
338 | player=nil | |
339 | mana=0 | |
340 | cam = workspace.CurrentCamera | |
341 | ZTarget = nil | |
342 | RocketTarget = nil | |
343 | local m = Instance.new("Model",Character) | |
344 | m.Name = "WeaponModel" | |
345 | ||
346 | mouse=Player:GetMouse() | |
347 | --save shoulders | |
348 | RSH, LSH=nil, nil | |
349 | --welds | |
350 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
351 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
352 | LH=Torso["Left Hip"] | |
353 | RH=Torso["Right Hip"] | |
354 | TorsoColor=Torso.BrickColor | |
355 | function NoOutline(Part) | |
356 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
357 | end | |
358 | player=Player | |
359 | ch=Character | |
360 | RSH=ch.Torso["Right Shoulder"] | |
361 | LSH=ch.Torso["Left Shoulder"] | |
362 | -- | |
363 | RSH.Parent=nil | |
364 | LSH.Parent=nil | |
365 | -- | |
366 | RW.Name="Right Shoulder" | |
367 | RW.Part0=ch.Torso | |
368 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
369 | RW.C1=cf(0, 0.5, 0) | |
370 | RW.Part1=ch["Right Arm"] | |
371 | RW.Parent=ch.Torso | |
372 | -- | |
373 | LW.Name="Left Shoulder" | |
374 | LW.Part0=ch.Torso | |
375 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
376 | LW.C1=cf(0, 0.5, 0) | |
377 | LW.Part1=ch["Left Arm"] | |
378 | LW.Parent=ch.Torso | |
379 | ||
380 | function swait(num) | |
381 | if num==0 or num==nil then | |
382 | game:service'RunService'.Heartbeat:wait(0) | |
383 | else | |
384 | for i=0,num do | |
385 | game:service'RunService'.Heartbeat:wait(0) | |
386 | end | |
387 | end | |
388 | end | |
389 | ||
390 | ||
391 | local Player = game.Players.localPlayer | |
392 | local Character = Player.Character | |
393 | local red = 255 | |
394 | local green = 255 | |
395 | local blue = 255 | |
396 | local Humanoid = Character.Humanoid | |
397 | local mouse = Player:GetMouse() | |
398 | local m = Instance.new("Model", Character) | |
399 | m.Name = "WeaponModel" | |
400 | local LeftArm = Character["Left Arm"] | |
401 | local RightArm = Character["Right Arm"] | |
402 | local LeftLeg = Character["Left Leg"] | |
403 | local RightLeg = Character["Right Leg"] | |
404 | local Head = Character.Head | |
405 | local Torso = Character.Torso | |
406 | local cam = game.Workspace.CurrentCamera | |
407 | local RootPart = Character.HumanoidRootPart | |
408 | local RootJoint = RootPart.RootJoint | |
409 | local equipped = false | |
410 | local attack = false | |
411 | local Anim = "Idle" | |
412 | local idle = 0 | |
413 | local attacktype = 1 | |
414 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
415 | local velocity = RootPart.Velocity.y | |
416 | local sine = 0 | |
417 | local change = 1 | |
418 | local grabbed = false | |
419 | local cn = CFrame.new | |
420 | local mr = math.rad | |
421 | local angles = CFrame.Angles | |
422 | local ud = UDim2.new | |
423 | local c3 = Color3.new | |
424 | local lim = 0 | |
425 | local st = 0 | |
426 | - | local v = owner |
426 | + | |
427 | local attacktype = 1 | |
428 | local ZTarget, RocketTarget = nil, nil | |
429 | - | plr = owner |
429 | + | |
430 | - | char = owner.Character |
430 | + | |
431 | - | hum = owner.Character.Humanoid |
431 | + | |
432 | - | t = owner.Character.Torso |
432 | + | |
433 | - | h = owner.Character.Head |
433 | + | |
434 | - | ra = owner.Character["Right Arm"] |
434 | + | |
435 | - | la = owner.Character["Left Arm"] |
435 | + | |
436 | - | rl = owner.Character["Right Leg"] |
436 | + | |
437 | - | ll = owner.Character["Left Leg"] |
437 | + | |
438 | ||
439 | function QuaternionFromCFrame(cf) | |
440 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
441 | local trace = m00 + m11 + m22 | |
442 | if trace > 0 then | |
443 | local s = math.sqrt(1 + trace) | |
444 | local recip = 0.5/s | |
445 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
446 | else | |
447 | local i = 0 | |
448 | if m11 > m00 then | |
449 | i = 1 | |
450 | end | |
451 | if m22 > (i == 0 and m00 or m11) then | |
452 | i = 2 | |
453 | end | |
454 | if i == 0 then | |
455 | local s = math.sqrt(m00-m11-m22+1) | |
456 | local recip = 0.5/s | |
457 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
458 | - | local colororg = BrickColor.new("Dark green") -- set color u like |
458 | + | |
459 | local s = math.sqrt(m11-m22-m00+1) | |
460 | local recip = 0.5/s | |
461 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
462 | elseif i == 2 then | |
463 | local s = math.sqrt(m22-m00-m11+1) | |
464 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
465 | end | |
466 | end | |
467 | end | |
468 | ||
469 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
470 | local xs, ys, zs = x + x, y + y, z + z | |
471 | local wx, wy, wz = w*xs, w*ys, w*zs | |
472 | local xx = x*xs | |
473 | local xy = x*ys | |
474 | local xz = x*zs | |
475 | local yy = y*ys | |
476 | local yz = y*zs | |
477 | local zz = z*zs | |
478 | 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)) | |
479 | end | |
480 | ||
481 | function QuaternionSlerp(a, b, t) | |
482 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
483 | local startInterp, finishInterp; | |
484 | if cosTheta >= 0.0001 then | |
485 | if (1 - cosTheta) > 0.0001 then | |
486 | local theta = math.acos(cosTheta) | |
487 | local invSinTheta = 1/math.sin(theta) | |
488 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
489 | finishInterp = math.sin(t*theta)*invSinTheta | |
490 | else | |
491 | startInterp = 1-t | |
492 | finishInterp = t | |
493 | end | |
494 | else | |
495 | if (1+cosTheta) > 0.0001 then | |
496 | local theta = math.acos(-cosTheta) | |
497 | local invSinTheta = 1/math.sin(theta) | |
498 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
499 | finishInterp = math.sin(t*theta)*invSinTheta | |
500 | else | |
501 | startInterp = t-1 | |
502 | finishInterp = t | |
503 | end | |
504 | end | |
505 | 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 | |
506 | end | |
507 | rayCast = function(Position, Direction, Range, Ignore) | |
508 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
509 | end | |
510 | local v = game.Players.localPlayer | |
511 | local torso = v.Character.Torso | |
512 | ||
513 | plr = game.Players.LocalPlayer | |
514 | char = game.Players.LocalPlayer.Character | |
515 | hum = game.Players.LocalPlayer.Character.Humanoid | |
516 | t = game.Players.LocalPlayer.Character.Torso | |
517 | h = game.Players.LocalPlayer.Character.Head | |
518 | ra = game.Players.LocalPlayer.Character["Right Arm"] | |
519 | la = game.Players.LocalPlayer.Character["Left Arm"] | |
520 | rl = game.Players.LocalPlayer.Character["Right Leg"] | |
521 | ll = game.Players.LocalPlayer.Character["Left Leg"] | |
522 | tors = Character.Torso | |
523 | lleg = Character["Left Leg"] | |
524 | root = Character.HumanoidRootPart | |
525 | hed = Character.Head | |
526 | rleg = Character["Right Leg"] | |
527 | rarm = Character["Right Arm"] | |
528 | larm = Character["Left Arm"] | |
529 | bsize1 = NumberSequenceKeypoint.new(3,3,3) | |
530 | bsize2 = NumberSequenceKeypoint.new(10,10,10) | |
531 | local Effects = {} | |
532 | attack = false | |
533 | local attacking = false | |
534 | vt = Vector3.new | |
535 | bc = BrickColor.new | |
536 | br = BrickColor.random | |
537 | it = Instance.new | |
538 | cf = CFrame.new | |
539 | euler = CFrame.fromEulerAnglesXYZ | |
540 | angles = CFrame.Angles | |
541 | matr = math.random | |
542 | local colororg = BrickColor.new("Toothpaste") -- set color u like | |
543 | local meshtype = "Sphere" -- only for specialmesh | |
544 | mouse = plr:GetMouse() | |
545 | ||
546 | CFuncs = { | |
547 | ["Part"] = { | |
548 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
549 | local Part = Create("Part"){ | |
550 | Parent = Parent, | |
551 | Reflectance = Reflectance, | |
552 | Transparency = Transparency, | |
553 | CanCollide = false, | |
554 | Locked = true, | |
555 | BrickColor = BrickColor.new(tostring(BColor)), | |
556 | Name = Name, | |
557 | Size = Size, | |
558 | Material = Material, | |
559 | } | |
560 | RemoveOutlines(Part) | |
561 | return Part | |
562 | end; | |
563 | }; | |
564 | ||
565 | ["Mesh"] = { | |
566 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
567 | local Msh = Create(Mesh){ | |
568 | Parent = Part, | |
569 | Offset = OffSet, | |
570 | Scale = Scale, | |
571 | } | |
572 | if Mesh == "SpecialMesh" then | |
573 | Msh.MeshType = MeshType | |
574 | Msh.MeshId = MeshId | |
575 | end | |
576 | return Msh | |
577 | end; | |
578 | }; | |
579 | ||
580 | ["Mesh"] = { | |
581 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
582 | local Msh = Create(Mesh){ | |
583 | Parent = Part, | |
584 | Offset = OffSet, | |
585 | Scale = Scale, | |
586 | } | |
587 | if Mesh == "SpecialMesh" then | |
588 | Msh.MeshType = MeshType | |
589 | Msh.MeshId = MeshId | |
590 | end | |
591 | return Msh | |
592 | end; | |
593 | }; | |
594 | ||
595 | ["Weld"] = { | |
596 | Create = function(Parent, Part0, Part1, C0, C1) | |
597 | local Weld = Create("Weld"){ | |
598 | Parent = Parent, | |
599 | Part0 = Part0, | |
600 | Part1 = Part1, | |
601 | - | tecks2.TextColor3 = Color3.new(55,0,255) |
601 | + | |
602 | C1 = C1, | |
603 | } | |
604 | return Weld | |
605 | end; | |
606 | }; | |
607 | ||
608 | ["Sound"] = { | |
609 | Create = function(id, par, vol, pit) | |
610 | coroutine.resume(coroutine.create(function() | |
611 | - | tecks3.TextColor3 = Color3.new(55,0,255) |
611 | + | |
612 | - | tecks3.TextStrokeColor3 = Color3.new(0,255,255) |
612 | + | |
613 | Pitch = pit or 1, | |
614 | SoundId = id, | |
615 | Parent = par or workspace, | |
616 | } | |
617 | wait() | |
618 | S:play() | |
619 | game:GetService("Debris"):AddItem(S, 6) | |
620 | end)) | |
621 | end; | |
622 | }; | |
623 | ||
624 | ["ParticleEmitter"] = { | |
625 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
626 | local fp = Create("ParticleEmitter"){ | |
627 | Parent = Parent, | |
628 | Color = ColorSequence.new(Color1, Color2), | |
629 | LightEmission = LightEmission, | |
630 | Size = Size, | |
631 | Texture = Texture, | |
632 | Transparency = Transparency, | |
633 | ZOffset = ZOffset, | |
634 | Acceleration = Accel, | |
635 | Drag = Drag, | |
636 | LockedToPart = LockedToPart, | |
637 | VelocityInheritance = VelocityInheritance, | |
638 | EmissionDirection = EmissionDirection, | |
639 | Enabled = Enabled, | |
640 | Lifetime = LifeTime, | |
641 | Rate = Rate, | |
642 | Rotation = Rotation, | |
643 | RotSpeed = RotSpeed, | |
644 | Speed = Speed, | |
645 | VelocitySpread = VelocitySpread, | |
646 | } | |
647 | return fp | |
648 | end; | |
649 | }; | |
650 | ||
651 | CreateTemplate = { | |
652 | ||
653 | }; | |
654 | } | |
655 | ||
656 | ||
657 | ||
658 | New = function(Object, Parent, Name, Data) | |
659 | local Object = Instance.new(Object) | |
660 | for Index, Value in pairs(Data or {}) do | |
661 | Object[Index] = Value | |
662 | end | |
663 | Object.Parent = Parent | |
664 | Object.Name = Name | |
665 | return Object | |
666 | end | |
667 | ||
668 | function chatfunc(text) | |
669 | local chat = coroutine.wrap(function() | |
670 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
671 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
672 | end | |
673 | local naeeym2 = Instance.new("BillboardGui",Character) | |
674 | naeeym2.Size = UDim2.new(0,100,0,40) | |
675 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
676 | naeeym2.Adornee = Character.Head | |
677 | naeeym2.Name = "TalkingBillBoard" | |
678 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
679 | tecks2.BackgroundTransparency = 1 | |
680 | tecks2.BorderSizePixel = 0 | |
681 | tecks2.Text = "" | |
682 | tecks2.Font = "SciFi" | |
683 | tecks2.TextSize = 30 | |
684 | tecks2.TextStrokeTransparency = 0 | |
685 | tecks2.TextColor3 = Color3.new(0,255,255) | |
686 | tecks2.TextStrokeColor3 = Color3.new(0,255,255) | |
687 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
688 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
689 | tecks3.BackgroundTransparency = 1 | |
690 | tecks3.BorderSizePixel = 0 | |
691 | tecks3.Text = "" | |
692 | tecks3.Font = "SciFi" | |
693 | tecks3.TextSize = 30 | |
694 | tecks3.TextStrokeTransparency = 0 | |
695 | tecks3.TextColor3 = Color3.new(255,255,255) | |
696 | tecks3.TextStrokeColor3 = Color3.new(255,255,0) | |
697 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
698 | for i = 1,string.len(text),1 do | |
699 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8) | |
700 | tecks2.Text = string.sub(text,1,i) | |
701 | tecks3.Text = string.sub(text,1,i) | |
702 | wait(0.01) | |
703 | end | |
704 | wait(2) | |
705 | for i = 1, 50 do | |
706 | swait() | |
707 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
708 | tecks2.Rotation = tecks2.Rotation - .8 | |
709 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
710 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
711 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
712 | tecks3.Rotation = tecks2.Rotation + .8 | |
713 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
714 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
715 | end | |
716 | naeeym2:Destroy() | |
717 | end) | |
718 | chat() | |
719 | end | |
720 | function onChatted(msg) | |
721 | chatfunc(msg) | |
722 | end | |
723 | Player.Chatted:connect(onChatted) | |
724 | ||
725 | ||
726 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
727 | if hit.Parent==nil then | |
728 | return | |
729 | end | |
730 | h=hit.Parent:FindFirstChild("Humanoid") | |
731 | for _,v in pairs(hit.Parent:children()) do | |
732 | if v:IsA("Humanoid") then | |
733 | h=v | |
734 | end | |
735 | end | |
736 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
737 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
738 | end | |
739 | if hit.Parent.className=="Hat" then | |
740 | hit=hit.Parent.Parent:findFirstChild("Head") | |
741 | end | |
742 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
743 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
744 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
745 | return | |
746 | end]] | |
747 | -- hs(hit,1.2) | |
748 | c=Instance.new("ObjectValue") | |
749 | c.Name="creator" | |
750 | c.Value=game:service("Players").LocalPlayer | |
751 | c.Parent=h | |
752 | game:GetService("Debris"):AddItem(c,.5) | |
753 | Damage=math.random(minim,maxim) | |
754 | -- h:TakeDamage(Damage) | |
755 | blocked=false | |
756 | block=hit.Parent:findFirstChild("Block") | |
757 | if block~=nil then | |
758 | print(block.className) | |
759 | if block.className=="NumberValue" then | |
760 | if block.Value>0 then | |
761 | blocked=true | |
762 | if decreaseblock==nil then | |
763 | block.Value=block.Value-1 | |
764 | end | |
765 | end | |
766 | end | |
767 | if block.className=="IntValue" then | |
768 | if block.Value>0 then | |
769 | blocked=true | |
770 | if decreaseblock~=nil then | |
771 | block.Value=block.Value-1 | |
772 | end | |
773 | end | |
774 | end | |
775 | end | |
776 | if blocked==false then | |
777 | -- h:TakeDamage(Damage) | |
778 | h.Health=h.Health-Damage | |
779 | showDamage(hit.Parent,Damage,3,TorsoColor) | |
780 | else | |
781 | h.Health=h.Health-(Damage/2) | |
782 | showDamage(hit.Parent,Damage/2,3,BrickColor.new("Bright blue")) | |
783 | end | |
784 | if Type=="Knockdown" then | |
785 | hum=hit.Parent.Humanoid | |
786 | hum.PlatformStand=true | |
787 | coroutine.resume(coroutine.create(function(HHumanoid) | |
788 | swait(1) | |
789 | HHumanoid.PlatformStand=false | |
790 | end),hum) | |
791 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
792 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
793 | local bodvol=Instance.new("BodyVelocity") | |
794 | bodvol.velocity=angle*knockback | |
795 | bodvol.P=5000 | |
796 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
797 | bodvol.Parent=hit | |
798 | rl=Instance.new("BodyAngularVelocity") | |
799 | rl.P=3000 | |
800 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
801 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
802 | rl.Parent=hit | |
803 | game:GetService("Debris"):AddItem(bodvol,.5) | |
804 | game:GetService("Debris"):AddItem(rl,.5) | |
805 | elseif Type=="Normal" then | |
806 | vp=Instance.new("BodyVelocity") | |
807 | vp.P=500 | |
808 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
809 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
810 | if KnockbackType==1 then | |
811 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
812 | elseif KnockbackType==2 then | |
813 | vp.velocity=Property.CFrame.lookVector*knockback | |
814 | end | |
815 | if knockback>0 then | |
816 | vp.Parent=hit.Parent.Torso | |
817 | end | |
818 | game:GetService("Debris"):AddItem(vp,.5) | |
819 | elseif Type=="Up" then | |
820 | local bodyVelocity=Instance.new("BodyVelocity") | |
821 | bodyVelocity.velocity=vt(0,10,0) | |
822 | bodyVelocity.P=1000 | |
823 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
824 | bodyVelocity.Parent=hit | |
825 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
826 | rl=Instance.new("BodyAngularVelocity") | |
827 | rl.P=3000 | |
828 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
829 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
830 | rl.Parent=hit | |
831 | game:GetService("Debris"):AddItem(rl,.5) | |
832 | elseif Type=="Snare" then | |
833 | bp=Instance.new("BodyPosition") | |
834 | bp.P=2000 | |
835 | bp.D=100 | |
836 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
837 | bp.position=hit.Parent.Torso.Position | |
838 | bp.Parent=hit.Parent.Torso | |
839 | game:GetService("Debris"):AddItem(bp,1) | |
840 | elseif Type=="Target" then | |
841 | if Targetting==false then | |
842 | ZTarget=hit.Parent.Torso | |
843 | coroutine.resume(coroutine.create(function(Part) | |
844 | swait(5) | |
845 | - | text.TextStrokeColor3 = BrickColor.new("Dark green").Color |
845 | + | |
846 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
847 | targetgui=Instance.new("BillboardGui") | |
848 | targetgui.Parent=ZTarget | |
849 | targetgui.Size=UDim2.new(10,100,10,100) | |
850 | targ=Instance.new("ImageLabel") | |
851 | targ.Parent=targetgui | |
852 | targ.BackgroundTransparency=1 | |
853 | targ.Image="rbxassetid://4834067" | |
854 | targ.Size=UDim2.new(1,0,1,0) | |
855 | cam.CameraType="Scriptable" | |
856 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
857 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
858 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
859 | Targetting=true | |
860 | RocketTarget=ZTarget | |
861 | for i=1,Property do | |
862 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
863 | - | text.TextColor3 = BrickColor.new("Royal purple").Color |
863 | + | |
864 | swait() | |
865 | - | text.TextColor3 = BrickColor.new("Dark green").Color |
865 | + | |
866 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
867 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
868 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
869 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
870 | end | |
871 | Targetting=false | |
872 | RocketTarget=nil | |
873 | targetgui.Parent=nil | |
874 | cam.CameraType="Custom" | |
875 | end | |
876 | end | |
877 | debounce=Instance.new("BoolValue") | |
878 | debounce.Name="DebounceHit" | |
879 | debounce.Parent=hit.Parent | |
880 | debounce.Value=true | |
881 | game:GetService("Debris"):AddItem(debounce,Delay) | |
882 | c=Instance.new("ObjectValue") | |
883 | c.Name="creator" | |
884 | c.Value=Player | |
885 | c.Parent=h | |
886 | game:GetService("Debris"):AddItem(c,.5) | |
887 | CRIT=false | |
888 | hitDeb=true | |
889 | AttackPos=6 | |
890 | end | |
891 | end | |
892 | ||
893 | showDamage=function(Char,Dealt,du,Color) | |
894 | m=Instance.new("Model") | |
895 | m.Name="" | |
896 | h=Instance.new("Humanoid") | |
897 | h.Health=0 | |
898 | h.MaxHealth=0 | |
899 | h.Parent=m | |
900 | c=Instance.new("Part") | |
901 | c.Transparency=0 | |
902 | c.Material = "Neon" | |
903 | c.BrickColor=bc("White") | |
904 | c.Name="Head" | |
905 | c.TopSurface=0 | |
906 | c.BottomSurface=0 | |
907 | CV="Hot pink" | |
908 | ||
909 | local txt = Instance.new("BillboardGui", c) | |
910 | txt.Adornee = c | |
911 | txt.Name = "_status" | |
912 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
913 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
914 | local text = Instance.new("TextLabel", txt) | |
915 | text.Size = UDim2.new(10, 0, 7, 0) | |
916 | text.FontSize = "Size24" | |
917 | text.TextScaled = true | |
918 | text.TextTransparency = 0 | |
919 | text.BackgroundTransparency = 1 | |
920 | text.TextTransparency = 0 | |
921 | text.TextStrokeTransparency = 0 | |
922 | if Dealt < 12 then | |
923 | text.Font = "Highway" | |
924 | elseif Dealt < 20 then | |
925 | text.Font = "SourceSansBold" | |
926 | elseif Dealt >= 20 then | |
927 | text.Font = "Fantasy" | |
928 | end | |
929 | text.TextStrokeColor3 = BrickColor.new("Toothpaste").Color | |
930 | local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} | |
931 | v=Instance.new("Part") | |
932 | v.Name = "ColorBrick" | |
933 | v.Parent=c | |
934 | v.FormFactor="Symmetric" | |
935 | v.Anchored=true | |
936 | v.CanCollide=false | |
937 | v.BottomSurface="Smooth" | |
938 | v.TopSurface="Smooth" | |
939 | v.Size=Vector3.new(10,5,3) | |
940 | - | local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Dark green").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0)) |
940 | + | |
941 | v.CFrame=c.CFrame | |
942 | v.BrickColor=BrickColor.new(CV) | |
943 | v.Transparency=1 | |
944 | if Dealt < 12 then | |
945 | text.TextColor3 = BrickColor.new("White").Color | |
946 | elseif Dealt < 20 then | |
947 | text.TextColor3 = BrickColor.new("Bright yellow").Color | |
948 | - | local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Dark green").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0)) |
948 | + | |
949 | text.TextColor3 = BrickColor.new("Toothpaste").Color | |
950 | end | |
951 | v.Shape="Block" | |
952 | text.Text = tostring(Dealt).. "!" | |
953 | local dam = Instance.new("Sound",c) | |
954 | local rndm=math.random(1,#hitsounds) | |
955 | local r=rndm | |
956 | - | local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Dark green").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0)) |
956 | + | |
957 | dam.Volume = 1.25 | |
958 | dam.Pitch = 1 | |
959 | dam:Play() | |
960 | c.formFactor="Plate" | |
961 | c.Transparency = 1 | |
962 | c.Size=Vector3.new(1,.4,1) | |
963 | ms=Instance.new("CylinderMesh") | |
964 | - | local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Dark green").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0)) |
964 | + | |
965 | if CRIT==true then | |
966 | ms.Scale=Vector3.new(1,1.25,1) | |
967 | end | |
968 | ms.Parent=c | |
969 | c.Reflectance=0 | |
970 | Instance.new("BodyGyro").Parent=c | |
971 | c.Parent=m | |
972 | - | local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Dark green").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0)) |
972 | + | |
973 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
974 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
975 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
976 | end | |
977 | f=Instance.new("BodyPosition") | |
978 | f.P=2000 | |
979 | f.D=100 | |
980 | - | local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Dark green").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0)) |
980 | + | |
981 | f.position=c.Position+Vector3.new(0,3,0) | |
982 | f.Parent=c | |
983 | game:GetService("Debris"):AddItem(m,.5+du) | |
984 | c.CanCollide=false | |
985 | m.Parent=workspace | |
986 | c.CanCollide=false | |
987 | wait(1) | |
988 | for l = 0, 9 do | |
989 | text.TextTransparency = text.TextTransparency + 0.1 | |
990 | text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1 | |
991 | wait() | |
992 | end | |
993 | end | |
994 | ||
995 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
996 | local gui = it(GuiType) | |
997 | gui.Parent = parent | |
998 | gui.Text = text | |
999 | gui.BackgroundTransparency = backtrans | |
1000 | gui.BackgroundColor3 = backcol | |
1001 | gui.SizeConstraint = "RelativeXY" | |
1002 | gui.TextXAlignment = "Center" | |
1003 | gui.TextYAlignment = "Center" | |
1004 | gui.Position = pos | |
1005 | gui.Size = size | |
1006 | gui.Font = "SourceSans" | |
1007 | gui.FontSize = "Size14" | |
1008 | gui.TextWrapped = false | |
1009 | gui.TextStrokeTransparency = 0 | |
1010 | gui.TextColor = BrickColor.new("White") | |
1011 | return gui | |
1012 | end | |
1013 | ---- GUI set | |
1014 | local basgui = it("GuiMain") | |
1015 | basgui.Parent = Player.PlayerGui | |
1016 | basgui.Name = "CooldownsGUI" | |
1017 | local basframe = it("Frame") | |
1018 | basframe.Parent = basgui | |
1019 | basframe.BackgroundColor3 = Color3.new(255, 255, 255) | |
1020 | basframe.BackgroundTransparency = 1 | |
1021 | basframe.BorderColor3 = Color3.new(17, 17, 17) | |
1022 | basframe.Size = UDim2.new(0.2, 0, 0.2, 0) | |
1023 | basframe.Position = UDim2.new(0.8, 0, 0.8, 0) | |
1024 | local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Toothpaste").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0)) | |
1025 | - | dd.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1025 | + | |
1026 | basicgui.Font = "Highway" | |
1027 | basicgui.BackgroundTransparency = 0.5 | |
1028 | basicgui.BorderSizePixel = 0.65 | |
1029 | basicgui.TextScaled = true | |
1030 | basicgui.Text = "(F)\nInferno Meteor" | |
1031 | basicgui.TextSize = 24 | |
1032 | local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Toothpaste").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0)) | |
1033 | basicgui2.ZIndex = 2 | |
1034 | basicgui2.Font = "Highway" | |
1035 | basicgui2.BackgroundTransparency = 0.5 | |
1036 | basicgui2.BorderSizePixel = 0.65 | |
1037 | basicgui2.TextScaled = true | |
1038 | - | bon.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1038 | + | |
1039 | basicgui2.TextSize = 24 | |
1040 | local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Toothpaste").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0)) | |
1041 | basicgui3.ZIndex = 2 | |
1042 | basicgui3.Font = "Highway" | |
1043 | basicgui3.BackgroundTransparency = 0.5 | |
1044 | basicgui3.BorderSizePixel = 0.65 | |
1045 | basicgui3.TextScaled = true | |
1046 | basicgui3.Text = "(Q)\nInferno Comet" | |
1047 | basicgui3.TextSize = 24 | |
1048 | local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Toothpaste").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0)) | |
1049 | basicgui4.ZIndex = 2 | |
1050 | - | bon2.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1050 | + | |
1051 | basicgui4.BackgroundTransparency = 0.5 | |
1052 | basicgui4.BorderSizePixel = 0.65 | |
1053 | basicgui4.TextScaled = true | |
1054 | basicgui4.Text = "(R)\nInferno Wrath" | |
1055 | basicgui4.TextSize = 24 | |
1056 | local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Toothpaste").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0)) | |
1057 | basicgui5.ZIndex = 2 | |
1058 | basicgui5.Font = "Highway" | |
1059 | basicgui5.BackgroundTransparency = 0.5 | |
1060 | basicgui5.BorderSizePixel = 0.65 | |
1061 | basicgui5.TextScaled = true | |
1062 | basicgui5.Text = "(Z)\nPhoenix Force" | |
1063 | basicgui5.TextSize = 24 | |
1064 | local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Toothpaste").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0)) | |
1065 | basicgui6.ZIndex = 2 | |
1066 | basicgui6.Font = "Highway" | |
1067 | basicgui6.BackgroundTransparency = 0.5 | |
1068 | basicgui6.BorderSizePixel = 0.65 | |
1069 | basicgui6.TextScaled = true | |
1070 | basicgui6.Text = "(X)\nInferno Hell" | |
1071 | basicgui6.TextSize = 24 | |
1072 | ||
1073 | - | tran.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1073 | + | |
1074 | healthg.ZIndex = 2 | |
1075 | healthg.Font = "Highway" | |
1076 | healthg.BackgroundTransparency = 0.5 | |
1077 | healthg.BorderSizePixel = 0.65 | |
1078 | healthg.TextScaled = true | |
1079 | healthg.Text = "health" | |
1080 | healthg.TextSize = 24 | |
1081 | ||
1082 | char.Humanoid.Animator.Parent = nil | |
1083 | ||
1084 | ---------------- set a position | |
1085 | local handle = Instance.new("Part") | |
1086 | - | tran2.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1086 | + | |
1087 | handle.Size = Vector3.new(0.2,0.2,0.2) | |
1088 | handle.Archivable = true | |
1089 | handle.Transparency = 1 | |
1090 | handle.CanCollide = false | |
1091 | handle.BrickColor = BrickColor.new("White") | |
1092 | handle.Material = "Neon" | |
1093 | local handlmesh = Instance.new("BlockMesh",handle) | |
1094 | handlmesh.Scale = Vector3.new(1,1,1) | |
1095 | local handleweld = Instance.new("Weld") | |
1096 | handleweld.Parent = handle | |
1097 | handleweld.Part0 = rarm | |
1098 | handleweld.Part1 = handle | |
1099 | handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1100 | handleweld.Part0 = rarm | |
1101 | ||
1102 | ---- yeee boi here comes entrance of inferno | |
1103 | hum.WalkSpeed = 45 | |
1104 | ||
1105 | local dd = Instance.new("ParticleEmitter",handle) | |
1106 | dd.Texture = "http://www.roblox.com/asset/?id=745304849" | |
1107 | - | chatfunc("ETHERION....") |
1107 | + | |
1108 | dd.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
1109 | dd.Rate = 50 | |
1110 | dd.Lifetime = NumberRange.new(0.5) | |
1111 | dd.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1112 | - | aura.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1112 | + | |
1113 | dd.Speed = NumberRange.new(0) | |
1114 | dd.Rotation = NumberRange.new(-500,500) | |
1115 | - | aura.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,35.5,0),NumberSequenceKeypoint.new(1,0,0)}) |
1115 | + | |
1116 | dd.LockedToPart = true | |
1117 | dd.RotSpeed = NumberRange.new(-500,500) | |
1118 | local bon = Instance.new("ParticleEmitter",handle) | |
1119 | bon.Texture = "rbxassetid://296874871" | |
1120 | bon.LightEmission = 0.75 | |
1121 | bon.Color = ColorSequence.new(Color3.new(255/255,255/255,0)) | |
1122 | bon.Rate = 0 | |
1123 | - | aura2.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1123 | + | |
1124 | bon.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1125 | bon.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1126 | bon.Speed = NumberRange.new(15) | |
1127 | bon.Rotation = NumberRange.new(-500,500) | |
1128 | bon.VelocitySpread = 90000 | |
1129 | bon.RotSpeed = NumberRange.new(-500,500) | |
1130 | local bon2 = Instance.new("ParticleEmitter",handle) | |
1131 | bon2.Texture = "rbxassetid://296874871" | |
1132 | bon2.LightEmission = 0.75 | |
1133 | bon2.Color = ColorSequence.new(Color3.new(255/255,255/255,0)) | |
1134 | bon2.Rate = 0 | |
1135 | bon2.Lifetime = NumberRange.new(2.5) | |
1136 | - | auran.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1136 | + | |
1137 | bon2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1138 | bon2.Speed = NumberRange.new(25) | |
1139 | bon2.Rotation = NumberRange.new(-500,500) | |
1140 | - | auran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,0,0)}) |
1140 | + | |
1141 | bon2.RotSpeed = NumberRange.new(-500,500) | |
1142 | for i = 0,8,0.1 do | |
1143 | swait() | |
1144 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1145 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1146 | - | chatfunc("CHARGE!!!") |
1146 | + | |
1147 | 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) | |
1148 | - | hum.WalkSpeed = 100 |
1148 | + | |
1149 | dd.Rate = 0 | |
1150 | bon.Rate = 99999 | |
1151 | bon2.Rate = 99999 | |
1152 | ||
1153 | local tran = Instance.new("ParticleEmitter",handle) | |
1154 | tran.Texture = "rbxassetid://296874871" | |
1155 | tran.LightEmission = 0.75 | |
1156 | tran.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
1157 | tran.Rate = 99999 | |
1158 | tran.Lifetime = NumberRange.new(0.25) | |
1159 | - | chatfunc("Etherion Solar Flare!!!") |
1159 | + | |
1160 | tran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
1161 | tran.Speed = NumberRange.new(0) | |
1162 | tran.Rotation = NumberRange.new(-500,500) | |
1163 | tran.VelocitySpread = 90000 | |
1164 | - | tra.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1164 | + | |
1165 | tran.RotSpeed = NumberRange.new(-500,500) | |
1166 | local tran2 = Instance.new("ParticleEmitter",handle) | |
1167 | tran2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
1168 | tran2.LightEmission = 1 | |
1169 | tran2.Color = ColorSequence.new(Color3.new(255/255,255/255,0)) | |
1170 | tran2.Rate = 50 | |
1171 | tran2.Lifetime = NumberRange.new(0.5) | |
1172 | tran2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1173 | tran2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1174 | tran2.Speed = NumberRange.new(0) | |
1175 | tran2.Rotation = NumberRange.new(-500,500) | |
1176 | tran2.VelocitySpread = 90000 | |
1177 | - | tra2.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1177 | + | |
1178 | tran2.RotSpeed = NumberRange.new(-500,500) | |
1179 | wait(0.5) | |
1180 | bon.Rate = 0 | |
1181 | bon2.Rate = 0 | |
1182 | wait(3.25) | |
1183 | bon:Destroy() | |
1184 | bon:Destroy() | |
1185 | dd:Destroy() | |
1186 | hum.WalkSpeed = 25 | |
1187 | ----------- | |
1188 | function InfernoForce() | |
1189 | attack = true | |
1190 | chatfunc("LIGHT PHOENIX....") | |
1191 | handleweld.Part0 = rarm | |
1192 | attack = false | |
1193 | local aura2 = Instance.new("ParticleEmitter",tors) | |
1194 | aura2.Texture = "rbxassetid://296874871" | |
1195 | aura2.LightEmission = 1 | |
1196 | aura2.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
1197 | aura2.Rate = 99999 | |
1198 | aura2.Lifetime = NumberRange.new(1.5) | |
1199 | aura2.Acceleration = vt(0,45,0) | |
1200 | aura2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,11,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1201 | aura2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1202 | aura2.Speed = NumberRange.new(-25) | |
1203 | aura2.Rotation = NumberRange.new(-500,500) | |
1204 | - | lb.Color = BrickColor.new("Dark green").Color |
1204 | + | |
1205 | aura2.RotSpeed = NumberRange.new(-500,500) | |
1206 | chatfunc("Light phoenix FORCE!!!!") | |
1207 | game.Workspace.Crystal5241.Humanoid.MaxHealth = math.huge | |
1208 | hum.WalkSpeed = 200 | |
1209 | wait(60) | |
1210 | game.Workspace.Crystal5241.Humanoid.MaxHealth = 100 | |
1211 | hum.WalkSpeed = 25 | |
1212 | aura2.Rate = 0 | |
1213 | end | |
1214 | ||
1215 | function InfernoComet() | |
1216 | attack = true | |
1217 | chatfunc("Light Phoenix Beam !!") | |
1218 | - | trail.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1218 | + | |
1219 | local tra = Instance.new("ParticleEmitter",handle) | |
1220 | tra.Texture = "rbxassetid://296874871" | |
1221 | tra.LightEmission = 0.75 | |
1222 | tra.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
1223 | tra.Rate = 99999 | |
1224 | tra.Lifetime = NumberRange.new(0.25) | |
1225 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1226 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
1227 | tra.Speed = NumberRange.new(0) | |
1228 | tra.Rotation = NumberRange.new(-500,500) | |
1229 | tra.VelocitySpread = 90000 | |
1230 | tra.LockedToPart = true | |
1231 | tra.RotSpeed = NumberRange.new(-500,500) | |
1232 | local tra2 = Instance.new("ParticleEmitter",handle) | |
1233 | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
1234 | tra2.LightEmission = 1 | |
1235 | tra2.Color = ColorSequence.new(Color3.new(255/255,255/255,0)) | |
1236 | tra2.Rate = 50 | |
1237 | tra2.Lifetime = NumberRange.new(0.5) | |
1238 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1239 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) | |
1240 | tra2.Speed = NumberRange.new(0) | |
1241 | tra2.Rotation = NumberRange.new(-500,500) | |
1242 | tra2.VelocitySpread = 90000 | |
1243 | tra2.LockedToPart = true | |
1244 | tra2.RotSpeed = NumberRange.new(-500,500) | |
1245 | - | aa.Color = BrickColor.new("Dark green").Color |
1245 | + | |
1246 | swait() | |
1247 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1248 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
1249 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
1250 | 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) | |
1251 | end | |
1252 | local sa = Instance.new("Sound",handle) | |
1253 | sa.SoundId = "rbxassetid://304448425" | |
1254 | sa.Volume = 1 | |
1255 | sa.Pitch = 1 | |
1256 | sa:Play() | |
1257 | tra.Rate = 0 | |
1258 | tra2.Rate = 0 | |
1259 | local lb = Instance.new("Part") | |
1260 | lb.Parent = char | |
1261 | lb.Material = "Neon" | |
1262 | - | exp.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1262 | + | lb.CanCollide = false |
1263 | lb.BrickColor = BrickColor.new("New Yeller") | |
1264 | lb.Shape = "Ball" | |
1265 | lb.CFrame = handle.CFrame | |
1266 | lb.Anchored = true | |
1267 | lb.Transparency = 1 | |
1268 | lb.Size = vt(100,1,1) | |
1269 | local thing = Instance.new("SpecialMesh",lb) | |
1270 | thing.MeshType = meshtype | |
1271 | local hitted = false | |
1272 | lb.Anchored = false | |
1273 | local trail = Instance.new("ParticleEmitter",lb) | |
1274 | - | expa.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1274 | + | |
1275 | trail.LightEmission = 1 | |
1276 | trail.Color = ColorSequence.new(Color3.new(255/255,255/255,0)) | |
1277 | trail.Rate = 9999 | |
1278 | trail.Lifetime = NumberRange.new(1.5) | |
1279 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1280 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1281 | trail.Speed = NumberRange.new(0,0) | |
1282 | trail.Rotation = NumberRange.new(-500,500) | |
1283 | trail.RotSpeed = NumberRange.new(-500,500) | |
1284 | local bv = Instance.new("BodyVelocity") | |
1285 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1286 | bv.velocity = mouse.Hit.lookVector *75 | |
1287 | bv.Parent = lb | |
1288 | wait(0.05) | |
1289 | lb.Touched:connect(function(hit) | |
1290 | if hitted == false then | |
1291 | hitted = true | |
1292 | trail.Rate = 0 | |
1293 | lb.Anchored = true | |
1294 | local aa = Instance.new("Part") | |
1295 | local val = 1*3.5 | |
1296 | aa.Parent = lb | |
1297 | local exsound = Instance.new("Sound",aa) | |
1298 | exsound.SoundId = "rbxassetid://402347142" | |
1299 | exsound.Volume = 3.5 | |
1300 | exsound.Pitch = 1 | |
1301 | exsound:Play() | |
1302 | aa.Material = "Neon" | |
1303 | aa.BrickColor = BrickColor.new("New Yeller") | |
1304 | aa.CanCollide = false | |
1305 | aa.Shape = "Ball" | |
1306 | aa.CFrame = lb.CFrame | |
1307 | aa.Anchored = true | |
1308 | aa.Transparency = 0 | |
1309 | aa.Size = vt(1,1,1) | |
1310 | local thinger = Instance.new("SpecialMesh",aa) | |
1311 | thinger.MeshType = meshtype | |
1312 | thinger.Scale = vt(15,15,15) | |
1313 | local explosion = Instance.new("Explosion",aa) | |
1314 | explosion.Position = aa.Position | |
1315 | explosion.BlastRadius = 22.5 | |
1316 | explosion.BlastPressure = 100 | |
1317 | local exp = Instance.new("ParticleEmitter",aa) | |
1318 | exp.Texture = "rbxassetid://296874871" | |
1319 | exp.LightEmission = 1 | |
1320 | exp.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
1321 | exp.Rate = 9000000000 | |
1322 | exp.Lifetime = NumberRange.new(2.75) | |
1323 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1324 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1325 | exp.Speed = NumberRange.new(100) | |
1326 | exp.VelocitySpread = 9000000 | |
1327 | exp.Rotation = NumberRange.new(-500,500) | |
1328 | exp.RotSpeed = NumberRange.new(-500,500) | |
1329 | local expa = Instance.new("ParticleEmitter",aa) | |
1330 | expa.Texture = "rbxassetid://296874871" | |
1331 | expa.LightEmission = 1 | |
1332 | expa.Color = ColorSequence.new(Color3.new(255,255/255,0/255)) | |
1333 | expa.Rate = 9000000000 | |
1334 | expa.Lifetime = NumberRange.new(2.75) | |
1335 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
1336 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1337 | expa.Speed = NumberRange.new(100) | |
1338 | expa.VelocitySpread = 9000000 | |
1339 | expa.Rotation = NumberRange.new(-500,500) | |
1340 | expa.RotSpeed = NumberRange.new(-500,500) | |
1341 | local exp2 = exp:Clone() | |
1342 | exp2.Parent = aa | |
1343 | local exp3 = exp:Clone() | |
1344 | exp3.Parent = aa | |
1345 | local exp4 = exp:Clone() | |
1346 | exp4.Parent = aa | |
1347 | local exp5 = exp:Clone() | |
1348 | exp5.Parent = aa | |
1349 | local exp6 = exp:Clone() | |
1350 | exp6.Parent = aa | |
1351 | local exp7 = exp:Clone() | |
1352 | exp7.Parent = aa | |
1353 | local expa2 = expa:Clone() | |
1354 | - | chatfunc(" ETHERION, ABSOLUTE..") |
1354 | + | |
1355 | local expa3 = expa:Clone() | |
1356 | expa3.Parent = aa | |
1357 | local expa4 = expa:Clone() | |
1358 | expa4.Parent = aa | |
1359 | - | aura.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1359 | + | |
1360 | expa5.Parent = aa | |
1361 | local expa6 = expa:Clone() | |
1362 | expa6.Parent = aa | |
1363 | local expa7 = expa:Clone() | |
1364 | expa7.Parent = aa | |
1365 | for i = 0, 1 do | |
1366 | val = val - 0.025*3.5 | |
1367 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1368 | wait() | |
1369 | - | aura2.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1369 | + | |
1370 | exp.Rate = 0 | |
1371 | exp2.Rate = 0 | |
1372 | exp3.Rate = 0 | |
1373 | exp4.Rate = 0 | |
1374 | exp5.Rate = 0 | |
1375 | exp6.Rate = 0 | |
1376 | exp7.Rate = 0 | |
1377 | for i = 0, 1 do | |
1378 | val = val - 0.025*3.5 | |
1379 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1380 | wait() | |
1381 | end | |
1382 | - | auran.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1382 | + | |
1383 | expa2.Rate = 0 | |
1384 | expa3.Rate = 0 | |
1385 | expa4.Rate = 0 | |
1386 | expa5.Rate = 0 | |
1387 | expa6.Rate = 0 | |
1388 | expa7.Rate = 0 | |
1389 | for i = 0, 21 do | |
1390 | val = val - 0.025*3.5 | |
1391 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1392 | wait() | |
1393 | end | |
1394 | for i = 0, 74 do | |
1395 | val = val - 0.0145 | |
1396 | aa.Transparency = aa.Transparency + 0.0145 | |
1397 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1398 | wait() | |
1399 | end | |
1400 | end | |
1401 | end) | |
1402 | attack = false | |
1403 | wait(30) | |
1404 | sa:Destroy() | |
1405 | tra:Destroy() | |
1406 | tra2:Destroy() | |
1407 | lb:Destroy() | |
1408 | end | |
1409 | ||
1410 | function InfernoHell() | |
1411 | - | lb.Color = BrickColor.new("Dark green").Color |
1411 | + | |
1412 | chatfunc("LIGHT PHOENIX...") | |
1413 | handleweld.Part0 = rarm | |
1414 | local aura = Instance.new("ParticleEmitter",tors) | |
1415 | aura.Texture = "rbxassetid://305563617" | |
1416 | aura.LightEmission = 1 | |
1417 | aura.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
1418 | aura.Rate = 25 | |
1419 | aura.Lifetime = NumberRange.new(0.75) | |
1420 | aura.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1421 | aura.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1422 | aura.Speed = NumberRange.new(15) | |
1423 | aura.VelocitySpread = 50 | |
1424 | local aura2 = Instance.new("ParticleEmitter",tors) | |
1425 | aura2.Texture = "rbxassetid://296874871" | |
1426 | aura2.LightEmission = 1 | |
1427 | aura2.Color = ColorSequence.new(Color3.new(255,255/255,0/255)) | |
1428 | aura2.Rate = 99999 | |
1429 | aura2.Lifetime = NumberRange.new(1.5) | |
1430 | aura2.Acceleration = vt(0,45,0) | |
1431 | aura2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1432 | aura2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1433 | aura2.Speed = NumberRange.new(-25) | |
1434 | aura2.Rotation = NumberRange.new(-500,500) | |
1435 | aura2.VelocitySpread = 45 | |
1436 | aura2.RotSpeed = NumberRange.new(-500,500) | |
1437 | local auran = Instance.new("ParticleEmitter",tors) | |
1438 | auran.Texture = "rbxassetid://296874871" | |
1439 | auran.LightEmission = 1 | |
1440 | auran.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
1441 | auran.Rate = 0 | |
1442 | auran.Lifetime = NumberRange.new(5) | |
1443 | auran.Acceleration = vt(0,-45,0) | |
1444 | auran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1445 | auran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1446 | - | chatfunc("SUN!!!!") |
1446 | + | |
1447 | auran.Rotation = NumberRange.new(-500,500) | |
1448 | auran.VelocitySpread = 100 | |
1449 | auran.RotSpeed = NumberRange.new(-500,500) | |
1450 | local sa = Instance.new("Sound",handle) | |
1451 | sa.SoundId = "rbxassetid://431105970" | |
1452 | sa.Volume = 5 | |
1453 | sa.Pitch = 1 | |
1454 | sa:Play() | |
1455 | for i = 0,2,0.1 do | |
1456 | swait() | |
1457 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1458 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1459 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)), 0.3) | |
1460 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.3) | |
1461 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.3) | |
1462 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
1463 | end | |
1464 | for i = 0, 5 do | |
1465 | auran.Rate = 99999 | |
1466 | local lb = Instance.new("Part") | |
1467 | lb.Parent = char | |
1468 | lb.Material = "Neon" | |
1469 | lb.BrickColor = BrickColor.new("New Yeller") | |
1470 | lb.CFrame = tors.CFrame | |
1471 | lb.Rotation = vt(0,0,0) | |
1472 | lb.Anchored = true | |
1473 | - | shur.BrickColor = bc("Royal purple") |
1473 | + | |
1474 | local thing = Instance.new("SpecialMesh",lb) | |
1475 | thing.MeshType = "FileMesh" | |
1476 | thing.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1477 | thing.Scale = vt(0,15,0) | |
1478 | local chancerot = math.random(1,2) | |
1479 | for z = 0, 4 do | |
1480 | if chancerot == 1 then | |
1481 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
1482 | elseif chancerot == 2 then | |
1483 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
1484 | end | |
1485 | lb.Transparency = lb.Transparency + 0.1 | |
1486 | thing.Scale = thing.Scale + vt(15,0,15) | |
1487 | wait() | |
1488 | end | |
1489 | auran.Rate = 0 | |
1490 | for z = 0, 4 do | |
1491 | if chancerot == 1 then | |
1492 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
1493 | elseif chancerot == 2 then | |
1494 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
1495 | end | |
1496 | lb.Transparency = lb.Transparency + 0.1 | |
1497 | thing.Scale = thing.Scale + vt(15,0,15) | |
1498 | - | lb.Color = BrickColor.new("Dark green").Color |
1498 | + | |
1499 | end | |
1500 | lb:Destroy() | |
1501 | end | |
1502 | chatfunc("ULTIMATE FLAME!!!") | |
1503 | local sa = Instance.new("Sound",handle) | |
1504 | sa.SoundId = "rbxassetid://416328540" | |
1505 | sa.Volume = 10 | |
1506 | sa.Pitch = 0.75 | |
1507 | sa:Play() | |
1508 | ||
1509 | local sbs = Instance.new("BodyPosition", root) | |
1510 | sbs.P = 3000 | |
1511 | sbs.D = 1000 | |
1512 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
1513 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 1000, 0) | |
1514 | for i = 0,24,0.1 do | |
1515 | swait() | |
1516 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1517 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
1518 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3) | |
1519 | 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) | |
1520 | end | |
1521 | local shur = Instance.new("Part",char) | |
1522 | local gahde = Instance.new("Sound",char) | |
1523 | gahde.SoundId = "rbxassetid://402981977" | |
1524 | gahde.Volume = 5 | |
1525 | gahde.Pitch = 0.6 | |
1526 | gahde:Play() | |
1527 | shur.Transparency = 1 | |
1528 | shur.Material = "Neon" | |
1529 | shur.BrickColor = BrickColor.new("New Yeller") | |
1530 | shur.Anchored = true | |
1531 | shur.CFrame = tors.CFrame + vt(0,10,0) | |
1532 | shur.Size = vt(1,0.2,1) | |
1533 | shur.CanCollide = false | |
1534 | local dec = Instance.new("Decal",shur) | |
1535 | dec.Texture = "http://www.roblox.com/asset/?id=840391577" | |
1536 | dec.Face = "Top" | |
1537 | local dec2 = dec:Clone() | |
1538 | dec2.Parent = shur | |
1539 | dec2.Face = "Bottom" | |
1540 | local Meshshur = Instance.new("CylinderMesh",shur) | |
1541 | Meshshur.Scale = vt(0,1,0) | |
1542 | for i = 0, 39 do | |
1543 | wait() | |
1544 | - | trail.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1544 | + | |
1545 | end | |
1546 | local sa = Instance.new("Sound",char) | |
1547 | sa.SoundId = "rbxassetid://428027602" | |
1548 | sa.Volume = 2.5 | |
1549 | sa.Pitch = 0.5 | |
1550 | sa:Play() | |
1551 | local lb = Instance.new("Part") | |
1552 | lb.Parent = char | |
1553 | lb.Material = "Neon" | |
1554 | lb.BrickColor = BrickColor.new("New Yeller") | |
1555 | lb.CanCollide = false | |
1556 | lb.Shape = "Ball" | |
1557 | lb.CFrame = handle.CFrame | |
1558 | lb.Anchored = true | |
1559 | lb.Transparency = 0 | |
1560 | lb.Size = vt(1,1,1) | |
1561 | lb.CFrame = handle.CFrame | |
1562 | local thing = Instance.new("SpecialMesh",lb) | |
1563 | thing.MeshType = meshtype | |
1564 | thing.Scale = vt(0,0,0) | |
1565 | for i = 0, 89 do | |
1566 | thing.Scale = thing.Scale + vt(2.5,2.5,2.5) | |
1567 | lb.CFrame = lb.CFrame + Vector3.new(0,1.425,0) | |
1568 | wait() | |
1569 | end | |
1570 | wait(1) | |
1571 | for i = 0, 39 do | |
1572 | wait() | |
1573 | Meshshur.Scale = Meshshur.Scale - vt(15,0,15) | |
1574 | end | |
1575 | local sa = Instance.new("Sound",char) | |
1576 | sa.SoundId = "rbxassetid://565538688" | |
1577 | sa.Volume = 1 | |
1578 | sa.Pitch = 0.95 | |
1579 | sa:Play() | |
1580 | wait(0.5) | |
1581 | shur:Destroy() | |
1582 | sbs:Destroy() | |
1583 | local sa = Instance.new("Sound",char) | |
1584 | sa.SoundId = "rbxassetid://416328540" | |
1585 | sa.Volume = 1.5 | |
1586 | sa.Pitch = 0.5 | |
1587 | sa:Play() | |
1588 | local sa = Instance.new("Sound",char) | |
1589 | sa.SoundId = "rbxassetid://466493476" | |
1590 | sa.Volume = 1.5 | |
1591 | sa.Pitch = 0.5 | |
1592 | sa:Play() | |
1593 | aura.Rate = 0 | |
1594 | aura2.Rate = 0 | |
1595 | local hitted = false | |
1596 | lb.Anchored = false | |
1597 | local trail = Instance.new("ParticleEmitter",lb) | |
1598 | trail.Texture = "rbxassetid://296874871" | |
1599 | - | aa.Color = BrickColor.new("Dark green").Color |
1599 | + | |
1600 | trail.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
1601 | trail.Rate = 9999 | |
1602 | trail.Lifetime = NumberRange.new(2.5) | |
1603 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,150,0),NumberSequenceKeypoint.new(1,5,0)}) | |
1604 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1605 | trail.Speed = NumberRange.new(100) | |
1606 | trail.VelocitySpread = 9000000 | |
1607 | trail.Rotation = NumberRange.new(-500,500) | |
1608 | trail.RotSpeed = NumberRange.new(-500,500) | |
1609 | local bv = Instance.new("BodyVelocity") | |
1610 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1611 | bv.velocity = mouse.Hit.lookVector *75 | |
1612 | bv.Parent = lb | |
1613 | wait(0.05) | |
1614 | lb.Touched:connect(function(hit) | |
1615 | if hitted == false then | |
1616 | - | exp.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1616 | + | |
1617 | trail.Rate = 0 | |
1618 | lb.Anchored = true | |
1619 | local aa = Instance.new("Part") | |
1620 | for i = 0, 9 do | |
1621 | lb.Transparency = lb.Transparency + 0.1 | |
1622 | local val = 1*3.5 | |
1623 | aa.Parent = lb | |
1624 | local exsound = Instance.new("Sound",aa) | |
1625 | exsound.SoundId = "rbxassetid://412831137" | |
1626 | exsound.Volume = 10 | |
1627 | exsound.Pitch = 0.5 | |
1628 | - | expa.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1628 | + | |
1629 | local exsound = Instance.new("Sound",aa) | |
1630 | exsound.SoundId = "rbxassetid://439342426" | |
1631 | exsound.Volume = 10 | |
1632 | exsound.Pitch = 0.75 | |
1633 | exsound:Play() | |
1634 | local exsound = Instance.new("Sound",aa) | |
1635 | exsound.SoundId = "rbxassetid://439342426" | |
1636 | exsound.Volume = 10 | |
1637 | exsound.Pitch = 0.5 | |
1638 | exsound:Play() | |
1639 | local exsound = Instance.new("Sound",aa) | |
1640 | exsound.SoundId = "rbxassetid://439342426" | |
1641 | exsound.Volume = 10 | |
1642 | exsound.Pitch = 0.35 | |
1643 | exsound:Play() | |
1644 | local exsound = Instance.new("Sound",aa) | |
1645 | exsound.SoundId = "rbxassetid://439342426" | |
1646 | exsound.Volume = 10 | |
1647 | exsound.Pitch = 0.25 | |
1648 | exsound:Play() | |
1649 | local exsound = Instance.new("Sound",aa) | |
1650 | exsound.SoundId = "rbxassetid://439342426" | |
1651 | exsound.Volume = 10 | |
1652 | exsound.Pitch = 0.2 | |
1653 | exsound:Play() | |
1654 | aa.Material = "Neon" | |
1655 | aa.BrickColor = BrickColor.new("New Yeller") | |
1656 | aa.CanCollide = false | |
1657 | aa.Shape = "Ball" | |
1658 | aa.CFrame = lb.CFrame | |
1659 | aa.Anchored = true | |
1660 | aa.Transparency = 0 | |
1661 | aa.Size = vt(1,1,1) | |
1662 | local thinger = Instance.new("SpecialMesh",aa) | |
1663 | thinger.MeshType = meshtype | |
1664 | thinger.Scale = vt(225,225,225) | |
1665 | local explosion = Instance.new("Explosion",aa) | |
1666 | explosion.Position = aa.Position | |
1667 | explosion.BlastRadius = 500 | |
1668 | explosion.BlastPressure = 100 | |
1669 | local exp = Instance.new("ParticleEmitter",aa) | |
1670 | exp.Texture = "rbxassetid://296874871" | |
1671 | exp.LightEmission = 1 | |
1672 | exp.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
1673 | exp.Rate = 9000000000 | |
1674 | exp.Lifetime = NumberRange.new(1) | |
1675 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1676 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1677 | exp.Speed = NumberRange.new(100) | |
1678 | exp.VelocitySpread = 9000000 | |
1679 | exp.Rotation = NumberRange.new(-500,500) | |
1680 | exp.RotSpeed = NumberRange.new(-500,500) | |
1681 | local expa = Instance.new("ParticleEmitter",aa) | |
1682 | expa.Texture = "rbxassetid://296874871" | |
1683 | expa.LightEmission = 1 | |
1684 | expa.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
1685 | expa.Rate = 9000000000 | |
1686 | expa.Lifetime = NumberRange.new(2.75) | |
1687 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,150,0)}) | |
1688 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1689 | expa.Speed = NumberRange.new(100) | |
1690 | expa.VelocitySpread = 9000000 | |
1691 | expa.Rotation = NumberRange.new(-500,500) | |
1692 | expa.RotSpeed = NumberRange.new(-500,500) | |
1693 | local exp2 = exp:Clone() | |
1694 | exp2.Parent = aa | |
1695 | local exp3 = exp:Clone() | |
1696 | exp3.Parent = aa | |
1697 | local exp4 = exp:Clone() | |
1698 | exp4.Parent = aa | |
1699 | local exp5 = exp:Clone() | |
1700 | exp5.Parent = aa | |
1701 | local exp6 = exp:Clone() | |
1702 | exp6.Parent = aa | |
1703 | local exp7 = exp:Clone() | |
1704 | exp7.Parent = aa | |
1705 | local expa2 = expa:Clone() | |
1706 | expa2.Parent = aa | |
1707 | local expa3 = expa:Clone() | |
1708 | expa3.Parent = aa | |
1709 | local expa4 = expa:Clone() | |
1710 | expa4.Parent = aa | |
1711 | local expa5 = expa:Clone() | |
1712 | expa5.Parent = aa | |
1713 | local expa6 = expa:Clone() | |
1714 | expa6.Parent = aa | |
1715 | local expa7 = expa:Clone() | |
1716 | expa7.Parent = aa | |
1717 | for i = 0, 1 do | |
1718 | val = val - 0.025*3.5 | |
1719 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1720 | wait() | |
1721 | - | chatfunc("Etherion..") |
1721 | + | |
1722 | exp.Rate = 0 | |
1723 | exp2.Rate = 0 | |
1724 | exp3.Rate = 0 | |
1725 | exp4.Rate = 0 | |
1726 | - | tra.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1726 | + | |
1727 | exp6.Rate = 0 | |
1728 | exp7.Rate = 0 | |
1729 | for i = 0, 1 do | |
1730 | val = val - 0.025*3.5 | |
1731 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1732 | wait() | |
1733 | end | |
1734 | expa.Rate = 0 | |
1735 | expa2.Rate = 0 | |
1736 | expa3.Rate = 0 | |
1737 | expa4.Rate = 0 | |
1738 | expa5.Rate = 0 | |
1739 | - | tra2.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1739 | + | |
1740 | expa7.Rate = 0 | |
1741 | for i = 0, 21 do | |
1742 | val = val - 0.025*3.5 | |
1743 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1744 | wait() | |
1745 | end | |
1746 | for i = 0, 4 do | |
1747 | val = val - 0.05 | |
1748 | aa.Transparency = aa.Transparency + 0.065*4.5 | |
1749 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1750 | wait() | |
1751 | end | |
1752 | end | |
1753 | end | |
1754 | end) | |
1755 | for i = 0,2,0.1 do | |
1756 | swait() | |
1757 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1758 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-90)),.3) | |
1759 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
1760 | 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) | |
1761 | - | chatfunc("METEOR RAIN!!!") |
1761 | + | |
1762 | attack = false | |
1763 | wait(60) | |
1764 | sa:Destroy() | |
1765 | sa:Destroy() | |
1766 | sa:Destroy() | |
1767 | sa:Destroy() | |
1768 | sa:Destroy() | |
1769 | aura:Destroy() | |
1770 | aura2:Destroy() | |
1771 | lb:Destroy() | |
1772 | - | lb.Color = BrickColor.new("Dark green").Color |
1772 | + | |
1773 | ||
1774 | ||
1775 | function InfernoMeteor() | |
1776 | attack = true | |
1777 | chatfunc("Light Phoenix...") | |
1778 | handleweld.Part0 = rarm | |
1779 | attack = false | |
1780 | local tra = Instance.new("ParticleEmitter",handle) | |
1781 | tra.Texture = "rbxassetid://296874871" | |
1782 | tra.LightEmission = 0.75 | |
1783 | tra.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
1784 | tra.Rate = 99999 | |
1785 | tra.Lifetime = NumberRange.new(0.25) | |
1786 | - | trail.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1786 | + | |
1787 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
1788 | tra.Speed = NumberRange.new(0) | |
1789 | tra.Rotation = NumberRange.new(-500,500) | |
1790 | tra.VelocitySpread = 90000 | |
1791 | tra.LockedToPart = true | |
1792 | tra.RotSpeed = NumberRange.new(-500,500) | |
1793 | local tra2 = Instance.new("ParticleEmitter",handle) | |
1794 | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
1795 | tra2.LightEmission = 1 | |
1796 | tra2.Color = ColorSequence.new(Color3.new(255,255/255,0/255)) | |
1797 | tra2.Rate = 50 | |
1798 | tra2.Lifetime = NumberRange.new(0.5) | |
1799 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1800 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) | |
1801 | tra2.Speed = NumberRange.new(0) | |
1802 | tra2.Rotation = NumberRange.new(-500,500) | |
1803 | tra2.VelocitySpread = 90000 | |
1804 | tra2.LockedToPart = true | |
1805 | tra2.RotSpeed = NumberRange.new(-500,500) | |
1806 | local sa = Instance.new("Sound",handle) | |
1807 | sa.SoundId = "rbxassetid://565538688" | |
1808 | sa.Volume = 1.5 | |
1809 | sa.Pitch = 0.975 | |
1810 | sa:Play() | |
1811 | for i = 0,4,0.1 do | |
1812 | swait() | |
1813 | - | aa.Color = BrickColor.new("Dark green").Color |
1813 | + | |
1814 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
1815 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
1816 | 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) | |
1817 | end | |
1818 | chatfunc("Meteor!!") | |
1819 | local sa = Instance.new("Sound",handle) | |
1820 | sa.SoundId = "rbxassetid://304529688" | |
1821 | sa.Volume = 1.5 | |
1822 | sa.Pitch = 0.85 | |
1823 | sa:Play() | |
1824 | tra.Rate = 0 | |
1825 | tra2.Rate = 0 | |
1826 | local lb = Instance.new("Part") | |
1827 | lb.Parent = char | |
1828 | lb.Material = "Neon" | |
1829 | lb.Color = BrickColor.new("New Yeller").Color | |
1830 | - | exp.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1830 | + | |
1831 | lb.Shape = "Ball" | |
1832 | lb.CFrame = handle.CFrame | |
1833 | lb.Anchored = true | |
1834 | lb.Transparency = 1 | |
1835 | lb.Size = vt(1,1,1) | |
1836 | local thing = Instance.new("SpecialMesh",lb) | |
1837 | thing.MeshType = meshtype | |
1838 | local hitted = false | |
1839 | lb.Anchored = false | |
1840 | local trail = Instance.new("ParticleEmitter",lb) | |
1841 | trail.Texture = "rbxassetid://296874871" | |
1842 | - | expa.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1842 | + | |
1843 | trail.Color = ColorSequence.new(Color3.new(255,255/255,0/255)) | |
1844 | trail.Rate = 9999 | |
1845 | trail.Lifetime = NumberRange.new(1.5) | |
1846 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1847 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1848 | trail.Speed = NumberRange.new(0,0) | |
1849 | trail.Rotation = NumberRange.new(-500,500) | |
1850 | trail.RotSpeed = NumberRange.new(-500,500) | |
1851 | local bv = Instance.new("BodyVelocity") | |
1852 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1853 | bv.velocity = mouse.Hit.lookVector *95 | |
1854 | bv.Parent = lb | |
1855 | wait(0.05) | |
1856 | lb.Touched:connect(function(hit) | |
1857 | if hitted == false then | |
1858 | hitted = true | |
1859 | trail.Rate = 0 | |
1860 | lb.Anchored = true | |
1861 | local aa = Instance.new("Part") | |
1862 | local val = 1*8 | |
1863 | aa.Parent = lb | |
1864 | local exsound = Instance.new("Sound",aa) | |
1865 | exsound.SoundId = "rbxassetid://402347142" | |
1866 | exsound.Volume = 10 | |
1867 | exsound.Pitch = 0.945 | |
1868 | exsound:Play() | |
1869 | aa.Material = "Neon" | |
1870 | aa.Color = BrickColor.new("New Yeller").Color | |
1871 | aa.CanCollide = false | |
1872 | aa.Shape = "Ball" | |
1873 | aa.CFrame = lb.CFrame | |
1874 | aa.Anchored = true | |
1875 | aa.Transparency = 0 | |
1876 | aa.Size = vt(1,1,1) | |
1877 | local thinger = Instance.new("SpecialMesh",aa) | |
1878 | thinger.MeshType = meshtype | |
1879 | thinger.Scale = vt(15,15,15) | |
1880 | local explosion = Instance.new("Explosion",aa) | |
1881 | explosion.Position = aa.Position | |
1882 | explosion.BlastRadius = 65 | |
1883 | explosion.BlastPressure = 100 | |
1884 | local exp = Instance.new("ParticleEmitter",aa) | |
1885 | exp.Texture = "rbxassetid://296874871" | |
1886 | exp.LightEmission = 1 | |
1887 | exp.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
1888 | exp.Rate = 9000000000 | |
1889 | exp.Lifetime = NumberRange.new(2.75) | |
1890 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1891 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1892 | exp.Speed = NumberRange.new(200) | |
1893 | exp.VelocitySpread = 9000000 | |
1894 | exp.Rotation = NumberRange.new(-500,500) | |
1895 | exp.RotSpeed = NumberRange.new(-500,500) | |
1896 | local expa = Instance.new("ParticleEmitter",aa) | |
1897 | expa.Texture = "rbxassetid://296874871" | |
1898 | expa.LightEmission = 1 | |
1899 | expa.Color = ColorSequence.new(Color3.new(255,255/255,0)) | |
1900 | expa.Rate = 9000000000 | |
1901 | expa.Lifetime = NumberRange.new(2.75) | |
1902 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,125,0)}) | |
1903 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1904 | expa.Speed = NumberRange.new(200) | |
1905 | expa.VelocitySpread = 9000000 | |
1906 | expa.Rotation = NumberRange.new(-500,500) | |
1907 | expa.RotSpeed = NumberRange.new(-500,500) | |
1908 | local exp2 = exp:Clone() | |
1909 | exp2.Parent = aa | |
1910 | local exp3 = exp:Clone() | |
1911 | exp3.Parent = aa | |
1912 | local exp4 = exp:Clone() | |
1913 | exp4.Parent = aa | |
1914 | local exp5 = exp:Clone() | |
1915 | exp5.Parent = aa | |
1916 | local exp6 = exp:Clone() | |
1917 | exp6.Parent = aa | |
1918 | local exp7 = exp:Clone() | |
1919 | exp7.Parent = aa | |
1920 | local expa2 = expa:Clone() | |
1921 | expa2.Parent = aa | |
1922 | local expa3 = expa:Clone() | |
1923 | - | chatfunc("ETHERION WRATH!!") |
1923 | + | |
1924 | local expa4 = expa:Clone() | |
1925 | expa4.Parent = aa | |
1926 | local expa5 = expa:Clone() | |
1927 | expa5.Parent = aa | |
1928 | local expa6 = expa:Clone() | |
1929 | expa6.Parent = aa | |
1930 | local expa7 = expa:Clone() | |
1931 | expa7.Parent = aa | |
1932 | for i = 0, 1 do | |
1933 | val = val - 0.025*8 | |
1934 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1935 | wait() | |
1936 | - | lb.Color = BrickColor.new("Dark green").Color |
1936 | + | |
1937 | exp.Rate = 0 | |
1938 | exp2.Rate = 0 | |
1939 | exp3.Rate = 0 | |
1940 | exp4.Rate = 0 | |
1941 | exp5.Rate = 0 | |
1942 | exp6.Rate = 0 | |
1943 | exp7.Rate = 0 | |
1944 | for i = 0, 1 do | |
1945 | val = val - 0.025*8 | |
1946 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1947 | wait() | |
1948 | end | |
1949 | - | lbr.Color = BrickColor.new("Dark green").Color |
1949 | + | |
1950 | expa2.Rate = 0 | |
1951 | expa3.Rate = 0 | |
1952 | expa4.Rate = 0 | |
1953 | expa5.Rate = 0 | |
1954 | expa6.Rate = 0 | |
1955 | expa7.Rate = 0 | |
1956 | for i = 0, 21 do | |
1957 | val = val - 0.025*8 | |
1958 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1959 | wait() | |
1960 | end | |
1961 | for i = 0, 74 do | |
1962 | val = val - 0.0145 | |
1963 | aa.Transparency = aa.Transparency + 0.0145 | |
1964 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1965 | wait() | |
1966 | end | |
1967 | end | |
1968 | end) | |
1969 | wait(30) | |
1970 | sa:Destroy() | |
1971 | tra:Destroy() | |
1972 | tra2:Destroy() | |
1973 | lb:Destroy() | |
1974 | end | |
1975 | - | aa.Color = BrickColor.new("Dark green").Color |
1975 | + | |
1976 | ||
1977 | function InfernoWrath() | |
1978 | attack = true | |
1979 | chatfunc("Light Phoenix Wrath!!") | |
1980 | for i = 0,4,0.1 do | |
1981 | swait() | |
1982 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1983 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1984 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
1985 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
1986 | end | |
1987 | local ff = Instance.new("ForceField",char) | |
1988 | hum.WalkSpeed = 0 | |
1989 | local lb = Instance.new("Part") | |
1990 | lb.Parent = char | |
1991 | lb.Material = "Neon" | |
1992 | - | exp.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
1992 | + | lb.Color = BrickColor.new("New Yeller").Color |
1993 | lb.CanCollide = false | |
1994 | lb.Shape = "Ball" | |
1995 | lb.CFrame = torso.CFrame | |
1996 | lb.Anchored = true | |
1997 | lb.Transparency = 1 | |
1998 | lb.Size = vt(1,1,1) | |
1999 | local thing = Instance.new("SpecialMesh",lb) | |
2000 | thing.MeshType = meshtype | |
2001 | for i = 0, 4 do | |
2002 | local lbr = Instance.new("Part") | |
2003 | lbr.Parent = char | |
2004 | - | expa.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
2004 | + | |
2005 | lbr.Color = BrickColor.new("Toothpaste").Color | |
2006 | lbr.CanCollide = false | |
2007 | lbr.Shape = "Ball" | |
2008 | lbr.CFrame = lb.CFrame | |
2009 | lbr.Anchored = true | |
2010 | lbr.Transparency = 1 | |
2011 | lbr.Size = vt(1,1,1) | |
2012 | local thinga = Instance.new("SpecialMesh",lbr) | |
2013 | thinga.MeshType = meshtype | |
2014 | thinga.Scale = vt(20*6,20*6,20*6) | |
2015 | for z = 0, 19 do | |
2016 | wait(0.025) | |
2017 | lbr.Transparency = lbr.Transparency - 0.05 | |
2018 | thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6) | |
2019 | end | |
2020 | lbr:Destroy() | |
2021 | end | |
2022 | local aa = Instance.new("Part") | |
2023 | local val = 1*7.5 | |
2024 | aa.Parent = lb | |
2025 | local exsound = Instance.new("Sound",handle) | |
2026 | exsound.SoundId = "rbxassetid://402347142" | |
2027 | exsound.Volume = 10 | |
2028 | exsound.Pitch = 1 | |
2029 | exsound:Play() | |
2030 | aa.Material = "Neon" | |
2031 | aa.Color = BrickColor.new("New Yeller").Color | |
2032 | aa.CanCollide = false | |
2033 | aa.Shape = "Ball" | |
2034 | aa.CFrame = lb.CFrame | |
2035 | aa.Anchored = true | |
2036 | aa.Transparency = 0 | |
2037 | aa.Size = vt(1,1,1) | |
2038 | local thinger = Instance.new("SpecialMesh",aa) | |
2039 | thinger.MeshType = meshtype | |
2040 | thinger.Scale = vt(15*1.5,15*1.5,15*1.5) | |
2041 | local explosion = Instance.new("Explosion",aa) | |
2042 | explosion.Position = aa.Position | |
2043 | explosion.BlastRadius = 50 | |
2044 | explosion.BlastPressure = 100 | |
2045 | local exp = Instance.new("ParticleEmitter",aa) | |
2046 | exp.Texture = "rbxassetid://296874871" | |
2047 | exp.LightEmission = 1 | |
2048 | exp.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
2049 | exp.Rate = 9000000000 | |
2050 | exp.Lifetime = NumberRange.new(2.75) | |
2051 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2052 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2053 | exp.Speed = NumberRange.new(115) | |
2054 | exp.VelocitySpread = 9000000 | |
2055 | exp.Rotation = NumberRange.new(-500,500) | |
2056 | exp.RotSpeed = NumberRange.new(-500,500) | |
2057 | local expa = Instance.new("ParticleEmitter",aa) | |
2058 | expa.Texture = "rbxassetid://296874871" | |
2059 | expa.LightEmission = 1 | |
2060 | expa.Color = ColorSequence.new(Color3.new(255,255/255,0/255)) | |
2061 | expa.Rate = 9000000000 | |
2062 | expa.Lifetime = NumberRange.new(2.75) | |
2063 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
2064 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2065 | expa.Speed = NumberRange.new(115) | |
2066 | expa.VelocitySpread = 9000000 | |
2067 | expa.Rotation = NumberRange.new(-500,500) | |
2068 | expa.RotSpeed = NumberRange.new(-500,500) | |
2069 | local exp2 = exp:Clone() | |
2070 | exp2.Parent = aa | |
2071 | local exp3 = exp:Clone() | |
2072 | exp3.Parent = aa | |
2073 | local exp4 = exp:Clone() | |
2074 | exp4.Parent = aa | |
2075 | local exp5 = exp:Clone() | |
2076 | exp5.Parent = aa | |
2077 | local exp6 = exp:Clone() | |
2078 | exp6.Parent = aa | |
2079 | local exp7 = exp:Clone() | |
2080 | exp7.Parent = aa | |
2081 | - | chatfunc("Etherion Demise!!") |
2081 | + | |
2082 | expa2.Parent = aa | |
2083 | local expa3 = expa:Clone() | |
2084 | expa3.Parent = aa | |
2085 | - | tra.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
2085 | + | |
2086 | expa4.Parent = aa | |
2087 | local expa5 = expa:Clone() | |
2088 | expa5.Parent = aa | |
2089 | local expa6 = expa:Clone() | |
2090 | expa6.Parent = aa | |
2091 | local expa7 = expa:Clone() | |
2092 | expa7.Parent = aa | |
2093 | for i = 0, 1 do | |
2094 | val = val - 0.025*7.5 | |
2095 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2096 | wait() | |
2097 | end | |
2098 | - | tra2.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
2098 | + | |
2099 | exp2.Rate = 0 | |
2100 | exp3.Rate = 0 | |
2101 | exp4.Rate = 0 | |
2102 | exp5.Rate = 0 | |
2103 | exp6.Rate = 0 | |
2104 | exp7.Rate = 0 | |
2105 | for i = 0, 1 do | |
2106 | val = val - 0.025*7.5 | |
2107 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2108 | wait() | |
2109 | end | |
2110 | ff:Destroy() | |
2111 | hum.WalkSpeed = 16 | |
2112 | attack = false | |
2113 | expa.Rate = 0 | |
2114 | expa2.Rate = 0 | |
2115 | expa3.Rate = 0 | |
2116 | expa4.Rate = 0 | |
2117 | expa5.Rate = 0 | |
2118 | expa6.Rate = 0 | |
2119 | expa7.Rate = 0 | |
2120 | - | lb.Color = BrickColor.new("Dark green").Color |
2120 | + | |
2121 | val = val - 0.025*7.5 | |
2122 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2123 | wait() | |
2124 | end | |
2125 | for i = 0, 74 do | |
2126 | val = val - 0.0145 | |
2127 | aa.Transparency = aa.Transparency + 0.0145 | |
2128 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2129 | wait() | |
2130 | end | |
2131 | wait(5) | |
2132 | lb:Destroy() | |
2133 | - | lbr.Color = BrickColor.new("Dark green").Color |
2133 | + | |
2134 | ||
2135 | function InfernoDemise() | |
2136 | attack = true | |
2137 | chatfunc("Light Phoenix Bomb!!") | |
2138 | local tra = Instance.new("ParticleEmitter",handle) | |
2139 | tra.Texture = "rbxassetid://296874871" | |
2140 | tra.LightEmission = 0.75 | |
2141 | tra.Color = ColorSequence.new(Color3.new(255,255/255,0/255)) | |
2142 | tra.Rate = 99999 | |
2143 | tra.Lifetime = NumberRange.new(0.25) | |
2144 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2145 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
2146 | tra.Speed = NumberRange.new(0) | |
2147 | tra.Rotation = NumberRange.new(-500,500) | |
2148 | tra.VelocitySpread = 90000 | |
2149 | tra.LockedToPart = true | |
2150 | tra.RotSpeed = NumberRange.new(-500,500) | |
2151 | local tra2 = Instance.new("ParticleEmitter",handle) | |
2152 | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
2153 | tra2.LightEmission = 1 | |
2154 | tra2.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
2155 | tra2.Rate = 50 | |
2156 | tra2.Lifetime = NumberRange.new(0.5) | |
2157 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2158 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) | |
2159 | - | aa.Color = BrickColor.new("Dark green").Color |
2159 | + | |
2160 | tra2.Rotation = NumberRange.new(-500,500) | |
2161 | tra2.VelocitySpread = 90000 | |
2162 | tra2.LockedToPart = true | |
2163 | tra2.RotSpeed = NumberRange.new(-500,500) | |
2164 | for i = 0,1,0.1 do | |
2165 | swait() | |
2166 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
2167 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
2168 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3) | |
2169 | 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) | |
2170 | end | |
2171 | tra.Rate = 0 | |
2172 | tra2.Rate = 0 | |
2173 | local lb = Instance.new("Part") | |
2174 | lb.Parent = char | |
2175 | lb.Material = "Neon" | |
2176 | - | exp.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
2176 | + | lb.BrickColor = BrickColor.new("Toothpaste") |
2177 | lb.CanCollide = false | |
2178 | lb.Shape = "Ball" | |
2179 | lb.CFrame = mouse.Hit | |
2180 | lb.Anchored = true | |
2181 | lb.Transparency = 1 | |
2182 | lb.Size = vt(1,1,1) | |
2183 | local thing = Instance.new("SpecialMesh",lb) | |
2184 | thing.MeshType = meshtype | |
2185 | for i = 0, 4 do | |
2186 | local lbr = Instance.new("Part") | |
2187 | lbr.Parent = char | |
2188 | - | expa.Color = ColorSequence.new(Color3.new(0,255/255,55/255), BrickColor.new("Royal purple").Color) |
2188 | + | |
2189 | lbr.BrickColor = BrickColor.new("New yeller") | |
2190 | lbr.CanCollide = false | |
2191 | lbr.Shape = "Ball" | |
2192 | lbr.CFrame = lb.CFrame | |
2193 | lbr.Anchored = true | |
2194 | lbr.Transparency = 1 | |
2195 | lbr.Size = vt(1,1,1) | |
2196 | local thinga = Instance.new("SpecialMesh",lbr) | |
2197 | thinga.MeshType = meshtype | |
2198 | thinga.Scale = vt(20*4.5,20*4.5,20*4.5) | |
2199 | for z = 0, 19 do | |
2200 | wait(0.025) | |
2201 | lbr.Transparency = lbr.Transparency - 0.05 | |
2202 | thinga.Scale = thinga.Scale - vt(1*4.5,1*4.5,1*4.5) | |
2203 | end | |
2204 | lbr:Destroy() | |
2205 | end | |
2206 | local aa = Instance.new("Part") | |
2207 | local val = 1*6.25 | |
2208 | aa.Parent = lb | |
2209 | local exsound = Instance.new("Sound",aa) | |
2210 | exsound.SoundId = "rbxassetid://402347142" | |
2211 | exsound.Volume = 4.5 | |
2212 | exsound.Pitch = 1 | |
2213 | exsound:Play() | |
2214 | aa.Material = "Neon" | |
2215 | aa.Color = BrickColor.new("Toothpaste").Color | |
2216 | aa.CanCollide = false | |
2217 | aa.Shape = "Ball" | |
2218 | aa.CFrame = lb.CFrame | |
2219 | aa.Anchored = true | |
2220 | aa.Transparency = 0 | |
2221 | aa.Size = vt(1,1,1) | |
2222 | local thinger = Instance.new("SpecialMesh",aa) | |
2223 | thinger.MeshType = meshtype | |
2224 | thinger.Scale = vt(15*1.15,15*1.15,15*1.15) | |
2225 | local explosion = Instance.new("Explosion",aa) | |
2226 | explosion.Position = aa.Position | |
2227 | explosion.BlastRadius = 35 | |
2228 | explosion.BlastPressure = 100 | |
2229 | local exp = Instance.new("ParticleEmitter",aa) | |
2230 | exp.Texture = "rbxassetid://296874871" | |
2231 | exp.LightEmission = 1 | |
2232 | exp.Color = ColorSequence.new(Color3.new(0,255/255,255/255)) | |
2233 | exp.Rate = 9000000000 | |
2234 | exp.Lifetime = NumberRange.new(1) | |
2235 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2236 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2237 | exp.Speed = NumberRange.new(105) | |
2238 | exp.VelocitySpread = 9000000 | |
2239 | exp.Rotation = NumberRange.new(-500,500) | |
2240 | exp.RotSpeed = NumberRange.new(-500,500) | |
2241 | local expa = Instance.new("ParticleEmitter",aa) | |
2242 | expa.Texture = "rbxassetid://296874871" | |
2243 | expa.LightEmission = 1 | |
2244 | expa.Color = ColorSequence.new(Color3.new(255,255/255,0/255)) | |
2245 | expa.Rate = 9000000000 | |
2246 | expa.Lifetime = NumberRange.new(2.75) | |
2247 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
2248 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2249 | expa.Speed = NumberRange.new(105) | |
2250 | expa.VelocitySpread = 9000000 | |
2251 | expa.Rotation = NumberRange.new(-500,500) | |
2252 | expa.RotSpeed = NumberRange.new(-500,500) | |
2253 | local exp2 = exp:Clone() | |
2254 | exp2.Parent = aa | |
2255 | local exp3 = exp:Clone() | |
2256 | exp3.Parent = aa | |
2257 | local exp4 = exp:Clone() | |
2258 | exp4.Parent = aa | |
2259 | local exp5 = exp:Clone() | |
2260 | exp5.Parent = aa | |
2261 | local exp6 = exp:Clone() | |
2262 | exp6.Parent = aa | |
2263 | local exp7 = exp:Clone() | |
2264 | exp7.Parent = aa | |
2265 | local expa2 = expa:Clone() | |
2266 | expa2.Parent = aa | |
2267 | local expa3 = expa:Clone() | |
2268 | expa3.Parent = aa | |
2269 | local expa4 = expa:Clone() | |
2270 | expa4.Parent = aa | |
2271 | local expa5 = expa:Clone() | |
2272 | expa5.Parent = aa | |
2273 | local expa6 = expa:Clone() | |
2274 | expa6.Parent = aa | |
2275 | local expa7 = expa:Clone() | |
2276 | expa7.Parent = aa | |
2277 | for i = 0, 1 do | |
2278 | val = val - 0.025*6.25 | |
2279 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2280 | wait() | |
2281 | end | |
2282 | exp.Rate = 0 | |
2283 | exp2.Rate = 0 | |
2284 | exp3.Rate = 0 | |
2285 | exp4.Rate = 0 | |
2286 | exp5.Rate = 0 | |
2287 | exp6.Rate = 0 | |
2288 | exp7.Rate = 0 | |
2289 | for i = 0, 1 do | |
2290 | val = val - 0.025*6.25 | |
2291 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2292 | wait() | |
2293 | end | |
2294 | attack = false | |
2295 | expa.Rate = 0 | |
2296 | expa2.Rate = 0 | |
2297 | expa3.Rate = 0 | |
2298 | expa4.Rate = 0 | |
2299 | expa5.Rate = 0 | |
2300 | expa6.Rate = 0 | |
2301 | expa7.Rate = 0 | |
2302 | for i = 0, 21 do | |
2303 | val = val - 0.025*6.25 | |
2304 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2305 | wait() | |
2306 | end | |
2307 | for i = 0, 74 do | |
2308 | val = val - 0.0145 | |
2309 | aa.Transparency = aa.Transparency + 0.0145 | |
2310 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2311 | wait() | |
2312 | end | |
2313 | wait(5) | |
2314 | lb:Destroy() | |
2315 | tra:Destroy() | |
2316 | tra2:Destroy() | |
2317 | end | |
2318 | ||
2319 | mouse.KeyDown:connect(function(key) | |
2320 | if key == "q" and attack == false then | |
2321 | InfernoComet() | |
2322 | end | |
2323 | if key == "e" and attack == false then | |
2324 | InfernoDemise() | |
2325 | end | |
2326 | if key == "r" and attack == false then | |
2327 | InfernoWrath() | |
2328 | end | |
2329 | if key == "f" and attack == false then | |
2330 | InfernoMeteor() | |
2331 | end | |
2332 | if key == "x" and attack == false then | |
2333 | InfernoHell() | |
2334 | end | |
2335 | if key == "z" and attack == false then | |
2336 | InfernoForce() | |
2337 | end | |
2338 | end) | |
2339 | ||
2340 | function onChatted(msg) | |
2341 | if msg == "I wont be defeated that easily!" and attack == false then | |
2342 | InfernoForce() | |
2343 | elseif msg == "go back to hell" and attack == false then InfernoHell() | |
2344 | elseif msg == "oh you just pushed the limit." and attack == false then | |
2345 | InfernoWrath() | |
2346 | elseif msg == "suprise!" and attack == false then | |
2347 | InfernoDemise() | |
2348 | end | |
2349 | end | |
2350 | ||
2351 | ||
2352 | game:GetService("RunService").Stepped:connect(function() | |
2353 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2354 | velocity = RootPart.Velocity.y | |
2355 | sine = sine + change | |
2356 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
2357 | if equipped == true or equipped == false then | |
2358 | healthg.Text = math.floor(hum.Health).. "/" ..math.floor(hum.MaxHealth) | |
2359 | if RootPart.Velocity.y > 1 and hit == nil then | |
2360 | Anim = "Jump" | |
2361 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2362 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2363 | if attack == false then | |
2364 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
2365 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) | |
2366 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.3) | |
2367 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3) | |
2368 | end | |
2369 | else | |
2370 | if RootPart.Velocity.y < -1 and hit == nil then | |
2371 | Anim = "Fall" | |
2372 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2373 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2374 | if attack == false then | |
2375 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
2376 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) | |
2377 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(90)), 0.3) | |
2378 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
2379 | end | |
2380 | else | |
2381 | if Torsovelocity < 1 and hit ~= nil then | |
2382 | Anim = "Idle" | |
2383 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-10),math.rad(0)),.3) | |
2384 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(10),math.rad(0)),.3) | |
2385 | if attack == false then | |
2386 | change = 1 | |
2387 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
2388 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
2389 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.25) * angles(math.rad(20 + 1.5 * math.cos(sine / 32)), math.rad(-30), math.rad(-90)), 0.3) | |
2390 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10 + 1.5 * math.cos(sine / 32))), 0.3) | |
2391 | end | |
2392 | else | |
2393 | if Torsovelocity > 2 and hit ~= nil then | |
2394 | Anim = "Walk" | |
2395 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3) | |
2396 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3) | |
2397 | if attack == false then | |
2398 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(15),math.rad(0),math.rad(25)),.3) | |
2399 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-25)),.3) | |
2400 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.5) * angles(math.rad(20), math.rad(-30), math.rad(-90)), 0.3) | |
2401 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 5)), math.rad(0), math.rad(-10)), 0.3) | |
2402 | end | |
2403 | end | |
2404 | end | |
2405 | end | |
2406 | end | |
2407 | end | |
2408 | end) |