SHOW:
|
|
- or go back to the newest paste.
1 | - | --[[Delphox Fire Brench edited by grgrgry21. |
1 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
4 | local RealPlayer = Player | |
5 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end --[[Delphox Fire Brench edited by grgrgry21. | |
6 | -- Roblox.LUA | Delphox Fire Brench | Made by Cass. | |
7 | ||
8 | A | |
9 | A A | |
10 | A C A | |
11 | A A | |
12 | A | |
13 | --]] | |
14 | wait(.2) | |
15 | local plr = game.Players.LocalPlayer | |
16 | local chr = plr.Character | |
17 | chr.Humanoid.MaxHealth = math.huge | |
18 | wait(.1) | |
19 | chr.Humanoid.Health = math.huge | |
20 | chr.Humanoid.JumpPower = 120 | |
21 | local maus = plr:GetMouse() | |
22 | local PGui=plr.PlayerGui | |
23 | local lleg = chr["Left Leg"] | |
24 | local rleg = chr["Right Leg"] | |
25 | local larm = chr["Left Arm"] | |
26 | local rarm = chr["Right Arm"] | |
27 | local hed = chr.Head | |
28 | local rutprt = chr.HumanoidRootPart | |
29 | local torso = chr.Torso | |
30 | local otheranims=false | |
31 | local armmovement=false | |
32 | local fireclrs={'Bright red','Bright yellow','Bright orange'} | |
33 | local holding=false | |
34 | local flying=false | |
35 | local jumpdb=false | |
36 | local spinni = 0 | |
37 | local play = true | |
38 | local dedly = false | |
39 | local ffwhileintro = true | |
40 | local change = 1 | |
41 | local sine = 0 | |
42 | local Anim = "Idle" | |
43 | local angles = CFrame.Angles | |
44 | local lalalclrs={Color3.new(1,.3,0),Color3.new(1,.3,0),Color3.new(1,.3,0),Color3.new(1,.3,0),Color3.new(1,0,0),BrickColor.new('Neon orange').Color} | |
45 | local hooh=Instance.new("Model", chr) | |
46 | hooh.Name = "haha yes" | |
47 | clerp = function(a, b, t) | |
48 | ||
49 | return a:lerp(b, t) | |
50 | end | |
51 | local newMotor = function(part0, part1, c0, c1) | |
52 | ||
53 | local w = Instance.new("Motor", part0) | |
54 | w.Part0 = part0 | |
55 | w.Part1 = part1 | |
56 | w.C0 = c0 | |
57 | w.C1 = c1 | |
58 | return w | |
59 | end | |
60 | ||
61 | vt = Vector3.new | |
62 | bc = BrickColor.new | |
63 | br = BrickColor.random | |
64 | it = Instance.new | |
65 | cf = CFrame.new | |
66 | ranclrs={'Bright red','Bright orange','Bright yellow','Neon orange','Br.yellowish orange'} | |
67 | rangclr=ranclrs[1] | |
68 | ||
69 | if chr:findFirstChild('Animate') then | |
70 | chr.Animate:Destroy() | |
71 | end | |
72 | ||
73 | ||
74 | function RC(Pos, Dir, Max, Ignore) | |
75 | return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore) | |
76 | end | |
77 | rayCast = function(Position, Direction, Range, Ignore) | |
78 | ||
79 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
80 | end | |
81 | ||
82 | local RbxUtility = LoadLibrary("RbxUtility") | |
83 | local Create = RbxUtility.Create | |
84 | RemoveOutlines = function(CreatePart) | |
85 | CreatePart.TopSurface = 10 | |
86 | end | |
87 | ||
88 | function CreateSound(id, par, vol, pit) | |
89 | coroutine.resume(coroutine.create(function() | |
90 | local sou = Instance.new("Sound", par or workspace) | |
91 | sou.Volume = vol | |
92 | sou.Pitch = pit or 1 | |
93 | sou.SoundId = id | |
94 | wait() | |
95 | sou:play() | |
96 | game:GetService("Debris"):AddItem(sou, 6) | |
97 | end)) | |
98 | end | |
99 | swait = function(num) | |
100 | if num == 0 or num == nil then | |
101 | game:service("RunService").Heartbeat:wait(0) | |
102 | else | |
103 | for i = 0, num do | |
104 | game:service("RunService").Heartbeat:wait(0) | |
105 | end | |
106 | end | |
107 | end | |
108 | ||
109 | Damage = function(hit, damage, cooldown, Color1, Color2, HSound, HPitch) | |
110 | for i,v in pairs(hit:GetChildren()) do | |
111 | if v:IsA("Humanoid") and hit.Name ~= chr.Name then | |
112 | local find = v:FindFirstChild("Hitz") | |
113 | if not find then | |
114 | if v.Parent:findFirstChild("Head") then | |
115 | local BillG = Create("BillboardGui")({Parent = v.Parent.Head, Size = UDim2.new(1, 0, 1, 0), Adornee = v.Parent.Head, StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3))}) | |
116 | do | |
117 | local TL = Create("TextLabel")({Parent = BillG, Size = UDim2.new(3, 3, 3, 3), BackgroundTransparency = 1, Text = "", TextColor3 = Color1.Color, TextStrokeColor3 = Color2.Color, TextStrokeTransparency = 1, TextXAlignment = Enum.TextXAlignment.Center, TextYAlignment = Enum.TextYAlignment.Center, FontSize = Enum.FontSize.Size42, Font = "ArialBold"}) | |
118 | coroutine.resume(coroutine.create(function() | |
119 | swait(2) | |
120 | --for i = 0, 1, 0.1 do | |
121 | while wait() and TL and TL.TextTransparency <= 1 do | |
122 | swait() | |
123 | BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, 0.1, 0) | |
124 | TL.TextTransparency = TL.TextTransparency + 0.04 | |
125 | TL.TextStrokeTransparency = TL.TextStrokeTransparency + 0.04 | |
126 | end | |
127 | BillG:Destroy() | |
128 | end)) | |
129 | end | |
130 | end | |
131 | do | |
132 | HitHealth = v.Health | |
133 | v.Health = v.Health - damage | |
134 | --[[ if HitHealth ~= v.Health and HitHealth ~= 0 and v.Health <= 0 and v.Parent.Name ~= "Lost Soul" then | |
135 | print("gained spree") | |
136 | plr:FindFirstChild("leaderstats").Spree.Value = plr.leaderstats.Spree.Value + 1 | |
137 | end]] | |
138 | do | |
139 | local bool = Create("BoolValue")({Parent = v, Name = "Hitz"}) | |
140 | if HSound ~= nil and HPitch ~= nil then | |
141 | CreateSound(HSound, hit, 1, HPitch) | |
142 | end | |
143 | game:GetService("Debris"):AddItem(bool, cooldown) | |
144 | end | |
145 | end | |
146 | end | |
147 | end | |
148 | end | |
149 | end | |
150 | MagnitudeDamage = function(Part, magni, mindam, maxdam) | |
151 | for _,c in pairs(workspace:children()) do | |
152 | local hum = c:findFirstChild("Humanoid") | |
153 | if hum ~= nil then | |
154 | local head = c:findFirstChild("Torso") | |
155 | if head ~= nil then | |
156 | local targ = head.Position - Part.Position | |
157 | local mag = targ.magnitude | |
158 | if mag <= magni and c.Name ~= plr.Name then | |
159 | Damage(head.Parent, math.random(mindam, maxdam), 0.5, BrickColor.new("Bright orange"), BrickColor.new("Bright yellow"), "", 1) | |
160 | end | |
161 | end | |
162 | end | |
163 | end | |
164 | end | |
165 | UltraMagnitudeDamage = function(Part, magni, mindam, maxdam) -- kek | |
166 | for _,c in pairs(workspace:children()) do | |
167 | local hum = c:findFirstChild("Humanoid") | |
168 | if hum ~= nil then | |
169 | local head = c:findFirstChild("Torso") | |
170 | if head ~= nil then | |
171 | local targ = head.Position - Part.Position | |
172 | local mag = targ.magnitude | |
173 | if mag <= magni and c.Name ~= plr.Name then | |
174 | Damage(head.Parent, math.random(mindam, maxdam), 0.5, BrickColor.new("Bright orange"), BrickColor.new("Bright yellow"), "", 1) | |
175 | head.Size = Vector3.new(1.995, 1.995, 0.995) | |
176 | end | |
177 | end | |
178 | end | |
179 | end | |
180 | end | |
181 | ||
182 | --[[function UltExplodeFast(rad,par) | |
183 | local expart = Instance.new("Part",script.Parent) | |
184 | local expart2 = Instance.new("Part",script.Parent) | |
185 | local partMesh = Instance.new("SpecialMesh",expart) | |
186 | partMesh.MeshType = "Sphere" | |
187 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
188 | partMesh2.MeshType = "Sphere" | |
189 | local expld = Instance.new("Explosion", script.Parent) | |
190 | local plode = Instance.new("Sound",expart) | |
191 | plode.SoundId = "rbxassetid://153274423" | |
192 | plode.Volume = 2.5*2 | |
193 | plode.Pitch = 1/1.075 | |
194 | plode.Looped = false | |
195 | plode:Play() | |
196 | local ploder = Instance.new("Sound",expart) | |
197 | ploder.SoundId = "rbxassetid://130972023" | |
198 | ploder.Volume = 2.5*2 | |
199 | ploder.Pitch = 1/1.075 | |
200 | ploder.Looped = false | |
201 | ploder:Play() | |
202 | expld.BlastRadius = rad | |
203 | expld.Position = par.Position | |
204 | partMesh.Scale = vt(rad,rad,rad) | |
205 | expart.Size = vt(1,1,1)*1.5 | |
206 | expart.Transparency = 0 | |
207 | expart.Anchored = true | |
208 | expart.Material = "Neon" | |
209 | expart.BrickColor = bc("Really black") | |
210 | expart.CFrame = par.CFrame | |
211 | partMesh2.Scale = vt(rad,rad,rad) | |
212 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
213 | expart2.Transparency = 0.5 | |
214 | expart2.Anchored = true | |
215 | expart2.Material = "Neon" | |
216 | expart2.BrickColor = bc("Royal purple") | |
217 | expart2.CFrame = par.CFrame | |
218 | local value = 1*rad/6.5 | |
219 | par:Destroy() | |
220 | for i = 0, 100 do | |
221 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
222 | expart.CFrame = expart.CFrame | |
223 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
224 | expart2.CFrame = expart.CFrame | |
225 | value = value - 0.035*rad/6.5 | |
226 | if value < 1 then | |
227 | value = 0.25 | |
228 | expart.Transparency = expart.Transparency + 0.025 | |
229 | expart2.Transparency = expart2.Transparency + 0.025 | |
230 | end | |
231 | wait() | |
232 | end | |
233 | plode.Parent = nil | |
234 | ploder.Parent = nil | |
235 | expart.Parent = nil | |
236 | expart2.Parent = nil | |
237 | expld.Parent = nil | |
238 | end | |
239 | ||
240 | function UltExplode(rad,par) | |
241 | local expart = Instance.new("Part",script.Parent) | |
242 | local expart2 = Instance.new("Part",script.Parent) | |
243 | local partMesh = Instance.new("SpecialMesh",expart) | |
244 | partMesh.MeshType = "Sphere" | |
245 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
246 | partMesh2.MeshType = "Sphere" | |
247 | local expld = Instance.new("Explosion", script.Parent) | |
248 | local plode = Instance.new("Sound",expart) | |
249 | plode.SoundId = "rbxassetid://288641686" | |
250 | plode.Volume = 2.5*2 | |
251 | plode.Pitch = 0.75/1.075 | |
252 | plode.Looped = false | |
253 | plode:Play() | |
254 | local ploder = Instance.new("Sound",expart) | |
255 | ploder.SoundId = "rbxassetid://206049428" | |
256 | ploder.Volume = 3.25*2 | |
257 | ploder.Pitch = 0.5/1.075 | |
258 | ploder.Looped = false | |
259 | ploder:Play() | |
260 | expld.BlastRadius = rad | |
261 | expld.Position = par.Position | |
262 | partMesh.Scale = vt(rad,rad,rad) | |
263 | expart.Size = vt(1,1,1)*1.5 | |
264 | expart.Transparency = 0 | |
265 | expart.Anchored = true | |
266 | expart.Material = "Neon" | |
267 | expart.BrickColor = bc("Really black") | |
268 | expart.CFrame = par.CFrame | |
269 | partMesh2.Scale = vt(rad,rad,rad) | |
270 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
271 | expart2.Transparency = 0.5 | |
272 | expart2.Anchored = true | |
273 | expart2.Material = "Neon" | |
274 | expart2.BrickColor = bc("Royal purple") | |
275 | expart2.CFrame = par.CFrame | |
276 | local value = 1*rad/6.5 | |
277 | par:Destroy() | |
278 | for i = 0, 100 do | |
279 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
280 | expart.CFrame = expart.CFrame | |
281 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
282 | expart2.CFrame = expart.CFrame | |
283 | value = value - 0.035*rad/6.5 | |
284 | if value < 1 then | |
285 | value = 0.25 | |
286 | expart.Transparency = expart.Transparency + 0.025 | |
287 | expart2.Transparency = expart2.Transparency + 0.025 | |
288 | end | |
289 | wait() | |
290 | end | |
291 | plode.Parent = nil | |
292 | ploder.Parent = nil | |
293 | expart.Parent = nil | |
294 | expart2.Parent = nil | |
295 | expld.Parent = nil | |
296 | end | |
297 | ]] | |
298 | function UltExplodeMass(rad,par) | |
299 | local expart = Instance.new("Part",script.Parent) | |
300 | local expart2 = Instance.new("Part",script.Parent) | |
301 | local expart3 = Instance.new("Part",script.Parent) | |
302 | local expart4 = Instance.new("Part",script.Parent) | |
303 | local partMesh = Instance.new("SpecialMesh",expart) | |
304 | partMesh.MeshType = "Sphere" | |
305 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
306 | partMesh2.MeshType = "Sphere" | |
307 | local partMesh3 = Instance.new("SpecialMesh",expart3) | |
308 | partMesh3.MeshType = "Sphere" | |
309 | local partMesh4 = Instance.new("SpecialMesh",expart4) | |
310 | partMesh4.MeshType = "Sphere" | |
311 | local expld = Instance.new("Explosion", script.Parent) | |
312 | local plode = Instance.new("Sound",workspace) | |
313 | plode.SoundId = "rbxassetid://579687077" | |
314 | plode.Volume = 1*2 | |
315 | plode.Pitch = 0.75/1.075 | |
316 | plode.Looped = false | |
317 | plode:Play() | |
318 | local plodez = Instance.new("Sound",workspace) | |
319 | plodez.SoundId = "rbxassetid://288641686" | |
320 | plodez.Volume = 1*2 | |
321 | plodez.Pitch = 0.625/1.075 | |
322 | plodez.Looped = false | |
323 | plodez:Play() | |
324 | local plodeza = Instance.new("Sound",workspace) | |
325 | plodeza.SoundId = "rbxassetid://197161452" | |
326 | plodeza.Volume = 0.85*2 | |
327 | plodeza.Pitch = 0.5/1.075 | |
328 | plodeza.Looped = false | |
329 | plodeza:Play() | |
330 | local plodezar = Instance.new("Sound",workspace) | |
331 | plodezar.SoundId = "rbxassetid://197161452" | |
332 | plodezar.Volume = 0.85*2 | |
333 | plodezar.Pitch = 0.2/1.075 | |
334 | plodezar.Looped = false | |
335 | plodezar:Play() | |
336 | local s3 = Instance.new("Sound",workspace) | |
337 | s3.SoundId = "rbxassetid://268931189" | |
338 | s3.Pitch = 0.875/1.05 | |
339 | s3.Volume = 1*2 | |
340 | s3.Looped = false | |
341 | s3:Play() | |
342 | ||
343 | expld.Position = par.Position | |
344 | expld.DestroyJointRadiusPercent = 500000000 | |
345 | expld.BlastPressure = 500000000 | |
346 | expld.BlastRadius = 10000000000 | |
347 | expld.ExplosionType = "CratersAndDebris" | |
348 | ||
349 | partMesh.Scale = vt(rad,rad,rad) | |
350 | expart.Size = vt(.6,.6,.6)*1.5 | |
351 | expart.Transparency = 0 | |
352 | expart.Anchored = true | |
353 | expart.CanCollide=false | |
354 | expart.Material = "Neon" | |
355 | expart.BrickColor = bc("Bright orange") | |
356 | expart.CFrame = par.CFrame | |
357 | partMesh2.Scale = vt(rad,rad,rad) | |
358 | expart2.Size = vt(.65,.65,.65)*1.5 | |
359 | expart2.Transparency = 0.5 | |
360 | expart2.Anchored = true | |
361 | expart2.Material = "Neon" | |
362 | expart2.CanCollide=false | |
363 | expart2.BrickColor = bc("Bright red") | |
364 | expart2.CFrame = par.CFrame | |
365 | partMesh3.Scale = vt(rad,rad,rad) | |
366 | expart3.Size = vt(.25,9,.25)*1.5 | |
367 | expart3.Transparency = 0.5 | |
368 | expart3.Anchored = true | |
369 | expart3.CanCollide=false | |
370 | expart3.Material = "Neon" | |
371 | expart3.BrickColor = bc("Bright red") | |
372 | expart3.CFrame = par.CFrame | |
373 | partMesh4.Scale = vt(rad,rad,rad) | |
374 | expart4.Size = vt(.15,8,.15)*1.5 | |
375 | expart4.Transparency = 0.5 | |
376 | expart4.Anchored = true | |
377 | expart4.CanCollide=false | |
378 | expart4.Material = "Neon" | |
379 | expart4.BrickColor = bc("Bright orange") | |
380 | expart4.CFrame = par.CFrame | |
381 | wait(.0167) | |
382 | UltraMagnitudeDamage(expart, 3000, 99999999, 999999999) | |
383 | local value = 1*rad/10 | |
384 | ||
385 | par:Destroy() | |
386 | for i = 0, 300 do | |
387 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
388 | expart.CFrame = expart.CFrame | |
389 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
390 | expart2.CFrame = expart.CFrame | |
391 | partMesh3.Scale = partMesh3.Scale + vt(value,value,value) | |
392 | expart3.CFrame = expart.CFrame | |
393 | partMesh4.Scale = partMesh4.Scale + vt(value,value,value) | |
394 | expart4.CFrame = expart.CFrame | |
395 | value = value - 0.0175*rad/10 | |
396 | if value <= 0 then | |
397 | expart.Transparency = expart.Transparency + 0.0125 | |
398 | expart2.Transparency = expart2.Transparency + 0.0125 | |
399 | ||
400 | expart3.Transparency = expart3.Transparency + 0.0125 | |
401 | expart4.Transparency = expart4.Transparency + 0.0125 | |
402 | value = 0.25 | |
403 | end | |
404 | wait() | |
405 | end | |
406 | ||
407 | plode.Parent = nil | |
408 | plodez.Parent = nil | |
409 | plodeza.Parent = nil | |
410 | plodezar.Parent = nil | |
411 | s3.Parent = nil | |
412 | expart.Parent = nil | |
413 | expart2.Parent = nil | |
414 | expart3.Parent = nil | |
415 | expart4.Parent = nil | |
416 | expld.Parent = nil | |
417 | end | |
418 | ||
419 | --[[function ExplodeFast(rad,par) | |
420 | local expart = Instance.new("Part",script.Parent) | |
421 | local expart2 = Instance.new("Part",script.Parent) | |
422 | local partMesh = Instance.new("SpecialMesh",expart) | |
423 | partMesh.MeshType = "Sphere" | |
424 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
425 | partMesh2.MeshType = "Sphere" | |
426 | local expld = Instance.new("Explosion", script.Parent) | |
427 | local plode = Instance.new("Sound",expart) | |
428 | plode.SoundId = "rbxassetid://153274423" | |
429 | plode.Volume = 2.5 | |
430 | plode.Pitch = 1 | |
431 | plode.Looped = false | |
432 | plode:Play() | |
433 | local ploder = Instance.new("Sound",expart) | |
434 | ploder.SoundId = "rbxassetid://130972023" | |
435 | ploder.Volume = 2.5 | |
436 | ploder.Pitch = 1 | |
437 | ploder.Looped = false | |
438 | ploder:Play() | |
439 | expld.BlastRadius = rad | |
440 | expld.Position = par.Position | |
441 | partMesh.Scale = vt(rad,rad,rad) | |
442 | expart.Size = vt(1,1,1)*1.5 | |
443 | expart.Transparency = 0 | |
444 | expart.Anchored = true | |
445 | expart.Material = "Neon" | |
446 | expart.BrickColor = bc("Bright yellow") | |
447 | expart.CFrame = par.CFrame | |
448 | partMesh2.Scale = vt(rad,rad,rad) | |
449 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
450 | expart2.Transparency = 0.5 | |
451 | expart2.Anchored = true | |
452 | expart2.Material = "Neon" | |
453 | expart2.BrickColor = bc("Bright orange") | |
454 | expart2.CFrame = par.CFrame | |
455 | local value = 1*rad/6.5 | |
456 | par:Destroy() | |
457 | for i = 0, 100 do | |
458 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
459 | expart.CFrame = expart.CFrame | |
460 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
461 | expart2.CFrame = expart.CFrame | |
462 | value = value - 0.035*rad/6.5 | |
463 | if value < 1 then | |
464 | value = 0.25 | |
465 | expart.Transparency = expart.Transparency + 0.025 | |
466 | expart2.Transparency = expart2.Transparency + 0.025 | |
467 | end | |
468 | wait() | |
469 | end | |
470 | plode.Parent = nil | |
471 | ploder.Parent = nil | |
472 | expart.Parent = nil | |
473 | expart2.Parent = nil | |
474 | expld.Parent = nil | |
475 | end]] | |
476 | ||
477 | function Explode2(rad,par) | |
478 | local expart = Instance.new("Part",script.Parent) | |
479 | local expart2 = Instance.new("Part",script.Parent) | |
480 | local partMesh = Instance.new("SpecialMesh",expart) | |
481 | partMesh.MeshType = "Sphere" | |
482 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
483 | partMesh2.MeshType = "Sphere" | |
484 | --local expld = Instance.new("Explosion", script.Parent) y explosion tho | |
485 | ||
486 | CreateSound("http://roblox.com/asset/?id=579687077", expart, 2, 1.1) | |
487 | ||
488 | CreateSound("http://roblox.com/asset/?id=206049428", expart, 3, 0.8) | |
489 | partMesh.Scale = vt(rad,rad,rad) | |
490 | expart.Size = vt(.3,.3,.3)*1.5 | |
491 | expart.Transparency = 0 | |
492 | expart.Anchored = true | |
493 | expart.Material = "Neon" | |
494 | expart.BrickColor = bc("Bright orange") | |
495 | expart.CFrame = par.CFrame | |
496 | partMesh2.Scale = vt(rad,rad,rad) | |
497 | expart2.Size = vt(0.4,0.4,0.4)*1.5 | |
498 | expart2.Transparency = 0.5 | |
499 | expart2.Anchored = true | |
500 | expart2.Material = "Neon" | |
501 | expart2.BrickColor = bc("Bright red") | |
502 | expart2.CFrame = par.CFrame | |
503 | local value = 1*rad/6.5 | |
504 | MagnitudeDamage(expart, 15, 8, 15) | |
505 | par:Destroy() | |
506 | for i = 0, 100 do | |
507 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
508 | expart.CFrame = expart.CFrame | |
509 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
510 | expart2.CFrame = expart.CFrame | |
511 | value = value - 0.035*rad/6.5 | |
512 | if value < 1 then | |
513 | value = 0.25 | |
514 | expart.Transparency = expart.Transparency + 0.025 | |
515 | expart2.Transparency = expart2.Transparency + 0.025 | |
516 | end | |
517 | wait() | |
518 | end | |
519 | --plode.Parent = nil | |
520 | --ploder.Parent = nil | |
521 | expart.Parent = nil | |
522 | expart2.Parent = nil | |
523 | --expld.Parent = nil | |
524 | end | |
525 | function Explode(rad,par) | |
526 | local expart = Instance.new("Part",script.Parent) | |
527 | local expart2 = Instance.new("Part",script.Parent) | |
528 | local partMesh = Instance.new("SpecialMesh",expart) | |
529 | partMesh.MeshType = "Sphere" | |
530 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
531 | partMesh2.MeshType = "Sphere" | |
532 | --local expld = Instance.new("Explosion", script.Parent) y explosion tho | |
533 | ||
534 | CreateSound("http://roblox.com/asset/?id=579687077", expart, 2.5, 0.75) | |
535 | ||
536 | CreateSound("http://roblox.com/asset/?id=206049428", expart, 3.25, 0.5) | |
537 | partMesh.Scale = vt(rad,rad,rad) | |
538 | expart.Size = vt(1,1,1)*1.5 | |
539 | expart.Transparency = 0 | |
540 | expart.Anchored = true | |
541 | expart.Material = "Neon" | |
542 | expart.BrickColor = bc("Bright orange") | |
543 | expart.CFrame = par.CFrame | |
544 | partMesh2.Scale = vt(rad,rad,rad) | |
545 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
546 | expart2.Transparency = 0.5 | |
547 | expart2.Anchored = true | |
548 | expart2.Material = "Neon" | |
549 | expart2.BrickColor = bc("Bright red") | |
550 | expart2.CFrame = par.CFrame | |
551 | local value = 1*rad/6.5 | |
552 | MagnitudeDamage(expart, 50, 15, 35) | |
553 | par:Destroy() | |
554 | for i = 0, 100 do | |
555 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
556 | expart.CFrame = expart.CFrame | |
557 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
558 | expart2.CFrame = expart.CFrame | |
559 | value = value - 0.035*rad/6.5 | |
560 | if value < 1 then | |
561 | value = 0.25 | |
562 | expart.Transparency = expart.Transparency + 0.025 | |
563 | expart2.Transparency = expart2.Transparency + 0.025 | |
564 | end | |
565 | wait() | |
566 | end | |
567 | --plode.Parent = nil | |
568 | --ploder.Parent = nil | |
569 | expart.Parent = nil | |
570 | expart2.Parent = nil | |
571 | --expld.Parent = nil | |
572 | end | |
573 | --[[function ExplodeMass(rad,par) | |
574 | local expart = Instance.new("Part",script.Parent) | |
575 | local expart2 = Instance.new("Part",script.Parent) | |
576 | local partMesh = Instance.new("SpecialMesh",expart) | |
577 | partMesh.MeshType = "Sphere" | |
578 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
579 | partMesh2.MeshType = "Sphere" | |
580 | local expld = Instance.new("Explosion", script.Parent) | |
581 | local plode = Instance.new("Sound",workspace) | |
582 | plode.SoundId = "rbxassetid://579687077" | |
583 | plode.Volume = 1 | |
584 | plode.Pitch = 0.75 | |
585 | plode.Looped = false | |
586 | plode:Play() | |
587 | local plodez = Instance.new("Sound",workspace) | |
588 | plodez.SoundId = "rbxassetid://288641686" | |
589 | plodez.Volume = 1 | |
590 | plodez.Pitch = 0.625 | |
591 | plodez.Looped = false | |
592 | plodez:Play() | |
593 | local plodeza = Instance.new("Sound",workspace) | |
594 | plodeza.SoundId = "rbxassetid://197161452" | |
595 | plodeza.Volume = 0.85 | |
596 | plodeza.Pitch = 0.5 | |
597 | plodeza.Looped = false | |
598 | plodeza:Play() | |
599 | local plodezar = Instance.new("Sound",workspace) | |
600 | plodezar.SoundId = "rbxassetid://197161452" | |
601 | plodezar.Volume = 0.85 | |
602 | plodezar.Pitch = 0.2 | |
603 | plodezar.Looped = false | |
604 | plodezar:Play() | |
605 | local s3 = Instance.new("Sound",workspace) | |
606 | s3.SoundId = "rbxassetid://268931189" | |
607 | s3.Pitch = 0.875 | |
608 | s3.Volume = 1 | |
609 | s3.Looped = false | |
610 | s3:Play() | |
611 | expld.BlastRadius = rad | |
612 | expld.Position = par.Position | |
613 | partMesh.Scale = vt(rad,rad,rad) | |
614 | expart.Size = vt(1,1,1)*1.5 | |
615 | expart.Transparency = 0 | |
616 | expart.Anchored = true | |
617 | expart.Material = "Neon" | |
618 | expart.BrickColor = bc("Really black") | |
619 | expart.CFrame = par.CFrame | |
620 | partMesh2.Scale = vt(rad,rad,rad) | |
621 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
622 | expart2.Transparency = 0.5 | |
623 | expart2.Anchored = true | |
624 | expart2.Material = "Neon" | |
625 | expart2.BrickColor = bc("Bright violet") | |
626 | expart2.CFrame = par.CFrame | |
627 | local value = 1*rad/10 | |
628 | par:Destroy() | |
629 | for i = 0, 300 do | |
630 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
631 | expart.CFrame = expart.CFrame | |
632 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
633 | expart2.CFrame = expart.CFrame | |
634 | value = value - 0.0175*rad/10 | |
635 | if value <= 0 then | |
636 | expart.Transparency = expart.Transparency + 0.0125 | |
637 | expart2.Transparency = expart2.Transparency + 0.0125 | |
638 | value = 0.25 | |
639 | end | |
640 | wait() | |
641 | end | |
642 | plode.Parent = nil | |
643 | expart.Parent = nil | |
644 | expart2.Parent = nil | |
645 | expld.Parent = nil | |
646 | end]] | |
647 | ||
648 | -- | |
649 | ||
650 | function Lerp(a, b, i) | |
651 | local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()} | |
652 | local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()} | |
653 | local calx = com1[1] + (com2[1] - com1[1]) * i | |
654 | local caly = com1[2] + (com2[2] - com1[2]) * i | |
655 | local calz = com1[3] + (com2[3] - com1[3]) * i | |
656 | local cala = com1[4] + (com2[4] - com1[4]) * i | |
657 | local calb = com1[5] + (com2[5] - com1[5]) * i | |
658 | local calc = com1[6] + (com2[6] - com1[6]) * i | |
659 | return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc) | |
660 | end | |
661 | ||
662 | function TwnSingleNumber(s,f,m) | |
663 | local wot=s+(f-s)*m | |
664 | return wot | |
665 | end | |
666 | ||
667 | function TwnPartSize(q,w,e) | |
668 | local begin={q.x,q.y,q.z} | |
669 | local ending={w.x,w.y,w.z} | |
670 | local bgx=begin[1]+(ending[1]-begin[1])*e | |
671 | local bgy=begin[2]+(ending[2]-begin[2])*e | |
672 | local bgz=begin[3]+(ending[3]-begin[3])*e | |
673 | return Vector3.new(bgx,bgy,bgz) | |
674 | end | |
675 | ||
676 | newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z) | |
677 | wld = Instance.new("Weld", wp1) | |
678 | wld.Part0 = wp0 | |
679 | wld.Part1 = wp1 | |
680 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
681 | end | |
682 | ||
683 | newWeld(law, torso, larm, -1.5, 0.5, 0) | |
684 | newWeld(raw, torso, rarm, 1.5, 0.5, 0) | |
685 | newWeld(llw, torso, lleg, -.5, -2, 0) | |
686 | newWeld(rlw, torso, rleg, .5, -2, 0) | |
687 | newWeld(hw, torso, hed, 0, 1.5, 0) | |
688 | local rutwald=Instance.new('Weld',rutprt) | |
689 | rutwald.Part0=rutprt | |
690 | rutwald.Part1=torso | |
691 | rutwald.Name="RootJoint" | |
692 | rutprt.RootJoint.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0) | |
693 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
694 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
695 | rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0) | |
696 | lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0) | |
697 | ||
698 | local anim = "Idling" | |
699 | local lastanim = "Idling" | |
700 | local val = 0 | |
701 | local syne = 0 | |
702 | local num = 0 | |
703 | local runtime = 0 | |
704 | ||
705 | ---------------------------------------------------------------------------- | |
706 | ||
707 | --http://www.roblox.com/asset/?id=269748808 neon ;0 | |
708 | ||
709 | ||
710 | local tail=Instance.new('Model',chr) | |
711 | tail.Name='Tail' | |
712 | local obj1=Instance.new('Part',tail) | |
713 | obj1.formFactor='Custom' | |
714 | obj1.Size=Vector3.new(1.25,1,1.25) | |
715 | obj1.BrickColor=BrickColor.new('Cool yellow') | |
716 | obj1.Anchored=false | |
717 | obj1.CanCollide=false | |
718 | obj1.TopSurface=10 | |
719 | obj1.BottomSurface=10 | |
720 | obj1.LeftSurface=10 | |
721 | obj1.RightSurface=10 | |
722 | obj1.FrontSurface=10 | |
723 | obj1.BackSurface=10 | |
724 | obj1:breakJoints() | |
725 | obj1.Locked=true | |
726 | obj1.Material='SmoothPlastic' | |
727 | local obj1m=Instance.new('SpecialMesh',obj1) | |
728 | obj1m.MeshId="http://www.roblox.com/asset/?id=1033714" | |
729 | obj1m.Scale=Vector3.new(1.25,2,1.25) | |
730 | obj1w=Instance.new('Weld',obj1) | |
731 | obj1w.Part0=torso | |
732 | obj1w.Part1=obj1 | |
733 | obj1w.C0=CFrame.new(0,-.9,.65)*CFrame.Angles(math.rad(-97.5),0,0) | |
734 | ||
735 | local partasdeffb = Instance.new("ParticleEmitter",torso) | |
736 | partasdeffb.Color = ColorSequence.new(Color3.new(1, .5, 0), Color3.new(1, .2, 0)) | |
737 | partasdeffb.LightEmission = 1 | |
738 | partasdeffb.Size = NumberSequence.new(0.2) | |
739 | partasdeffb.Texture = "http://www.roblox.com/asset/?ID=68137067" | |
740 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 8)}) | |
741 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
742 | partasdeffb.Transparency = bbb | |
743 | partasdeffb.Size = aaa | |
744 | partasdeffb.ZOffset = .9 | |
745 | partasdeffb.Acceleration = Vector3.new(0, 0, 0) | |
746 | partasdeffb.LockedToPart = true | |
747 | partasdeffb.EmissionDirection = "Top" | |
748 | partasdeffb.Lifetime = NumberRange.new(1) | |
749 | partasdeffb.Rate = 200 | |
750 | partasdeffb.Rotation = NumberRange.new(-100, 100) | |
751 | partasdeffb.RotSpeed = NumberRange.new(-100, 100) | |
752 | partasdeffb.Speed = NumberRange.new(5) | |
753 | partasdeffb.VelocitySpread = 1000 | |
754 | partasdeffb.Enabled=false | |
755 | ||
756 | ||
757 | local partasdeff = Instance.new("ParticleEmitter",torso) | |
758 | partasdeff.Color = ColorSequence.new(Color3.new(1, .5, 0), Color3.new(1, .2, 0)) | |
759 | partasdeff.LightEmission = 1 | |
760 | partasdeff.Size = NumberSequence.new(0.2) | |
761 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=68137067" | |
762 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 12)}) | |
763 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
764 | partasdeff.Transparency = bbb | |
765 | partasdeff.Size = aaa | |
766 | partasdeff.ZOffset = .9 | |
767 | partasdeff.Acceleration = Vector3.new(0, 0, 0) | |
768 | partasdeff.LockedToPart = false | |
769 | partasdeff.EmissionDirection = "Top" | |
770 | partasdeff.Lifetime = NumberRange.new(1) | |
771 | partasdeff.Rate = 200 | |
772 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
773 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
774 | partasdeff.Speed = NumberRange.new(5) | |
775 | partasdeff.VelocitySpread = 1000 | |
776 | partasdeff.Enabled=false | |
777 | ||
778 | local introo = Instance.new("ParticleEmitter",torso) | |
779 | introo.Color = ColorSequence.new(Color3.new(1, .5, 0), Color3.new(1, .2, 0)) | |
780 | introo.LightEmission = 1 | |
781 | introo.Size = NumberSequence.new(0.2) | |
782 | introo.Texture = "http://www.roblox.com/asset/?id=99210382" | |
783 | aas = NumberSequence.new({NumberSequenceKeypoint.new(0, 5.22),NumberSequenceKeypoint.new(1, 0)}) | |
784 | asd = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
785 | introo.Transparency = asd | |
786 | introo.Size = aas | |
787 | introo.ZOffset = 1 | |
788 | introo.Acceleration = Vector3.new(0, 0, 0) | |
789 | introo.LockedToPart = true | |
790 | introo.EmissionDirection = "Top" | |
791 | introo.Lifetime = NumberRange.new(0.8) | |
792 | introo.Rate = 500 | |
793 | introo.Rotation = NumberRange.new(-100, 100) | |
794 | introo.RotSpeed = NumberRange.new(-100, 100) | |
795 | introo.Speed = NumberRange.new(10) | |
796 | introo.VelocitySpread = 1000 | |
797 | introo.Enabled=true | |
798 | -- | |
799 | local int1 = Instance.new("ParticleEmitter",torso) | |
800 | int1.Color = ColorSequence.new(Color3.new(1, .5, 0), Color3.new(1, .2, 0)) | |
801 | int1.LightEmission = 1 | |
802 | int1.Size = NumberSequence.new(0.2) | |
803 | int1.Texture = "http://www.roblox.com/asset/?id=99210382" | |
804 | ff = NumberSequence.new({NumberSequenceKeypoint.new(0, 5.22),NumberSequenceKeypoint.new(1, 0)}) | |
805 | fff = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
806 | int1.Transparency = fff | |
807 | int1.Size = ff | |
808 | int1.ZOffset = 1 | |
809 | int1.Acceleration = Vector3.new(0, 0, 0) | |
810 | int1.LockedToPart = true | |
811 | int1.EmissionDirection = "Top" | |
812 | int1.Lifetime = NumberRange.new(1) | |
813 | int1.Rate = 3000 | |
814 | int1.Rotation = NumberRange.new(-100, 100) | |
815 | int1.RotSpeed = NumberRange.new(-100, 100) | |
816 | int1.Speed = NumberRange.new(100) | |
817 | int1.VelocitySpread = 1000 | |
818 | int1.Enabled=false | |
819 | local int2 = Instance.new("ParticleEmitter",torso) | |
820 | int2.Color = ColorSequence.new(Color3.new(1, .5, 0), Color3.new(1, .2, 0)) | |
821 | int2.LightEmission = 1 | |
822 | int2.Size = NumberSequence.new(0.2) | |
823 | int2.Texture = "http://www.roblox.com/asset/?id=99210382" | |
824 | aaaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 5.22),NumberSequenceKeypoint.new(1, 0)}) | |
825 | bbbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
826 | int2.Transparency = bbbb | |
827 | int2.Size = aaaa | |
828 | int2.ZOffset = 1 | |
829 | int2.Acceleration = Vector3.new(0, 0, 0) | |
830 | int2.LockedToPart = true | |
831 | int2.EmissionDirection = "Top" | |
832 | int2.Lifetime = NumberRange.new(1) | |
833 | int2.Rate = 3000 | |
834 | int2.Rotation = NumberRange.new(-100, 100) | |
835 | int2.RotSpeed = NumberRange.new(-100, 100) | |
836 | int2.Speed = NumberRange.new(100) | |
837 | int2.VelocitySpread = 1000 | |
838 | int2.Enabled=false | |
839 | local int3 = Instance.new("ParticleEmitter",torso) | |
840 | int3.Color = ColorSequence.new(Color3.new(1, .5, 0), Color3.new(1, .2, 0)) | |
841 | int3.LightEmission = 1 | |
842 | int3.Size = NumberSequence.new(0.2) | |
843 | int3.Texture = "http://www.roblox.com/asset/?id=99210382" | |
844 | aaaaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 5.22),NumberSequenceKeypoint.new(1, 0)}) | |
845 | bbbbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
846 | int3.Transparency = bbbbb | |
847 | int3.Size = aaaaa | |
848 | int3.ZOffset = 1 | |
849 | int3.Acceleration = Vector3.new(0, 0, 0) | |
850 | int3.LockedToPart = true | |
851 | int3.EmissionDirection = "Top" | |
852 | int3.Lifetime = NumberRange.new(1) | |
853 | int3.Rate = 3000 | |
854 | int3.Rotation = NumberRange.new(-100, 100) | |
855 | int3.RotSpeed = NumberRange.new(-100, 100) | |
856 | int3.Speed = NumberRange.new(100) | |
857 | int3.VelocitySpread = 1000 | |
858 | int3.Enabled=false | |
859 | -- | |
860 | local objd=Instance.new('Part',tail) | |
861 | objd.formFactor='Custom' | |
862 | objd.Size=Vector3.new(.2,.2,.2) | |
863 | objd.BrickColor=BrickColor.new('Cool yellow') | |
864 | objd.Anchored=false | |
865 | objd.CanCollide=false | |
866 | objd.Transparency=1 | |
867 | objd:breakJoints() | |
868 | objd.Locked=true | |
869 | objd.Name="aaa" | |
870 | local parti = Instance.new("ParticleEmitter",objd) | |
871 | parti.Color = ColorSequence.new(Color3.new(1, .7, 0), Color3.new(1, .6, 0)) | |
872 | parti.LightEmission = 1 | |
873 | parti.Size = NumberSequence.new(0.2) | |
874 | parti.Texture = "http://www.roblox.com/asset/?ID=68137067" | |
875 | sizeseq = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 10)}) | |
876 | transseq = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)}) | |
877 | parti.Transparency = transseq | |
878 | parti.Size = sizeseq | |
879 | parti.ZOffset = 1 | |
880 | parti.Acceleration = Vector3.new(0, 0, 0) | |
881 | parti.LockedToPart = true | |
882 | parti.EmissionDirection = "Top" | |
883 | parti.Lifetime = NumberRange.new(1) | |
884 | parti.Rate = 2 | |
885 | parti.Rotation = NumberRange.new(-50, 50) | |
886 | parti.RotSpeed = NumberRange.new(-50, 50) | |
887 | parti.Speed = NumberRange.new(0) | |
888 | parti.VelocitySpread = 0 | |
889 | obj1waah=Instance.new('Weld',objd) | |
890 | obj1waah.Part0=torso | |
891 | obj1waah.Part1=objd | |
892 | obj1waah.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
893 | ||
894 | local objd2=Instance.new('Part',tail) | |
895 | objd2.formFactor='Custom' | |
896 | objd2.Size=Vector3.new(.2,.2,.2) | |
897 | objd2.BrickColor=BrickColor.new('Cool yellow') | |
898 | objd2.Anchored=false | |
899 | objd2.CanCollide=false | |
900 | objd2.Transparency=1 | |
901 | objd2:breakJoints() | |
902 | objd2.Locked=true | |
903 | objd2.Name="bbb" | |
904 | ||
905 | obj1wbb=Instance.new('Weld',objd2) | |
906 | obj1wbb.Part0=torso | |
907 | obj1wbb.Part1=objd2 | |
908 | obj1wbb.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
909 | ||
910 | local obd=Instance.new('Part',tail) | |
911 | obd.formFactor='Custom' | |
912 | obd.Size=Vector3.new(.2,.2,.2) | |
913 | obd.BrickColor=BrickColor.new('Cool yellow') | |
914 | obd.Anchored=false | |
915 | obd.CanCollide=false | |
916 | obd.Transparency=1 | |
917 | obd:breakJoints() | |
918 | obd.Locked=true | |
919 | obd.Name="ccc" | |
920 | local partid = Instance.new("ParticleEmitter",obd) | |
921 | partid.Color = ColorSequence.new(Color3.new(1, .7, 0), Color3.new(1, .6, 0)) | |
922 | partid.LightEmission = 1 | |
923 | partid.Size = NumberSequence.new(0.2) | |
924 | partid.Texture = "http://www.roblox.com/asset/?ID=68137067" | |
925 | sizeseq = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.833),NumberSequenceKeypoint.new(1, 0)}) | |
926 | transseq = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)}) | |
927 | partid.Transparency = transseq | |
928 | partid.Size = sizeseq | |
929 | partid.ZOffset = 0 | |
930 | partid.Acceleration = Vector3.new(0, 10, 0) | |
931 | partid.LockedToPart = false | |
932 | partid.EmissionDirection = "Top" | |
933 | partid.Lifetime = NumberRange.new(1) | |
934 | partid.Rate = 250 | |
935 | partid.Rotation = NumberRange.new(-50, 50) | |
936 | partid.RotSpeed = NumberRange.new(-50, 50) | |
937 | partid.Speed = NumberRange.new(0) | |
938 | partid.VelocitySpread = 0 | |
939 | ob1w=Instance.new('Weld',obd) | |
940 | ob1w.Part0=objd | |
941 | ob1w.Part1=obd | |
942 | ob1w.C0=CFrame.new(4,0,0)*CFrame.Angles(0,0,0) | |
943 | ||
944 | local obd2=Instance.new('Part',tail) | |
945 | obd2.formFactor='Custom' | |
946 | obd2.Size=Vector3.new(.2,.2,.2) | |
947 | obd2.BrickColor=BrickColor.new('Cool yellow') | |
948 | obd2.Anchored=false | |
949 | obd2.CanCollide=false | |
950 | obd2.Transparency=1 | |
951 | obd2:breakJoints() | |
952 | obd2.Locked=true | |
953 | obd2.Name="ccc" | |
954 | local partif = Instance.new("ParticleEmitter",obd2) | |
955 | partif.Color = ColorSequence.new(Color3.new(1, .7, 0), Color3.new(1, .6, 0)) | |
956 | partif.LightEmission = 1 | |
957 | partif.Size = NumberSequence.new(0.2) | |
958 | partif.Texture = "http://www.roblox.com/asset/?ID=68137067" | |
959 | sizeseq = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.833),NumberSequenceKeypoint.new(1, 0)}) | |
960 | transseq = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)}) | |
961 | partif.Transparency = transseq | |
962 | partif.Size = sizeseq | |
963 | partif.ZOffset = 0 | |
964 | partif.Acceleration = Vector3.new(0, 10, 0) | |
965 | partif.LockedToPart = false | |
966 | partif.EmissionDirection = "Top" | |
967 | partif.Lifetime = NumberRange.new(1) | |
968 | partif.Rate = 250 | |
969 | partif.Rotation = NumberRange.new(-50, 50) | |
970 | partif.RotSpeed = NumberRange.new(-50, 50) | |
971 | partif.Speed = NumberRange.new(0) | |
972 | partif.VelocitySpread = 0 | |
973 | ob1w=Instance.new('Weld',obd2) | |
974 | ob1w.Part0=objd2 | |
975 | ob1w.Part1=obd2 | |
976 | ob1w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,0,0) | |
977 | ||
978 | ||
979 | local obj2=Instance.new('Part',tail) | |
980 | obj2.formFactor='Custom' | |
981 | obj2.Size=Vector3.new(1.5,1.5,1.5) | |
982 | obj2.BrickColor=BrickColor.new('Cool yellow') | |
983 | obj2.Anchored=false | |
984 | obj2.CanCollide=false | |
985 | obj2.TopSurface=10 | |
986 | obj2.BottomSurface=10 | |
987 | obj2.LeftSurface=10 | |
988 | obj2.RightSurface=10 | |
989 | obj2.FrontSurface=10 | |
990 | obj2.BackSurface=10 | |
991 | obj2.Material='SmoothPlastic' | |
992 | obj2:breakJoints() | |
993 | obj2.Locked=true | |
994 | local obj2m=Instance.new('SpecialMesh',obj2) | |
995 | obj2m.MeshType='Sphere' | |
996 | obj2m.Scale=Vector3.new(2,2,2) | |
997 | obj2w=Instance.new('Weld',obj2) | |
998 | obj2w.Part0=obj1 | |
999 | obj2w.Part1=obj2 | |
1000 | obj2w.C0=CFrame.new(0,-1.525,0) | |
1001 | ||
1002 | ||
1003 | local obj3=Instance.new('Part',tail) | |
1004 | obj3.formFactor='Custom' | |
1005 | obj3.Size=Vector3.new(1.25,1,1.25) | |
1006 | obj3.BrickColor=BrickColor.new('Cool yellow') | |
1007 | obj3.Anchored=false | |
1008 | obj3.CanCollide=false | |
1009 | obj3.TopSurface=10 | |
1010 | obj3.BottomSurface=10 | |
1011 | obj3.LeftSurface=10 | |
1012 | obj3.RightSurface=10 | |
1013 | obj3.FrontSurface=10 | |
1014 | obj3.BackSurface=10 | |
1015 | obj3:breakJoints() | |
1016 | obj3.Locked=true | |
1017 | obj3.Material='SmoothPlastic' | |
1018 | local obj3m=Instance.new('SpecialMesh',obj3) | |
1019 | obj3m.MeshId="http://www.roblox.com/asset/?id=1033714" | |
1020 | obj3m.Scale=Vector3.new(1.2,2.75,1.2) | |
1021 | obj3w=Instance.new('Weld',obj3) | |
1022 | obj3w.Part0=obj2 | |
1023 | obj3w.Part1=obj3 | |
1024 | obj3w.C0=CFrame.new(0,-1.9,-.35)*CFrame.Angles(math.rad(10.5),0,math.rad(180)) | |
1025 | ||
1026 | local obj4=Instance.new('Part',tail) | |
1027 | obj4.formFactor='Custom' | |
1028 | obj4.Size=Vector3.new(1.25,1,1.25) | |
1029 | obj4.BrickColor=BrickColor.new('Bright red') | |
1030 | obj4.Anchored=false | |
1031 | obj4.CanCollide=false | |
1032 | obj4.TopSurface=10 | |
1033 | obj4.BottomSurface=10 | |
1034 | obj4.LeftSurface=10 | |
1035 | obj4.RightSurface=10 | |
1036 | obj4.FrontSurface=10 | |
1037 | obj4.BackSurface=10 | |
1038 | obj4:breakJoints() | |
1039 | obj4.Locked=true | |
1040 | obj4.Material='SmoothPlastic' | |
1041 | local obj4m=Instance.new('SpecialMesh',obj4) | |
1042 | obj4m.MeshId="http://www.roblox.com/asset/?id=1033714" | |
1043 | obj4m.Scale=Vector3.new(.915,2.25,.915) | |
1044 | obj4w=Instance.new('Weld',obj4) | |
1045 | obj4w.Part0=obj2 | |
1046 | obj4w.Part1=obj4 | |
1047 | obj4w.C0=CFrame.new(0,-2.25,-.405)*CFrame.Angles(math.rad(10.5),0,math.rad(180)) | |
1048 | ||
1049 | local obj5=Instance.new('Part',tail) | |
1050 | obj5.formFactor='Custom' | |
1051 | obj5.Size=Vector3.new(.3,3,.3) | |
1052 | obj5.BrickColor=BrickColor.new('Reddish brown') | |
1053 | obj5.Anchored=false | |
1054 | obj5.CanCollide=false | |
1055 | obj5.TopSurface=10 | |
1056 | obj5.BottomSurface=10 | |
1057 | obj5.LeftSurface=10 | |
1058 | obj5.RightSurface=10 | |
1059 | obj5.FrontSurface=10 | |
1060 | obj5.BackSurface=10 | |
1061 | obj5:breakJoints() | |
1062 | obj5.Locked=true | |
1063 | obj5.Material='Wood' | |
1064 | local obj5m=Instance.new('CylinderMesh',obj5) | |
1065 | obj5w=Instance.new('Weld',obj5) | |
1066 | obj5w.Part0=obj2 | |
1067 | obj5w.Part1=obj5 | |
1068 | obj5w.C0=CFrame.new(0,0,2.5)*CFrame.Angles(math.rad(95),0,0) | |
1069 | ||
1070 | ||
1071 | ||
1072 | local obj6=Instance.new('Part',tail) | |
1073 | obj6.formFactor='Custom' | |
1074 | obj6.Size=Vector3.new(1.25,1,1.25) | |
1075 | obj6.BrickColor=BrickColor.new('Cool yellow') | |
1076 | obj6.Anchored=false | |
1077 | obj6.CanCollide=false | |
1078 | obj6.TopSurface=10 | |
1079 | obj6.BottomSurface=10 | |
1080 | obj6.LeftSurface=10 | |
1081 | obj6.RightSurface=10 | |
1082 | obj6.FrontSurface=10 | |
1083 | obj6.BackSurface=10 | |
1084 | obj6.Locked=true | |
1085 | obj6:breakJoints() | |
1086 | obj6.Material='SmoothPlastic' | |
1087 | local obj6m=Instance.new('SpecialMesh',obj6) | |
1088 | obj6m.MeshId="http://www.roblox.com/asset/?id=20329976" | |
1089 | obj6m.Scale=Vector3.new(.215,.25,.215) | |
1090 | obj6w=Instance.new('Weld',obj6) | |
1091 | obj6w.Part0=obj2 | |
1092 | obj6w.Part1=obj6 | |
1093 | obj6w.C0=CFrame.new(0,.115,1.45)*CFrame.Angles(math.rad(95),0,math.rad(0)) | |
1094 | ||
1095 | local obj7=Instance.new('Part',tail) | |
1096 | obj7.formFactor='Custom' | |
1097 | obj7.Size=Vector3.new(1.25,1,1.25) | |
1098 | obj7.BrickColor=BrickColor.new('Cool yellow') | |
1099 | obj7.Anchored=false | |
1100 | obj7.CanCollide=false | |
1101 | obj7.TopSurface=10 | |
1102 | obj7.BottomSurface=10 | |
1103 | obj7.LeftSurface=10 | |
1104 | obj7.RightSurface=10 | |
1105 | obj7.FrontSurface=10 | |
1106 | obj7:breakJoints() | |
1107 | obj7.BackSurface=10 | |
1108 | obj7.Locked=true | |
1109 | obj7.Material='SmoothPlastic' | |
1110 | local obj7m=Instance.new('SpecialMesh',obj7) | |
1111 | obj7m.MeshId="http://www.roblox.com/asset/?id=20329976" | |
1112 | obj7m.Scale=Vector3.new(.25,.275,.225) | |
1113 | obj7w=Instance.new('Weld',obj7) | |
1114 | obj7w.Part0=obj2 | |
1115 | obj7w.Part1=obj7 | |
1116 | obj7w.C0=CFrame.new(0,.115,1.45)*CFrame.Angles(math.rad(95),math.rad(15),math.rad(0)) | |
1117 | ||
1118 | local obj8=Instance.new('Part',tail) | |
1119 | obj8.formFactor='Custom' | |
1120 | obj8.Size=Vector3.new(1.25,1,1.25) | |
1121 | obj8.BrickColor=BrickColor.new('Cool yellow') | |
1122 | obj8.Anchored=false | |
1123 | obj8.CanCollide=false | |
1124 | obj8.TopSurface=10 | |
1125 | obj8.BottomSurface=10 | |
1126 | obj8.LeftSurface=10 | |
1127 | obj8.RightSurface=10 | |
1128 | obj8.FrontSurface=10 | |
1129 | obj8.BackSurface=10 | |
1130 | obj8:breakJoints() | |
1131 | obj8.Locked=true | |
1132 | obj8.Material='SmoothPlastic' | |
1133 | local obj8m=Instance.new('SpecialMesh',obj8) | |
1134 | obj8m.MeshId="http://www.roblox.com/asset/?id=20329976" | |
1135 | obj8m.Scale=Vector3.new(.25,.265,.25) | |
1136 | obj8w=Instance.new('Weld',obj8) | |
1137 | obj8w.Part0=obj2 | |
1138 | obj8w.Part1=obj8 | |
1139 | obj8w.C0=CFrame.new(0,.115,1.45)*CFrame.Angles(math.rad(95),math.rad(35),math.rad(0)) | |
1140 | ||
1141 | local obj9=Instance.new('Part',tail) | |
1142 | obj9.formFactor='Custom' | |
1143 | obj9.Size=Vector3.new(.2,1,.2) | |
1144 | obj9.BrickColor=BrickColor.new('Reddish brown') | |
1145 | obj9.Anchored=false | |
1146 | obj9.CanCollide=false | |
1147 | obj9.TopSurface=10 | |
1148 | obj9.BottomSurface=10 | |
1149 | obj9.LeftSurface=10 | |
1150 | obj9.RightSurface=10 | |
1151 | obj9.FrontSurface=10 | |
1152 | obj9.BackSurface=10 | |
1153 | obj9.Material='Wood' | |
1154 | obj9:breakJoints() | |
1155 | obj9.Locked=true | |
1156 | local obj9m=Instance.new('CylinderMesh',obj9) | |
1157 | obj9w=Instance.new('Weld',obj9) | |
1158 | obj9w.Part0=obj5 | |
1159 | obj9w.Part1=obj9 | |
1160 | obj9w.C0=CFrame.new(0,1.1,.25)*CFrame.Angles(math.rad(25),0,0) | |
1161 | ||
1162 | local obj10=Instance.new('Part',tail) | |
1163 | obj10.formFactor='Custom' | |
1164 | obj10.Size=Vector3.new(1.25,1,1.25) | |
1165 | obj10.BrickColor=BrickColor.new('Cool yellow') | |
1166 | obj10.Anchored=false | |
1167 | obj10.CanCollide=false | |
1168 | obj10.TopSurface=10 | |
1169 | obj10.BottomSurface=10 | |
1170 | obj10.LeftSurface=10 | |
1171 | obj10.RightSurface=10 | |
1172 | obj10.FrontSurface=10 | |
1173 | obj10.BackSurface=10 | |
1174 | obj10:breakJoints() | |
1175 | obj10.Locked=true | |
1176 | obj10.Material='SmoothPlastic' | |
1177 | local obj10m=Instance.new('SpecialMesh',obj10) | |
1178 | obj10m.MeshId="http://www.roblox.com/asset/?id=20329976" | |
1179 | obj10m.Scale=Vector3.new(1.8,1,1.8) | |
1180 | obj10w=Instance.new('Weld',obj10) | |
1181 | obj10w.Part0=obj2 | |
1182 | obj10w.Part1=obj10 | |
1183 | obj10w.C0=CFrame.new(0,-1,-.35)*CFrame.Angles(math.rad(10.5),0,math.rad(180)) | |
1184 | ||
1185 | local obj11=Instance.new('Part',tail) | |
1186 | obj11.formFactor='Custom' | |
1187 | obj11.Size=Vector3.new(1.25,1,1.25) | |
1188 | obj11.BrickColor=BrickColor.new('Cool yellow') | |
1189 | obj11.Anchored=false | |
1190 | obj11.CanCollide=false | |
1191 | obj11.TopSurface=10 | |
1192 | obj11.BottomSurface=10 | |
1193 | obj11.LeftSurface=10 | |
1194 | obj11.RightSurface=10 | |
1195 | obj11.FrontSurface=10 | |
1196 | obj11.BackSurface=10 | |
1197 | obj11:breakJoints() | |
1198 | obj11.Locked=true | |
1199 | obj11.Material='SmoothPlastic' | |
1200 | local obj11m=Instance.new('SpecialMesh',obj11) | |
1201 | obj11m.MeshId="http://www.roblox.com/asset/?id=20329976" | |
1202 | obj11m.Scale=Vector3.new(1.7,1,1.7) | |
1203 | obj11w=Instance.new('Weld',obj11) | |
1204 | obj11w.Part0=obj2 | |
1205 | obj11w.Part1=obj11 | |
1206 | obj11w.C0=CFrame.new(0,-1.2,-.35)*CFrame.Angles(math.rad(10.5),math.rad(5),math.rad(180)) | |
1207 | ||
1208 | local obj12=Instance.new('Part',tail) | |
1209 | obj12.formFactor='Custom' | |
1210 | obj12.Size=Vector3.new(1.25,1,1.25) | |
1211 | obj12.BrickColor=BrickColor.new('Cool yellow') | |
1212 | obj12.Anchored=false | |
1213 | obj12.CanCollide=false | |
1214 | obj12.TopSurface=10 | |
1215 | obj12.BottomSurface=10 | |
1216 | obj12.LeftSurface=10 | |
1217 | obj12.RightSurface=10 | |
1218 | obj12.FrontSurface=10 | |
1219 | obj12.BackSurface=10 | |
1220 | obj12:breakJoints() | |
1221 | obj12.Locked=true | |
1222 | obj12.Material='SmoothPlastic' | |
1223 | local obj12m=Instance.new('SpecialMesh',obj12) | |
1224 | obj12m.MeshId="http://www.roblox.com/asset/?id=20329976" | |
1225 | obj12m.Scale=Vector3.new(1.6,1,1.6) | |
1226 | obj12w=Instance.new('Weld',obj12) | |
1227 | obj12w.Part0=obj2 | |
1228 | obj12w.Part1=obj12 | |
1229 | obj12w.C0=CFrame.new(0,-1.4,-.35)*CFrame.Angles(math.rad(10.5),math.rad(10),math.rad(180)) | |
1230 | ||
1231 | local obj13=Instance.new('Part',tail) | |
1232 | obj13.formFactor='Custom' | |
1233 | obj13.Size=Vector3.new(1.25,1,1.25) | |
1234 | obj13.BrickColor=BrickColor.new('Cool yellow') | |
1235 | obj13.Anchored=false | |
1236 | obj13.CanCollide=false | |
1237 | obj13.TopSurface=10 | |
1238 | obj13.BottomSurface=10 | |
1239 | obj13.LeftSurface=10 | |
1240 | obj13.RightSurface=10 | |
1241 | obj13.FrontSurface=10 | |
1242 | obj13.BackSurface=10 | |
1243 | obj13:breakJoints() | |
1244 | obj13.Locked=true | |
1245 | obj13.Material='SmoothPlastic' | |
1246 | local obj13m=Instance.new('SpecialMesh',obj13) | |
1247 | obj13m.MeshId="http://www.roblox.com/asset/?id=20329976" | |
1248 | obj13m.Scale=Vector3.new(1.5,1,1.5) | |
1249 | obj13w=Instance.new('Weld',obj13) | |
1250 | obj13w.Part0=obj2 | |
1251 | obj13w.Part1=obj13 | |
1252 | obj13w.C0=CFrame.new(0,-1.6,-.35)*CFrame.Angles(math.rad(10.5),math.rad(15),math.rad(180)) | |
1253 | ||
1254 | local obj14=Instance.new('Part',tail) | |
1255 | obj14.formFactor='Custom' | |
1256 | obj14.Size=Vector3.new(1.25,1,1.25) | |
1257 | obj14.BrickColor=BrickColor.new('Bright red') | |
1258 | obj14.Anchored=false | |
1259 | obj14.CanCollide=false | |
1260 | obj14.TopSurface=10 | |
1261 | obj14.BottomSurface=10 | |
1262 | obj14.LeftSurface=10 | |
1263 | obj14.RightSurface=10 | |
1264 | obj14.FrontSurface=10 | |
1265 | obj14.BackSurface=10 | |
1266 | obj14:breakJoints() | |
1267 | obj14.Locked=true | |
1268 | obj14.Material='SmoothPlastic' | |
1269 | local obj14m=Instance.new('SpecialMesh',obj14) | |
1270 | obj14m.MeshId="http://www.roblox.com/asset/?id=20329976" | |
1271 | obj14m.Scale=Vector3.new(1.5,1,1.5) | |
1272 | obj14w=Instance.new('Weld',obj14) | |
1273 | obj14w.Part0=obj2 | |
1274 | obj14w.Part1=obj14 | |
1275 | obj14w.C0=CFrame.new(0,-1.8,-.35)*CFrame.Angles(math.rad(10.5),math.rad(20),math.rad(180)) | |
1276 | ||
1277 | local obj15=Instance.new('Part',tail) | |
1278 | obj15.formFactor='Custom' | |
1279 | obj15.Size=Vector3.new(1.25,1,1.25) | |
1280 | obj15.BrickColor=BrickColor.new('Bright red') | |
1281 | obj15.Anchored=false | |
1282 | obj15.CanCollide=false | |
1283 | obj15.TopSurface=10 | |
1284 | obj15.BottomSurface=10 | |
1285 | obj15.LeftSurface=10 | |
1286 | obj15.RightSurface=10 | |
1287 | obj15.FrontSurface=10 | |
1288 | obj15.BackSurface=10 | |
1289 | obj15:breakJoints() | |
1290 | obj15.Locked=true | |
1291 | obj15.Material='SmoothPlastic' | |
1292 | local obj15m=Instance.new('SpecialMesh',obj15) | |
1293 | obj15m.MeshId="http://www.roblox.com/asset/?id=20329976" | |
1294 | obj15m.Scale=Vector3.new(1.4,.9,1.4) | |
1295 | obj15w=Instance.new('Weld',obj15) | |
1296 | obj15w.Part0=obj2 | |
1297 | obj15w.Part1=obj15 | |
1298 | obj15w.C0=CFrame.new(0,-2,-.35)*CFrame.Angles(math.rad(10.5),math.rad(25),math.rad(180)) | |
1299 | ||
1300 | local obj16=Instance.new('Part',tail) | |
1301 | obj16.formFactor='Custom' | |
1302 | obj16.Size=Vector3.new(1.25,1,1.25) | |
1303 | obj16.BrickColor=BrickColor.new('Bright red') | |
1304 | obj16.Anchored=false | |
1305 | obj16.CanCollide=false | |
1306 | obj16.TopSurface=10 | |
1307 | obj16.BottomSurface=10 | |
1308 | obj16.LeftSurface=10 | |
1309 | obj16.RightSurface=10 | |
1310 | obj16.FrontSurface=10 | |
1311 | obj16.BackSurface=10 | |
1312 | obj16:breakJoints() | |
1313 | obj16.Locked=true | |
1314 | obj16.Material='SmoothPlastic' | |
1315 | local obj16m=Instance.new('SpecialMesh',obj16) | |
1316 | obj16m.MeshId="http://www.roblox.com/asset/?id=20329976" | |
1317 | obj16m.Scale=Vector3.new(1.5,.8,1.5) | |
1318 | obj16w=Instance.new('Weld',obj16) | |
1319 | obj16w.Part0=obj2 | |
1320 | obj16w.Part1=obj16 | |
1321 | obj16w.C0=CFrame.new(0,-2.2,-.35)*CFrame.Angles(math.rad(10.5),math.rad(30),math.rad(180)) | |
1322 | ||
1323 | local obj17=Instance.new('Part',tail) | |
1324 | obj17.formFactor='Custom' | |
1325 | obj17.Size=Vector3.new(1.25,1,1.25) | |
1326 | obj17.BrickColor=BrickColor.new('Bright red') | |
1327 | obj17.Anchored=false | |
1328 | obj17.CanCollide=false | |
1329 | obj17.TopSurface=10 | |
1330 | obj17.BottomSurface=10 | |
1331 | obj17.LeftSurface=10 | |
1332 | obj17.RightSurface=10 | |
1333 | obj17.FrontSurface=10 | |
1334 | obj17.BackSurface=10 | |
1335 | obj17:breakJoints() | |
1336 | obj17.Locked=true | |
1337 | obj17.Material='SmoothPlastic' | |
1338 | local obj17m=Instance.new('SpecialMesh',obj17) | |
1339 | obj17m.MeshId="http://www.roblox.com/asset/?id=20329976" | |
1340 | obj17m.Scale=Vector3.new(1.3,1,1.3) | |
1341 | obj17w=Instance.new('Weld',obj17) | |
1342 | obj17w.Part0=obj2 | |
1343 | obj17w.Part1=obj17 | |
1344 | obj17w.C0=CFrame.new(0,-2.4,-.35)*CFrame.Angles(math.rad(10.5),math.rad(35),math.rad(180)) | |
1345 | ||
1346 | local obj18=Instance.new('Part',tail) | |
1347 | obj18.formFactor='Custom' | |
1348 | obj18.Size=Vector3.new(1.25,1,1.25) | |
1349 | obj18.BrickColor=BrickColor.new('Bright red') | |
1350 | obj18.Anchored=false | |
1351 | obj18.CanCollide=false | |
1352 | obj18.TopSurface=10 | |
1353 | obj18.BottomSurface=10 | |
1354 | obj18.LeftSurface=10 | |
1355 | obj18.RightSurface=10 | |
1356 | obj18.FrontSurface=10 | |
1357 | obj18.BackSurface=10 | |
1358 | obj18:breakJoints() | |
1359 | obj18.Locked=true | |
1360 | obj18.Material='SmoothPlastic' | |
1361 | local obj18m=Instance.new('SpecialMesh',obj18) | |
1362 | obj18m.MeshId="http://www.roblox.com/asset/?id=20329976" | |
1363 | obj18m.Scale=Vector3.new(1.2,1.1,1.2) | |
1364 | obj18w=Instance.new('Weld',obj18) | |
1365 | obj18w.Part0=obj2 | |
1366 | obj18w.Part1=obj18 | |
1367 | obj18w.C0=CFrame.new(0,-2.6,-.35)*CFrame.Angles(math.rad(10.5),math.rad(40),math.rad(180)) | |
1368 | ||
1369 | local obj19=Instance.new('Part',tail) | |
1370 | obj19.formFactor='Custom' | |
1371 | obj19.Size=Vector3.new(1.25,1,1.25) | |
1372 | obj19.BrickColor=BrickColor.new('Bright red') | |
1373 | obj19.Anchored=false | |
1374 | obj19.CanCollide=false | |
1375 | obj19.TopSurface=10 | |
1376 | obj19.BottomSurface=10 | |
1377 | obj19.LeftSurface=10 | |
1378 | obj19.RightSurface=10 | |
1379 | obj19.FrontSurface=10 | |
1380 | obj19.BackSurface=10 | |
1381 | obj19.Locked=true | |
1382 | obj19:breakJoints() | |
1383 | obj19.Material='SmoothPlastic' | |
1384 | local obj19m=Instance.new('SpecialMesh',obj19) | |
1385 | obj19m.MeshId="http://www.roblox.com/asset/?id=20329976" | |
1386 | obj19m.Scale=Vector3.new(1.1,1.2,1.1) | |
1387 | obj19w=Instance.new('Weld',obj19) | |
1388 | obj19w.Part0=obj2 | |
1389 | obj19w.Part1=obj19 | |
1390 | obj19w.C0=CFrame.new(0,-2.8,-.35)*CFrame.Angles(math.rad(10.5),math.rad(45),math.rad(180)) | |
1391 | ||
1392 | ||
1393 | local ff=Instance.new('Part',tail) | |
1394 | ff.formFactor='Custom' | |
1395 | ff.Size=Vector3.new(.2,.2,.2) | |
1396 | ff.BrickColor=BrickColor.new('Cool yellow') | |
1397 | ff.Anchored=false | |
1398 | ff.CanCollide=false | |
1399 | ff.Transparency=1 | |
1400 | ff:breakJoints() | |
1401 | ff.Locked=true | |
1402 | ff.Name="firaahhhhh" | |
1403 | obj111w=Instance.new('Weld',ff) | |
1404 | obj111w.Part0=obj5 | |
1405 | obj111w.Part1=ff | |
1406 | obj111w.C0=CFrame.new(0,1.5,0) | |
1407 | ||
1408 | local lst=Instance.new('PointLight',ff) | |
1409 | lst.Brightness=123123 | |
1410 | lst.Range=8 | |
1411 | lst.Enabled=false | |
1412 | lst.Color=lalalclrs[math.random(1,#lalalclrs)] | |
1413 | ||
1414 | local partasd = Instance.new("ParticleEmitter",ff) | |
1415 | partasd.Color = ColorSequence.new(Color3.new(1, .5, 0), Color3.new(1, .2, 0)) | |
1416 | partasd.LightEmission = 1 | |
1417 | partasd.Size = NumberSequence.new(0.2) | |
1418 | partasd.Texture = "http://www.roblox.com/asset/?ID=68137067" | |
1419 | sizeseqe = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.722),NumberSequenceKeypoint.new(1, 0)}) | |
1420 | transseqe = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1421 | partasd.Transparency = transseqe | |
1422 | partasd.Size = sizeseqe | |
1423 | partasd.ZOffset = .9 | |
1424 | partasd.Acceleration = Vector3.new(0, 30, 0) | |
1425 | partasd.LockedToPart = false | |
1426 | partasd.EmissionDirection = "Top" | |
1427 | partasd.Lifetime = NumberRange.new(.5) | |
1428 | partasd.Rate = 200 | |
1429 | partasd.Rotation = NumberRange.new(-100, 100) | |
1430 | partasd.RotSpeed = NumberRange.new(-100, 100) | |
1431 | partasd.Speed = NumberRange.new(1) | |
1432 | partasd.VelocitySpread = 1000 | |
1433 | partasd.Enabled=false | |
1434 | ||
1435 | ||
1436 | ---------------------------------------------------------------------------- | |
1437 | function makeball() | |
1438 | local proj=Instance.new('Part',hooh) | |
1439 | proj.Shape='Ball' | |
1440 | proj.Anchored=false | |
1441 | proj.Name='Fireball' | |
1442 | proj.Locked=true | |
1443 | proj.Material="Neon" | |
1444 | proj.Size=Vector3.new(1,1,1) | |
1445 | proj.BrickColor=BrickColor.new('Neon orange') | |
1446 | proj.Transparency=0 | |
1447 | proj.CFrame=torso.CFrame*CFrame.new(3,3,-2) | |
1448 | local lt=Instance.new('PointLight',proj) | |
1449 | lt.Brightness=123123 | |
1450 | lt.Range=6 | |
1451 | lt.Color=lalalclrs[math.random(1,#lalalclrs)] | |
1452 | CreateSound("http://roblox.com/asset/?id=200633327", chr, 1.5, 1.2) | |
1453 | local partasdef = Instance.new("ParticleEmitter",proj) | |
1454 | partasdef.Color = ColorSequence.new(Color3.new(1, .5, 0), Color3.new(1, .2, 0)) | |
1455 | partasdef.LightEmission = 1 | |
1456 | partasdef.Size = NumberSequence.new(0.2) | |
1457 | partasdef.Texture = "http://www.roblox.com/asset/?ID=68137067" | |
1458 | aa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.722),NumberSequenceKeypoint.new(1, 2.11)}) | |
1459 | bb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1460 | partasdef.Transparency = bb | |
1461 | partasdef.Size = aa | |
1462 | partasdef.ZOffset = .9 | |
1463 | partasdef.Acceleration = Vector3.new(0, 0, 0) | |
1464 | partasdef.LockedToPart = false | |
1465 | partasdef.EmissionDirection = "Top" | |
1466 | partasdef.Lifetime = NumberRange.new(.5) | |
1467 | partasdef.Rate = 200 | |
1468 | partasdef.Rotation = NumberRange.new(-100, 100) | |
1469 | partasdef.RotSpeed = NumberRange.new(-100, 100) | |
1470 | partasdef.Speed = NumberRange.new(5) | |
1471 | partasdef.VelocitySpread = 1000 | |
1472 | ||
1473 | ||
1474 | local prj=Instance.new('BodyVelocity',proj) | |
1475 | prj.velocity=((torso.CFrame*CFrame.new(3,3,-2)).p-maus.Hit.p).unit*-300 | |
1476 | ||
1477 | --pewdiepie=spart.Touched:connect(function(hit) | |
1478 | ||
1479 | proj.Touched:connect(function(hit) | |
1480 | if hit and hit.CanCollide then | |
1481 | Explode(20,proj) | |
1482 | proj.Anchored=true | |
1483 | local hum=hit.Parent and hit.Parent:findFirstChild('Torso') and hit.Parent:findFirstChild('Humanoid') and hit.Parent ~= chr and hit.Parent.ClassName=='Model' | |
1484 | if hum then hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(999999*(hit.Parent.Humanoid.MaxHealth/100)) end end | |
1485 | ||
1486 | wait(1) | |
1487 | proj:Destroy() | |
1488 | end) | |
1489 | coroutine.wrap(function() | |
1490 | wait(10) | |
1491 | proj:Destroy() | |
1492 | end)() | |
1493 | end | |
1494 | ||
1495 | function makeball2() | |
1496 | local proj=Instance.new('Part',hooh) | |
1497 | proj.Shape='Ball' | |
1498 | proj.Anchored=false | |
1499 | proj.Name='Fireball' | |
1500 | proj.Locked=true | |
1501 | proj.Material="Neon" | |
1502 | proj.Size=Vector3.new(.6,.6,.6) | |
1503 | proj.BrickColor=BrickColor.new('Neon orange') | |
1504 | proj.Transparency=0 | |
1505 | proj.CFrame=torso.CFrame*CFrame.new(3,3,-2) | |
1506 | local lt=Instance.new('PointLight',proj) | |
1507 | lt.Brightness=123123 | |
1508 | lt.Range=6 | |
1509 | lt.Color=lalalclrs[math.random(1,#lalalclrs)] | |
1510 | CreateSound("http://roblox.com/asset/?id=200633327", chr, 1.5, 1.2) | |
1511 | local partasdef = Instance.new("ParticleEmitter",proj) | |
1512 | partasdef.Color = ColorSequence.new(Color3.new(1, .5, 0), Color3.new(1, .2, 0)) | |
1513 | partasdef.LightEmission = 1 | |
1514 | partasdef.Size = NumberSequence.new(0.2) | |
1515 | partasdef.Texture = "http://www.roblox.com/asset/?ID=68137067" | |
1516 | aa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.722),NumberSequenceKeypoint.new(1, 1.51)}) | |
1517 | bb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1518 | partasdef.Transparency = bb | |
1519 | partasdef.Size = aa | |
1520 | partasdef.ZOffset = .9 | |
1521 | partasdef.Acceleration = Vector3.new(0, 0, 0) | |
1522 | partasdef.LockedToPart = false | |
1523 | partasdef.EmissionDirection = "Top" | |
1524 | partasdef.Lifetime = NumberRange.new(.5) | |
1525 | partasdef.Rate = 200 | |
1526 | partasdef.Rotation = NumberRange.new(-100, 100) | |
1527 | partasdef.RotSpeed = NumberRange.new(-100, 100) | |
1528 | partasdef.Speed = NumberRange.new(5) | |
1529 | partasdef.VelocitySpread = 1000 | |
1530 | ||
1531 | ||
1532 | local prj=Instance.new('BodyVelocity',proj) | |
1533 | prj.velocity=((torso.CFrame*CFrame.new(3,3,-2)).p-maus.Hit.p).unit*-300 | |
1534 | ||
1535 | --pewdiepie=spart.Touched:connect(function(hit) | |
1536 | ||
1537 | proj.Touched:connect(function(hit) | |
1538 | if hit and hit.CanCollide then | |
1539 | Explode2(20,proj) | |
1540 | proj.Anchored=true | |
1541 | local hum=hit.Parent and hit.Parent:findFirstChild('Torso') and hit.Parent:findFirstChild('Humanoid') and hit.Parent ~= chr and hit.Parent.ClassName=='Model' | |
1542 | if hum then hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(999999*(hit.Parent.Humanoid.MaxHealth/100)) end end | |
1543 | ||
1544 | wait(1) | |
1545 | proj:Destroy() | |
1546 | end) | |
1547 | coroutine.wrap(function() | |
1548 | wait(10) | |
1549 | proj:Destroy() | |
1550 | end)() | |
1551 | end | |
1552 | ||
1553 | function spam() | |
1554 | armpose='Swing1' | |
1555 | wait(.2) | |
1556 | makeball2() | |
1557 | armpose='Swing2' | |
1558 | wait(.2) | |
1559 | armpose='Swing3' | |
1560 | wait(.2) | |
1561 | makeball2() | |
1562 | armpose='Swing4' | |
1563 | wait(.2) | |
1564 | end | |
1565 | ||
1566 | maus.KeyDown:connect(function(kei) | |
1567 | if string.byte(kei)==48 then | |
1568 | chr.Humanoid.WalkSpeed=chr.Humanoid.WalkSpeed+70 | |
1569 | end | |
1570 | ||
1571 | ||
1572 | if kei=='q' and not armmovement then | |
1573 | if holding then armmovement=true armpose='ReplacingStick' wait(.5) armmovement=false holding=false | |
1574 | ||
1575 | obj5w.Part0=obj2 | |
1576 | obj5w.C0=CFrame.new(0,0,2.5)*CFrame.Angles(math.rad(95),0,0) | |
1577 | lst.Enabled=false | |
1578 | partasd.Enabled=false | |
1579 | elseif not holding then armmovement=true armpose='ReplacingStick' wait(.5) armmovement=false holding=true | |
1580 | ||
1581 | obj5w.Part0=rarm | |
1582 | obj5w.C0=CFrame.new(0,-1,-.5)*CFrame.Angles(-math.rad(92),0,0) | |
1583 | lst.Enabled=true | |
1584 | partasd.Enabled=true | |
1585 | end | |
1586 | end | |
1587 | ||
1588 | if kei=='m' and play == true and dedly == false then | |
1589 | dedly = true | |
1590 | while wait() and kkk and kkk.Volume >= 0.05 do | |
1591 | kkk.Volume = kkk.Volume - 0.05 | |
1592 | end | |
1593 | wait(0.1) | |
1594 | kkk.Pitch = 0 | |
1595 | kkk.PlaybackSpeed = 0 | |
1596 | dedly = false | |
1597 | play = false | |
1598 | else | |
1599 | if kei=='m' and play == false and dedly == false then | |
1600 | dedly = true | |
1601 | kkk.Pitch = 1 | |
1602 | kkk.PlaybackSpeed = 1 | |
1603 | while wait() and kkk and kkk.Volume <= 1.2 do | |
1604 | kkk.Volume = kkk.Volume + 0.05 | |
1605 | end | |
1606 | wait(0.1) | |
1607 | dedly = false | |
1608 | play = true | |
1609 | end | |
1610 | ||
1611 | ||
1612 | end | |
1613 | ||
1614 | if kei=='x' and not jumpdb and not otheranims then | |
1615 | jumpdb=true | |
1616 | otheranims=true | |
1617 | anim='SuperCrouch' | |
1618 | CreateSound("http://roblox.com/asset/?id=200633529", workspace, .6, .8) | |
1619 | ||
1620 | ||
1621 | partasdeff.Enabled=true | |
1622 | partasdeffb.Enabled=true | |
1623 | --[[coroutine.resume(coroutine.create(function() | |
1624 | for lal=1,20 do wait() | |
1625 | local jm=Instance.new('Part',chr) | |
1626 | jm.formFactor='Custom' | |
1627 | jm.BrickColor=BrickColor.new(fireclrs[math.random(1,3)]) | |
1628 | jm.Size=Vector3.new(3,3,3) | |
1629 | jm.Name='soprjmp' | |
1630 | jm.Material="Neon" | |
1631 | jm.TopSurface=10 | |
1632 | jm.BottomSurface=10 | |
1633 | jm.FrontSurface=10 | |
1634 | jm.Locked=true | |
1635 | jm.LeftSurface=10 | |
1636 | jm.RightSurface=10 | |
1637 | jm.BackSurface=10 | |
1638 | jm.CanCollide=false | |
1639 | jm.Anchored=true | |
1640 | jm.CFrame=rleg.CFrame*CFrame.new(-.5,-1,0)*CFrame.Angles(math.random(1,3),math.random(1,3),math.random(1,3)) | |
1641 | local jmp=Instance.new('BlockMesh',jm) | |
1642 | game:service'Debris':AddItem(jm,1.5) | |
1643 | coroutine.wrap(function() | |
1644 | for qq=1,20 do wait() | |
1645 | jmp.Scale=jmp.Scale+Vector3.new(.1,.1,.1) | |
1646 | jm.Transparency=jm.Transparency+.1 | |
1647 | jm.CFrame=jm.CFrame*CFrame.Angles(math.random(1,3),math.random(1,3),math.random(1,3)) | |
1648 | end | |
1649 | end)() | |
1650 | end | |
1651 | end))]] | |
1652 | wait(.6) | |
1653 | coroutine.resume(coroutine.create(function() | |
1654 | for t=1,5 do wait() | |
1655 | rangclr=ranclrs[t] | |
1656 | local rang=Instance.new('Part',chr) | |
1657 | rang.formFactor='Custom' | |
1658 | rang.BrickColor=BrickColor.new(rangclr) | |
1659 | rang.Size=Vector3.new(2,2,2) | |
1660 | rang.Name='rang' | |
1661 | rang.Material="Neon" | |
1662 | rang.TopSurface=10 | |
1663 | rang.BottomSurface=10 | |
1664 | rang.Locked=true | |
1665 | rang.FrontSurface=10 | |
1666 | rang.LeftSurface=10 | |
1667 | rang.RightSurface=10 | |
1668 | rang.BackSurface=10 | |
1669 | rang.CanCollide=false | |
1670 | rang.Anchored=true | |
1671 | rang.CFrame=rleg.CFrame*CFrame.new(-.5,-.75,0)*CFrame.Angles(math.rad(90),0,0) | |
1672 | local rmsh=Instance.new('SpecialMesh',rang) | |
1673 | rmsh.MeshId="http://www.roblox.com/asset/?id=3270017" | |
1674 | rmsh.Scale=Vector3.new(3,3,1.5) | |
1675 | game:service'Debris':AddItem(rang,5) | |
1676 | coroutine.wrap(function() | |
1677 | for lalal=1,50 do wait() | |
1678 | rmsh.Scale=rmsh.Scale+Vector3.new(1,1,.25) | |
1679 | rang.Transparency=rang.Transparency+1/33 | |
1680 | end | |
1681 | end)() | |
1682 | end | |
1683 | end)) | |
1684 | anim='SuperJump' | |
1685 | local ded=Instance.new('Part',hooh) | |
1686 | ded.formFactor='Custom' | |
1687 | ded.Size=Vector3.new(.2,.2,.2) | |
1688 | ded.BrickColor=BrickColor.new('Cool yellow') | |
1689 | ded.Anchored=false | |
1690 | ded.CanCollide=false | |
1691 | ded.Transparency=1 | |
1692 | ded:breakJoints() | |
1693 | ded.Locked=true | |
1694 | ded.Name="aaa" | |
1695 | ded.CFrame=torso.CFrame | |
1696 | local vl=Instance.new("BodyVelocity",torso) | |
1697 | vl.maxForce=Vector3.new(0,1/0,0) | |
1698 | vl.velocity=Vector3.new(0,200,0) | |
1699 | game:service'Debris':AddItem(vl,1) | |
1700 | chr.Humanoid.Jump=true | |
1701 | coroutine.wrap(function() | |
1702 | Explode(20,ded) | |
1703 | end)() | |
1704 | wait(.5) | |
1705 | ded:Remove() | |
1706 | otheranims=false | |
1707 | anim='Jumping' | |
1708 | wait(.4) | |
1709 | -- | |
1710 | local proj1=Instance.new('Part',hooh) | |
1711 | proj1.Shape='Ball' | |
1712 | proj1.Anchored=false | |
1713 | proj1.Name='Fireball' | |
1714 | proj1.Locked=true | |
1715 | proj1.Material="Neon" | |
1716 | proj1.Size=Vector3.new(1,1,1) | |
1717 | proj1.BrickColor=BrickColor.new('Neon orange') | |
1718 | proj1.Transparency=0 | |
1719 | proj1.CFrame=torso.CFrame*CFrame.new(70,6,0) | |
1720 | local lt=Instance.new('PointLight',proj1) | |
1721 | lt.Brightness=123123 | |
1722 | lt.Range=6 | |
1723 | lt.Color=lalalclrs[math.random(1,#lalalclrs)] | |
1724 | CreateSound("http://roblox.com/asset/?id=377357848", chr, 1.2, 1) | |
1725 | local partasdef = Instance.new("ParticleEmitter",proj1) | |
1726 | partasdef.Color = ColorSequence.new(Color3.new(1, .5, 0), Color3.new(1, .2, 0)) | |
1727 | partasdef.LightEmission = 1 | |
1728 | partasdef.Size = NumberSequence.new(0.2) | |
1729 | partasdef.Texture = "http://www.roblox.com/asset/?ID=68137067" | |
1730 | aa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.722),NumberSequenceKeypoint.new(1, 2.11)}) | |
1731 | bb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1732 | partasdef.Transparency = bb | |
1733 | partasdef.Size = aa | |
1734 | partasdef.ZOffset = .9 | |
1735 | partasdef.Acceleration = Vector3.new(0, 0, 0) | |
1736 | partasdef.LockedToPart = false | |
1737 | partasdef.EmissionDirection = "Top" | |
1738 | partasdef.Lifetime = NumberRange.new(.5) | |
1739 | partasdef.Rate = 200 | |
1740 | partasdef.Rotation = NumberRange.new(-100, 100) | |
1741 | partasdef.RotSpeed = NumberRange.new(-100, 100) | |
1742 | partasdef.Speed = NumberRange.new(5) | |
1743 | partasdef.VelocitySpread = 1000 | |
1744 | coroutine.wrap(function() | |
1745 | wait(.5) | |
1746 | proj1.Touched:connect(function(hit) | |
1747 | if hit and hit.CanCollide then | |
1748 | Explode(20,proj1) | |
1749 | proj1.Anchored=true | |
1750 | local hum=hit.Parent and hit.Parent:findFirstChild('Torso') and hit.Parent:findFirstChild('Humanoid') and hit.Parent ~= chr and hit.Parent.ClassName=='Model' | |
1751 | if hum then hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(999999*(hit.Parent.Humanoid.MaxHealth/100)) end end | |
1752 | wait(1) | |
1753 | proj1:Destroy() | |
1754 | end) | |
1755 | end)() | |
1756 | ||
1757 | local proj2=Instance.new('Part',hooh) | |
1758 | proj2.Shape='Ball' | |
1759 | proj2.Anchored=false | |
1760 | proj2.Name='Fireball' | |
1761 | proj2.Locked=true | |
1762 | proj2.Material="Neon" | |
1763 | proj2.Size=Vector3.new(1,1,1) | |
1764 | proj2.BrickColor=BrickColor.new('Neon orange') | |
1765 | proj2.Transparency=0 | |
1766 | proj2.CFrame=torso.CFrame*CFrame.new(-70,6,0) | |
1767 | ||
1768 | ||
1769 | local lt=Instance.new('PointLight',proj2) | |
1770 | lt.Brightness=123123 | |
1771 | lt.Range=6 | |
1772 | lt.Color=lalalclrs[math.random(1,#lalalclrs)] | |
1773 | CreateSound("http://roblox.com/asset/?id=377357848", chr, 1.2, 1) | |
1774 | local partasdef = Instance.new("ParticleEmitter",proj2) | |
1775 | partasdef.Color = ColorSequence.new(Color3.new(1, .5, 0), Color3.new(1, .2, 0)) | |
1776 | partasdef.LightEmission = 1 | |
1777 | partasdef.Size = NumberSequence.new(0.2) | |
1778 | partasdef.Texture = "http://www.roblox.com/asset/?ID=68137067" | |
1779 | aa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.722),NumberSequenceKeypoint.new(1, 2.11)}) | |
1780 | bb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1781 | partasdef.Transparency = bb | |
1782 | partasdef.Size = aa | |
1783 | partasdef.ZOffset = .9 | |
1784 | partasdef.Acceleration = Vector3.new(0, 0, 0) | |
1785 | partasdef.LockedToPart = false | |
1786 | partasdef.EmissionDirection = "Top" | |
1787 | partasdef.Lifetime = NumberRange.new(.5) | |
1788 | partasdef.Rate = 200 | |
1789 | partasdef.Rotation = NumberRange.new(-100, 100) | |
1790 | partasdef.RotSpeed = NumberRange.new(-100, 100) | |
1791 | partasdef.Speed = NumberRange.new(5) | |
1792 | partasdef.VelocitySpread = 1000 | |
1793 | coroutine.wrap(function() | |
1794 | wait(.5) | |
1795 | proj2.Touched:connect(function(hit) | |
1796 | if hit and hit.CanCollide then | |
1797 | Explode(20,proj2) | |
1798 | proj2.Anchored=true | |
1799 | local hum=hit.Parent and hit.Parent:findFirstChild('Torso') and hit.Parent:findFirstChild('Humanoid') and hit.Parent ~= chr and hit.Parent.ClassName=='Model' | |
1800 | if hum then hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(999999*(hit.Parent.Humanoid.MaxHealth/100)) end end | |
1801 | wait(1) | |
1802 | proj2:Destroy() | |
1803 | end) | |
1804 | end)() | |
1805 | ||
1806 | local proj3=Instance.new('Part',hooh) | |
1807 | proj3.Shape='Ball' | |
1808 | proj3.Anchored=false | |
1809 | proj3.Name='Fireball' | |
1810 | proj3.Locked=true | |
1811 | proj3.Material="Neon" | |
1812 | proj3.Size=Vector3.new(1,1,1) | |
1813 | proj3.BrickColor=BrickColor.new('Neon orange') | |
1814 | proj3.Transparency=0 | |
1815 | proj3.CFrame=torso.CFrame*CFrame.new(0,6,70) | |
1816 | ||
1817 | ||
1818 | ||
1819 | local lt=Instance.new('PointLight',proj3) | |
1820 | lt.Brightness=123123 | |
1821 | lt.Range=6 | |
1822 | lt.Color=lalalclrs[math.random(1,#lalalclrs)] | |
1823 | CreateSound("http://roblox.com/asset/?id=377357848", chr, 1.2, 1) | |
1824 | local partasdef = Instance.new("ParticleEmitter",proj3) | |
1825 | partasdef.Color = ColorSequence.new(Color3.new(1, .5, 0), Color3.new(1, .2, 0)) | |
1826 | partasdef.LightEmission = 1 | |
1827 | partasdef.Size = NumberSequence.new(0.2) | |
1828 | partasdef.Texture = "http://www.roblox.com/asset/?ID=68137067" | |
1829 | aa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.722),NumberSequenceKeypoint.new(1, 2.11)}) | |
1830 | bb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1831 | partasdef.Transparency = bb | |
1832 | partasdef.Size = aa | |
1833 | partasdef.ZOffset = .9 | |
1834 | partasdef.Acceleration = Vector3.new(0, 0, 0) | |
1835 | partasdef.LockedToPart = false | |
1836 | partasdef.EmissionDirection = "Top" | |
1837 | partasdef.Lifetime = NumberRange.new(.5) | |
1838 | partasdef.Rate = 200 | |
1839 | partasdef.Rotation = NumberRange.new(-100, 100) | |
1840 | partasdef.RotSpeed = NumberRange.new(-100, 100) | |
1841 | partasdef.Speed = NumberRange.new(5) | |
1842 | partasdef.VelocitySpread = 1000 | |
1843 | coroutine.wrap(function() | |
1844 | wait(.5) | |
1845 | proj3.Touched:connect(function(hit) | |
1846 | if hit and hit.CanCollide then | |
1847 | Explode(20,proj3) | |
1848 | proj3.Anchored=true | |
1849 | local hum=hit.Parent and hit.Parent:findFirstChild('Torso') and hit.Parent:findFirstChild('Humanoid') and hit.Parent ~= chr and hit.Parent.ClassName=='Model' | |
1850 | if hum then hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(999999*(hit.Parent.Humanoid.MaxHealth/100)) end end | |
1851 | wait(1) | |
1852 | proj3:Destroy() | |
1853 | end) | |
1854 | end)() | |
1855 | ||
1856 | local proj4=Instance.new('Part',hooh) | |
1857 | proj4.Shape='Ball' | |
1858 | proj4.Anchored=false | |
1859 | proj4.Name='Fireball' | |
1860 | proj4.Locked=true | |
1861 | proj4.Material="Neon" | |
1862 | proj4.Size=Vector3.new(1,1,1) | |
1863 | proj4.BrickColor=BrickColor.new('Neon orange') | |
1864 | proj4.Transparency=0 | |
1865 | proj4.CFrame=torso.CFrame*CFrame.new(0,6,-70) | |
1866 | ||
1867 | ||
1868 | ||
1869 | local lt=Instance.new('PointLight',proj4) | |
1870 | lt.Brightness=123123 | |
1871 | lt.Range=6 | |
1872 | lt.Color=lalalclrs[math.random(1,#lalalclrs)] | |
1873 | CreateSound("http://roblox.com/asset/?id=377357848", chr, 1.2, 1) | |
1874 | local partasdef = Instance.new("ParticleEmitter",proj4) | |
1875 | partasdef.Color = ColorSequence.new(Color3.new(1, .5, 0), Color3.new(1, .2, 0)) | |
1876 | partasdef.LightEmission = 1 | |
1877 | partasdef.Size = NumberSequence.new(0.2) | |
1878 | partasdef.Texture = "http://www.roblox.com/asset/?ID=68137067" | |
1879 | aa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.722),NumberSequenceKeypoint.new(1, 2.11)}) | |
1880 | bb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1881 | partasdef.Transparency = bb | |
1882 | partasdef.Size = aa | |
1883 | partasdef.ZOffset = .9 | |
1884 | partasdef.Acceleration = Vector3.new(0, 0, 0) | |
1885 | partasdef.LockedToPart = false | |
1886 | partasdef.EmissionDirection = "Top" | |
1887 | partasdef.Lifetime = NumberRange.new(.5) | |
1888 | partasdef.Rate = 200 | |
1889 | partasdef.Rotation = NumberRange.new(-100, 100) | |
1890 | partasdef.RotSpeed = NumberRange.new(-100, 100) | |
1891 | partasdef.Speed = NumberRange.new(5) | |
1892 | partasdef.VelocitySpread = 1000 | |
1893 | coroutine.wrap(function() | |
1894 | wait(.5) | |
1895 | proj4.Touched:connect(function(hit) | |
1896 | if hit and hit.CanCollide then | |
1897 | Explode(20,proj4) | |
1898 | proj4.Anchored=true | |
1899 | local hum=hit.Parent and hit.Parent:findFirstChild('Torso') and hit.Parent:findFirstChild('Humanoid') and hit.Parent ~= chr and hit.Parent.ClassName=='Model' | |
1900 | if hum then hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(999999*(hit.Parent.Humanoid.MaxHealth/100)) end end | |
1901 | wait(1) | |
1902 | proj4:Destroy() | |
1903 | end) | |
1904 | end)() | |
1905 | -- | |
1906 | wait(.6) | |
1907 | partasdeff.Enabled=false | |
1908 | partasdeffb.Enabled=false | |
1909 | wait(1) | |
1910 | jumpdb=false | |
1911 | end | |
1912 | ||
1913 | if kei=='z' and holding and not armmovement and not otheranims and not flying then | |
1914 | flying=true | |
1915 | armmovement=true | |
1916 | armpose='Spin' | |
1917 | CreateSound("http://roblox.com/asset/?id=199145095", chr, 1, 1.4) | |
1918 | wait(.3) | |
1919 | CreateSound("http://roblox.com/asset/?id=199145095", chr, 1, 1.4) | |
1920 | wait(.3) | |
1921 | CreateSound("http://roblox.com/asset/?id=199145095", chr, 1, 1.4) | |
1922 | wait(.3) | |
1923 | CreateSound("http://roblox.com/asset/?id=199145095", chr, 1, 1.4) | |
1924 | wait(.3) | |
1925 | obj5w.C0=CFrame.new(0,-1,-.5)*CFrame.Angles(-math.rad(92),0,0) | |
1926 | spam() | |
1927 | wait(0.0001) | |
1928 | spam() | |
1929 | wait(0.0001) | |
1930 | spam() | |
1931 | wait(0.0001) | |
1932 | spam() | |
1933 | wait(0.0001) | |
1934 | spam() | |
1935 | wait(0.0001) | |
1936 | flying=false | |
1937 | armmovement=false | |
1938 | ||
1939 | end | |
1940 | ||
1941 | ||
1942 | end) | |
1943 | ||
1944 | ||
1945 | plr.Chatted:connect(function(ms) | |
1946 | if ms:lower()=='q' and not armmovement then | |
1947 | if holding then armmovement=true armpose='ReplacingStick' wait(.5) armmovement=false holding=false | |
1948 | obj5w.Part0=obj2 | |
1949 | obj5w.C0=CFrame.new(0,0,2.5)*CFrame.Angles(math.rad(95),0,0) | |
1950 | ||
1951 | partasd.Enabled=false | |
1952 | lst.Enabled=false | |
1953 | elseif not holding then armmovement=true armpose='ReplacingStick' wait(.5) armmovement=false holding=true | |
1954 | ||
1955 | obj5w.Part0=rarm | |
1956 | obj5w.C0=CFrame.new(0,-1,-.5)*CFrame.Angles(-math.rad(92),0,0) | |
1957 | partasd.Enabled=true | |
1958 | lst.Enabled=true | |
1959 | end | |
1960 | end | |
1961 | if ms:lower()=='x' and not jumpdb and not otheranims then | |
1962 | jumpdb=true | |
1963 | otheranims=true | |
1964 | anim='SuperCrouch' | |
1965 | ||
1966 | partasdeff.Enabled=true | |
1967 | partasdeffb.Enabled=true | |
1968 | --[[coroutine.resume(coroutine.create(function() | |
1969 | for lal=1,20 do wait() | |
1970 | local jm=Instance.new('Part',chr) | |
1971 | jm.formFactor='Custom' | |
1972 | jm.BrickColor=BrickColor.new(fireclrs[math.random(1,3)]) | |
1973 | jm.Size=Vector3.new(3,3,3) | |
1974 | jm.Name='soprjmp' | |
1975 | jm.TopSurface=10 | |
1976 | jm.BottomSurface=10 | |
1977 | jm.FrontSurface=10 | |
1978 | jm.Locked=true | |
1979 | jm.LeftSurface=10 | |
1980 | jm.RightSurface=10 | |
1981 | jm.BackSurface=10 | |
1982 | jm.CanCollide=false | |
1983 | jm.Anchored=true | |
1984 | jm.CFrame=rleg.CFrame*CFrame.new(-.5,-1,0)*CFrame.Angles(math.random(1,3),math.random(1,3),math.random(1,3)) | |
1985 | local jmp=Instance.new('BlockMesh',jm) | |
1986 | game:service'Debris':AddItem(jm,1.5) | |
1987 | coroutine.wrap(function() | |
1988 | for qq=1,20 do wait() | |
1989 | jmp.Scale=jmp.Scale+Vector3.new(.1,.1,.1) | |
1990 | jm.Transparency=jm.Transparency+.1 | |
1991 | jm.CFrame=jm.CFrame*CFrame.Angles(math.random(1,3),math.random(1,3),math.random(1,3)) | |
1992 | end | |
1993 | end)() | |
1994 | end | |
1995 | end))]] | |
1996 | wait(.6) | |
1997 | coroutine.resume(coroutine.create(function() | |
1998 | for t=1,5 do wait() | |
1999 | rangclr=ranclrs[t] | |
2000 | local rang=Instance.new('Part',chr) | |
2001 | rang.formFactor='Custom' | |
2002 | rang.BrickColor=BrickColor.new(rangclr) | |
2003 | rang.Size=Vector3.new(2,2,2) | |
2004 | rang.Name='rang' | |
2005 | rang.TopSurface=10 | |
2006 | rang.Material="Neon" | |
2007 | rang.BottomSurface=10 | |
2008 | rang.Locked=true | |
2009 | rang.FrontSurface=10 | |
2010 | rang.LeftSurface=10 | |
2011 | rang.RightSurface=10 | |
2012 | rang.BackSurface=10 | |
2013 | rang.CanCollide=false | |
2014 | rang.Anchored=true | |
2015 | rang.CFrame=rleg.CFrame*CFrame.new(-.5,-.75,0)*CFrame.Angles(math.rad(90),0,0) | |
2016 | local rmsh=Instance.new('SpecialMesh',rang) | |
2017 | rmsh.MeshId="http://www.roblox.com/asset/?id=3270017" | |
2018 | rmsh.Scale=Vector3.new(3,3,1.5) | |
2019 | game:service'Debris':AddItem(rang,5) | |
2020 | coroutine.wrap(function() | |
2021 | for lalal=1,50 do wait() | |
2022 | rmsh.Scale=rmsh.Scale+Vector3.new(1,1,.25) | |
2023 | rang.Transparency=rang.Transparency+1/33 | |
2024 | end | |
2025 | end)() | |
2026 | end | |
2027 | end)) | |
2028 | anim='SuperJump' | |
2029 | local ded=Instance.new('Part',hooh) | |
2030 | ded.formFactor='Custom' | |
2031 | ded.Size=Vector3.new(.2,.2,.2) | |
2032 | ded.BrickColor=BrickColor.new('Cool yellow') | |
2033 | ded.Anchored=false | |
2034 | ded.CanCollide=false | |
2035 | ded.Transparency=1 | |
2036 | ded:breakJoints() | |
2037 | ded.Locked=true | |
2038 | ded.Name="aaa" | |
2039 | ded.CFrame=torso.CFrame | |
2040 | local tv=Instance.new("BodyVelocity",rutprt) | |
2041 | tv.maxForce=Vector3.new(0,math.huge,0) | |
2042 | tv.velocity=Vector3.new(0,200,0) | |
2043 | coroutine.resume(coroutince.create(function() | |
2044 | wait(.5) | |
2045 | tv:Destroy'' | |
2046 | end)) | |
2047 | chr.Humanoid.Jump=true | |
2048 | coroutine.wrap(function() | |
2049 | Explode(20,ded) | |
2050 | end)() | |
2051 | wait(.5) | |
2052 | ded:Remove() | |
2053 | otheranims=false | |
2054 | anim='Jumping' | |
2055 | wait(1) | |
2056 | partasdeff.Enabled=false | |
2057 | partasdeffb.Enabled=false | |
2058 | wait(1) | |
2059 | ||
2060 | jumpdb=false | |
2061 | end | |
2062 | end) | |
2063 | ||
2064 | ||
2065 | maus.KeyUp:connect(function(kei) | |
2066 | if string.byte(kei)==48 then | |
2067 | chr.Humanoid.WalkSpeed=chr.Humanoid.WalkSpeed-70 | |
2068 | end | |
2069 | end) | |
2070 | ||
2071 | ||
2072 | ||
2073 | maus.Button1Down:connect(function() | |
2074 | if holding and not armmovement and not otheranims and not flying then | |
2075 | flying=true | |
2076 | armmovement=true | |
2077 | armpose='PreSwing' | |
2078 | wait(.2) | |
2079 | armpose='Swing' | |
2080 | wait(.1) | |
2081 | makeball() | |
2082 | armmovement=false | |
2083 | --[[coroutine.resume(coroutine.create(function() | |
2084 | for kthen=1,125 do wait() | |
2085 | local ex=math.random(0,300)*.01 | |
2086 | local wy=math.random(0,300)*.01 | |
2087 | local ze=math.random(0,300)*.01 | |
2088 | local dy=math.random(5,30)*.01 | |
2089 | local fir=Instance.new('Part',proj) | |
2090 | fir.formFactor='Custom' | |
2091 | fir.Anchored=true | |
2092 | fir.CanCollide=false | |
2093 | fir.Size=Vector3.new(.8,.8,.8) | |
2094 | fir.TopSurface=10 | |
2095 | fir.BottomSurface=10 | |
2096 | fir.LeftSurface=10 | |
2097 | fir.RightSurface=10 | |
2098 | fir.FrontSurface=10 | |
2099 | fir.Material="Neon" | |
2100 | fir.Locked=true | |
2101 | fir.BackSurface=10 | |
2102 | fir.BrickColor=BrickColor.new(fireclrs[math.random(1,#fireclrs)]) | |
2103 | fir.CFrame=proj.CFrame*CFrame.Angles(ex,wy,ze) | |
2104 | local lt=Instance.new('PointLight',fir) | |
2105 | lt.Brightness=123123 | |
2106 | lt.Range=6 | |
2107 | lt.Color=lalalclrs[math.random(1,#lalalclrs)] | |
2108 | game:service'Debris':AddItem(fir,.5) | |
2109 | local frms=Instance.new('BlockMesh',fir) | |
2110 | frms.Scale=Vector3.new(1,1,1) | |
2111 | coroutine.wrap(function() | |
2112 | for lal=1,10 do | |
2113 | frms.Scale=frms.Scale-Vector3.new(.1,.1,.1) | |
2114 | fir.CFrame=fir.CFrame*CFrame.new(0,dy,0) | |
2115 | wait() | |
2116 | end | |
2117 | end)() end end))]] | |
2118 | wait(.375) | |
2119 | flying=false | |
2120 | end | |
2121 | end) | |
2122 | ||
2123 | ------------------ | |
2124 | ||
2125 | coroutine.resume(coroutine.create(function() | |
2126 | while wait() do if holding then | |
2127 | partasd.Enabled=true | |
2128 | ||
2129 | --[[local ex=math.random(0,300)*.01 | |
2130 | local wy=math.random(0,300)*.01 | |
2131 | local ze=math.random(0,300)*.01 | |
2132 | local dy=math.random(5,30)*.01 | |
2133 | local fir=Instance.new('Part',obj5) | |
2134 | fir.formFactor='Custom' | |
2135 | fir.Anchored=true | |
2136 | fir.CanCollide=false | |
2137 | fir.Size=Vector3.new(.65,.65,.65) | |
2138 | fir.TopSurface=10 | |
2139 | fir.BottomSurface=10 | |
2140 | fir.LeftSurface=10 | |
2141 | fir.RightSurface=10 | |
2142 | fir.Material="Neon" | |
2143 | fir.FrontSurface=10 | |
2144 | fir.Locked=true | |
2145 | fir.BackSurface=10 | |
2146 | fir.BrickColor=BrickColor.new(fireclrs[math.random(1,#fireclrs)]) | |
2147 | fir.CFrame=obj5.CFrame*CFrame.new(0,(-obj9.Size.y)-.5,0)*CFrame.Angles(ex,wy,ze) | |
2148 | local lt=Instance.new('PointLight',fir) | |
2149 | lt.Brightness=123123 | |
2150 | lt.Range=6 | |
2151 | lt.Color=lalalclrs[math.random(1,#lalalclrs)] | |
2152 | game:service'Debris':AddItem(fir,.5) | |
2153 | local frms=Instance.new('BlockMesh',fir) | |
2154 | coroutine.wrap(function() | |
2155 | for lal=1,10 do | |
2156 | frms.Scale=frms.Scale-Vector3.new(.1,.1,.1) | |
2157 | fir.CFrame=fir.CFrame*CFrame.new(0,dy,0) | |
2158 | wait() | |
2159 | end | |
2160 | end)()]] end end end)) | |
2161 | ||
2162 | ||
2163 | function joej() | |
2164 | flying=true | |
2165 | otheranims=true | |
2166 | anim="Intro" | |
2167 | partid.Enabled=false | |
2168 | partif.Enabled=false | |
2169 | wait(0.1) | |
2170 | armmovement=true | |
2171 | introo.Enabled=false | |
2172 | rutprt.CFrame = rutprt.CFrame * CFrame.new(0, 20, 0) | |
2173 | hed.face.Transparency=1 | |
2174 | for _,v in pairs(chr:children()) do | |
2175 | if v:IsA("Part") then | |
2176 | v.Transparency=1 | |
2177 | elseif v:IsA("Accessory") then | |
2178 | v.Handle.Anchored=false | |
2179 | v.Handle.Transparency=1 | |
2180 | end | |
2181 | end | |
2182 | for _,v in pairs(tail:children()) do | |
2183 | if v:IsA("Part") then | |
2184 | v.Transparency=1 | |
2185 | end | |
2186 | end | |
2187 | wait(0.016666666667) | |
2188 | for _,v in pairs(chr:children()) do | |
2189 | if v:IsA("Part") then | |
2190 | v.Anchored=true | |
2191 | end | |
2192 | end | |
2193 | wait(1) | |
2194 | local FFed = Instance.new("ForceField",chr) | |
2195 | obd.Anchored=false | |
2196 | obd2.Anchored=false | |
2197 | introo.Enabled=true | |
2198 | wait(1.5) | |
2199 | local deed=Instance.new('Part',script.Parent) | |
2200 | deed.formFactor='Custom' | |
2201 | deed.Size=Vector3.new(1,1,1) | |
2202 | deed.BrickColor=BrickColor.new('Bright orange') | |
2203 | deed.Anchored=true | |
2204 | deed.CanCollide=false | |
2205 | deed.Transparency=1 | |
2206 | deed:breakJoints() | |
2207 | deed.Locked=true | |
2208 | deed.Material="Neon" | |
2209 | deed.Name="ded" | |
2210 | deed.CFrame=torso.CFrame | |
2211 | local obj1m=Instance.new('SpecialMesh',deed) | |
2212 | obj1m.MeshType="Sphere" | |
2213 | obj1m.Scale=Vector3.new(1, 1, 1) | |
2214 | local obj1waaddh=Instance.new('Weld',deed) | |
2215 | obj1waaddh.Part0=torso | |
2216 | obj1waaddh.Part1=deed | |
2217 | ||
2218 | CreateSound("http://roblox.com/asset/?id=486262895", chr, 1.5, 1) | |
2219 | wait(2.5) | |
2220 | for i = 0, 8, 0.1 do | |
2221 | obj1m.Scale=obj1m.Scale+Vector3.new(.2, .2, .2) | |
2222 | deed.Transparency=deed.Transparency-.05 | |
2223 | wait() | |
2224 | end | |
2225 | wait(.05) | |
2226 | hed.face.Transparency=0 | |
2227 | deed:remove() | |
2228 | for _,v in pairs(chr:children()) do | |
2229 | if v:IsA("Part") then | |
2230 | v.Transparency=0 | |
2231 | elseif v:IsA("Accessory") then | |
2232 | v.Handle.Transparency=0 | |
2233 | end | |
2234 | end | |
2235 | for _,v in pairs(tail:children()) do | |
2236 | if v:IsA("Part") then | |
2237 | v.Transparency=0 | |
2238 | end | |
2239 | end | |
2240 | partid.Enabled=true | |
2241 | partif.Enabled=true | |
2242 | ||
2243 | CreateSound("http://roblox.com/asset/?id=579687077", chr, 1.5, .5) | |
2244 | CreateSound("http://roblox.com/asset/?id=203691653", chr, 1.5, .5) | |
2245 | CreateSound("http://roblox.com/asset/?id=161006069", chr, 1.5, 1) | |
2246 | int1.Enabled=true | |
2247 | int2.Enabled=true | |
2248 | int3.Enabled=true | |
2249 | FFed:Remove() | |
2250 | wait(.1) | |
2251 | ff.Transparency=1 | |
2252 | obd.Transparency=1 | |
2253 | obd2.Transparency=1 | |
2254 | rutprt.Transparency=1 | |
2255 | introo.Enabled=false | |
2256 | wait(.0000001) | |
2257 | int1.Enabled=false | |
2258 | int2.Enabled=false | |
2259 | int3.Enabled=false | |
2260 | wait(2) | |
2261 | for _,v in pairs(chr:children()) do | |
2262 | if v:IsA("Part") then | |
2263 | v.Anchored=false | |
2264 | end | |
2265 | end | |
2266 | otheranims=false | |
2267 | anim="Falling" | |
2268 | flying=false | |
2269 | armmovement=false | |
2270 | chr.Humanoid.MaxHealth = 10000 | |
2271 | wait(.1) | |
2272 | chr.Humanoid.Health = 10000 | |
2273 | ffwhileintro = false | |
2274 | coroutine.wrap(function() | |
2275 | wait(15) | |
2276 | kkk:Play() | |
2277 | end)() | |
2278 | end | |
2279 | --380888758 | |
2280 | --380888410 | |
2281 | ---------------------------------------------------------------------------- | |
2282 | ||
2283 | ||
2284 | game:service'RunService'.RenderStepped:connect(function() | |
2285 | syne=syne+1 | |
2286 | if not otheranims then | |
2287 | if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and torso.Velocity.y<1 and torso.Velocity.y>-1 then | |
2288 | anim="Idling" | |
2289 | ||
2290 | elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < 30 and torso.Velocity.y<1 and torso.Velocity.y>-1 then | |
2291 | anim="Walking" | |
2292 | ||
2293 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 30 and torso.Velocity.y<1 and torso.Velocity.y>-1 then | |
2294 | anim="Sprinting" | |
2295 | ||
2296 | elseif (torso.Velocity.y > 1) then | |
2297 | anim="Jumping" | |
2298 | ||
2299 | elseif (torso.Velocity.y < -1) then | |
2300 | anim="Falling" | |
2301 | --torso.Velocity=(((rutprt.CFrame*CFrame.new(0,0,-3)).p-rutprt.CFrame.p).unit*chr.Humanoid.WalkSpeed)+Vector3.new(0,-(27.5),0) | |
2302 | end | |
2303 | end | |
2304 | if anim=="Idling" then | |
2305 | idlesineinc=40 | |
2306 | if not armmovement then | |
2307 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(3)),.1) | |
2308 | end | |
2309 | ||
2310 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1) | |
2311 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1) | |
2312 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1) | |
2313 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1) | |
2314 | rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1) | |
2315 | end | |
2316 | if anim=="Walking" then | |
2317 | if not armmovement then | |
2318 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(3)),.1) | |
2319 | end | |
2320 | ||
2321 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1) | |
2322 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1) | |
2323 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1) | |
2324 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1) | |
2325 | rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1) | |
2326 | end | |
2327 | ||
2328 | if anim=="Sprinting" then | |
2329 | if not armmovement then | |
2330 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(12.5)),.1) | |
2331 | end | |
2332 | ||
2333 | obj1w.C0=Lerp(obj1w.C0,CFrame.new(0,-.9,.65)*CFrame.Angles(-math.sin(syne/4)/3+(math.rad(-92.5)),-math.sin(syne/4)/3,0),.05) | |
2334 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-12.5)),.1) | |
2335 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.6-math.cos(syne/4)/4,-(math.cos(syne/4)*2))*CFrame.Angles(math.cos(syne/4)*2,0,math.rad(-2.5)),.1) | |
2336 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.6-math.cos(syne/4)/4,math.cos(syne/4)*2)*CFrame.Angles(-(math.cos(syne/4)*2),0,math.rad(2.5)),.1) | |
2337 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(10),0,0),.1) | |
2338 | rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5)/1.5)*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-15),math.cos(syne/2.5)/10,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1) | |
2339 | end | |
2340 | ||
2341 | if anim=="Jumping" then if not armmovement then | |
2342 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(30),0,math.rad(30)),.15) | |
2343 | end | |
2344 | ||
2345 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(30),0,math.rad(-30)),.15) | |
2346 | obj1w.C0=Lerp(obj1w.C0,CFrame.new(0,-.9,.65)*CFrame.Angles((math.rad(-55)),0,0),.05) | |
2347 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.85,-.1)*CFrame.Angles(0,0,math.rad(-2.5)),.05) | |
2348 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.85,-.1)*CFrame.Angles(0,0,math.rad(2.5)),.05) | |
2349 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),.05) | |
2350 | rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-.3,0)*CFrame.Angles(math.rad(-20),0,math.sin(rutprt.RotVelocity.y/2)/4),.1) | |
2351 | end | |
2352 | ||
2353 | if anim=="Falling" then | |
2354 | if not armmovement then | |
2355 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.425,.525,0)*CFrame.Angles(math.rad(65),0,math.rad(45)),.15) | |
2356 | end | |
2357 | ||
2358 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.425,.525,0)*CFrame.Angles(math.rad(65),0,math.rad(-45)),.15) | |
2359 | obj1w.C0=Lerp(obj1w.C0,CFrame.new(0,-.9,.65)*CFrame.Angles((math.rad(-95)),0,0),.05) | |
2360 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.75,-1.3,-.8)*CFrame.Angles(math.rad(55),0,math.rad(-15)),.05) | |
2361 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.75,-1.3,-.8)*CFrame.Angles(math.rad(55),0,math.rad(15)),.05) | |
2362 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),.05) | |
2363 | rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-.3,0)*CFrame.Angles(math.rad(-40),0,math.sin(rutprt.RotVelocity.y/2)/4),.1) | |
2364 | end | |
2365 | if armpose=='ReplacingStick' and armmovement then | |
2366 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-140),0,math.rad(-20)),.075) | |
2367 | ||
2368 | end | |
2369 | ||
2370 | if armpose=='PreSwing' and armmovement then | |
2371 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(179),0,math.rad(10)),.15) | |
2372 | ||
2373 | end | |
2374 | ||
2375 | if armpose=='Swing' and armmovement then | |
2376 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(10)),.2) | |
2377 | ||
2378 | end | |
2379 | ||
2380 | if armpose=='Spin' and armmovement then | |
2381 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5592658, 0.940554738, -0.591176093, 0.987018883, -0.149630487, -0.0583479553, -0.129796982, -0.529219866, -0.838498175, 0.0945859849, 0.835186839, -0.541771591) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), .2) | |
2382 | obj5w.C0=CFrame.new(0,-1,-.5)*CFrame.Angles(-math.rad(92),0,0+5*syne/10) | |
2383 | end | |
2384 | ||
2385 | if armpose=='Swing1' and armmovement then | |
2386 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.7384234, 0.825379133, -0.523169041, 0.736852169, -0.642609894, -0.210003436, -0.523633122, -0.34600994, -0.778514922, 0.427618086, 0.683615208, -0.591450036) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), .35) | |
2387 | end | |
2388 | ||
2389 | if armpose=='Swing2' and armmovement then | |
2390 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.11459601, 0.150975525, -0.581117749, 0.720169067, 0.459199309, 0.520088971, 0.21414803, 0.565899074, -0.796177685, -0.659922063, 0.684758663, 0.309206367) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), .35) | |
2391 | end | |
2392 | ||
2393 | if armpose=='Swing3' and armmovement then | |
2394 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2455333, 0.818116605, -0.699264765, 0.648813188, 0.57158792, 0.502323449, 0.737601161, -0.310140967, -0.599797666, -0.187046051, 0.759670854, -0.622827411) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), .35) | |
2395 | end | |
2396 | ||
2397 | if armpose=='Swing4' and armmovement then | |
2398 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.68857183, 0.0793643594, -0.213749051, 0.534891903, -0.749955297, -0.389175683, 0.214147955, 0.565899074, -0.796177745, 0.817331791, 0.342527866, 0.463296235) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), .35) | |
2399 | end | |
2400 | ||
2401 | ||
2402 | ||
2403 | if otheranims then | |
2404 | if anim=='SuperCrouch' then | |
2405 | if not equipped and not armmovement then | |
2406 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.05) | |
2407 | end | |
2408 | obj1w.C0=Lerp(obj1w.C0,CFrame.new(0,-.9,.65)*CFrame.Angles((math.rad(-25)),0,0),.05) | |
2409 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.05) | |
2410 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,0)*CFrame.Angles(math.rad(-20),0,math.rad(-2.5)),.05) | |
2411 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.8,-.65)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.05) | |
2412 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(40),0,0),.05) | |
2413 | rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-1.4,.2)*CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),.05) | |
2414 | end | |
2415 | ||
2416 | if anim=="SuperJump" then | |
2417 | if not armmovement and not equipped then | |
2418 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(20)),.1) | |
2419 | end | |
2420 | obj1w.C0=Lerp(obj1w.C0,CFrame.new(0,-.9,.65)*CFrame.Angles((math.rad(-75)),0,0),.05) | |
2421 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(-20)),.1) | |
2422 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(-2.5)),.1) | |
2423 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(2.5)),.1) | |
2424 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(30),0,0),.1) | |
2425 | rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.1) | |
2426 | end | |
2427 | ||
2428 | if anim=="Intro" then | |
2429 | if not armmovement and not equipped then | |
2430 | rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.77279222, 0.206299603, 0.555094302, 0.687406182, -0.625818074, -0.368543863, 0.726155162, 0.601381421, 0.333225369, 0.0130970031, -0.496681184, 0.86783427) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), .9) | |
2431 | end | |
2432 | obj1w.C0=Lerp(obj1w.C0,CFrame.new(0,-.9,.65)*CFrame.Angles((math.rad(-75)),0,0),.9) | |
2433 | larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.836748, 0.286180377, 0.595903277, 0.532871246, 0.734829843, 0.419610947, -0.846196413, 0.462740898, 0.264239609, -0, -0.495878875, 0.868391752) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), .9) | |
2434 | lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-0.873395443, -1.71634007, 0.653988361, 0.924032331, 0.382314533, -1.11196096e-006, -0.326452106, 0.789017379, 0.520461977, 0.198981076, -0.480923235, 0.853884876) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), .9) | |
2435 | rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(0.632278264, -1.65728009, 0.470435083, 0.952669501, -0.25970006, -0.158040062, 0.304007858, 0.81382215, 0.495250195, 0, -0.519855142, 0.854254484) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), .9) | |
2436 | hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0, 1.40877497, 0.197028607, 1, 0, -0, 0, 0.907470882, -0.420114934, 0, 0.420114934, 0.907470882) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), .9) | |
2437 | rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), .9) | |
2438 | end | |
2439 | ||
2440 | end | |
2441 | ||
2442 | chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0) | |
2443 | end) | |
2444 | ||
2445 | ||
2446 | --[[ while 1 do | |
2447 | swait() | |
2448 | if hobb <= 360 then | |
2449 | hobb = hobb + 2 | |
2450 | else | |
2451 | hobb = 0 | |
2452 | end | |
2453 | Torsovelocity = (rutprt.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2454 | velocity = rutprt.Velocity.y | |
2455 | sine = sine + change | |
2456 | local hit, pos = rayCast(rutprt.Position, CFrame.new(rutprt.Position, rutprt.Position - Vector3.new(0, 1, 0)).lookVector, 4, chr) | |
2457 | ||
2458 | ||
2459 | ||
2460 | Anim="Idle" | |
2461 | --change = 1 | |
2462 | ||
2463 | objd.C0 = clerp(objd.C0, CFrame.new(0,0,0) * angles(math.rad(hobb),0,0+ 2 * math.cos((sine) / 30)), 0.3) | |
2464 | objd2.C0 = clerp(objd2.C0, CFrame.new(0,0,0) * angles(math.rad(-hobb),0,0+ 2 * math.cos((sine) / 30)), 0.3) | |
2465 | ]] | |
2466 | --end | |
2467 | --[[ Torsovelocity = (rutprt.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2468 | velocity = rutprt.Velocity.y | |
2469 | local hit, pos = rayCast(rutprt.Position, CFrame.new(rutprt.Position, rutprt.Position - Vector3.new(0, 1, 0)).lookVector, 4, chr) | |
2470 | ||
2471 | sine = sine + change | |
2472 | if Torsovelocity < 1 and hit ~= nil then]] | |
2473 | Rotate1 = coroutine.create(function() | |
2474 | while wait() do | |
2475 | obj1waah.C0 = obj1waah.C0 * CFrame.Angles(0, 0.1, 0)-- * * math.cos(sine / 30) | |
2476 | obj1waah.C1 = obj1waah.C1 * CFrame.Angles(0.05, 0,0.03) | |
2477 | end | |
2478 | end) | |
2479 | coroutine.resume(Rotate1) | |
2480 | Rotate2 = coroutine.create(function() | |
2481 | while wait() do | |
2482 | obj1wbb.C0 = obj1wbb.C0 * CFrame.Angles(0, -0.1, 0) | |
2483 | obj1wbb.C1 = obj1waah.C1 * CFrame.Angles(0.05, 0, 0.03) | |
2484 | end | |
2485 | end) | |
2486 | coroutine.resume(Rotate2) | |
2487 | --end | |
2488 | kkk = Instance.new("Sound",chr) | |
2489 | kkk.Volume = 1.2 | |
2490 | kkk.PlaybackSpeed = 1 | |
2491 | kkk.Pitch = 1 | |
2492 | kkk.SoundId = "rbxassetid://380888758" | |
2493 | kkk:Stop() | |
2494 | kkk.Name = "stolen" | |
2495 | kkk.Looped = true | |
2496 | ||
2497 | ahd = Instance.new("Sound",chr) | |
2498 | ahd.Volume = 1.2 | |
2499 | ahd.PlaybackSpeed = 1 | |
2500 | ahd.Pitch = 1 | |
2501 | ahd.SoundId = "rbxassetid://380888410" | |
2502 | ahd:Play() | |
2503 | ahd.Name = "aa" | |
2504 | ahd.Looped = false | |
2505 | ||
2506 | antibrokball = Instance.new("Part",hooh) | |
2507 | antibrokball.Size = Vector3.new(2050, 0.2, 2050) | |
2508 | antibrokball.Name = "cri" | |
2509 | antibrokball.CanCollide = false | |
2510 | antibrokball.Anchored = true | |
2511 | antibrokball.Transparency = 1 | |
2512 | antibrokball.CFrame = CFrame.new(0,-200,0) | |
2513 | ||
2514 | coroutine.wrap(function() | |
2515 | while true and wait(1) do | |
2516 | if antibrokball.Parent == nil then | |
2517 | antibrokball = Instance.new("Part",hooh) | |
2518 | antibrokball.Size = Vector3.new(2050, 0.2, 2050) | |
2519 | antibrokball.Name = "cri" | |
2520 | antibrokball.CanCollide = false | |
2521 | antibrokball.Anchored = true | |
2522 | antibrokball.Transparency = 1 | |
2523 | antibrokball.CFrame = CFrame.new(0,-200,0) | |
2524 | end | |
2525 | end | |
2526 | end)() | |
2527 | ||
2528 | coroutine.wrap(function() | |
2529 | while wait(.0001) and ffwhileintro == true do | |
2530 | local FFed = Instance.new("ForceField",chr) | |
2531 | wait(.0001) | |
2532 | FFed:Remove() | |
2533 | end | |
2534 | end)() | |
2535 | ||
2536 | joej() | |
2537 | ||
2538 | ||
2539 | --V sinc u use dis, i disabled dis aboose nuk | |
2540 | --[[function onDied() | |
2541 | script.Parent=game.Workspace | |
2542 | coroutine.wrap(function() | |
2543 | while wait() and kkk and kkk.Volume >= 0 do | |
2544 | kkk.Volume = kkk.Volume - 0.05 | |
2545 | ahd.Volume = ahd.Volume - 0.05 | |
2546 | end | |
2547 | end)() | |
2548 | ||
2549 | ||
2550 | local eed=Instance.new('Part',script.Parent) | |
2551 | eed.formFactor='Custom' | |
2552 | eed.Size=Vector3.new(.2,.2,.2) | |
2553 | eed.BrickColor=BrickColor.new('Bright orange') | |
2554 | eed.Anchored=true | |
2555 | eed.CanCollide=false | |
2556 | eed.Transparency=1 | |
2557 | eed:breakJoints() | |
2558 | eed.Locked=true | |
2559 | eed.Material="Neon" | |
2560 | eed.Name="ded" | |
2561 | eed.CFrame=torso.CFrame | |
2562 | local obj1m=Instance.new('SpecialMesh',eed) | |
2563 | obj1m.MeshType="Sphere" | |
2564 | obj1m.Scale=Vector3.new(100, 100, 100) | |
2565 | obj1waaht=Instance.new('Weld',eed) | |
2566 | obj1waaht.Part0=torso | |
2567 | obj1waaht.Part1=eed | |
2568 | ||
2569 | obj1.Anchored=true | |
2570 | for _,v in pairs(chr:children()) do | |
2571 | if v:IsA("Part") then | |
2572 | v.Anchored=true | |
2573 | elseif v:IsA("Accessory") then | |
2574 | v.Handle.Anchored=true | |
2575 | ||
2576 | end | |
2577 | end | |
2578 | for _,v in pairs(tail:children()) do | |
2579 | if v:IsA("Part") then | |
2580 | v.Anchored=true | |
2581 | end | |
2582 | end | |
2583 | wait(.2) | |
2584 | ||
2585 | CreateSound("http://roblox.com/asset/?id=200633529", workspace, 1, .4) | |
2586 | obj1m.Scale=Vector3.new(100, 100, 100) | |
2587 | for i = 0, 4, 0.1 do | |
2588 | obj1m.Scale=obj1m.Scale-Vector3.new(1.2, 1.2, 1.2) | |
2589 | eed.Transparency=eed.Transparency-.03 | |
2590 | wait() | |
2591 | end | |
2592 | ||
2593 | wait(.4) | |
2594 | ||
2595 | for _,v in pairs(chr:children()) do | |
2596 | if v:IsA("Part") then | |
2597 | v.Anchored=false | |
2598 | v.Transparency=1 | |
2599 | elseif v:IsA("Accessory") then | |
2600 | v.Handle.Anchored=false | |
2601 | v.Handle.Transparency=1 | |
2602 | end | |
2603 | end | |
2604 | for _,v in pairs(tail:children()) do | |
2605 | if v:IsA("Part") then | |
2606 | v.Anchored=false | |
2607 | end | |
2608 | end | |
2609 | ||
2610 | UltExplodeMass(125*2,eed) | |
2611 | ||
2612 | wait(12) | |
2613 | eed:Remove() | |
2614 | script.Parent=nil | |
2615 | end | |
2616 | chr.Humanoid.Died:connect(onDied)]] |