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