SHOW:
|
|
- or go back to the newest paste.
1 | repeat wait() | |
2 | ||
3 | until game.Players.LocalPlayer and game.Players.LocalPlayer.Character | |
4 | ||
5 | ||
6 | - | --- MADE BY OOKYAMA, GIVE CREDIT! :) |
6 | + | |
7 | local p = game.Players.LocalPlayer | |
8 | local char = p.Character | |
9 | local rad = math.rad | |
10 | local hum = char.Humanoid | |
11 | ||
12 | local EM = Enum.Material | |
13 | local CF = CFrame | |
14 | local V3 = Vector3 | |
15 | local Ins = Instance | |
16 | local Col = Color3 | |
17 | local UD = UDim | |
18 | local UD2 = UDim2 | |
19 | local mr = math.rad | |
20 | local mra = math.random | |
21 | local mh = math.huge | |
22 | ||
23 | for _, p in pairs(char:GetChildren()) do | |
24 | if p:IsA("Accessory")or p:IsA("Shirt") or p:IsA("Pants") then | |
25 | p:Destroy() | |
26 | end | |
27 | end | |
28 | local BC = char["Body Colors"] | |
29 | BC.HeadColor = BrickColor.new("Bright yellow") | |
30 | BC.RightArmColor = BrickColor.new("Bright yellow") | |
31 | BC.LeftArmColor = BrickColor.new("Bright yellow") | |
32 | BC.RightLegColor = BrickColor.new("Br. yellowish green") | |
33 | BC.LeftLegColor = BrickColor.new("Br. yellowish green") | |
34 | BC.TorsoColor = BrickColor.new("Bright blue") | |
35 | ||
36 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=461030361" | |
37 | ||
38 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808" |
38 | + | |
39 | hrp = char.HumanoidRootPart | |
40 | anim = human.Animator | |
41 | ||
42 | ||
43 | -- HAIR | |
44 | ||
45 | ||
46 | ||
47 | ||
48 | local txt2 = Instance.new("BillboardGui", char) | |
49 | txt2.Adornee = char.Head | |
50 | txt2.Name = "_status2" | |
51 | txt2.Size = UDim2.new(2, 0, 1.2, 0) | |
52 | txt2.StudsOffset = Vector3.new(-14, 3, 0) | |
53 | local text2 = Instance.new("TextLabel", txt2) | |
54 | text2.Size = UDim2.new(15, 0,2, 0) | |
55 | text2.FontSize = "Size24" | |
56 | text2.TextScaled = true | |
57 | text2.TextTransparency = 0 | |
58 | text2.BackgroundTransparency = 1 | |
59 | text2.TextTransparency = 0 | |
60 | text2.TextStrokeTransparency = 0 | |
61 | text2.Font = Enum.Font.SciFi | |
62 | text2.TextStrokeColor3 = Color3.new(0,0,0) | |
63 | text2.TextColor3 = Color3.fromRGB(14, 83, 148) | |
64 | text2.Text = "Classic Noob" | |
65 | v2=Instance.new("Part") | |
66 | - | text2.Text = "Nooby "..p.Name |
66 | + | |
67 | v2.Parent= char | |
68 | v2.FormFactor="Symmetric" | |
69 | v2.Anchored=true | |
70 | v2.CanCollide=false | |
71 | v2.BottomSurface="Smooth" | |
72 | v2.TopSurface="Smooth" | |
73 | v2.Size=Vector3.new(10,5,3) | |
74 | v2.Transparency=1 | |
75 | v2.CFrame=char.HumanoidRootPart.CFrame | |
76 | v2.BrickColor=BrickColor.new("Lime green") | |
77 | v2.Transparency=1 | |
78 | v2.Shape="Block" | |
79 | ||
80 | ||
81 | ||
82 | coroutine.resume(coroutine.create(function() | |
83 | while wait() do | |
84 | for i = 1,50 do | |
85 | wait() | |
86 | text2.TextColor3 = text2.TextColor3:lerp(Color3.fromRGB(85, 103, 34), 0.05) | |
87 | end | |
88 | for i = 1,50 do | |
89 | wait() | |
90 | text2.TextColor3 = text2.TextColor3:lerp(Color3.fromRGB(14, 83, 148), 0.05) | |
91 | end | |
92 | for i = 1,50 do | |
93 | wait() | |
94 | text2.TextColor3 = text2.TextColor3:lerp(Color3.fromRGB(245, 205, 48), 0.05) | |
95 | end | |
96 | ||
97 | end | |
98 | end)) | |
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 | local Mode = "Noob" | |
105 | ||
106 | ||
107 | ||
108 | ||
109 | coroutine.resume(coroutine.create(function() | |
110 | while wait() do | |
111 | if char:FindFirstChild("Eye1") ~= nil then | |
112 | local Eye1 = char:FindFirstChild("Eye1").Mesh.Scale | |
113 | local Eye2 = char:FindFirstChild("Eye2").Mesh.Scale | |
114 | ||
115 | for i = 1, 10 do | |
116 | wait() | |
117 | Eye1 = Eye1:lerp(Vector3.new(1, 0.1, 1), 0.5) | |
118 | Eye2 = Eye2:lerp(Vector3.new(1, 0.1, 1), 0.5) | |
119 | end | |
120 | for i = 1, 10 do | |
121 | wait() | |
122 | Eye1 = Eye1:lerp(Vector3.new(1, 1, 1), 0.5) | |
123 | Eye2 = Eye2:lerp(Vector3.new(1, 1, 1), 0.5) | |
124 | end | |
125 | wait(2) | |
126 | end | |
127 | end | |
128 | end)) | |
129 | ||
130 | ||
131 | ||
132 | local namee = "Nooby "..p.Name | |
133 | local chatDB = false | |
134 | ||
135 | function chatfunc(msg) | |
136 | coroutine.resume(coroutine.create(function() | |
137 | if not chatDB then | |
138 | chatDB = true | |
139 | for i = 1,#msg do | |
140 | wait() | |
141 | text2.Text = string.sub(msg, 1, i) | |
142 | end | |
143 | wait(2) | |
144 | if Mode == "Guest" then | |
145 | namee = "Classic Guest" | |
146 | elseif Mode == "Guest666" then | |
147 | - | namee = "Guesty "..p.Name |
147 | + | namee = "The Corrupted Guest " |
148 | for i = 1,#namee do | |
149 | - | namee = "The Awakened "..p.Name |
149 | + | |
150 | text2.Text = string.sub(namee, 1, i) | |
151 | end | |
152 | chatDB = false -- So you can use right after it is done. | |
153 | end | |
154 | end)) | |
155 | end | |
156 | ||
157 | ||
158 | ||
159 | local Theme = Instance.new("Sound", char) | |
160 | Theme.Looped = true | |
161 | Theme.SoundId = "rbxassetid://766161531" | |
162 | Theme:Play() | |
163 | ||
164 | - | Theme.SoundId = "rbxassetid://265241849" |
164 | + | |
165 | return a:lerp(b, t) | |
166 | end | |
167 | ||
168 | ------------------------------------- | |
169 | local Head = char.Head | |
170 | local RArm = char["Right Arm"] | |
171 | local LArm = char["Left Arm"] | |
172 | local Torso = char.Torso | |
173 | local LLeg = char["Left Leg"] | |
174 | local RLeg = char["Right Leg"] | |
175 | ------------------------------------- | |
176 | ||
177 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
178 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
179 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
180 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
181 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
182 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
183 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
184 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
185 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
186 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
187 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
188 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
189 | RS = Torso:FindFirstChild("Right Shoulder") | |
190 | LS = Torso:FindFirstChild("Left Shoulder") | |
191 | RH = Torso:FindFirstChild("Right Hip") | |
192 | LH = Torso:FindFirstChild("Left Hip") | |
193 | RJ = hrp:FindFirstChild("RootJoint") | |
194 | NK = Torso:FindFirstChild("Neck") | |
195 | local RunS = game:GetService("RunService") | |
196 | local Mouse = p:GetMouse() | |
197 | local animen = true | |
198 | local Player = game.Players.localPlayer | |
199 | local Character = Player.Character | |
200 | local Humanoid = Character.Humanoid | |
201 | local LeftArm = Character["Left Arm"] | |
202 | local RightArm = Character["Right Arm"] | |
203 | local LeftLeg = Character["Left Leg"] | |
204 | local RightLeg = Character["Right Leg"] | |
205 | local Head = Character.Head | |
206 | local Torso = Character.Torso | |
207 | local Camera = game.Workspace.CurrentCamera | |
208 | local RootPart = Character.HumanoidRootPart | |
209 | local RootJoint = RootPart.RootJoint | |
210 | local Pause = false | |
211 | local attack = false | |
212 | local LOL = false | |
213 | local Anim = 'Idle' | |
214 | local attacktype = 1 | |
215 | local delays = false | |
216 | local play = true | |
217 | local targetted = nil | |
218 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
219 | local velocity = RootPart.Velocity.y | |
220 | local sine = 0 | |
221 | local change = 1 | |
222 | local doe = 0 | |
223 | local Create = LoadLibrary("RbxUtility").Create | |
224 | Humanoid.WalkSpeed = 80 | |
225 | ||
226 | ||
227 | ||
228 | ||
229 | ||
230 | ||
231 | local TrailSoundStart = Instance.new("Sound", char) | |
232 | TrailSoundStart.Looped = false | |
233 | TrailSoundStart.Volume = 0.4 | |
234 | TrailSoundStart.SoundId = "rbxassetid://1661848335" | |
235 | ||
236 | local TrailSound = Instance.new("Sound", char) | |
237 | - | TrailSoundStart.SoundId = "rbxassetid://905876599" |
237 | + | |
238 | TrailSound.Volume = 0.4 | |
239 | TrailSound.SoundId = "rbxassetid://379557765" | |
240 | ||
241 | local StepSound = Instance.new("Sound", char) | |
242 | StepSound.Looped = false | |
243 | StepSound.Volume = 0.7 | |
244 | StepSound.SoundId = "rbxassetid://289556450" | |
245 | ||
246 | local TransformationSound = Instance.new("Sound", char) | |
247 | TransformationSound.Looped = false | |
248 | TransformationSound.Volume = 0.5 | |
249 | TransformationSound.SoundId = "rbxassetid://165969964" | |
250 | ||
251 | local ShadowTravel = Instance.new("Sound", char) | |
252 | ShadowTravel.Looped = true | |
253 | ShadowTravel.Volume = 1 | |
254 | ShadowTravel.SoundId = "rbxassetid://362395087" | |
255 | ||
256 | local NeckSnap = Instance.new("Sound", char) | |
257 | NeckSnap.Looped = false | |
258 | NeckSnap.Volume = 1 | |
259 | NeckSnap.SoundId = "rbxassetid://198606040" | |
260 | ||
261 | ||
262 | ||
263 | ||
264 | ||
265 | function findNearestTorso(pos) | |
266 | local list = game.Workspace:children() | |
267 | local torso = nil | |
268 | local dist = 150 | |
269 | local temp = nil | |
270 | local human = nil | |
271 | local temp2 = nil | |
272 | for x = 1, #list do | |
273 | temp2 = list[x] | |
274 | if (temp2.className == "Model") and (temp2 ~= script.Parent) then | |
275 | temp = temp2:findFirstChild("HumanoidRootPart") | |
276 | human = temp2:findFirstChildOfClass("Humanoid") | |
277 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
278 | if (temp.Position - pos).magnitude < dist then | |
279 | torso = temp | |
280 | dist = (temp.Position - pos).magnitude | |
281 | end | |
282 | end | |
283 | end | |
284 | end | |
285 | return torso.Parent.Name | |
286 | end | |
287 | ||
288 | ||
289 | ||
290 | ||
291 | function findNearestTorso2(pos) | |
292 | local list = game.Workspace:children() | |
293 | local torso = nil | |
294 | local dist = 150 | |
295 | local temp = nil | |
296 | local human = nil | |
297 | local temp2 = nil | |
298 | for x = 1, #list do | |
299 | temp2 = list[x] | |
300 | if (temp2.className == "Model") and (temp2 ~= script.Parent) then | |
301 | temp = temp2:findFirstChild("HumanoidRootPart") | |
302 | human = temp2:findFirstChildOfClass("Humanoid") | |
303 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
304 | if (temp.Position - pos).magnitude < dist then | |
305 | torso = temp | |
306 | dist = (temp.Position - pos).magnitude | |
307 | end | |
308 | end | |
309 | end | |
310 | end | |
311 | return torso | |
312 | end | |
313 | ||
314 | ||
315 | function NoobStep() | |
316 | StepSound:Play() | |
317 | if Mode == "Guest" then | |
318 | chatfunc("GUEST STEP!!11!1!") | |
319 | elseif Mode == "Noob" then | |
320 | chatfunc("NOOB STEP!!111!!") | |
321 | end | |
322 | local NeonTorsopls = Torso:Clone() | |
323 | local Arm1 = RightArm:Clone() | |
324 | local Arm2 = LeftArm:Clone() | |
325 | local Head1 = Head:Clone() | |
326 | local Leg1 = RightLeg:Clone() | |
327 | local Leg2 = LeftLeg:Clone() | |
328 | ||
329 | Head1.Name = "Headdd" | |
330 | Arm1.Name = "Armmm1" | |
331 | Arm2.Name = "Armmm2" | |
332 | NeonTorsopls.Name = "Torsooo" | |
333 | Leg1.Name = "Leggg1" | |
334 | Leg2.Name = "Leggg2" | |
335 | ||
336 | NeonTorsopls.Parent = char | |
337 | Arm1.Parent = char | |
338 | Arm2.Parent = char | |
339 | Head1.Parent = char | |
340 | Leg1.Parent = char | |
341 | Leg2.Parent = char | |
342 | Head1:ClearAllChildren() | |
343 | Arm1:ClearAllChildren() | |
344 | Leg1:ClearAllChildren() | |
345 | Leg2:ClearAllChildren() | |
346 | NeonTorsopls:ClearAllChildren() | |
347 | Arm2:ClearAllChildren() | |
348 | ||
349 | NeonTorsopls.CFrame = Torso.CFrame | |
350 | Arm1.CFrame = RightArm.CFrame | |
351 | Arm2.CFrame = LeftArm.CFrame | |
352 | Head1.CFrame = Head.CFrame | |
353 | Leg1.CFrame = RightLeg.CFrame | |
354 | Leg2.CFrame = LeftLeg.CFrame | |
355 | ||
356 | Leg1.Material = "Neon" | |
357 | Arm1.Material = "Neon" | |
358 | Arm2.Material = "Neon" | |
359 | Leg2.Material = "Neon" | |
360 | NeonTorsopls.Material = "Neon" | |
361 | Head1.Material = "Neon" | |
362 | ||
363 | Head1.Anchored = true | |
364 | NeonTorsopls.Anchored = true | |
365 | Arm1.Anchored = true | |
366 | Arm2.Anchored = true | |
367 | Leg1.Anchored = true | |
368 | Leg2.Anchored = true | |
369 | ||
370 | Leg2.CanCollide = false | |
371 | Leg1.CanCollide = false | |
372 | Head1.CanCollide = false | |
373 | NeonTorsopls.CanCollide = false | |
374 | Arm1.CanCollide = false | |
375 | Arm2.CanCollide = false | |
376 | ||
377 | ||
378 | coroutine.resume(coroutine.create(function() | |
379 | for i = 1,300 do | |
380 | game:GetService("RunService").RenderStepped:wait() | |
381 | Arm1.Transparency = Arm1.Transparency + 0.01 | |
382 | Arm2.Transparency = Arm2.Transparency + 0.01 | |
383 | Head1.Transparency = Head1.Transparency + 0.01 | |
384 | NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.01 | |
385 | Leg1.Transparency = Leg1.Transparency + 0.01 | |
386 | Leg2.Transparency = Leg2.Transparency + 0.01 | |
387 | if Head1.Transparency >= 1 then | |
388 | Leg1:Destroy() | |
389 | Leg2:Destroy() | |
390 | Head1:Destroy() | |
391 | Arm1:Destroy() | |
392 | Arm2:Destroy() | |
393 | NeonTorsopls:Destroy() | |
394 | end | |
395 | end | |
396 | end)) | |
397 | ||
398 | Torso.CFrame = CFrame.new(Mouse.Hit.X, Mouse.Hit.Y, Mouse.Hit.Z) | |
399 | end | |
400 | ||
401 | ||
402 | local TrailEnabled = false | |
403 | ||
404 | function EnableTrail() | |
405 | if Mode == "Noob" or Mode == "Guest" then | |
406 | TrailSoundStart:Play() | |
407 | chatfunc("Be Confuuse!!111!!") | |
408 | TrailSound:Play() | |
409 | while wait() and TrailEnabled == true do | |
410 | local NeonTorsopls = Torso:Clone() | |
411 | local Arm1 = RightArm:Clone() | |
412 | local Arm2 = LeftArm:Clone() | |
413 | local Head1 = Head:Clone() | |
414 | local Leg1 = RightLeg:Clone() | |
415 | local Leg2 = LeftLeg:Clone() | |
416 | ||
417 | Head1.Name = "Headdd" | |
418 | Arm1.Name = "Armmm1" | |
419 | Arm2.Name = "Armmm2" | |
420 | NeonTorsopls.Name = "Torsooo" | |
421 | Leg1.Name = "Leggg1" | |
422 | Leg2.Name = "Leggg2" | |
423 | ||
424 | NeonTorsopls.Parent = char | |
425 | Arm1.Parent = char | |
426 | Arm2.Parent = char | |
427 | Head1.Parent = char | |
428 | Leg1.Parent = char | |
429 | Leg2.Parent = char | |
430 | Head1:ClearAllChildren() | |
431 | Arm1:ClearAllChildren() | |
432 | Leg1:ClearAllChildren() | |
433 | Leg2:ClearAllChildren() | |
434 | NeonTorsopls:ClearAllChildren() | |
435 | Arm2:ClearAllChildren() | |
436 | ||
437 | NeonTorsopls.CFrame = Torso.CFrame | |
438 | Arm1.CFrame = RightArm.CFrame | |
439 | Arm2.CFrame = LeftArm.CFrame | |
440 | Head1.CFrame = Head.CFrame | |
441 | Leg1.CFrame = RightLeg.CFrame | |
442 | Leg2.CFrame = LeftLeg.CFrame | |
443 | ||
444 | Leg1.Material = "Neon" | |
445 | Arm1.Material = "Neon" | |
446 | Arm2.Material = "Neon" | |
447 | Leg2.Material = "Neon" | |
448 | NeonTorsopls.Material = "Neon" | |
449 | Head1.Material = "Neon" | |
450 | ||
451 | Head1.Anchored = true | |
452 | NeonTorsopls.Anchored = true | |
453 | Arm1.Anchored = true | |
454 | Arm2.Anchored = true | |
455 | Leg1.Anchored = true | |
456 | Leg2.Anchored = true | |
457 | ||
458 | Leg2.CanCollide = false | |
459 | Leg1.CanCollide = false | |
460 | Head1.CanCollide = false | |
461 | NeonTorsopls.CanCollide = false | |
462 | Arm1.CanCollide = false | |
463 | Arm2.CanCollide = false | |
464 | ||
465 | coroutine.resume(coroutine.create(function() | |
466 | for i = 1,300 do | |
467 | game:GetService("RunService").RenderStepped:wait() | |
468 | Arm1.Transparency = Arm1.Transparency + 0.01 | |
469 | Arm2.Transparency = Arm2.Transparency + 0.01 | |
470 | Head1.Transparency = Head1.Transparency + 0.01 | |
471 | NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.01 | |
472 | Leg1.Transparency = Leg1.Transparency + 0.01 | |
473 | Leg2.Transparency = Leg2.Transparency + 0.01 | |
474 | if Head1.Transparency >= 1 then | |
475 | Leg1:Destroy() | |
476 | Leg2:Destroy() | |
477 | Head1:Destroy() | |
478 | Arm1:Destroy() | |
479 | Arm2:Destroy() | |
480 | NeonTorsopls:Destroy() | |
481 | end | |
482 | end | |
483 | end)) | |
484 | end | |
485 | ||
486 | elseif Mode == "Guest666" then | |
487 | chatfunc("Shadow Travel...") | |
488 | ShadowTravel:Play() | |
489 | while wait() and TrailEnabled == true do | |
490 | local NeonTorsopls = Torso:Clone() | |
491 | local Arm1 = RightArm:Clone() | |
492 | local Arm2 = LeftArm:Clone() | |
493 | local Head1 = Head:Clone() | |
494 | local Leg1 = RightLeg:Clone() | |
495 | local Leg2 = LeftLeg:Clone() | |
496 | ||
497 | Head1.Name = "Headdd" | |
498 | Arm1.Name = "Armmm1" | |
499 | Arm2.Name = "Armmm2" | |
500 | NeonTorsopls.Name = "Torsooo" | |
501 | Leg1.Name = "Leggg1" | |
502 | Leg2.Name = "Leggg2" | |
503 | ||
504 | NeonTorsopls.Parent = char | |
505 | Arm1.Parent = char | |
506 | Arm2.Parent = char | |
507 | Head1.Parent = char | |
508 | Leg1.Parent = char | |
509 | Leg2.Parent = char | |
510 | Head1:ClearAllChildren() | |
511 | Arm1:ClearAllChildren() | |
512 | Leg1:ClearAllChildren() | |
513 | Leg2:ClearAllChildren() | |
514 | NeonTorsopls:ClearAllChildren() | |
515 | Arm2:ClearAllChildren() | |
516 | ||
517 | NeonTorsopls.CFrame = Torso.CFrame | |
518 | Arm1.CFrame = RightArm.CFrame | |
519 | Arm2.CFrame = LeftArm.CFrame | |
520 | Head1.CFrame = Head.CFrame | |
521 | Leg1.CFrame = RightLeg.CFrame | |
522 | Leg2.CFrame = LeftLeg.CFrame | |
523 | ||
524 | Leg1.Material = "Neon" | |
525 | Arm1.Material = "Neon" | |
526 | Arm2.Material = "Neon" | |
527 | Leg2.Material = "Neon" | |
528 | NeonTorsopls.Material = "Neon" | |
529 | Head1.Material = "Neon" | |
530 | ||
531 | Head1.Anchored = true | |
532 | NeonTorsopls.Anchored = true | |
533 | Arm1.Anchored = true | |
534 | Arm2.Anchored = true | |
535 | Leg1.Anchored = true | |
536 | Leg2.Anchored = true | |
537 | ||
538 | Leg2.CanCollide = false | |
539 | Leg1.CanCollide = false | |
540 | Head1.CanCollide = false | |
541 | NeonTorsopls.CanCollide = false | |
542 | Arm1.CanCollide = false | |
543 | Arm2.CanCollide = false | |
544 | ||
545 | coroutine.resume(coroutine.create(function() | |
546 | for i = 1,300 do | |
547 | game:GetService("RunService").RenderStepped:wait() | |
548 | Arm1.Transparency = Arm1.Transparency + 0.1 | |
549 | Arm2.Transparency = Arm2.Transparency + 0.1 | |
550 | Head1.Transparency = Head1.Transparency + 0.1 | |
551 | NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.1 | |
552 | Leg1.Transparency = Leg1.Transparency + 0.1 | |
553 | Leg2.Transparency = Leg2.Transparency + 0.1 | |
554 | if Head1.Transparency >= 1 then | |
555 | Leg1:Destroy() | |
556 | Leg2:Destroy() | |
557 | Head1:Destroy() | |
558 | Arm1:Destroy() | |
559 | Arm2:Destroy() | |
560 | NeonTorsopls:Destroy() | |
561 | end | |
562 | end | |
563 | end)) | |
564 | end | |
565 | ||
566 | ||
567 | ||
568 | ||
569 | end | |
570 | end | |
571 | ||
572 | AnimEnabled = true | |
573 | ||
574 | Mouse.KeyDown:Connect(function(k) | |
575 | if k == "9" then | |
576 | chatfunc("Wow The Clouds In The Scy Are Buutiful Toniyt.") | |
577 | ||
578 | elseif k == "8" then | |
579 | chatfunc("PLS NO!11!!") | |
580 | ||
581 | elseif k == "7" then | |
582 | chatfunc(findNearestTorso(char.HumanoidRootPart.Position).." Be My Frien Pls!11!!!1") | |
583 | ||
584 | elseif k == "6" then | |
585 | chatfunc("Hi "..findNearestTorso(char.HumanoidRootPart.Position)) | |
586 | ||
587 | elseif k == "5" then | |
588 | chatfunc("Do N0t Make Me Ki11 U!111!!!!") | |
589 | ||
590 | elseif k == "4" then | |
591 | chatfunc("I Will Straighten U Out!!111!1") | |
592 | ||
593 | elseif k == "e" then | |
594 | NoobStep() | |
595 | ||
596 | elseif k == "q" then | |
597 | if TrailEnabled == false then | |
598 | TrailEnabled = true | |
599 | char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed + 20 | |
600 | EnableTrail() | |
601 | ||
602 | elseif TrailEnabled == true then | |
603 | TrailSound:Stop() | |
604 | ShadowTravel:Stop() | |
605 | TrailEnabled = false | |
606 | char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed - 20 | |
607 | end | |
608 | ||
609 | end | |
610 | end) | |
611 | ||
612 | ||
613 | ||
614 | Humanoid.Animator.Parent = nil | |
615 | Character.Animate.Parent = nil | |
616 | ||
617 | ||
618 | ||
619 | local newMotor = function(part0, part1, c0, c1) | |
620 | local w = Create('Motor'){ | |
621 | Parent = part0, | |
622 | Part0 = part0, | |
623 | Part1 = part1, | |
624 | C0 = c0, | |
625 | C1 = c1, | |
626 | } | |
627 | return w | |
628 | end | |
629 | function clerp(a, b, t) | |
630 | return a:lerp(b, t) | |
631 | end | |
632 | ||
633 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
634 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
635 | ||
636 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
637 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
638 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
639 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
640 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
641 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
642 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
643 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
644 | ||
645 | local rarmc1 = RW.C1 | |
646 | local larmc1 = LW.C1 | |
647 | local rlegc1 = RH.C1 | |
648 | local llegc1 = LH.C1 | |
649 | ||
650 | local resetc1 = false | |
651 | ||
652 | ||
653 | ||
654 | function PlayAnimationFromTable(table, speed, bool) | |
655 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
656 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
657 | RW.C0 = clerp(RW.C0, table[3], speed) | |
658 | LW.C0 = clerp(LW.C0, table[4], speed) | |
659 | RH.C0 = clerp(RH.C0, table[5], speed) | |
660 | LH.C0 = clerp(LH.C0, table[6], speed) | |
661 | if bool == true then | |
662 | if resetc1 == false then | |
663 | resetc1 = true | |
664 | RootJoint.C1 = RootJoint.C1 | |
665 | Torso.Neck.C1 = Torso.Neck.C1 | |
666 | RW.C1 = rarmc1 | |
667 | LW.C1 = larmc1 | |
668 | RH.C1 = rlegc1 | |
669 | LH.C1 = llegc1 | |
670 | end | |
671 | end | |
672 | end | |
673 | ||
674 | ||
675 | ||
676 | function NoobBullets() | |
677 | chatfunc("TAIST THEESE SUKKERS!!11!!") | |
678 | AnimEnabled = false | |
679 | char.Humanoid.WalkSpeed = 0 | |
680 | ||
681 | coroutine.resume(coroutine.create(function() | |
682 | for f = 1,150 do | |
683 | ||
684 | PlayAnimationFromTable({ | |
685 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(90), mr(-15)), -- Torso, | |
686 | CFrame.new(0,1.3,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(50), mr(-90), 0), ----- Head | |
687 | CFrame.new(1.8,0.6,0) * CFrame.new(0, 0-.1*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(0),mr(0),mr(90)), --- RightArm | |
688 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(-15), mr(0), mr(0)),--LeftArm | |
689 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-15), mr(-10)), --RightLeg | |
690 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-15), mr(-10)), --LeftLeg | |
691 | }, .3, false) | |
692 | ||
693 | game:GetService("RunService").RenderStepped:wait() | |
694 | local random = math.random(-50, 50) | |
695 | local random2 = math.random(-65, 65) | |
696 | local random3 = math.random(-45, 45) | |
697 | ||
698 | ||
699 | local Bullet = Instance.new("Part", char) | |
700 | Bullet.Shape = "Ball" | |
701 | Bullet.BrickColor = BrickColor.new("New Yeller") | |
702 | Bullet.Anchored = true | |
703 | Bullet.CanCollide = false | |
704 | Bullet.Material = "Neon" | |
705 | Bullet.Size = Vector3.new(0.1, 0.1, 0.1) | |
706 | Bullet.CFrame = RightArm.CFrame - Vector3.new(0,0,1) | |
707 | ||
708 | coroutine.resume(coroutine.create(function() | |
709 | for o = 1,150 do | |
710 | game:GetService("RunService").RenderStepped:wait() | |
711 | Bullet.Size = Bullet.Size + Vector3.new(0.001, 0.001, 0.001) | |
712 | Bullet.CFrame = Bullet.CFrame:lerp (Bullet.CFrame*CFrame.new (random/50,random2/70,random3/34),.1) | |
713 | end | |
714 | wait(1) | |
715 | Bullet.Anchored = false | |
716 | local bv = Instance.new("BodyVelocity") | |
717 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
718 | bv.velocity = Mouse.Hit.lookVector *100 | |
719 | bv.Parent = Bullet | |
720 | local Fired = true | |
721 | Bullet.Touched:Connect(function(hit) | |
722 | if Fired == true then | |
723 | ||
724 | if hit.Parent.Name == char.Name then return end | |
725 | Bullet.Anchored = true | |
726 | coroutine.wrap(function() | |
727 | for o = 1,150 do | |
728 | game:GetService("RunService").RenderStepped:wait() | |
729 | Bullet.Size = Bullet.Size + Vector3.new(5, 5, 5) | |
730 | end | |
731 | end) | |
732 | ||
733 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
734 | hit.Parent:BreakJoints() | |
735 | ||
736 | for _, y in pairs(hit.Parent:GetChildren()) do | |
737 | if y:IsA("MeshPart") or y:IsA("Part") then | |
738 | y.Anchored = true | |
739 | y.Material = "Neon" | |
740 | y:ClearAllChildren() | |
741 | else | |
742 | y:Destroy() | |
743 | end | |
744 | end | |
745 | end | |
746 | Bullet:Destroy() | |
747 | AnimEnabled = true | |
748 | char.Humanoid.WalkSpeed = 80 | |
749 | end | |
750 | end) | |
751 | end)) | |
752 | ||
753 | ||
754 | ||
755 | ||
756 | ||
757 | end | |
758 | end)) | |
759 | end | |
760 | ||
761 | ||
762 | function Transform() | |
763 | if Mode == "Guest" then | |
764 | char.Humanoid.WalkSpeed = 0 | |
765 | char.Humanoid.JumpPower = 0 | |
766 | ||
767 | local Part = Instance.new("Part", char) | |
768 | Part.Anchored = true | |
769 | Part.CanCollide = false | |
770 | Part.Position = Torso.Position | |
771 | Part.Size = Vector3.new(1,1,1) | |
772 | Part.Material = "Neon" | |
773 | local Mesh = Instance.new("SpecialMesh", Part) | |
774 | Mesh.MeshType = "Sphere" | |
775 | ||
776 | coroutine.resume(coroutine.create(function() | |
777 | for i = 1,10 do | |
778 | game:GetService("RunService").RenderStepped:wait() | |
779 | for i = 1,30 do | |
780 | game:GetService("RunService").RenderStepped:wait(0.00000001) | |
781 | Part.Size = Part.Size + Vector3.new(2, 2, 2) | |
782 | Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 0), 0.1) | |
783 | end | |
784 | ||
785 | for i = 1,30 do | |
786 | game:GetService("RunService").RenderStepped:wait(0.00000001) | |
787 | Part.Size = Part.Size - Vector3.new(2, 2, 2) | |
788 | Part.Color = Part.Color:lerp(Color3.fromRGB(0, 0, 0), 0.1) | |
789 | end | |
790 | end | |
791 | Theme.SoundId = "rbxassetid://177954130" | |
792 | TransformationSound:Play() | |
793 | local shirt = Instance.new("Shirt", char) | |
794 | - | Theme.SoundId = "rbxassetid://305952044" |
794 | + | |
795 | BC.HeadColor = BrickColor.new("Light stone grey") | |
796 | BC.RightArmColor = BrickColor.new("Really black") | |
797 | BC.LeftArmColor = BrickColor.new("Really black") | |
798 | BC.RightLegColor = BrickColor.new("Really black") | |
799 | BC.LeftLegColor = BrickColor.new("Really black") | |
800 | BC.TorsoColor = BrickColor.new("Really black") | |
801 | Mesh.MeshType = "Cylinder" | |
802 | Part.Position = Torso.Position | |
803 | Part.Orientation = Vector3.new(0,0,90) | |
804 | for i = 1,200 do | |
805 | game:GetService("RunService").RenderStepped:wait(0.00000001) | |
806 | Mesh.Scale = Mesh.Scale + Vector3.new(10, 0.1, 0.1) | |
807 | Part.Transparency = Part.Transparency + 0.005 | |
808 | Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1) | |
809 | end | |
810 | chatfunc("Im Even Stronger Now!11!!") | |
811 | char.Humanoid.WalkSpeed = 200 | |
812 | char.Humanoid.JumpPower = 30 | |
813 | end)) | |
814 | ||
815 | ||
816 | ||
817 | ||
818 | ||
819 | elseif Mode == "Guest666" then | |
820 | char.Humanoid.WalkSpeed = 0 | |
821 | char.Humanoid.JumpPower = 0 | |
822 | ||
823 | local Part = Instance.new("Part", char) | |
824 | Part.Anchored = true | |
825 | Part.CanCollide = false | |
826 | Part.Position = Torso.Position | |
827 | Part.Size = Vector3.new(1,1,1) | |
828 | Part.Material = "Neon" | |
829 | local Mesh = Instance.new("SpecialMesh", Part) | |
830 | Mesh.MeshType = "Sphere" | |
831 | ||
832 | coroutine.resume(coroutine.create(function() | |
833 | coroutine.resume(coroutine.create(function() | |
834 | for i = 1,10 do | |
835 | game:GetService("RunService").RenderStepped:wait() | |
836 | for i = 1,70 do | |
837 | game:GetService("RunService").RenderStepped:wait(0.00000001) | |
838 | Part.Size = Part.Size + Vector3.new(0.1, 0.1, 0.1) | |
839 | Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1) | |
840 | end | |
841 | ||
842 | for i = 1,70 do | |
843 | game:GetService("RunService").RenderStepped:wait(0.00000001) | |
844 | Part.Size = Part.Size - Vector3.new(0.1, 0.1, 0.1) | |
845 | Part.Color = Part.Color:lerp(Color3.fromRGB(255, 0, 0), 0.1) | |
846 | end | |
847 | end | |
848 | end)) | |
849 | for i = 1,50 do | |
850 | wait(math.random(0.0001, 1)) | |
851 | local random = math.random(-5, 5) | |
852 | local random2 = math.random(-5, 5) | |
853 | local random3 = math.random(-5, 5) | |
854 | local Part2 = Instance.new("Part", char) | |
855 | Part2.Anchored = true | |
856 | Part2.CanCollide = false | |
857 | Part2.Position = Torso.Position * Vector3.new(random*math.random(1,3), random2*math.random(1, 2), random3*math.random(1,2)) | |
858 | Part2.Size = Vector3.new(1,1,1) | |
859 | Part2.BrickColor = BrickColor.new("Really red") | |
860 | Part2.Material = "Neon" | |
861 | Part2.Orientation = Vector3.new(0,0,90) | |
862 | local Mesh2 = Instance.new("SpecialMesh", Part2) | |
863 | Mesh2.MeshType = "Cylinder" | |
864 | Mesh2.Scale = Vector3.new(0.1, 10, 10) | |
865 | coroutine.resume(coroutine.create(function() | |
866 | for i = 1,200 do | |
867 | game:GetService("RunService").RenderStepped:wait() | |
868 | Mesh2.Scale = Mesh2.Scale + Vector3.new(50,0,0) | |
869 | Part2.Transparency = Part2.Transparency + 0.005 | |
870 | if Part2.Transparency >= 1 then | |
871 | Part2:Destroy() | |
872 | end | |
873 | end | |
874 | end)) | |
875 | end | |
876 | TransformationSound:Play() | |
877 | ||
878 | Theme.SoundId = "rbxassetid://427736550" | |
879 | ||
880 | local Part3 = Instance.new("Part", char) | |
881 | - | Theme.SoundId = "rbxassetid://289016480" |
881 | + | |
882 | Part3.CanCollide = false | |
883 | Part3.Position = Torso.Position | |
884 | Part3.Size = Vector3.new(0.2,0.2,0.2) | |
885 | Part3.Material = "Neon" | |
886 | Part3.BrickColor = BrickColor.new("Really red") | |
887 | Part3.Name = "Eye1" | |
888 | local Mesh3 = Instance.new("SpecialMesh", Part3) | |
889 | Mesh3.MeshType = "Sphere" | |
890 | local EyeWeld1 = Instance.new("Weld", Part3) | |
891 | EyeWeld1.Part0 = char.Head | |
892 | EyeWeld1.Part1 = Part3 | |
893 | EyeWeld1.C0 = CFrame.new(-0.2,0.15,-0.52) | |
894 | ||
895 | local Part4 = Instance.new("Part", char) | |
896 | Part4.Anchored = false | |
897 | Part4.CanCollide = false | |
898 | Part4.Position = Torso.Position | |
899 | Part4.Size = Vector3.new(0.2,0.2,0.2) | |
900 | Part4.Material = "Neon" | |
901 | Part4.BrickColor = BrickColor.new("Really red") | |
902 | Part4.Name = "Eye2" | |
903 | local Mesh4 = Instance.new("SpecialMesh", Part4) | |
904 | Mesh4.MeshType = "Sphere" | |
905 | local EyeWeld2 = Instance.new("Weld", Part4) | |
906 | EyeWeld2.Part0 = char.Head | |
907 | EyeWeld2.Part1 = Part4 | |
908 | EyeWeld2.C0 = CFrame.new(0.2,0.15,-0.52) | |
909 | ||
910 | char.Head.face:Destroy() | |
911 | local shirt = Instance.new("Shirt", char) | |
912 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=8854587" | |
913 | BC.HeadColor = BrickColor.new("Really black") | |
914 | BC.RightArmColor = BrickColor.new("Really black") | |
915 | BC.LeftArmColor = BrickColor.new("Really black") | |
916 | BC.RightLegColor = BrickColor.new("Really black") | |
917 | BC.LeftLegColor = BrickColor.new("Really black") | |
918 | BC.TorsoColor = BrickColor.new("Really black") | |
919 | Mesh.MeshType = "Cylinder" | |
920 | Part.Position = Torso.Position | |
921 | Part.Orientation = Vector3.new(0,0,90) | |
922 | ||
923 | for i = 1,250 do | |
924 | game:GetService("RunService").RenderStepped:wait(0.00000001) | |
925 | Mesh.Scale = Mesh.Scale + Vector3.new(10, 0.6, 0.6) | |
926 | Part.Transparency = Part.Transparency + 0.005 | |
927 | Part.Color = Part.Color:lerp(Color3.fromRGB(0, 0, 0), 0.1) | |
928 | end | |
929 | chatfunc("I'm Gonna Kill You.") | |
930 | char.Humanoid.WalkSpeed = 3 | |
931 | char.Humanoid.JumpPower = 30 | |
932 | end)) | |
933 | end | |
934 | end | |
935 | ||
936 | ||
937 | ||
938 | function WipeOut() | |
939 | char.Humanoid.WalkSpeed = 0 | |
940 | char.Humanoid.JumpPower = 0 | |
941 | ||
942 | local Torsoo = findNearestTorso2(char.Torso.Position) | |
943 | for _, o in pairs(Torsoo.Parent:GetChildren()) do | |
944 | if o:IsA("Part") or o:IsA("MeshPart") then | |
945 | o.Anchored = true | |
946 | end | |
947 | end | |
948 | char.Torso.CFrame = Torsoo.CFrame * CFrame.new(0,0,2) | |
949 | AnimEnabled = false | |
950 | ||
951 | for i = 1,10 do | |
952 | wait() | |
953 | PlayAnimationFromTable({ | |
954 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(0), 0), -- Torso, | |
955 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), mr(20)), ----- Head | |
956 | ||
957 | CFrame.new(1,1.5,-1.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120),mr(0),mr(-15)), --- RightArm | |
958 | CFrame.new(-1,1.5,-1.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120), mr(0), mr(15)),--LeftArm | |
959 | ||
960 | CFrame.new(0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(-5), mr(5)), --RightLeg | |
961 | CFrame.new(-0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(5), mr(-5)), --LeftLeg | |
962 | }, .3, false) | |
963 | end | |
964 | chatfunc("Shhh.... Don't Move.") | |
965 | wait(2) | |
966 | coroutine.resume(coroutine.create(function() | |
967 | for i = 1,10 do | |
968 | wait() | |
969 | PlayAnimationFromTable({ | |
970 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(0), 0), -- Torso, | |
971 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), mr(20)), ----- Head | |
972 | ||
973 | CFrame.new(1,1.5,-2) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120),mr(0),mr(-15)), --- RightArm | |
974 | CFrame.new(-1,0.7,0.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120), mr(0), mr(15)),--LeftArm | |
975 | ||
976 | CFrame.new(0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(-5), mr(5)), --RightLeg | |
977 | CFrame.new(-0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(5), mr(-5)), --LeftLeg | |
978 | }, .8, false) | |
979 | end | |
980 | end)) | |
981 | NeckSnap:Play() | |
982 | for u = 1,10 do | |
983 | wait() | |
984 | Torsoo.Parent.Head.Orientation = Torsoo.Parent.Head.Orientation:lerp(Vector3.new(0,0,mr(-180)), 0.8) | |
985 | end | |
986 | wait(2) | |
987 | chatfunc("Go To Sleep.") | |
988 | Torsoo.Parent.Head.Anchored = false | |
989 | AnimEnabled = true | |
990 | human.JumpPower = 30 | |
991 | human.WalkSpeed = 3 | |
992 | end | |
993 | ||
994 | ||
995 | ||
996 | Mouse.KeyDown:Connect(function(kk) | |
997 | if kk == "r" then | |
998 | NoobBullets() | |
999 | elseif kk == "x" then | |
1000 | if Mode == "Guest666" then | |
1001 | WipeOut() | |
1002 | end | |
1003 | elseif kk == "f" then | |
1004 | if Mode == "Noob" then | |
1005 | chatfunc("BEHOLD!1!") | |
1006 | wait(1) | |
1007 | Mode = "Guest" | |
1008 | Transform() | |
1009 | elseif Mode == "Guest" then | |
1010 | chatfunc("Now Im Angry...") | |
1011 | Mode = "Guest666" | |
1012 | Transform() | |
1013 | end | |
1014 | end | |
1015 | end) | |
1016 | ||
1017 | ||
1018 | ||
1019 | ||
1020 | ArtificialHB = Create("BindableEvent", script){ | |
1021 | Parent = script, | |
1022 | Name = "Heartbeat", | |
1023 | } | |
1024 | ||
1025 | script:WaitForChild("Heartbeat") | |
1026 | ||
1027 | frame = 1 / 30 | |
1028 | tf = 0 | |
1029 | allowframeloss = false | |
1030 | tossremainder = false | |
1031 | lastframe = tick() | |
1032 | script.Heartbeat:Fire() | |
1033 | ||
1034 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1035 | tf = tf + s | |
1036 | if tf >= frame then | |
1037 | if allowframeloss then | |
1038 | script.Heartbeat:Fire() | |
1039 | lastframe = tick() | |
1040 | else | |
1041 | for i = 1, math.floor(tf / frame) do | |
1042 | script.Heartbeat:Fire() | |
1043 | end | |
1044 | lastframe = tick() | |
1045 | end | |
1046 | if tossremainder then | |
1047 | tf = 0 | |
1048 | else | |
1049 | tf = tf - frame * math.floor(tf / frame) | |
1050 | end | |
1051 | end | |
1052 | end) | |
1053 | ||
1054 | function swait(num) | |
1055 | if num == 0 or num == nil then | |
1056 | ArtificialHB.Event:wait() | |
1057 | else | |
1058 | for i = 0, num do | |
1059 | ArtificialHB.Event:wait() | |
1060 | end | |
1061 | end | |
1062 | end | |
1063 | ||
1064 | ||
1065 | ||
1066 | ||
1067 | ||
1068 | New = function(Object, Parent, Name, Data) | |
1069 | local Object = Instance.new(Object) | |
1070 | for Index, Value in pairs(Data or {}) do | |
1071 | Object[Index] = Value | |
1072 | end | |
1073 | Object.Parent = Parent | |
1074 | Object.Name = Name | |
1075 | return Object | |
1076 | end | |
1077 | function rayCast(Position, Direction, Range, Ignore) | |
1078 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
1079 | end | |
1080 | ||
1081 | ||
1082 | ||
1083 | ||
1084 | coroutine.wrap(function() | |
1085 | while 1 do | |
1086 | swait() | |
1087 | if doe <= 360 then | |
1088 | doe = doe + 2 | |
1089 | else | |
1090 | doe = 0 | |
1091 | end | |
1092 | end | |
1093 | end)() | |
1094 | while true do | |
1095 | swait() | |
1096 | ||
1097 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1098 | velocity = RootPart.Velocity.y | |
1099 | sine = sine + change | |
1100 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1101 | if RootPart.Velocity.y > 1 and hit == nil and AnimEnabled == true then | |
1102 | if Mode == "Guest666" then | |
1103 | ||
1104 | Anim = "Jump" | |
1105 | ||
1106 | PlayAnimationFromTable({ | |
1107 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso, | |
1108 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(5), mr(0), mr(0)), ----- Head | |
1109 | CFrame.new(1.5,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(5), mr(5)), --- RightArm | |
1110 | CFrame.new(-1.5,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(5), mr(-5)),--LeftArm | |
1111 | ||
1112 | CFrame.new(0.5,-1.4, -0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), 0, mr(5)), --RightLeg | |
1113 | CFrame.new(-0.5,-1.4, -0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), 0, mr(-5)), --LeftLeg | |
1114 | }, .3, false) | |
1115 | ||
1116 | elseif Mode == "Noob" or Mode == "Guest" then | |
1117 | Anim = "Jump" | |
1118 | ||
1119 | PlayAnimationFromTable({ | |
1120 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso, | |
1121 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0.3) * CFrame.Angles(mr(50), mr(0), mr(0)), ----- Head | |
1122 | CFrame.new(1.5,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180),0,mr(0)), --- RightArm | |
1123 | CFrame.new(-1.5,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180), 0, mr(0)),--LeftArm | |
1124 | CFrame.new(0.8,-1.4, -1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(90), 0, mr(30)), --RightLeg | |
1125 | CFrame.new(-0.8,-1.4, -1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(90), 0, mr(-30)), --LeftLeg | |
1126 | }, .3, false) | |
1127 | end | |
1128 | ||
1129 | elseif RootPart.Velocity.y < -1 and hit == nil and AnimEnabled == true then | |
1130 | if Mode == "Guest666" then | |
1131 | ||
1132 | Anim = "Fall" | |
1133 | PlayAnimationFromTable({ | |
1134 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso, | |
1135 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, -0.4) * CFrame.Angles(mr(-50), mr(0), mr(0)), ----- Head | |
1136 | CFrame.new(1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0),0,mr(20)), --- RightArm | |
1137 | CFrame.new(-1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), 0, mr(-20)),--LeftArm | |
1138 | CFrame.new(0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(2), 0, mr(2)), --RightLeg | |
1139 | CFrame.new(-0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(2), 0, mr(2)), --LeftLeg | |
1140 | }, .3, false) | |
1141 | ||
1142 | elseif Mode == "Guest" or Mode == "Noob" then | |
1143 | ||
1144 | Anim = "Fall" | |
1145 | ||
1146 | PlayAnimationFromTable({ | |
1147 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso, | |
1148 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, -0.4) * CFrame.Angles(mr(-50), mr(0), mr(0)), ----- Head | |
1149 | CFrame.new(1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180),0,mr(90)), --- RightArm | |
1150 | CFrame.new(-1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180), 0, mr(-90)),--LeftArm | |
1151 | CFrame.new(0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), 0, mr(10)), --RightLeg | |
1152 | CFrame.new(-0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), 0, mr(-10)), --LeftLeg | |
1153 | }, .3, false) | |
1154 | end | |
1155 | ||
1156 | elseif Torsovelocity < 1 and hit ~= nil and AnimEnabled == true then | |
1157 | if Mode == "Guest666" then | |
1158 | ||
1159 | Anim = "Idle" | |
1160 | change = 1 | |
1161 | PlayAnimationFromTable({ | |
1162 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), mr(0), 0), -- Torso, | |
1163 | CFrame.new(0,1.2,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-50), mr(0), mr(10)), ----- Head | |
1164 | CFrame.new(1.5,0,-0.4) * CFrame.new(0, 0-.3*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(25),mr(0),mr(0)), --- RightArm | |
1165 | CFrame.new(-1.5,0,-0.4) * CFrame.new(0, 0-.3*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(25), mr(0), mr(0)),--LeftArm | |
1166 | CFrame.new(0.6,-2,-0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(26), mr(-5), mr(5)), --RightLeg | |
1167 | CFrame.new(-0.6,-2,-0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), mr(5), mr(-5)), --LeftLeg | |
1168 | }, .3, false) | |
1169 | ||
1170 | ||
1171 | elseif Mode == "Guest" or Mode == "Noob" then | |
1172 | ||
1173 | ||
1174 | Anim = "Idle" | |
1175 | change = 1 | |
1176 | PlayAnimationFromTable({ | |
1177 | CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(0), 0), -- Torso, | |
1178 | CFrame.new(0,1.3,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(50), mr(0), 0), ----- Head | |
1179 | CFrame.new(1.5,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(-15),mr(0),mr(0)), --- RightArm | |
1180 | CFrame.new(-1.5,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(-15), mr(0), mr(0)),--LeftArm | |
1181 | CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-5), mr(5)), --RightLeg | |
1182 | CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(5), mr(-5)), --LeftLeg | |
1183 | }, .3, false) | |
1184 | end | |
1185 | ||
1186 | ||
1187 | elseif Torsovelocity > 2 and hit ~= nil and AnimEnabled == true then | |
1188 | if Mode == "Guest666" then | |
1189 | ||
1190 | Anim = "Walk" | |
1191 | PlayAnimationFromTable({ | |
1192 | CFrame.new(0,0,0) * CFrame.new(0, 0-0.1*math.sin(tick()*2), 0) * CFrame.Angles(-0.4, 0, 0+RootPart.RotVelocity.Y/30), -- Torso | |
1193 | CFrame.new(-0.2,1.5,-0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0+RootPart.RotVelocity.Y/20, 0.5), -- Head | |
1194 | ||
1195 | CFrame.new(1.5, 0, 0.2) * CFrame.new(0, 0-0.2*math.sin(tick()*2), 0 - 0.5 * math.cos((sine) / 30)) * CFrame.Angles(math.rad((-1) + 40 * math.cos((sine) / 30)), 0, 0-RootPart.RotVelocity.Y/33), | |
1196 | CFrame.new(-1.5,0,0.2) * CFrame.new(0, 0-0.2*math.sin(tick()*2), 0 + 0.5 * math.cos((sine) / 30)) * CFrame.Angles(math.rad((-1) - 40 * math.cos((sine) / 30)), 0, 0-RootPart.RotVelocity.Y/33), | |
1197 | ||
1198 | CFrame.new(0.4,-2,0) * CFrame.new(0, 0, 0+ 0.5 * math.cos((sine) / 30)) * CFrame.Angles(math.rad((10) - 40 * math.cos((sine) / 30)), 0, 0-RootPart.RotVelocity.Y/33), | |
1199 | CFrame.new(-0.4,-2,0) * CFrame.new(0, 0, 0- 0.5 * math.cos((sine) / 30)) * CFrame.Angles(math.rad((10) + 40 * math.cos((sine) / 30)), 0, 0-RootPart.RotVelocity.Y/33), | |
1200 | }, .3, false) | |
1201 | ||
1202 | ||
1203 | elseif Mode == "Noob" or Mode == "Guest" then | |
1204 | ||
1205 | Anim = "Walk" | |
1206 | PlayAnimationFromTable({ | |
1207 | CFrame.new(0,0,0) * CFrame.new(0, 0-0.5*math.sin(tick()*20), 0) * CFrame.Angles(0.4, 0, 0+RootPart.RotVelocity.Y/30), -- Torso | |
1208 | CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0+RootPart.RotVelocity.Y/20, 0), -- Head | |
1209 | ||
1210 | CFrame.new(1.3, 0.9, 0.7) * CFrame.new(0, 0 - 0.3 * math.cos((sine) / 3), 0- 0.3 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(-110 + math.random(1, 30) * math.cos((sine) / 3)), 0, 0- math.rad(0 + math.random(1, 30) * math.cos((sine) / 3)) -RootPart.RotVelocity.Y/33), | |
1211 | CFrame.new(-1.3,0.9,0.7) * CFrame.new(0, 0 + 0.3 * math.cos((sine) / 3), 0+ 0.3 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(-110 - math.random(1, 30) * math.cos((sine) / 3)), 0, 0 - math.rad(0 - math.random(1, 30) * math.cos((sine) / 3)) -RootPart.RotVelocity.Y/33), | |
1212 | ||
1213 | CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ 1.5 * math.cos((sine) / 3)) * CFrame.Angles(math.rad((-0.4) - 100 * math.cos((sine) / 3)), 0, 0-RootPart.RotVelocity.Y/33), | |
1214 | CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- 1.5 * math.cos((sine) / 3)) * CFrame.Angles(math.rad((-0.4) + 100 * math.cos((sine) / 3)), 0, 0-RootPart.RotVelocity.Y/33), | |
1215 | }, .3, false) | |
1216 | end | |
1217 | end | |
1218 | ||
1219 | end |