SHOW:
|
|
- or go back to the newest paste.
1 | wait(1.5) | |
2 | ||
3 | - | player = game.Players.Dark_Eccentric |
3 | + | player = game.Players.samuelrichter66 |
4 | chara = player.Character | |
5 | debby = game.Debris | |
6 | local Mouse = player:GetMouse() | |
7 | ||
8 | --Outfit and Weapons-- | |
9 | New = function(Object, Parent, Name, Data) | |
10 | local Object = Instance.new(Object) | |
11 | for Index, Value in pairs(Data or {}) do | |
12 | Object[Index] = Value | |
13 | end | |
14 | Object.Parent = Parent | |
15 | Object.Name = Name | |
16 | return Object | |
17 | end | |
18 | Me = game.Players.LocalPlayer | |
19 | player = Me | |
20 | char = Me.Character | |
21 | chara = char | |
22 | larm = char["Left Arm"] | |
23 | rarm = char["Right Arm"] | |
24 | lleg = char["Left Leg"] | |
25 | rleg = char["Right Leg"] | |
26 | torso = char.Torso | |
27 | hed = char.Head | |
28 | mouse = player:GetMouse() | |
29 | lght = game.Lighting | |
30 | lichtact = false | |
31 | moosicact = false | |
32 | gotsagofest = true | |
33 | chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
34 | chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
35 | ||
36 | ||
37 | for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
38 | if v.ClassName == "Accessory" then | |
39 | v:Destroy() | |
40 | end | |
41 | end | |
42 | ||
43 | ||
44 | for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
45 | if v.ClassName == "Accessory" then | |
46 | v:Destroy() | |
47 | end | |
48 | end | |
49 | ||
50 | ||
51 | if game.Players.LocalPlayer.Character["Shirt"] then | |
52 | game.Players.LocalPlayer.Character["Shirt"].ShirtTemplate = "rbxassetid://543885922" | |
53 | end | |
54 | ||
55 | ||
56 | if game.Players.LocalPlayer.Character["Pants"] then | |
57 | game.Players.LocalPlayer.Character["Pants"].PantsTemplate = "rbxassetid://530945466" | |
58 | end | |
59 | ||
60 | ||
61 | if not game.Players.LocalPlayer.Character["Shirt"] then | |
62 | local shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character) | |
63 | shirt.Name = "Shirt" | |
64 | shirt.ShirtTemplate = "rbxassetid://543885922" | |
65 | end | |
66 | ||
67 | ||
68 | if not game.Players.LocalPlayer.Character["Pants"] then | |
69 | local pants = Instance.new("Pants",game.Players.LocalPlayer.Character) | |
70 | pants.Name = "Pants" | |
71 | pants.PantsTemplate = "rbxassetid://530945466" | |
72 | end | |
73 | ||
74 | ||
75 | ||
76 | ||
77 | local p = game.Players.LocalPlayer | |
78 | local char = p.Character | |
79 | local hed = char.Head | |
80 | local arm1 = char["Right Arm"] | |
81 | local arm2 = char["Left Arm"] | |
82 | local leg1 = char["Right Leg"] | |
83 | local leg2 = char["Left Leg"] | |
84 | local tor = char.Torso | |
85 | local hrp = char.HumanoidRootPart | |
86 | ||
87 | local cooldown = false | |
88 | local attacking1 = false | |
89 | local attacking2 = false | |
90 | local emoed = false | |
91 | local transformed = false | |
92 | local dehuman = false | |
93 | local antihuman = false | |
94 | local being = false | |
95 | ||
96 | arm1.BrickColor = BrickColor.new("Light orange") | |
97 | arm2.BrickColor = BrickColor.new("Light orange") | |
98 | leg1.BrickColor = BrickColor.new("Light orange") | |
99 | leg2.BrickColor = BrickColor.new("Light orange") | |
100 | tor.BrickColor = BrickColor.new("Light orange") | |
101 | hed.BrickColor = BrickColor.new("Light orange") | |
102 | ||
103 | hed.face.Texture = "rbxassetid://1093202441" | |
104 | ||
105 | local hair1 = Instance.new("Part",char) | |
106 | hair1.Name = "Hair1" | |
107 | hair1.Size = Vector3.new(1,1,1) | |
108 | hair1.CanCollide = false | |
109 | hair1.BrickColor = BrickColor.new("Really black") | |
110 | ||
111 | local msh = Instance.new("SpecialMesh",hair1) | |
112 | msh.MeshId = "http://www.roblox.com/asset/?id=502933908" | |
113 | msh.MeshType = "FileMesh" | |
114 | msh.Scale = Vector3.new(0.011, 0.011, 0.011) | |
115 | ||
116 | local weld = Instance.new("Weld",hair1) | |
117 | weld.Part0 = hed | |
118 | weld.Part1 = hair1 | |
119 | weld.C0 = CFrame.Angles(.2,3.2,0) | |
120 | weld.C1 = CFrame.new(0,0,.2) | |
121 | ||
122 | local mouse = p:GetMouse() | |
123 | position1 = arm1.CFrame:toWorldSpace(CFrame.new(0,1,0)).p | |
124 | position2 = mouse.Hit.p | |
125 | ||
126 | local rock = false | |
127 | local rock3 = false | |
128 | local rock2 = false | |
129 | local rock4 = false | |
130 | local GroundShake = false | |
131 | local GroundShake2 = false | |
132 | ||
133 | local rad = math.rad | |
134 | ||
135 | function RenderStepped() | |
136 | ||
137 | if rock == true then | |
138 | wait(math.random(0.1,0.5)) | |
139 | local ay = Instance.new("Part",char) | |
140 | ay.Name = "NewPart2" | |
141 | ay.Size = Vector3.new(0.3,0.3,0.3) | |
142 | ay.CanCollide = false | |
143 | for i,v in pairs(workspace:GetChildren()) do | |
144 | if v:IsA("Part") then | |
145 | if v.Size.x > 150 then | |
146 | ||
147 | ||
148 | ay.BrickColor = v.BrickColor | |
149 | ay.Material = v.Material | |
150 | ay.Transparency = v.Transparency | |
151 | end | |
152 | end | |
153 | end | |
154 | ay.Position = Vector3.new(999,999,999) | |
155 | ay.CFrame = CFrame.new(hrp.Position.x+math.random(-15,15),hrp.Position.y-2,hrp.Position.z+math.random(-15,15)) | |
156 | local ys = Instance.new("BodyVelocity",ay) | |
157 | ys.Name = "GO" | |
158 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
159 | ||
160 | ys.Velocity = Vector3.new(0,6,0) | |
161 | game.Debris:AddItem(ay,math.random(3,4)) | |
162 | end | |
163 | ||
164 | if GroundShake == true then | |
165 | for i,v in pairs(workspace:GetChildren()) do | |
166 | if v:IsA("Part") then | |
167 | if v.Size.x > 150 then | |
168 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-1,1)),rad(math.random(-1,1)),rad(math.random(-1,1))) | |
169 | end | |
170 | end | |
171 | ||
172 | end | |
173 | ||
174 | end | |
175 | ||
176 | if GroundShake2 == true then | |
177 | ||
178 | for i,v in pairs(workspace:GetChildren()) do | |
179 | if v:IsA("Part") then | |
180 | if v.Size.x > 150 then | |
181 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-2,2)),rad(math.random(-2,2)),rad(math.random(-2,2))) | |
182 | end | |
183 | end | |
184 | end | |
185 | end | |
186 | ||
187 | end | |
188 | ||
189 | function RenderStepped2() | |
190 | ||
191 | if rock2 == true then | |
192 | wait(0.1) | |
193 | ||
194 | for i,v in pairs(char:GetChildren()) do | |
195 | if v:IsA("Part") then | |
196 | if v.Name == "NewPart2" then | |
197 | v.GO.Velocity = Vector3.new(0,-5,0) | |
198 | end | |
199 | end | |
200 | ||
201 | end | |
202 | rock2 = false | |
203 | end | |
204 | if rock3 == true then | |
205 | wait(0.1) | |
206 | for i,v in pairs(char:GetChildren()) do | |
207 | if v:IsA("Part") then | |
208 | if v.Name == "NewPart2" then | |
209 | v.GO.Velocity = Vector3.new(math.random(-80,80),math.random(0,20),math.random(-80,80)) | |
210 | end | |
211 | end | |
212 | end | |
213 | rock3 = false | |
214 | end | |
215 | ||
216 | if rock4 == true then | |
217 | wait(0.1) | |
218 | for i,v in pairs(char:GetChildren()) do | |
219 | if v:IsA("Part") then | |
220 | if v.Name == "NewPart2" then | |
221 | v.GO.Velocity = Vector3.new(math.random(-80,80),math.random(0,20),math.random(-80,80)) | |
222 | end | |
223 | end | |
224 | end | |
225 | end | |
226 | ||
227 | end | |
228 | ||
229 | game:GetService("RunService").RenderStepped:connect(RenderStepped) | |
230 | game:GetService("RunService").RenderStepped:connect(RenderStepped2) | |
231 | ||
232 | function cero() | |
233 | ||
234 | local part = Instance.new("Part",char) | |
235 | part.BrickColor = BrickColor.new("Medium blue") | |
236 | part.Material = Enum.Material.Metal | |
237 | part.Size = Vector3.new(2.5,2.5,2.5) | |
238 | part.CFrame = CFrame.new((position1+position2)/2,position1) | |
239 | part.Anchored = true | |
240 | part.CanCollide = false | |
241 | part.Shape = Enum.PartType.Ball | |
242 | ||
243 | local part2 = Instance.new("Part",char) | |
244 | part2.BrickColor = BrickColor.new("Medium blue") | |
245 | part2.Material = Enum.Material.Metal | |
246 | part2.Size = Vector3.new(5,5,(position1-position2).magnitude ) | |
247 | part2.CFrame = CFrame.new((position1+position2)/2,position1) | |
248 | part2.Anchored = true | |
249 | part2.CanCollide = false | |
250 | local mesh2 = Instance.new("SpecialMesh",part) | |
251 | mesh2.MeshType = Enum.MeshType.Sphere | |
252 | ||
253 | end | |
254 | ||
255 | function emo() | |
256 | ||
257 | char.Humanoid.WalkSpeed = 0 | |
258 | char.Humanoid.JumpPower = 0 | |
259 | ||
260 | if emoed == false then | |
261 | if being == false then | |
262 | emoed = true | |
263 | being = true | |
264 | end | |
265 | end | |
266 | ||
267 | local Mus1 = Instance.new("Sound",char) | |
268 | Mus1.Name = "audio" | |
269 | Mus1.SoundId = "rbxassetid://301184111" | |
270 | Mus1.Pitch = 0.7 | |
271 | Mus1.Volume = 1 | |
272 | Mus1.Looped = false | |
273 | Mus1:Play() | |
274 | ||
275 | local Mus = Instance.new("Sound",char) | |
276 | Mus.Name = "music" | |
277 | Mus.SoundId = "http://www.roblox.com/asset/?id=257295907" | |
278 | Mus.Pitch = 1 | |
279 | Mus.Volume = 1 | |
280 | Mus.Looped = true | |
281 | Mus:Play() | |
282 | ||
283 | local part = Instance.new("Part",char) | |
284 | part.Transparency = 0 | |
285 | part.Size = Vector3.new(0.06, 0.05, 0.05) | |
286 | local pw = Instance.new("Weld",part) | |
287 | pw.Part0 = tor | |
288 | pw.Part1 = part | |
289 | pw.C1 = CFrame.new(0,2.3,0) | |
290 | ||
291 | local fla = Instance.new("ParticleEmitter",part) | |
292 | fla.Name = "Flame" | |
293 | fla.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(255,255,255)) | |
294 | fla.Texture = "rbxassetid://364561471" | |
295 | fla.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
296 | fla.LightEmission = 0 | |
297 | fla.Rate = 2000 | |
298 | fla.Lifetime = NumberRange.new(2.5) | |
299 | fla.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
300 | fla.Speed = NumberRange.new(25) | |
301 | fla.SpreadAngle = Vector2.new(60,60) | |
302 | ||
303 | local fla2 = Instance.new("ParticleEmitter",part) | |
304 | fla2.Name = "Flame" | |
305 | fla2.Color = ColorSequence.new(Color3.new(255,255,255),Color3.new(0,225,250)) | |
306 | fla2.Texture = "rbxassetid://364561471" | |
307 | fla2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
308 | fla2.LightEmission = 0 | |
309 | fla2.Rate = 500 | |
310 | fla2.Lifetime = NumberRange.new(2.5) | |
311 | fla2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
312 | fla2.Speed = NumberRange.new(25) | |
313 | fla2.SpreadAngle = Vector2.new(65,65) | |
314 | ||
315 | wait(4) | |
316 | fla.Rate = 0 | |
317 | fla2.Rate = 0 | |
318 | ||
319 | char.Shirt.ShirtTemplate = "rbxassetid://261998786" | |
320 | char.Pants.PantsTemplate = "rbxassetid://446143522" | |
321 | ||
322 | local lhair = Instance.new("Part",char) | |
323 | lhair.Name = "LongHair" | |
324 | lhair.Size = Vector3.new(1,1,1) | |
325 | lhair.BrickColor = BrickColor.new("Really black") | |
326 | ||
327 | local mesh = Instance.new("SpecialMesh",lhair) | |
328 | mesh.MeshId = "rbxassetid://813723553" | |
329 | mesh.Scale = Vector3.new(0.07, 0.1, 0.08) | |
330 | ||
331 | local weld = Instance.new("Weld",lhair) | |
332 | weld.Part0 = hed | |
333 | weld.part1 = lhair | |
334 | weld.C0 = CFrame.Angles(0.3,0,0) | |
335 | weld.C1 = CFrame.new(0,2.5,-2) | |
336 | ||
337 | hed.face.Texture = "rbxassetid://1093210577" | |
338 | ||
339 | wait() | |
340 | ||
341 | local g = Instance.new("ParticleEmitter",tor) | |
342 | g.Name = "Glow" | |
343 | g.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
344 | g.Texture = "rbxassetid://75202463" | |
345 | g.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
346 | g.LightEmission = 1 | |
347 | g.Rate = 1 | |
348 | g.Lifetime = NumberRange.new(4) | |
349 | g.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
350 | g.Speed = NumberRange.new(0.20) | |
351 | g.Rotation = NumberRange.new(-100,100) | |
352 | g.ZOffset = 2 | |
353 | ||
354 | ||
355 | local pe = Instance.new("ParticleEmitter",tor) | |
356 | pe.Name = "Sparks" | |
357 | pe.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
358 | pe.Texture = "rbxassetid://364561471" | |
359 | pe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
360 | pe.LightEmission = 0 | |
361 | pe.Rate = 10 | |
362 | pe.Lifetime = NumberRange.new(5,10) | |
363 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
364 | pe.Speed = NumberRange.new(1) | |
365 | pe.Rotation = NumberRange.new(-100,100) | |
366 | ||
367 | ------------------------------------------Arms | |
368 | local g1 = Instance.new("ParticleEmitter",arm2) | |
369 | g1.Name = "Glow" | |
370 | g1.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
371 | g1.Texture = "rbxassetid://75202463" | |
372 | g1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
373 | g1.LightEmission = 1 | |
374 | g1.Rate = 1 | |
375 | g1.Lifetime = NumberRange.new(4) | |
376 | g1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
377 | g1.Speed = NumberRange.new(0.05) | |
378 | g1.Rotation = NumberRange.new(-100,100) | |
379 | g1.ZOffset = 2 | |
380 | ||
381 | local pe1 = Instance.new("ParticleEmitter",arm2) | |
382 | pe1.Name = "Sparks" | |
383 | pe1.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
384 | pe1.Texture = "rbxassetid://364561471" | |
385 | pe1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
386 | pe1.LightEmission = 0 | |
387 | pe1.Rate = 10 | |
388 | pe1.Lifetime = NumberRange.new(5,10) | |
389 | pe1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
390 | pe1.Speed = NumberRange.new(1) | |
391 | pe1.Rotation = NumberRange.new(-100,100) | |
392 | ||
393 | --------------------------------------------- | |
394 | local g2 = Instance.new("ParticleEmitter",arm1) | |
395 | g2.Name = "Glow" | |
396 | g2.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
397 | g2.Texture = "rbxassetid://75202463" | |
398 | g2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
399 | g2.LightEmission = 1 | |
400 | g2.Rate = 1 | |
401 | g2.Lifetime = NumberRange.new(4) | |
402 | g2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
403 | g2.Speed = NumberRange.new(0.05) | |
404 | g2.Rotation = NumberRange.new(-100,100) | |
405 | g2.ZOffset = 2 | |
406 | ||
407 | local pe2 = Instance.new("ParticleEmitter",arm1) | |
408 | pe2.Name = "Sparks" | |
409 | pe2.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
410 | pe2.Texture = "rbxassetid://364561471" | |
411 | pe2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
412 | pe2.LightEmission = 0 | |
413 | pe2.Rate = 10 | |
414 | pe2.Lifetime = NumberRange.new(5,10) | |
415 | pe2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
416 | pe2.Speed = NumberRange.new(1) | |
417 | pe2.Rotation = NumberRange.new(-100,100) | |
418 | ||
419 | -------------------------------------------Legs | |
420 | local g3 = Instance.new("ParticleEmitter",leg2) | |
421 | g3.Name = "Glow" | |
422 | g3.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
423 | g3.Texture = "rbxassetid://75202463" | |
424 | g3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
425 | g3.LightEmission = 1 | |
426 | g3.Rate = 1 | |
427 | g3.Lifetime = NumberRange.new(4) | |
428 | g3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
429 | g3.Speed = NumberRange.new(0.05) | |
430 | g3.Rotation = NumberRange.new(-100,100) | |
431 | g3.ZOffset = 2 | |
432 | ||
433 | local pe3 = Instance.new("ParticleEmitter",leg2) | |
434 | pe3.Name = "Sparks" | |
435 | pe3.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
436 | pe3.Texture = "rbxassetid://364561471" | |
437 | pe3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
438 | pe3.LightEmission = 0 | |
439 | pe3.Rate = 10 | |
440 | pe3.Lifetime = NumberRange.new(5,10) | |
441 | pe3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
442 | pe3.Speed = NumberRange.new(1) | |
443 | pe3.Rotation = NumberRange.new(-100,100) | |
444 | ------------------------------------------- | |
445 | local g4 = Instance.new("ParticleEmitter",leg1) | |
446 | g4.Name = "Glow" | |
447 | g4.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
448 | g4.Texture = "rbxassetid://75202463" | |
449 | g4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
450 | g4.LightEmission = 1 | |
451 | g4.Rate = 1 | |
452 | g4.Lifetime = NumberRange.new(4) | |
453 | g4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
454 | g4.Speed = NumberRange.new(0.05) | |
455 | g4.Rotation = NumberRange.new(-100,100) | |
456 | g4.ZOffset = 2 | |
457 | ||
458 | local pe4 = Instance.new("ParticleEmitter",leg1) | |
459 | pe4.Name = "Sparks" | |
460 | pe4.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
461 | pe4.Texture = "rbxassetid://364561471" | |
462 | pe4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
463 | pe4.LightEmission = 0 | |
464 | pe4.Rate = 10 | |
465 | pe4.Lifetime = NumberRange.new(5,10) | |
466 | pe4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
467 | pe4.Speed = NumberRange.new(1) | |
468 | pe4.Rotation = NumberRange.new(-100,100) | |
469 | ||
470 | char.Humanoid.WalkSpeed = 55 | |
471 | char.Humanoid.JumpPower = 75 | |
472 | ||
473 | char.audio:Stop() | |
474 | char.audio:Remove() | |
475 | ||
476 | being = false | |
477 | ||
478 | end | |
479 | ||
480 | function transform() | |
481 | IdleA = New("Animation",tool,"Idle",{AnimationId = "http://www.roblox.com/Asset?ID=94108418",}) | |
482 | IdleAnim = chara.Humanoid:LoadAnimation(IdleA) | |
483 | IdleAnim:Play() | |
484 | player = game:GetService("Players").LocalPlayer | |
485 | chara = player.Character | |
486 | chara.Humanoid.MaxHealth = 100000 | |
487 | chara.Humanoid.Health = 100000 | |
488 | debby = game.Debris | |
489 | ||
490 | --Sword Building-- | |
491 | New = function(Object, Parent, Name, Data) | |
492 | local Object = Instance.new(Object) | |
493 | for Index, Value in pairs(Data or {}) do | |
494 | Object[Index] = Value | |
495 | end | |
496 | Object.Parent = Parent | |
497 | Object.Name = Name | |
498 | return Object | |
499 | end | |
500 | rock = true | |
501 | ||
502 | char.Humanoid.WalkSpeed = 0 | |
503 | char.Humanoid.JumpPower = 0 | |
504 | ||
505 | if emoed == true then | |
506 | if being == false then | |
507 | if transformed == false then | |
508 | being = true | |
509 | transformed = true | |
510 | end | |
511 | end | |
512 | end | |
513 | ||
514 | rock3 = true | |
515 | ||
516 | arm1.Glow:Remove() | |
517 | arm1.Sparks:Remove() | |
518 | arm2.Glow:Remove() | |
519 | arm2.Sparks:Remove() | |
520 | leg1.Glow:Remove() | |
521 | leg1.Sparks:Remove() | |
522 | leg2.Glow:Remove() | |
523 | leg2.Sparks:Remove() | |
524 | tor.Glow:Remove() | |
525 | tor.Sparks:Remove() | |
526 | ||
527 | char.music:Stop() | |
528 | char.music:Remove() | |
529 | ||
530 | local Mus1 = Instance.new("Sound",char) | |
531 | Mus1.Name = "audio" | |
532 | Mus1.SoundId = "rbxassetid://301184111" | |
533 | Mus1.Pitch = 0.7 | |
534 | Mus1.Volume = 1 | |
535 | Mus1.Looped = false | |
536 | Mus1:Play() | |
537 | ||
538 | local Mus2 = Instance.new("Sound",char) | |
539 | Mus2.Name = "audio2" | |
540 | Mus2.SoundId = "rbxassetid://144947983" | |
541 | Mus2.Pitch = 1 | |
542 | Mus2.Volume = 1 | |
543 | Mus2.Looped = true | |
544 | Mus2:Play() | |
545 | ||
546 | local Mus = Instance.new("Sound",char) | |
547 | Mus.Name = "music" | |
548 | Mus.SoundId = "http://www.roblox.com/asset/?id=149312046" | |
549 | Mus.Pitch = 1 | |
550 | Mus.Volume = 2.5 | |
551 | Mus.Looped = true | |
552 | Mus:Play() | |
553 | ||
554 | local part = Instance.new("Part",char) | |
555 | part.Transparency = 0 | |
556 | part.Size = Vector3.new(0.06, 0.05, 0.05) | |
557 | local pw = Instance.new("Weld",part) | |
558 | pw.Part0 = tor | |
559 | pw.Part1 = part | |
560 | pw.C1 = CFrame.new(0,2.3,0) | |
561 | ||
562 | local fla = Instance.new("ParticleEmitter",part) | |
563 | fla.Name = "Flame" | |
564 | fla.Color = ColorSequence.new(Color3.new(25,0,0),Color3.new(255,255,255)) | |
565 | fla.Texture = "rbxassetid://364561471" | |
566 | fla.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
567 | fla.LightEmission = 0 | |
568 | fla.Rate = 2000 | |
569 | fla.Lifetime = NumberRange.new(2.5) | |
570 | fla.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
571 | fla.Speed = NumberRange.new(25) | |
572 | fla.SpreadAngle = Vector2.new(60,60) | |
573 | ||
574 | local fla2 = Instance.new("ParticleEmitter",part) | |
575 | fla2.Name = "Flame" | |
576 | fla2.Color = ColorSequence.new(Color3.new(255,255,255),Color3.new(25,0,0)) | |
577 | fla2.Texture = "rbxassetid://364561471" | |
578 | fla2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
579 | fla2.LightEmission = 0 | |
580 | fla2.Rate = 500 | |
581 | fla2.Lifetime = NumberRange.new(2.5) | |
582 | fla2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
583 | fla2.Speed = NumberRange.new(25) | |
584 | fla2.SpreadAngle = Vector2.new(65,65) | |
585 | ||
586 | wait(5.25) | |
587 | rock3 = true | |
588 | rock = false | |
589 | fla.Rate = 0 | |
590 | fla2.Rate = 0 | |
591 | ||
592 | char.Shirt.ShirtTemplate = "rbxassetid://787561907" | |
593 | char.Pants.PantsTemplate = "rbxassetid://261998839" | |
594 | ||
595 | char.LongHair.BrickColor = BrickColor.new("Black") | |
596 | char.Hair1.BrickColor = BrickColor.new("Black") | |
597 | ||
598 | hed.face.Texture = "rbxassetid://1090074847" | |
599 | ||
600 | wait() | |
601 | ||
602 | for i,v in pairs(char:GetChildren()) do | |
603 | if v:IsA("MeshPart") or v:IsA("BasePart") and v.Name ~= "Hair1" and v.Name ~= "LongHair" and v.Name ~= "NewPart2" then | |
604 | v.BrickColor = BrickColor.new("White") | |
605 | end | |
606 | ||
607 | end | |
608 | ||
609 | local g = Instance.new("ParticleEmitter",tor) | |
610 | g.Name = "Glow" | |
611 | g.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
612 | g.Texture = "rbxassetid://75202463" | |
613 | g.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
614 | g.LightEmission = 1 | |
615 | g.Rate = 1 | |
616 | g.Lifetime = NumberRange.new(4) | |
617 | g.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
618 | g.Speed = NumberRange.new(0.20) | |
619 | g.Rotation = NumberRange.new(-100,100) | |
620 | g.ZOffset = 2 | |
621 | ||
622 | ||
623 | local pe = Instance.new("ParticleEmitter",tor) | |
624 | pe.Name = "Sparks" | |
625 | pe.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
626 | pe.Texture = "rbxassetid://364561471" | |
627 | pe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
628 | pe.LightEmission = 0 | |
629 | pe.Rate = 10 | |
630 | pe.Lifetime = NumberRange.new(5,10) | |
631 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
632 | pe.Speed = NumberRange.new(1) | |
633 | pe.Rotation = NumberRange.new(-100,100) | |
634 | ||
635 | ------------------------------------------Arms | |
636 | local g1 = Instance.new("ParticleEmitter",arm2) | |
637 | g1.Name = "Glow" | |
638 | g1.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
639 | g1.Texture = "rbxassetid://75202463" | |
640 | g1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
641 | g1.LightEmission = 1 | |
642 | g1.Rate = 1 | |
643 | g1.Lifetime = NumberRange.new(4) | |
644 | g1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
645 | g1.Speed = NumberRange.new(0.05) | |
646 | g1.Rotation = NumberRange.new(-100,100) | |
647 | g1.ZOffset = 2 | |
648 | ||
649 | local pe1 = Instance.new("ParticleEmitter",arm2) | |
650 | pe1.Name = "Sparks" | |
651 | pe1.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
652 | pe1.Texture = "rbxassetid://364561471" | |
653 | pe1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
654 | pe1.LightEmission = 0 | |
655 | pe1.Rate = 10 | |
656 | pe1.Lifetime = NumberRange.new(5,10) | |
657 | pe1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
658 | pe1.Speed = NumberRange.new(1) | |
659 | pe1.Rotation = NumberRange.new(-100,100) | |
660 | ||
661 | --------------------------------------------- | |
662 | local g2 = Instance.new("ParticleEmitter",arm1) | |
663 | g2.Name = "Glow" | |
664 | g2.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
665 | g2.Texture = "rbxassetid://75202463" | |
666 | g2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
667 | g2.LightEmission = 1 | |
668 | g2.Rate = 1 | |
669 | g2.Lifetime = NumberRange.new(4) | |
670 | g2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
671 | g2.Speed = NumberRange.new(0.05) | |
672 | g2.Rotation = NumberRange.new(-100,100) | |
673 | g2.ZOffset = 2 | |
674 | ||
675 | local pe2 = Instance.new("ParticleEmitter",arm1) | |
676 | pe2.Name = "Sparks" | |
677 | pe2.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
678 | pe2.Texture = "rbxassetid://364561471" | |
679 | pe2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
680 | pe2.LightEmission = 0 | |
681 | pe2.Rate = 10 | |
682 | pe2.Lifetime = NumberRange.new(5,10) | |
683 | pe2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
684 | pe2.Speed = NumberRange.new(1) | |
685 | pe2.Rotation = NumberRange.new(-100,100) | |
686 | ||
687 | -------------------------------------------Legs | |
688 | local g3 = Instance.new("ParticleEmitter",leg2) | |
689 | g3.Name = "Glow" | |
690 | g3.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
691 | g3.Texture = "rbxassetid://75202463" | |
692 | g3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
693 | g3.LightEmission = 1 | |
694 | g3.Rate = 1 | |
695 | g3.Lifetime = NumberRange.new(4) | |
696 | g3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
697 | g3.Speed = NumberRange.new(0.05) | |
698 | g3.Rotation = NumberRange.new(-100,100) | |
699 | g3.ZOffset = 2 | |
700 | ||
701 | local pe3 = Instance.new("ParticleEmitter",leg2) | |
702 | pe3.Name = "Sparks" | |
703 | pe3.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
704 | pe3.Texture = "rbxassetid://364561471" | |
705 | pe3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
706 | pe3.LightEmission = 0 | |
707 | pe3.Rate = 10 | |
708 | pe3.Lifetime = NumberRange.new(5,10) | |
709 | pe3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
710 | pe3.Speed = NumberRange.new(1) | |
711 | pe3.Rotation = NumberRange.new(-100,100) | |
712 | ------------------------------------------- | |
713 | local g4 = Instance.new("ParticleEmitter",leg1) | |
714 | g4.Name = "Glow" | |
715 | g4.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
716 | g4.Texture = "rbxassetid://75202463" | |
717 | g4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
718 | g4.LightEmission = 1 | |
719 | g4.Rate = 1 | |
720 | g4.Lifetime = NumberRange.new(4) | |
721 | g4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
722 | g4.Speed = NumberRange.new(0.05) | |
723 | g4.Rotation = NumberRange.new(-100,100) | |
724 | g4.ZOffset = 2 | |
725 | ||
726 | local pe4 = Instance.new("ParticleEmitter",leg1) | |
727 | pe4.Name = "Sparks" | |
728 | pe4.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
729 | pe4.Texture = "rbxassetid://364561471" | |
730 | pe4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
731 | pe4.LightEmission = 0 | |
732 | pe4.Rate = 10 | |
733 | pe4.Lifetime = NumberRange.new(5,10) | |
734 | pe4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
735 | pe4.Speed = NumberRange.new(1) | |
736 | pe4.Rotation = NumberRange.new(-100,100) | |
737 | ||
738 | char.audio2:Stop() | |
739 | char.audio2:Remove() | |
740 | char.audio:Stop() | |
741 | char.audio:Remove() | |
742 | ||
743 | char.Humanoid.WalkSpeed = 75 | |
744 | char.Humanoid.JumpPower = 89 | |
745 | ||
746 | being = false | |
747 | ||
748 | end | |
749 | ||
750 | function antihumaned() | |
751 | function LoadAnim(id) | |
752 | local anim = New("Animation",chara,"Animation",{AnimationId = "rbxassetid://"..id}) | |
753 | local realanim = chara.Humanoid:LoadAnimation(anim) | |
754 | return realanim | |
755 | end | |
756 | HoldA = LoadAnim(69427262) | |
757 | HoldA:Play() | |
758 | ||
759 | rock = true | |
760 | ||
761 | char.Humanoid.WalkSpeed = 0 | |
762 | char.Humanoid.JumpPower = 0 | |
763 | ||
764 | if emoed == true then | |
765 | if being == false then | |
766 | if transformed == true then | |
767 | if antihuman == false then | |
768 | being = true | |
769 | antihuman = true | |
770 | end | |
771 | end | |
772 | end | |
773 | end | |
774 | ||
775 | wait(.25) | |
776 | rock3 = true | |
777 | ||
778 | ||
779 | arm1.Glow:Remove() | |
780 | arm1.Sparks:Remove() | |
781 | arm2.Glow:Remove() | |
782 | arm2.Sparks:Remove() | |
783 | leg1.Glow:Remove() | |
784 | leg1.Sparks:Remove() | |
785 | leg2.Glow:Remove() | |
786 | leg2.Sparks:Remove() | |
787 | tor.Glow:Remove() | |
788 | tor.Sparks:Remove() | |
789 | ||
790 | char.music:Stop() | |
791 | char.music:Remove() | |
792 | ||
793 | local Mus1 = Instance.new("Sound",char) | |
794 | Mus1.Name = "audio" | |
795 | Mus1.SoundId = "rbxassetid://301184111" | |
796 | Mus1.Pitch = 0.7 | |
797 | Mus1.Volume = 1 | |
798 | Mus1.Looped = false | |
799 | Mus1:Play() | |
800 | ||
801 | local Mus2 = Instance.new("Sound",char) | |
802 | Mus2.Name = "audio2" | |
803 | Mus2.SoundId = "rbxassetid://682718528" | |
804 | Mus2.Pitch = 1 | |
805 | Mus2.Volume = 1 | |
806 | Mus2.Looped = true | |
807 | Mus2:Play() | |
808 | ||
809 | ||
810 | local part = Instance.new("Part",char) | |
811 | part.Transparency = 0 | |
812 | part.Size = Vector3.new(0.06, 0.05, 0.05) | |
813 | local pw = Instance.new("Weld",part) | |
814 | pw.Part0 = tor | |
815 | pw.Part1 = part | |
816 | pw.C1 = CFrame.new(0,2.3,0) | |
817 | ||
818 | local fla = Instance.new("ParticleEmitter",part) | |
819 | fla.Name = "Flame" | |
820 | fla.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
821 | fla.Texture = "rbxassetid://364561471" | |
822 | fla.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
823 | fla.LightEmission = 0 | |
824 | fla.Rate = 2000 | |
825 | fla.Lifetime = NumberRange.new(2.5) | |
826 | fla.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
827 | fla.Speed = NumberRange.new(25) | |
828 | fla.SpreadAngle = Vector2.new(60,60) | |
829 | ||
830 | local fla2 = Instance.new("ParticleEmitter",part) | |
831 | fla2.Name = "Flame" | |
832 | fla2.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
833 | fla2.Texture = "rbxassetid://364561471" | |
834 | fla2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
835 | fla2.LightEmission = 0 | |
836 | fla2.Rate = 500 | |
837 | fla2.Lifetime = NumberRange.new(2.5) | |
838 | fla2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
839 | fla2.Speed = NumberRange.new(25) | |
840 | fla2.SpreadAngle = Vector2.new(65,65) | |
841 | ||
842 | wait(6.55) | |
843 | rock3 = true | |
844 | fla.Rate = 0 | |
845 | fla2.Rate = 0 | |
846 | ||
847 | char.Shirt.ShirtTemplate = "rbxassetid://662186829" | |
848 | char.Pants.PantsTemplate = "rbxassetid://662188938" | |
849 | ||
850 | char.LongHair.BrickColor = BrickColor.new("Black") | |
851 | char.Hair1.BrickColor = BrickColor.new("Black") | |
852 | ||
853 | hed.face.Texture = "rbxassetid://1080474672" | |
854 | ||
855 | wait() | |
856 | ||
857 | for i,v in pairs(char:GetChildren()) do | |
858 | if v:IsA("MeshPart") or v:IsA("BasePart") and v.Name ~= "Hair1" and v.Name ~= "LongHair" and v.Name ~= "NewPart2" then | |
859 | v.BrickColor = BrickColor.new("Black") | |
860 | end | |
861 | ||
862 | end | |
863 | ||
864 | local g = Instance.new("ParticleEmitter",tor) | |
865 | g.Name = "Glow" | |
866 | g.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
867 | g.Texture = "rbxassetid://75202463" | |
868 | g.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
869 | g.LightEmission = 1 | |
870 | g.Rate = 1 | |
871 | g.Lifetime = NumberRange.new(4) | |
872 | g.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
873 | g.Speed = NumberRange.new(0.20) | |
874 | g.Rotation = NumberRange.new(-100,100) | |
875 | g.ZOffset = 2 | |
876 | ||
877 | ||
878 | local pe = Instance.new("ParticleEmitter",tor) | |
879 | pe.Name = "Sparks" | |
880 | pe.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
881 | pe.Texture = "rbxassetid://364561471" | |
882 | pe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
883 | pe.LightEmission = 0 | |
884 | pe.Rate = 10 | |
885 | pe.Lifetime = NumberRange.new(5,10) | |
886 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
887 | pe.Speed = NumberRange.new(1) | |
888 | pe.Rotation = NumberRange.new(-100,100) | |
889 | ||
890 | ------------------------------------------Arms | |
891 | local g1 = Instance.new("ParticleEmitter",arm2) | |
892 | g1.Name = "Glow" | |
893 | g1.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
894 | g1.Texture = "rbxassetid://75202463" | |
895 | g1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
896 | g1.LightEmission = 1 | |
897 | g1.Rate = 1 | |
898 | g1.Lifetime = NumberRange.new(4) | |
899 | g1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
900 | g1.Speed = NumberRange.new(0.05) | |
901 | g1.Rotation = NumberRange.new(-100,100) | |
902 | g1.ZOffset = 2 | |
903 | ||
904 | local pe1 = Instance.new("ParticleEmitter",arm2) | |
905 | pe1.Name = "Sparks" | |
906 | pe1.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
907 | pe1.Texture = "rbxassetid://364561471" | |
908 | pe1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
909 | pe1.LightEmission = 0 | |
910 | pe1.Rate = 10 | |
911 | pe1.Lifetime = NumberRange.new(5,10) | |
912 | pe1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
913 | pe1.Speed = NumberRange.new(1) | |
914 | pe1.Rotation = NumberRange.new(-100,100) | |
915 | ||
916 | --------------------------------------------- | |
917 | local g2 = Instance.new("ParticleEmitter",arm1) | |
918 | g2.Name = "Glow" | |
919 | g2.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
920 | g2.Texture = "rbxassetid://75202463" | |
921 | g2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
922 | g2.LightEmission = 1 | |
923 | g2.Rate = 1 | |
924 | g2.Lifetime = NumberRange.new(4) | |
925 | g2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
926 | g2.Speed = NumberRange.new(0.05) | |
927 | g2.Rotation = NumberRange.new(-100,100) | |
928 | g2.ZOffset = 2 | |
929 | ||
930 | local pe2 = Instance.new("ParticleEmitter",arm1) | |
931 | pe2.Name = "Sparks" | |
932 | pe2.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
933 | pe2.Texture = "rbxassetid://364561471" | |
934 | pe2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
935 | pe2.LightEmission = 0 | |
936 | pe2.Rate = 10 | |
937 | pe2.Lifetime = NumberRange.new(5,10) | |
938 | pe2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
939 | pe2.Speed = NumberRange.new(1) | |
940 | pe2.Rotation = NumberRange.new(-100,100) | |
941 | ||
942 | -------------------------------------------Legs | |
943 | local g3 = Instance.new("ParticleEmitter",leg2) | |
944 | g3.Name = "Glow" | |
945 | g3.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
946 | g3.Texture = "rbxassetid://75202463" | |
947 | g3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
948 | g3.LightEmission = 1 | |
949 | g3.Rate = 1 | |
950 | g3.Lifetime = NumberRange.new(4) | |
951 | g3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
952 | g3.Speed = NumberRange.new(0.05) | |
953 | g3.Rotation = NumberRange.new(-100,100) | |
954 | g3.ZOffset = 2 | |
955 | ||
956 | local pe3 = Instance.new("ParticleEmitter",leg2) | |
957 | pe3.Name = "Sparks" | |
958 | pe3.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
959 | pe3.Texture = "rbxassetid://364561471" | |
960 | pe3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
961 | pe3.LightEmission = 0 | |
962 | pe3.Rate = 10 | |
963 | pe3.Lifetime = NumberRange.new(5,10) | |
964 | pe3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
965 | pe3.Speed = NumberRange.new(1) | |
966 | pe3.Rotation = NumberRange.new(-100,100) | |
967 | ------------------------------------------- | |
968 | local g4 = Instance.new("ParticleEmitter",leg1) | |
969 | g4.Name = "Glow" | |
970 | g4.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
971 | g4.Texture = "rbxassetid://75202463" | |
972 | g4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
973 | g4.LightEmission = 1 | |
974 | g4.Rate = 1 | |
975 | g4.Lifetime = NumberRange.new(4) | |
976 | g4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
977 | g4.Speed = NumberRange.new(0.05) | |
978 | g4.Rotation = NumberRange.new(-100,100) | |
979 | g4.ZOffset = 2 | |
980 | ||
981 | local pe4 = Instance.new("ParticleEmitter",leg1) | |
982 | pe4.Name = "Sparks" | |
983 | pe4.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
984 | pe4.Texture = "rbxassetid://364561471" | |
985 | pe4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
986 | pe4.LightEmission = 0 | |
987 | pe4.Rate = 10 | |
988 | pe4.Lifetime = NumberRange.new(5,10) | |
989 | pe4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
990 | pe4.Speed = NumberRange.new(1) | |
991 | pe4.Rotation = NumberRange.new(-100,100) | |
992 | ||
993 | char.Humanoid.WalkSpeed = 99.999 | |
994 | char.Humanoid.JumpPower = 99.999 | |
995 | ||
996 | char.audio:Stop() | |
997 | char.audio:Remove() | |
998 | ||
999 | being = false | |
1000 | GroundShake = false | |
1001 | ||
1002 | end | |
1003 | ||
1004 | function dehumaned() | |
1005 | ||
1006 | player = game.Players.LocalPlayer | |
1007 | chara = player.Character | |
1008 | debby = game:GetService("Debris") | |
1009 | ||
1010 | --Outfit-- | |
1011 | ||
1012 | New = function(Object, Parent, Name, Data) | |
1013 | local Object = Instance.new(Object) | |
1014 | for Index, Value in pairs(Data or {}) do | |
1015 | Object[Index] = Value | |
1016 | end | |
1017 | Object.Parent = Parent | |
1018 | Object.Name = Name | |
1019 | return Object | |
1020 | end | |
1021 | --Animations-- | |
1022 | function loada(anim) | |
1023 | local loaded = chara.Humanoid:LoadAnimation(anim) | |
1024 | return loaded | |
1025 | end | |
1026 | ||
1027 | IdleA = New("Animation",chara,"Idle",{AnimationId = "rbxassetid://169638954"}) | |
1028 | IdleAnim = loada(IdleA) | |
1029 | IdleAnim:Play() | |
1030 | ||
1031 | --Enamate-- | |
1032 | function Enamate(part) | |
1033 | local trace = Instance.new("Part",chara) | |
1034 | trace.Size = Vector3.new(1,1,1) | |
1035 | trace.TopSurface = 0 | |
1036 | trace.BottomSurface = 0 | |
1037 | trace.BrickColor = BrickColor.new("New Yeller") | |
1038 | trace.CanCollide = false | |
1039 | trace.Anchored = true | |
1040 | trace.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359))) | |
1041 | local tracedisp = coroutine.wrap(function() | |
1042 | for i = 1, 9 do | |
1043 | wait(.01) | |
1044 | trace.Transparency = trace.Transparency + .1 | |
1045 | end | |
1046 | wait(.01) | |
1047 | trace:Destroy() | |
1048 | end) | |
1049 | tracedisp() | |
1050 | end | |
1051 | function Enamate2(part,name) | |
1052 | if chara:FindFirstChild(name)== nil then | |
1053 | local angl = CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359))) | |
1054 | local trace = Instance.new("Part",chara) | |
1055 | trace.Size = Vector3.new(1,1,1) | |
1056 | trace.Name = name | |
1057 | trace.TopSurface = 0 | |
1058 | trace.BottomSurface = 0 | |
1059 | trace.BrickColor = BrickColor.new("New Yeller") | |
1060 | trace.CanCollide = false | |
1061 | trace.Anchored = true | |
1062 | trace.CFrame = part.CFrame * angl | |
1063 | local tracem = Instance.new("SpecialMesh",trace) | |
1064 | tracem.MeshId = "rbxassetid://3270017" | |
1065 | local tracedisp = coroutine.wrap(function() | |
1066 | for i = 1, 9 do | |
1067 | wait(.01) | |
1068 | trace.Transparency = trace.Transparency + .1 | |
1069 | trace.CFrame = part.CFrame * angl | |
1070 | tracem.Scale = tracem.Scale + Vector3.new(.5,.5,0) | |
1071 | end | |
1072 | wait(.01) | |
1073 | trace:Destroy() | |
1074 | end) | |
1075 | tracedisp() | |
1076 | end | |
1077 | end | |
1078 | function Enamate3() | |
1079 | if chara:FindFirstChild("Ring")== nil then | |
1080 | local trace = Instance.new("Part",chara) | |
1081 | trace.Size = Vector3.new(1,1,1) | |
1082 | trace.Name = "Ring" | |
1083 | trace.TopSurface = 0 | |
1084 | trace.BottomSurface = 0 | |
1085 | trace.BrickColor = BrickColor.new("New Yeller") | |
1086 | trace.CanCollide = false | |
1087 | trace.Anchored = true | |
1088 | trace.CFrame = chara.Torso.CFrame | |
1089 | local tracem = Instance.new("SpecialMesh",trace) | |
1090 | tracem.MeshId = "rbxassetid://3270017" | |
1091 | local tracedisp = coroutine.wrap(function() | |
1092 | for i = 1, 99 do | |
1093 | wait(.01) | |
1094 | trace.Transparency = trace.Transparency + .01 | |
1095 | trace.CFrame = chara.Torso.CFrame | |
1096 | tracem.Scale = tracem.Scale + Vector3.new(.2,.2,0) | |
1097 | end | |
1098 | wait(.01) | |
1099 | trace:Destroy() | |
1100 | end) | |
1101 | tracedisp() | |
1102 | end | |
1103 | end | |
1104 | ||
1105 | rock2 = true | |
1106 | ||
1107 | char.Humanoid.WalkSpeed = 0 | |
1108 | char.Humanoid.JumpPower = 0 | |
1109 | ||
1110 | if emoed == true then | |
1111 | if being == false then | |
1112 | if transformed == true then | |
1113 | if antihuman == true then | |
1114 | if dehuman == false then | |
1115 | dehuman = true | |
1116 | being = true | |
1117 | end | |
1118 | end | |
1119 | end | |
1120 | end | |
1121 | end | |
1122 | ||
1123 | rock3 = true | |
1124 | wait(.25) | |
1125 | rock4 = true | |
1126 | ||
1127 | ||
1128 | arm1.Glow:Remove() | |
1129 | arm1.Sparks:Remove() | |
1130 | arm2.Glow:Remove() | |
1131 | arm2.Sparks:Remove() | |
1132 | leg1.Glow:Remove() | |
1133 | leg1.Sparks:Remove() | |
1134 | leg2.Glow:Remove() | |
1135 | leg2.Sparks:Remove() | |
1136 | tor.Glow:Remove() | |
1137 | tor.Sparks:Remove() | |
1138 | ||
1139 | char.audio2:Stop() | |
1140 | char.audio2:Remove() | |
1141 | ||
1142 | local Mus1 = Instance.new("Sound",char) | |
1143 | Mus1.Name = "audio" | |
1144 | Mus1.SoundId = "rbxassetid://301184111" | |
1145 | Mus1.Pitch = 0.7 | |
1146 | Mus1.Volume = 1 | |
1147 | Mus1.Looped = false | |
1148 | Mus1:Play() | |
1149 | ||
1150 | local Mus2 = Instance.new("Sound",char) | |
1151 | Mus2.Name = "music" | |
1152 | Mus2.SoundId = "rbxassetid://306547398" | |
1153 | Mus2.Pitch = 1 | |
1154 | Mus2.Volume = 1 | |
1155 | Mus2.Looped = true | |
1156 | Mus2:Play() | |
1157 | ||
1158 | local Mus2 = Instance.new("Sound",char) | |
1159 | Mus2.Name = "music2" | |
1160 | Mus2.SoundId = "rbxassetid://162415955" | |
1161 | Mus2.Pitch = 1 | |
1162 | Mus2.Volume = 1 | |
1163 | Mus2.Looped = true | |
1164 | Mus2:Play() | |
1165 | ||
1166 | local Mus4 = Instance.new("Sound",char) | |
1167 | Mus4.SoundId = "rbxassetid://246259756" | |
1168 | Mus4.Volume = 1.2 | |
1169 | Mus4.Pitch = 1 | |
1170 | Mus4.Looped = true | |
1171 | Mus4:Play() | |
1172 | ||
1173 | ||
1174 | local part = Instance.new("Part",char) | |
1175 | part.Transparency = 0 | |
1176 | part.Size = Vector3.new(0.06, 0.05, 0.05) | |
1177 | local pw = Instance.new("Weld",part) | |
1178 | pw.Part0 = tor | |
1179 | pw.Part1 = part | |
1180 | pw.C1 = CFrame.new(0,2.3,0) | |
1181 | ||
1182 | local fla = Instance.new("ParticleEmitter",part) | |
1183 | fla.Name = "Flame" | |
1184 | fla.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1185 | fla.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1186 | fla.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1187 | fla.LightEmission = 1 | |
1188 | fla.Rate = 2050 | |
1189 | fla.Lifetime = NumberRange.new(2.125) | |
1190 | fla.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1191 | fla.Speed = NumberRange.new(55) | |
1192 | fla.SpreadAngle = Vector2.new(80,80) | |
1193 | ||
1194 | local fla2 = Instance.new("ParticleEmitter",part) | |
1195 | fla2.Name = "Flame" | |
1196 | fla2.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1197 | fla2.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1198 | fla2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1199 | fla2.LightEmission = 1 | |
1200 | fla2.Rate = 525 | |
1201 | fla2.Lifetime = NumberRange.new(2.100) | |
1202 | fla2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1203 | fla2.Speed = NumberRange.new(50) | |
1204 | fla2.SpreadAngle = Vector2.new(75,75) | |
1205 | ||
1206 | local fla3 = Instance.new("ParticleEmitter",part) | |
1207 | fla3.Name = "Flame" | |
1208 | fla3.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1209 | fla3.Texture = "rbxassetid://296874871" | |
1210 | fla3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1211 | fla3.LightEmission = 1 | |
1212 | fla3.Rate = 2050 | |
1213 | fla3.Lifetime = NumberRange.new(2.125) | |
1214 | fla3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1215 | fla3.Speed = NumberRange.new(55) | |
1216 | fla3.SpreadAngle = Vector2.new(80,80) | |
1217 | ||
1218 | local fla4 = Instance.new("ParticleEmitter",part) | |
1219 | fla4.Name = "Flame" | |
1220 | fla4.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1221 | fla4.Texture = "rbxassetid://296874871" | |
1222 | fla4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1223 | fla4.LightEmission = 1 | |
1224 | fla4.Rate = 525 | |
1225 | fla4.Lifetime = NumberRange.new(2.100) | |
1226 | fla4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1227 | fla4.Speed = NumberRange.new(50) | |
1228 | fla4.SpreadAngle = Vector2.new(75,75) | |
1229 | ||
1230 | wait(7.75) | |
1231 | --Fly-- | |
1232 | local truflyposy = chara.Torso.Position.Y+10 | |
1233 | local flyposy = truflyposy | |
1234 | local bodfly = Instance.new("BodyPosition", chara.Torso) | |
1235 | bodfly.Name = "Fly" | |
1236 | bodfly.maxForce = Vector3.new(0,10000,0) | |
1237 | bodfly.Position = Vector3.new(0,flyposy,0) | |
1238 | ||
1239 | rock3 = true | |
1240 | fla.Rate = 0 | |
1241 | fla2.Rate = 0 | |
1242 | ||
1243 | char.Shirt.ShirtTemplate = "rbxassetid://262058940" | |
1244 | char.Pants.PantsTemplate = "rbxassetid://226411010" | |
1245 | ||
1246 | char.LongHair.BrickColor = BrickColor.new("White") | |
1247 | char.Hair1.BrickColor = BrickColor.new("White") | |
1248 | ||
1249 | local mask = Instance.new("Part",char) | |
1250 | mask.Name = "Mask" | |
1251 | mask.Size = Vector3.new(1,1,1) | |
1252 | mask.Transparency = 1 | |
1253 | ||
1254 | local maskm = Instance.new("SpecialMesh",mask) | |
1255 | maskm.MeshId = "rbxassetid://1094770887" | |
1256 | maskm.TextureId = "rbxassetid://1007553403" | |
1257 | maskm.Scale = Vector3.new(1,1,1) | |
1258 | ||
1259 | local maskw = Instance.new("Weld") | |
1260 | maskw.Part0 = hed | |
1261 | maskw.Part1 = mask | |
1262 | maskw.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(180),0) | |
1263 | maskw.Parent = mask | |
1264 | ||
1265 | hed.face.Texture = "rbxassetid://1090087827" | |
1266 | ||
1267 | wait() | |
1268 | ||
1269 | for i,v in pairs(char:GetChildren()) do | |
1270 | if v:IsA("MeshPart") or v:IsA("BasePart") and v.Name ~= "Hair1" and v.Name ~= "LongHair" and v.Name ~= "NewPart2" then | |
1271 | v.BrickColor = BrickColor.new("Really black") | |
1272 | end | |
1273 | ||
1274 | end | |
1275 | ||
1276 | local g = Instance.new("ParticleEmitter",tor) | |
1277 | g.Name = "Glow" | |
1278 | g.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1279 | g.Texture = "rbxassetid://296874871" | |
1280 | g.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1281 | g.LightEmission = 1 | |
1282 | g.Rate = 1 | |
1283 | g.Lifetime = NumberRange.new(4) | |
1284 | g.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1285 | g.Speed = NumberRange.new(0.20) | |
1286 | g.Rotation = NumberRange.new(-100,100) | |
1287 | g.ZOffset = 2 | |
1288 | ||
1289 | ||
1290 | local pe = Instance.new("ParticleEmitter",tor) | |
1291 | pe.Name = "Sparks" | |
1292 | pe.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1293 | pe.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1294 | pe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1295 | pe.LightEmission = 1 | |
1296 | pe.Rate = 10 | |
1297 | pe.Lifetime = NumberRange.new(5,10) | |
1298 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1299 | pe.Speed = NumberRange.new(1) | |
1300 | pe.Rotation = NumberRange.new(-100,100) | |
1301 | ||
1302 | ------------------------------------------Arms | |
1303 | local g1 = Instance.new("ParticleEmitter",arm2) | |
1304 | g1.Name = "Glow" | |
1305 | g1.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1306 | g1.Texture = "rbxassetid://296874871" | |
1307 | g1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1308 | g1.LightEmission = 1 | |
1309 | g1.Rate = 1 | |
1310 | g1.Lifetime = NumberRange.new(4) | |
1311 | g1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1312 | g1.Speed = NumberRange.new(0.05) | |
1313 | g1.Rotation = NumberRange.new(-100,100) | |
1314 | g1.ZOffset = 2 | |
1315 | ||
1316 | local pe1 = Instance.new("ParticleEmitter",arm2) | |
1317 | pe1.Name = "Sparks" | |
1318 | pe1.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1319 | pe1.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1320 | pe1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1321 | pe1.LightEmission = 1 | |
1322 | pe1.Rate = 10 | |
1323 | pe1.Lifetime = NumberRange.new(5,10) | |
1324 | pe1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1325 | pe1.Speed = NumberRange.new(1) | |
1326 | pe1.Rotation = NumberRange.new(-100,100) | |
1327 | ||
1328 | --------------------------------------------- | |
1329 | local g2 = Instance.new("ParticleEmitter",arm1) | |
1330 | g2.Name = "Glow" | |
1331 | g2.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1332 | g2.Texture = "rbxassetid://296874871" | |
1333 | g2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1334 | g2.LightEmission = 1 | |
1335 | g2.Rate = 1 | |
1336 | g2.Lifetime = NumberRange.new(4) | |
1337 | g2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1338 | g2.Speed = NumberRange.new(0.05) | |
1339 | g2.Rotation = NumberRange.new(-100,100) | |
1340 | g2.ZOffset = 2 | |
1341 | ||
1342 | local pe2 = Instance.new("ParticleEmitter",arm1) | |
1343 | pe2.Name = "Sparks" | |
1344 | pe2.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1345 | pe2.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1346 | pe2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1347 | pe2.LightEmission = 1 | |
1348 | pe2.Rate = 10 | |
1349 | pe2.Lifetime = NumberRange.new(5,10) | |
1350 | pe2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1351 | pe2.Speed = NumberRange.new(1) | |
1352 | pe2.Rotation = NumberRange.new(-100,100) | |
1353 | ||
1354 | -------------------------------------------Legs | |
1355 | local g3 = Instance.new("ParticleEmitter",leg2) | |
1356 | g3.Name = "Glow" | |
1357 | g3.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1358 | g3.Texture = "rbxassetid://296874871" | |
1359 | g3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1360 | g3.LightEmission = 1 | |
1361 | g3.Rate = 1 | |
1362 | g3.Lifetime = NumberRange.new(4) | |
1363 | g3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1364 | g3.Speed = NumberRange.new(0.05) | |
1365 | g3.Rotation = NumberRange.new(-100,100) | |
1366 | g3.ZOffset = 2 | |
1367 | ||
1368 | local pe3 = Instance.new("ParticleEmitter",leg2) | |
1369 | pe3.Name = "Sparks" | |
1370 | pe3.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1371 | pe3.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1372 | pe3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1373 | pe3.LightEmission = 1 | |
1374 | pe3.Rate = 10 | |
1375 | pe3.Lifetime = NumberRange.new(5,10) | |
1376 | pe3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1377 | pe3.Speed = NumberRange.new(1) | |
1378 | pe3.Rotation = NumberRange.new(-100,100) | |
1379 | ------------------------------------------- | |
1380 | local g4 = Instance.new("ParticleEmitter",leg1) | |
1381 | g4.Name = "Glow" | |
1382 | g4.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1383 | g4.Texture = "rbxassetid://296874871" | |
1384 | g4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1385 | g4.LightEmission = 1 | |
1386 | g4.Rate = 1 | |
1387 | g4.Lifetime = NumberRange.new(4) | |
1388 | g4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1389 | g4.Speed = NumberRange.new(0.05) | |
1390 | g4.Rotation = NumberRange.new(-100,100) | |
1391 | g4.ZOffset = 2 | |
1392 | ||
1393 | local pe4 = Instance.new("ParticleEmitter",leg1) | |
1394 | pe4.Name = "Sparks" | |
1395 | pe4.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1396 | pe4.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1397 | pe4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1398 | pe4.LightEmission = 1 | |
1399 | pe4.Rate = 10 | |
1400 | pe4.Lifetime = NumberRange.new(5,10) | |
1401 | pe4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1402 | pe4.Speed = NumberRange.new(1) | |
1403 | pe4.Rotation = NumberRange.new(-100,100) | |
1404 | ||
1405 | local fall = Instance.new("Part",game.Workspace) | |
1406 | fall.Name = "RainFall" | |
1407 | fall.Position = Vector3.new(0, 171.65, 0) | |
1408 | fall.Size = Vector3.new(512, 20, 512) | |
1409 | fall.BrickColor = BrickColor.new("Medium stone grey") | |
1410 | fall.Material = Enum.Material.SmoothPlastic | |
1411 | fall.Anchored = true | |
1412 | fall.CanCollide = false | |
1413 | fall.Transparency = 0 | |
1414 | ||
1415 | local CloudMesh = Instance.new('SpecialMesh',fall) | |
1416 | CloudMesh.Scale = Vector3.new(500,250,500) | |
1417 | CloudMesh.MeshId = "http://www.roblox.com/asset/?id=1095708" | |
1418 | CloudMesh.Offset = Vector3.new(0,0.9,0) | |
1419 | ||
1420 | local Rain = Instance.new('ParticleEmitter',fall) | |
1421 | Rain.Name = "rain1" | |
1422 | Rain.Color = ColorSequence.new(Color3.new(252,250,255),Color3.fromRGB(252,255,250)) | |
1423 | Rain.Size = NumberSequence.new(10) | |
1424 | Rain.Texture = "http://www.roblox.com/asset/?id=242121575" | |
1425 | Rain.Transparency = NumberSequence.new(-1) | |
1426 | Rain.Acceleration = Vector3.new(0,-150,0) | |
1427 | Rain.Lifetime = NumberRange.new(50,100) | |
1428 | Rain.Rate = math.huge | |
1429 | Rain.EmissionDirection = Enum.NormalId.Bottom | |
1430 | ||
1431 | local Rain2 = Instance.new('ParticleEmitter',fall) | |
1432 | Rain2.Name = "rain2" | |
1433 | Rain2.Color = ColorSequence.new(Color3.new(250,252,255),Color3.fromRGB(255,250,252)) | |
1434 | Rain2.Size = NumberSequence.new(20) | |
1435 | Rain2.Texture = "http://www.roblox.com/asset/?id=242121575" | |
1436 | Rain2.Transparency = NumberSequence.new(-1) | |
1437 | Rain2.Acceleration = Vector3.new(0,-150,0) | |
1438 | Rain2.Lifetime = NumberRange.new(50,100) | |
1439 | Rain2.Rate = math.huge | |
1440 | Rain2.EmissionDirection = Enum.NormalId.Bottom | |
1441 | ||
1442 | local RainSound = Instance.new('Sound',fall) | |
1443 | RainSound.Name = "audio" | |
1444 | RainSound.SoundId = "rbxassetid://111816866" | |
1445 | RainSound.Looped = true | |
1446 | RainSound:Play() | |
1447 | ||
1448 | local Rain3 = Instance.new('ParticleEmitter',game.Workspace) | |
1449 | Rain3.Name = "rain1" | |
1450 | Rain3.Color = ColorSequence.new(Color3.new(252,250,255),Color3.fromRGB(252,255,250)) | |
1451 | Rain3.Size = NumberSequence.new(1) | |
1452 | Rain3.Texture = "http://www.roblox.com/asset/?id=242121500" | |
1453 | Rain3.Transparency = NumberSequence.new(-5) | |
1454 | Rain3.Acceleration = Vector3.new(2.5,2.5,2.5) | |
1455 | Rain3.Lifetime = NumberRange.new(1,5) | |
1456 | Rain3.Speed = NumberRange.new(0) | |
1457 | Rain3.SpreadAngle = Vector2.new(0,0) | |
1458 | Rain3.Rate = 100.9 | |
1459 | Rain3.LockedToPart = true | |
1460 | ||
1461 | local Rain4 = Instance.new('ParticleEmitter',game.Workspace) | |
1462 | Rain4.Name = "rain2" | |
1463 | Rain4.Color = ColorSequence.new(Color3.new(250,252,255),Color3.fromRGB(255,250,252)) | |
1464 | Rain4.Size = NumberSequence.new(1) | |
1465 | Rain4.Texture = "http://www.roblox.com/asset/?id=242121500" | |
1466 | Rain4.Transparency = NumberSequence.new(-5) | |
1467 | Rain4.Acceleration = Vector3.new(2.5,2.5,2.5) | |
1468 | Rain4.Lifetime = NumberRange.new(1,5) | |
1469 | Rain4.Speed = NumberRange.new(0) | |
1470 | Rain4.SpreadAngle = Vector2.new(0,0) | |
1471 | Rain4.Rate = 100.9 | |
1472 | Rain4.LockedToPart = true | |
1473 | ||
1474 | for _,v in pairs(game.Workspace:GetChildren()) do | |
1475 | if v.Name == "Baseplate" or v.Name == "Base" then | |
1476 | Rain3.Parent = v | |
1477 | Rain4.Parent = v | |
1478 | end | |
1479 | end | |
1480 | ||
1481 | local sky = Instance.new("Sky",game.Lighting) | |
1482 | sky.CelestialBodiesShown = true | |
1483 | sky.MoonAngularSize = 15 | |
1484 | sky.MoonTextureId = "rbxasset://sky/moon.jpg" | |
1485 | sky.SkyboxBk = "rbxassetid://566611187" | |
1486 | sky.SkyboxDn = "rbxassetid://566613198" | |
1487 | sky.SkyboxFt = "rbxassetid://566611142" | |
1488 | sky.SkyboxLf = "rbxassetid://566611266" | |
1489 | sky.SkyboxRt = "rbxassetid://566611300" | |
1490 | sky.SkyboxUp = "rbxassetid://566611218" | |
1491 | sky.StarCount = 3000 | |
1492 | sky.SunAngularSize = 25 | |
1493 | sky.SunTextureId = "rbxasset://sky/sun.jpg" | |
1494 | sky.Name = "HumanityRain" | |
1495 | ||
1496 | char.Humanoid.WalkSpeed = 125.175 | |
1497 | char.Humanoid.JumpPower = 150.199 | |
1498 | ||
1499 | char.audio:Stop() | |
1500 | char.audio:Remove() | |
1501 | ||
1502 | being = false | |
1503 | GroundShake = false | |
1504 | rock3 = true | |
1505 | wait(.5) | |
1506 | rock = false | |
1507 | ||
1508 | fla3.Rate = 0 | |
1509 | fla4.Rate = 0 | |
1510 | ||
1511 | end | |
1512 | ||
1513 | mouse.KeyDown:connect(function(key) | |
1514 | if key == "q" and emoed == false and being == false and transformed == false then | |
1515 | emo() | |
1516 | end | |
1517 | end) | |
1518 | ||
1519 | mouse.KeyDown:connect(function(key) | |
1520 | if key == "e" and emoed == true and being == false and transformed == false then | |
1521 | transform() | |
1522 | end | |
1523 | end) | |
1524 | ||
1525 | mouse.KeyDown:connect(function(key) | |
1526 | if key == "r" and emoed == true and being == false and transformed == true and antihuman == false then | |
1527 | antihumaned() | |
1528 | end | |
1529 | end) | |
1530 | ||
1531 | mouse.KeyDown:connect(function(key) | |
1532 | if key == "f" and emoed == true and being == false and transformed == true and antihuman == true and dehuman == false then | |
1533 | dehumaned() | |
1534 | end | |
1535 | end) | |
1536 | --[[SCRIPT NAME]]-- | |
1537 | --[[ | |
1538 | ||
1539 | Move List | |
1540 | ||
1541 | ||
1542 | --]] | |
1543 | local plr = game.Players.LocalPlayer | |
1544 | local char = plr.Character | |
1545 | local mouse = plr:GetMouse() | |
1546 | local torso = char.Torso | |
1547 | local rs = torso["Right Shoulder"] | |
1548 | local ls = torso["Left Shoulder"] | |
1549 | local rh = torso["Right Hip"] | |
1550 | local lh = torso["Left Hip"] | |
1551 | local rj = char.HumanoidRootPart.RootJoint | |
1552 | local neck = torso.Neck | |
1553 | local animpose = "Idle" | |
1554 | local attacking = false | |
1555 | local cananim = true | |
1556 | local rage = false | |
1557 | local shield = nil | |
1558 | local sprint = false | |
1559 | local canrage = true | |
1560 | local legs = false | |
1561 | local bc = char:WaitForChild("Body Colors") | |
1562 | local multiplier = 1 | |
1563 | local lac = char["Body Colors"].LeftArmColor | |
1564 | local rac = char["Body Colors"].RightArmColor | |
1565 | local rlc = char["Body Colors"].RightArmColor | |
1566 | local llc = char["Body Colors"].LeftLegColor | |
1567 | local hc = char["Body Colors"].HeadColor | |
1568 | local tc = char["Body Colors"].TorsoColor | |
1569 | local humanoid = char:FindFirstChildOfClass("Humanoid") | |
1570 | local huge = Vector3.new(math.huge,math.huge,math.huge) | |
1571 | ||
1572 | function legsonly() | |
1573 | spawn(function() | |
1574 | for i = 0, 10 do | |
1575 | wait(0.001) | |
1576 | if attacking then break end | |
1577 | end | |
1578 | if not attacking then | |
1579 | legs = false | |
1580 | end | |
1581 | end) | |
1582 | end | |
1583 | function swait(t) | |
1584 | if t == nil or t == 0 then | |
1585 | game:service('RunService').Stepped:wait(0) | |
1586 | else | |
1587 | for i = 0, t do | |
1588 | game:service('RunService').Stepped:wait(0) | |
1589 | end | |
1590 | end | |
1591 | end | |
1592 | function hurt(hit, dmg) | |
1593 | if hit.Parent then | |
1594 | if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end | |
1595 | local hum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1596 | if hum then | |
1597 | if hum.Parent.Name ~= plr.Name then | |
1598 | if dmg == "Kill" or hum.Health > 100000 then | |
1599 | hit.Parent:BreakJoints() | |
1600 | return true | |
1601 | else | |
1602 | if math.random(0, 100) == 50 then | |
1603 | hum.Health = hum.Health - dmg*multiplier*2.5 | |
1604 | else | |
1605 | hum.Health = hum.Health -dmg*multiplier | |
1606 | end | |
1607 | return true | |
1608 | end | |
1609 | end | |
1610 | end | |
1611 | end | |
1612 | end | |
1613 | function getparent() | |
1614 | local par = workspace | |
1615 | if workspace:FindFirstChild("Base") then | |
1616 | par = workspace.Base | |
1617 | end | |
1618 | return par | |
1619 | end | |
1620 | function soundeffect(id, volume, speed, parent) | |
1621 | spawn(function() | |
1622 | local s = Instance.new("Sound") | |
1623 | s.SoundId = id | |
1624 | s.Volume = volume | |
1625 | s.PlaybackSpeed = speed | |
1626 | s.Parent = parent | |
1627 | s:Play() | |
1628 | repeat wait() until not s.Playing | |
1629 | s:Destroy() | |
1630 | end) | |
1631 | end | |
1632 | function gethum(obj) | |
1633 | if obj.Parent then | |
1634 | if obj.Parent:FindFirstChild("Humanoid") then | |
1635 | if obj.Parent.Name ~= plr.Name then | |
1636 | return obj.Parent:FindFirstChildOfClass("Humanoid") | |
1637 | end | |
1638 | end | |
1639 | end | |
1640 | end | |
1641 | function smooth(obj) | |
1642 | local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"} | |
1643 | for i,v in pairs(sides) do | |
1644 | obj[v.."Surface"] = "SmoothNoOutlines" | |
1645 | end | |
1646 | end | |
1647 | function fade(obj, dest, grow) | |
1648 | spawn(function() | |
1649 | local oldcf = obj.CFrame | |
1650 | for i = 0, 10 do | |
1651 | if grow then | |
1652 | obj.Size = obj.Size +Vector3.new(1,1,1) | |
1653 | obj.CFrame = oldcf | |
1654 | end | |
1655 | obj.Transparency = obj.Transparency +0.1 | |
1656 | swait() | |
1657 | end | |
1658 | if dest then | |
1659 | obj:Destroy() | |
1660 | end | |
1661 | end) | |
1662 | end | |
1663 | function hand() | |
1664 | local mod = Instance.new("Model") | |
1665 | mod.Name = "Hand" | |
1666 | item1 = Instance.new('Part') | |
1667 | item1.BrickColor = BrickColor.new('Really black') | |
1668 | item1.Material = Enum.Material.Marble | |
1669 | item1.Reflectance = 0 | |
1670 | item1.Transparency = 0 | |
1671 | item1.Name = 'Part0101' | |
1672 | item1.Anchored = false | |
1673 | item1.CanCollide = false | |
1674 | item1.Locked = true | |
1675 | item1.Size = Vector3.new(0.599999964, 0.600000024, 0.699999988) smooth(item1) | |
1676 | item1.Parent = mod | |
1677 | item2 = Instance.new('SpecialMesh') | |
1678 | item2.Name = 'Mesh' | |
1679 | item2.MeshType = "Sphere" | |
1680 | item2.MeshId = '' | |
1681 | item2.Scale = Vector3.new(1, 1, 1) | |
1682 | item2.Parent = mod.Part0101 | |
1683 | item3 = Instance.new('Part') | |
1684 | item3.BrickColor = BrickColor.new('Institutional white') | |
1685 | item3.Material = Enum.Material.Marble | |
1686 | item3.Reflectance = 0 | |
1687 | item3.Transparency = 0 | |
1688 | item3.Name = 'Part2323' | |
1689 | item3.Anchored = false | |
1690 | item3.CanCollide = false | |
1691 | item3.Locked = true | |
1692 | item3.Size = Vector3.new(0.49999994, 0.800000012, 0.5) smooth(item3) | |
1693 | item3.Parent = mod | |
1694 | item4 = Instance.new('SpecialMesh') | |
1695 | item4.Name = 'Mesh' | |
1696 | item4.MeshId = '' | |
1697 | item4.MeshType = "Sphere" | |
1698 | item4.Scale = Vector3.new(1, 1, 1) | |
1699 | item4.Parent = mod.Part2323 | |
1700 | item5 = Instance.new('Part') | |
1701 | item5.BrickColor = BrickColor.new('Institutional white') | |
1702 | item5.Material = Enum.Material.Marble | |
1703 | item5.Reflectance = 0 | |
1704 | item5.Transparency = 0 | |
1705 | item5.Name = 'Part4545' | |
1706 | item5.Anchored = false | |
1707 | item5.CanCollide = false | |
1708 | item5.Locked = true | |
1709 | item5.Size = Vector3.new(0.99999994, 1.20000005, 0.5) smooth(item5) | |
1710 | item5.Parent = mod | |
1711 | item6 = Instance.new('SpecialMesh') | |
1712 | item6.Name = 'Mesh' | |
1713 | item6.MeshType = "Sphere" | |
1714 | item6.MeshId = '' | |
1715 | item6.Scale = Vector3.new(1, 1, 1) | |
1716 | item6.Parent = mod.Part4545 | |
1717 | item7 = Instance.new('Weld') | |
1718 | item7.Name = 'Weld' | |
1719 | item7.Part0 = mod.Part2323 | |
1720 | item7.Part1 = mod.Part0101 | |
1721 | item7.C0 = CFrame.new(13.2298317, 10.644496, -120.75, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1) | |
1722 | item7.C1 = CFrame.new(16.5000019, -1.70000005, -120.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1723 | item7.Parent = mod.Part2323 | |
1724 | item8 = Instance.new('Weld') | |
1725 | item8.Name = 'Weld' | |
1726 | item8.Part0 = mod.Part4545 | |
1727 | item8.Part1 = mod.Part2323 | |
1728 | item8.C0 = CFrame.new(16.5000019, -1.70000005, -120.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1729 | item8.C1 = CFrame.new(13.2298317, 10.644496, -120.75, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1) | |
1730 | item8.Parent = mod.Part4545 | |
1731 | for i,v in pairs(mod:children()) do | |
1732 | v.Anchored = false | |
1733 | end | |
1734 | return mod | |
1735 | end | |
1736 | local eagain = false | |
1737 | local vis = false | |
1738 | mouse.KeyDown:connect(function(key) | |
1739 | if key == "c" and not attacking then | |
1740 | attacking = true | |
1741 | local h = hand() | |
1742 | h.Part0101.CFrame = char.Torso.CFrame *CFrame.Angles(math.rad(180),0,math.rad(0)) | |
1743 | h.Parent = workspace | |
1744 | h.Part0101.Anchored = true | |
1745 | local bp = Instance.new("BodyPosition") | |
1746 | bp.MaxForce = huge | |
1747 | bp.P = 10000 | |
1748 | h.Part0101.Anchored = false | |
1749 | h.Part0101.CFrame = char.Torso.CFrame *CFrame.Angles(math.rad(180),0,math.rad(0)) | |
1750 | bp.Parent = h.Part0101 | |
1751 | local last | |
1752 | local exps = {} | |
1753 | repeat wait() | |
1754 | if attacking and h and bp then | |
1755 | if last then last:Destroy() end | |
1756 | if bp.Position == Vector3.new(0,0,0) then | |
1757 | h.Part0101.CFrame = char.Torso.CFrame | |
1758 | end | |
1759 | local pa = workspace | |
1760 | if workspace:FindFirstChild("Base") then | |
1761 | pa = workspace.Base | |
1762 | end | |
1763 | bp.Position = (char.Torso.CFrame*CFrame.new(5,10,0)).p | |
1764 | mouse.TargetFilter = h | |
1765 | h.Part0101.CFrame = CFrame.new(h.Part0101.CFrame.p, mouse.Hit.p) *CFrame.Angles(math.rad(180),0,0) | |
1766 | mouse.TargetFilter = nil | |
1767 | local ray = Ray.new(h.Part0101.CFrame.p, (mouse.Hit.p-h.Part0101.Position).unit * 500) | |
1768 | local ig = {char, h} | |
1769 | for i,v in pairs(exps) do | |
1770 | table.insert(ig, v) | |
1771 | end | |
1772 | local hit, pos = workspace:FindPartOnRayWithIgnoreList(ray, ig) | |
1773 | local p = Instance.new("Part") | |
1774 | p.Anchored = true | |
1775 | smooth(p) | |
1776 | p.Material = "Neon" | |
1777 | p.CanCollide = false | |
1778 | p.Size = Vector3.new(1,1,1) | |
1779 | p.CFrame = CFrame.new(pos) | |
1780 | local m = Instance.new("SpecialMesh") | |
1781 | m.MeshType = "Sphere" | |
1782 | table.insert(exps, p) | |
1783 | m.Parent = p | |
1784 | p.Parent = pa | |
1785 | local mag = (h.Part0101.Position-pos).magnitude | |
1786 | local p = Instance.new("Part") | |
1787 | p.Anchored = false | |
1788 | p.CanCollide = false | |
1789 | smooth(p) | |
1790 | p.Material = "Neon" | |
1791 | p.Size = Vector3.new(0.4,0.4,mag) | |
1792 | p.CFrame = h.Part0101.CFrame | |
1793 | p.CFrame = p.CFrame *CFrame.new(0,0,mag/2) | |
1794 | local b = Instance.new("BodyPosition") | |
1795 | b.MaxForce = huge | |
1796 | b.Position = p.Position | |
1797 | b.Parent = p | |
1798 | p.Parent = pa | |
1799 | p.Touched:connect(function(hit) | |
1800 | hurt(hit, 10) | |
1801 | end) | |
1802 | if hit then | |
1803 | soundeffect("rbxassetid://340722848", 0.2, 3, h.Part0101) | |
1804 | end | |
1805 | last = p | |
1806 | for i,v in pairs(exps) do | |
1807 | v.Transparency = v.Transparency + 0.1 | |
1808 | local l = v.CFrame | |
1809 | v.Size = v.Size + Vector3.new(0.2,0.2,0.2) | |
1810 | v.CFrame = l | |
1811 | if v.Transparency >= 1 then | |
1812 | v:Destroy() | |
1813 | end | |
1814 | end | |
1815 | end | |
1816 | until not attacking | |
1817 | if last then | |
1818 | fade(last, true) | |
1819 | for i,v in pairs(h:children()) do | |
1820 | fade(v, true) | |
1821 | game.Debris:AddItem(h, 1) | |
1822 | end | |
1823 | end | |
1824 | repeat swait() | |
1825 | for i,v in pairs(exps) do | |
1826 | v.Transparency = v.Transparency + 0.1 | |
1827 | local l = v.CFrame | |
1828 | v.Size = v.Size + Vector3.new(0.2,0.2,0.2) | |
1829 | v.CFrame = l | |
1830 | if v.Transparency >= 1 then | |
1831 | v:Destroy() | |
1832 | end | |
1833 | end | |
1834 | until #exps <= 0 | |
1835 | end | |
1836 | local aaaaa = false | |
1837 | if key == "z" and not attacking then | |
1838 | aaaaa = true | |
1839 | attacking = true | |
1840 | local h = hand() | |
1841 | local part = h.Part0101 | |
1842 | part.CFrame = char.Torso.CFrame *CFrame.Angles(math.rad(180),0,0) | |
1843 | local pa = workspace | |
1844 | if workspace:FindFirstChild("Base") then | |
1845 | pa = workspace.Base | |
1846 | end | |
1847 | h.Parent = pa | |
1848 | part.CFrame = char.Torso.CFrame | |
1849 | local bp = Instance.new("BodyPosition") | |
1850 | bp.MaxForce = huge | |
1851 | bp.Position = mouse.Hit.p | |
1852 | part.CFrame = CFrame.new(part.Position, mouse.Hit.p) *CFrame.Angles(math.rad(180),0,0) | |
1853 | bp.Parent = part | |
1854 | local touched = false | |
1855 | local weld | |
1856 | part.Touched:connect(function(hit) | |
1857 | if gethum(hit) then | |
1858 | if hit.Parent:FindFirstChild("Torso") then | |
1859 | h.Parent = hit.Parent | |
1860 | local w = Instance.new("Weld") | |
1861 | w.Part0 = hit.Parent.Torso | |
1862 | w.Part1 = part | |
1863 | w.C0 = CFrame.new(0,0,-0.7) *CFrame.Angles(math.rad(180),0,0) | |
1864 | w.Parent = part | |
1865 | touched = true | |
1866 | weld = w | |
1867 | end | |
1868 | end | |
1869 | end) | |
1870 | spawn(function() | |
1871 | wait(2) | |
1872 | if not touched then | |
1873 | attacking = false | |
1874 | end | |
1875 | end) | |
1876 | repeat wait() | |
1877 | ||
1878 | until (mouse.Hit.p-part.Position).magnitude < 5 or touched | |
1879 | wait(0.5) | |
1880 | if not touched then | |
1881 | for i = 1, 10 do | |
1882 | for i,v in pairs(h:children()) do | |
1883 | v.Transparency = v.Transparency + 0.1 | |
1884 | end | |
1885 | swait() | |
1886 | end | |
1887 | h:Destroy() | |
1888 | else | |
1889 | attacking = true | |
1890 | local mag = (char.Torso.Position-mouse.Hit.p).magnitude | |
1891 | if mag > 50 then | |
1892 | mag = 50 | |
1893 | end | |
1894 | local i = 0 | |
1895 | repeat wait() | |
1896 | i = i + 1 | |
1897 | if i == 100 then | |
1898 | eagain = true | |
1899 | end | |
1900 | mouse.TargetFilter = h.Parent | |
1901 | bp.Position = (CFrame.new(char.Torso.Position, mouse.Hit.p) *CFrame.new(0,0,-mag)).p | |
1902 | mouse.TargetFilter = nil | |
1903 | part.CFrame = CFrame.new(part.Position, char.Torso.Position) | |
1904 | until eagain | |
1905 | local en = part.CFrame *CFrame.new(0,0,-5) | |
1906 | for i = 0, 0.7, 0.1 do | |
1907 | part.CFrame = part.CFrame:Lerp(en, 0.5) | |
1908 | wait() | |
1909 | end | |
1910 | if weld then | |
1911 | local obj = weld.Part0 | |
1912 | weld:Destroy() | |
1913 | part.Anchored = true | |
1914 | local bv = Instance.new("BodyVelocity") | |
1915 | bv.MaxForce = huge | |
1916 | mouse.TargetFilter = h.Parent | |
1917 | bv.Velocity = CFrame.new(char.Torso.Position, mouse.Hit.p).lookVector*100 | |
1918 | mouse.TargetFilter = nil | |
1919 | bv.Parent = obj | |
1920 | game.Debris:AddItem(obj, 0.5) | |
1921 | eagain = false | |
1922 | attacking = false | |
1923 | for i = 1, 10 do | |
1924 | for i,v in pairs(h:children()) do | |
1925 | v.Transparency = v.Transparency + 0.1 | |
1926 | end | |
1927 | swait() | |
1928 | end | |
1929 | h:Destroy() | |
1930 | end | |
1931 | end | |
1932 | end | |
1933 | if key == "j" and not eagain and not aaaaa then | |
1934 | eagain = true | |
1935 | end | |
1936 | if key == "x" and not attacking then | |
1937 | local p = Instance.new("Part") | |
1938 | p.Anchored = true | |
1939 | p.CanCollide = false | |
1940 | p.BrickColor = BrickColor.new("Institutional white") | |
1941 | local size = Vector3.new(75.699, 105.576, 50) | |
1942 | p.Size = size*0.07 | |
1943 | p.Transparency = 1.3 | |
1944 | p.CFrame = char.Torso.CFrame *CFrame.new(math.random(-10,10),-5,6) | |
1945 | local m = Instance.new("SpecialMesh") | |
1946 | m.MeshId = "rbxassetid://685461636" | |
1947 | m.Scale = Vector3.new(0.07,0.07,0.07) | |
1948 | m.Parent = p | |
1949 | local e = p.CFrame *CFrame.new(0,20,0) | |
1950 | p.Parent = getparent() | |
1951 | local dir = CFrame.new(char.Torso.CFrame.p, mouse.Hit.p).lookVector | |
1952 | for i = 0, 1, 0.1 do | |
1953 | p.Transparency = p.Transparency - 0.1 | |
1954 | p.CFrame = p.CFrame:Lerp(CFrame.new(e.p, e.p+dir), 0.5) | |
1955 | wait() | |
1956 | end | |
1957 | wait(0.2) | |
1958 | soundeffect("rbxassetid://340722848", 5, 1, char.Torso) | |
1959 | local start = p.CFrame*CFrame.new(0,0,-2) | |
1960 | mouse.TargetFilter = char | |
1961 | local s = mouse.Hit | |
1962 | local dir = CFrame.new(start.p, s.p).lookVector | |
1963 | local ray = Ray.new(start.p, (mouse.Hit.p-start.p).unit * 500) | |
1964 | local tbl = {char, p} | |
1965 | if getparent().Name == "Base" then | |
1966 | for i,v in pairs(getparent():children()) do | |
1967 | table.insert(tbl, v) | |
1968 | end | |
1969 | end | |
1970 | local hit, pos = workspace:FindPartOnRayWithIgnoreList(ray, tbl) | |
1971 | local mag = (start.p-mouse.Hit.p).magnitude | |
1972 | local part = p | |
1973 | local p = Instance.new("Part") | |
1974 | smooth(p) | |
1975 | p.Material = "Neon" | |
1976 | p.Anchored = true | |
1977 | p.CanCollide = false | |
1978 | p.CFrame = start | |
1979 | p.Size = Vector3.new(mag,5,5) | |
1980 | p.CFrame = CFrame.new(start.p, start.p+dir) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)) *CFrame.new(mag/2,0,0) | |
1981 | local m = Instance.new("SpecialMesh") | |
1982 | mouse.TargetFilter = nil | |
1983 | m.MeshType = "Cylinder" | |
1984 | m.Parent = p | |
1985 | p.Parent = char | |
1986 | p.Touched:connect(function(hit) | |
1987 | hurt(hit, 50) | |
1988 | end) | |
1989 | for i = 1, 10 do | |
1990 | local b = p.CFrame | |
1991 | p.Size = p.Size +Vector3.new(0.1,0.1,0.1) | |
1992 | p.CFrame = b | |
1993 | p.Transparency = p.Transparency + 0.1 | |
1994 | part.Transparency = part.Transparency + 0.1 | |
1995 | wait() | |
1996 | end | |
1997 | p:Destroy() | |
1998 | part:Destroy() | |
1999 | end | |
2000 | if key == "t" and not attacking then | |
2001 | ||
2002 | end | |
2003 | if key == "c" then | |
2004 | if vis then | |
2005 | vis = false | |
2006 | for i,v in pairs(me:children()) do | |
2007 | if v:IsA("Decal") then | |
2008 | v.Transparency = 1 | |
2009 | humanoid.WalkSpeed = 100 | |
2010 | end | |
2011 | end | |
2012 | else | |
2013 | vis = true | |
2014 | for i,v in pairs(me:children()) do | |
2015 | if v:IsA("Decal") then | |
2016 | v.Transparency = 0 | |
2017 | humanoid.WalkSpeed = 16 | |
2018 | end | |
2019 | end | |
2020 | end | |
2021 | end | |
2022 | end) | |
2023 | mouse.KeyUp:connect(function(key) | |
2024 | if key == "v" and attacking then | |
2025 | attacking = false | |
2026 | end | |
2027 | end) |