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