SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end | |
2 | print("FE Compatibility: by WaverlyCole & Mokiros") | |
3 | InternalData = {} | |
4 | do | |
5 | script.Parent = owner.Character | |
6 | local Event = Instance.new("RemoteEvent") | |
7 | Event.Name = "UserInput" | |
8 | local function NewFakeEvent() | |
9 | local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect | |
10 | return Fake | |
11 | end | |
12 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
13 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
14 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
15 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
16 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
17 | local function TriggerEvent(self,Event,...) | |
18 | local Trigger = Mouse[Event] | |
19 | if Trigger and Trigger.fakeEvent and Trigger.Function then | |
20 | Trigger.Function(...) | |
21 | end | |
22 | end | |
23 | Mouse.TrigEvent = TriggerEvent | |
24 | UserInputService.TrigEvent = TriggerEvent | |
25 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
26 | if FiredBy.Name ~= owner.Name then end | |
27 | if Input.MouseEvent then | |
28 | Mouse.Target = Input.Target | |
29 | Mouse.Hit = Input.Hit | |
30 | else | |
31 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
32 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then | |
33 | return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") | |
34 | end | |
35 | for _,Action in pairs(ContextActionService.Actions) do | |
36 | for _,Key in pairs(Action.Keys) do | |
37 | if Key==Input.KeyCode then | |
38 | Action.Function(Action.Name,Input.UserInputState,Input) | |
39 | end | |
40 | end | |
41 | end | |
42 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
43 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
44 | end | |
45 | end) | |
46 | InternalData["Mouse"] = Mouse | |
47 | InternalData["ContextActionService"] = ContextActionService | |
48 | InternalData["UserInputService"] = UserInputService | |
49 | Event.Parent = NLS([[ | |
50 | local Player = owner | |
51 | local Event = script:WaitForChild("UserInput") | |
52 | local UserInputService = game:GetService("UserInputService") | |
53 | local Mouse = Player:GetMouse() | |
54 | local Input = function(Input,gameProcessedEvent) | |
55 | if gameProcessedEvent then return end | |
56 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
57 | end | |
58 | UserInputService.InputBegan:Connect(Input) | |
59 | UserInputService.InputEnded:Connect(Input) | |
60 | local Hit,Target | |
61 | while wait(1/30) do | |
62 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
63 | Hit,Target = Mouse.Hit,Mouse.Target | |
64 | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
65 | end | |
66 | end | |
67 | ]],owner.Character) | |
68 | end | |
69 | RealGame = game;game = setmetatable({},{ | |
70 | __index = function (self,Index) | |
71 | local Sandbox = function (Thing) | |
72 | if Thing:IsA("Player") then | |
73 | local RealPlayer = Thing | |
74 | return setmetatable({},{ | |
75 | __index = function (self,Index) | |
76 | local Type = type(RealPlayer[Index]) | |
77 | if Type == "function" then | |
78 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
79 | return function (self) | |
80 | return InternalData["Mouse"] | |
81 | end | |
82 | end | |
83 | return function (self,...) | |
84 | return RealPlayer[Index](RealPlayer,...) | |
85 | end | |
86 | else | |
87 | return RealPlayer[Index] | |
88 | end | |
89 | end; | |
90 | __tostring = function(self) | |
91 | return RealPlayer.Name | |
92 | end | |
93 | }) | |
94 | end | |
95 | end | |
96 | if RealGame[Index] then | |
97 | local Type = type(RealGame[Index]) | |
98 | if Type == "function" then | |
99 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
100 | return function (self,Service) | |
101 | if Service:lower() == "players" then | |
102 | return setmetatable({},{ | |
103 | __index = function (self2,Index2) | |
104 | local RealService = RealGame:GetService(Service) | |
105 | local Type2 = type(Index2) | |
106 | if Type2 == "function" then | |
107 | return function (self,...) | |
108 | return RealService[Index2](RealService,...) | |
109 | end | |
110 | else | |
111 | if Index2:lower() == "localplayer" then | |
112 | return Sandbox(owner) | |
113 | end | |
114 | return RealService[Index2] | |
115 | end | |
116 | end; | |
117 | __tostring = function(self) | |
118 | return RealGame:GetService(Service).Name | |
119 | end | |
120 | }) | |
121 | elseif Service:lower() == "contextactionservice" then | |
122 | return InternalData["ContextActionService"] | |
123 | elseif Service:lower() == "contextactionservice" then | |
124 | return InternalData["UserInputService"] | |
125 | elseif Service:lower() == "runservice" then | |
126 | return setmetatable({},{ | |
127 | __index = function(self2,Index2) | |
128 | local RealService = RealGame:GetService(Service) | |
129 | local Type2 = type(Index2) | |
130 | if Type2 == "function" then | |
131 | return function (self,...) | |
132 | return RealService[Index2](RealService,...) | |
133 | end | |
134 | else | |
135 | if Index2:lower() == "bindtorenderstep" then | |
136 | return function (self,Name,Priority,Function) | |
137 | return RealGame:GetService("RunService").Stepped:Connect(Function) | |
138 | end | |
139 | end | |
140 | if Index2:lower() == "renderstepped" then | |
141 | return RealService["Stepped"] | |
142 | end | |
143 | return RealService[Index2] | |
144 | end | |
145 | end | |
146 | }) | |
147 | else | |
148 | return RealGame:GetService(Service) | |
149 | end | |
150 | end | |
151 | end | |
152 | return function (self,...) | |
153 | return RealGame[Index](RealGame,...) | |
154 | end | |
155 | else | |
156 | if game:GetService(Index) then | |
157 | return game:GetService(Index) | |
158 | end | |
159 | return RealGame[Index] | |
160 | end | |
161 | else | |
162 | return nil | |
163 | end | |
164 | end | |
165 | });Game = game;owner = game:GetService("Players").LocalPlayer | |
166 | print("Complete! Running... ( i dont know creator's name ) ") | |
167 | ||
168 | plr = game.Players.LocalPlayer | |
169 | char = plr.Character | |
170 | ||
171 | wait(1) | |
172 | local player = game.Players.LocalPlayer | |
173 | ||
174 | ||
175 | local chara = workspace:WaitForChild(player.Name) | |
176 | local human = chara.Humanoid | |
177 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
178 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
179 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
180 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
181 | rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
182 | local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
183 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
184 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
185 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
186 | lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
187 | local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
188 | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
189 | llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"] | |
190 | llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0) | |
191 | local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone() | |
192 | game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove() | |
193 | local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
194 | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
195 | rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"] | |
196 | rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0) | |
197 | local gui = Instance.new("ScreenGui",plr.PlayerGui) | |
198 | local image = Instance.new("ImageButton",gui) | |
199 | image.Image = "rbxasset://Textures/Bomb.png" | |
200 | image.BackgroundTransparency = 0.3 | |
201 | image.BorderSizePixel = 0 | |
202 | image.Position = UDim2.new(0.003, 0, 0.798, 0) | |
203 | image.Size = UDim2.new(0, 100, 0, 100) | |
204 | image.MouseButton1Click:connect(function() -- Spawn bomb function | |
205 | local bomb = Instance.new("Part",workspace) | |
206 | bomb.Size = Vector3.new(2, 2, 2) | |
207 | bomb.CFrame = char.Torso.CFrame | |
208 | local m = Instance.new("FileMesh",bomb) | |
209 | m.MeshId = "rbxasset://fonts/timebomb.mesh" | |
210 | m.TextureId = "rbxasset://textures/bombtex.png" | |
211 | bomb.Name = "b0mb" | |
212 | local updateInterval = .4 | |
213 | ||
214 | local currentColor = 1 | |
215 | local colors = {26, 21} | |
216 | ||
217 | local ticksound = Instance.new("Sound") | |
218 | ticksound.SoundId = "rbxasset://sounds\\clickfast.wav" | |
219 | ticksound.Parent = bomb | |
220 | ||
221 | function update() | |
222 | updateInterval = updateInterval * .9 | |
223 | bomb.BrickColor = BrickColor.new(colors[currentColor]) | |
224 | currentColor = currentColor + 1 | |
225 | if (currentColor > 2) then currentColor = 1 end | |
226 | end | |
227 | ||
228 | ||
229 | function blowUp() | |
230 | local sound = Instance.new("Sound") | |
231 | sound.SoundId = "rbxasset://sounds\\Rocket shot.wav" | |
232 | sound.Parent = bomb | |
233 | sound.Volume = 1 | |
234 | sound:play() | |
235 | explosion = Instance.new("Explosion") | |
236 | explosion.BlastRadius = 12 | |
237 | explosion.BlastPressure = 1000000 -- these are really wussy units | |
238 | ||
239 | -- find instigator tag | |
240 | local creator = char:findFirstChild("creator") | |
241 | if creator ~= nil then | |
242 | explosion.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance, creator) end) | |
243 | end | |
244 | ||
245 | explosion.Position = bomb.Position | |
246 | explosion.Parent = game.Workspace | |
247 | bomb.Transparency = 1 | |
248 | end | |
249 | ||
250 | function onPlayerBlownUp(part, distance, creator) | |
251 | if part.Name == "Head" then | |
252 | local humanoid = part.Parent.Humanoid | |
253 | tagHumanoid(humanoid, creator) | |
254 | end | |
255 | end | |
256 | ||
257 | function tagHumanoid(humanoid, creator) | |
258 | -- tag does not need to expire iff all explosions lethal | |
259 | if creator ~= nil then | |
260 | local new_tag = creator:clone() | |
261 | new_tag.Parent = humanoid | |
262 | end | |
263 | end | |
264 | ||
265 | function untagHumanoid(humanoid) | |
266 | if humanoid ~= nil then | |
267 | local tag = humanoid:findFirstChild("creator") | |
268 | if tag ~= nil then | |
269 | tag.Parent = nil | |
270 | end | |
271 | end | |
272 | end | |
273 | ||
274 | while updateInterval > .1 do | |
275 | wait(updateInterval) | |
276 | update() | |
277 | ticksound:play() | |
278 | end | |
279 | ||
280 | blowUp() | |
281 | game:GetService("Debris"):AddItem(bomb,5) | |
282 | end) | |
283 | mouse = plr:GetMouse() | |
284 | char.Humanoid.Name = "OldRobloxianxd" | |
285 | coroutine.wrap(function() | |
286 | while true do | |
287 | wait(0.01) | |
288 | char["OldRobloxianxd"].MaxHealth = math.huge | |
289 | char["OldRobloxianxd"].Health = math.huge | |
290 | end | |
291 | end)() | |
292 | function use() | |
293 | --Converted with ttyyuu12345's model to script plugin v4 | |
294 | function sandbox(var,func) | |
295 | local env = getfenv(func) | |
296 | local newenv = setmetatable({},{ | |
297 | __index = function(self,k) | |
298 | if k=="script" then | |
299 | return var | |
300 | else | |
301 | return env[k] | |
302 | end | |
303 | end, | |
304 | }) | |
305 | setfenv(func,newenv) | |
306 | return func | |
307 | end | |
308 | cors = {} | |
309 | mas = Instance.new("Model",game:GetService("Lighting")) | |
310 | Part0 = Instance.new("Part") | |
311 | Sound1 = Instance.new("Sound") | |
312 | Part0.Name = "Handle" | |
313 | Part0.Parent = mas | |
314 | Part0.BrickColor = BrickColor.new("Bright red") | |
315 | Part0.Reflectance = 0.20000000298023 | |
316 | Part0.Rotation = Vector3.new(-179.860001, -70.6500015, -179.869995) | |
317 | Part0.Elasticity = 1 | |
318 | Part0.FormFactor = Enum.FormFactor.Symmetric | |
319 | Part0.Friction = 0 | |
320 | Part0.Shape = Enum.PartType.Ball | |
321 | Part0.Size = Vector3.new(2, 2, 2) | |
322 | Part0.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,0,-3) | |
323 | Part0.BottomSurface = Enum.SurfaceType.Smooth | |
324 | Part0.TopSurface = Enum.SurfaceType.Smooth | |
325 | Part0.Color = Color3.new(0.768628, 0.156863, 0.109804) | |
326 | Part0.Orientation = Vector3.new(-0.049999997, -109.349998, 0) | |
327 | Part0.Color = Color3.new(0.768628, 0.156863, 0.109804) | |
328 | Sound1.Name = "Boing" | |
329 | Sound1.Parent = Part0 | |
330 | - | nostalgie.Volume = 1 |
330 | + | |
331 | Sound1.Volume = 10 | |
332 | for i,v in pairs(mas:GetChildren()) do | |
333 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
334 | pcall(function() v:MakeJoints() end) | |
335 | end | |
336 | mas:Destroy() | |
337 | for i,v in pairs(cors) do | |
338 | spawn(function() | |
339 | pcall(v) | |
340 | end) | |
341 | end | |
342 | Sound1:Play() | |
343 | local vel = Instance.new("BodyVelocity", Part0) | |
344 | vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
345 | vel.Velocity = mouse.Hit.lookVector * 140 | |
346 | local function tou(part) | |
347 | local humanoid = part.Parent:findFirstChildOfClass("Humanoid") | |
348 | if humanoid then | |
349 | humanoid.Health = humanoid.Health - 1 | |
350 | end | |
351 | end | |
352 | Part0.Touched:connect(tou) | |
353 | wait() | |
354 | vel:destroy() | |
355 | end | |
356 | mouse.Button1Down:connect(use) | |
357 | local pose = "Standing" | |
358 | ||
359 | local speed = 0 | |
360 | ||
361 | human.Running:connect(function(s) | |
362 | speed = s | |
363 | end) | |
364 | cananimate = true | |
365 | local update = game:GetService("RunService") | |
366 | update.RenderStepped:connect(function() | |
367 | local ray = Ray.new(chara.Torso.Position, (chara.Torso.Position - Vector3.new(0,9999999,0)).unit * 300) | |
368 | local p, position = game.Workspace:FindPartOnRay(ray, char, true, false) | |
369 | local dis = (chara.Torso.Position - position).magnitude | |
370 | if dis > 3.8 and chara.Torso.Velocity.Y > 0 then | |
371 | pose = "Jumping" | |
372 | end | |
373 | if dis> 3.8 and chara.Torso.Velocity.Y < 0 then | |
374 | pose = "Falling" | |
375 | end | |
376 | if dis < 3.8 and speed == 0 then | |
377 | pose = "Standing" | |
378 | end | |
379 | if dis < 3.8 and speed > 0 then | |
380 | pose = "Walking" | |
381 | end | |
382 | end) | |
383 | if game.Players.LocalPlayer.Character:findFirstChild("Shirt Graphic") then | |
384 | game.Players.LocalPlayer.Character["Shirt Graphic"]:destroy() | |
385 | end | |
386 | local decal = Instance.new("Decal", game.Players.LocalPlayer.Character) | |
387 | for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
388 | if v.ClassName == "Part" then | |
389 | if v.Name == "Head" then | |
390 | local torsotec = Instance.new("Decal", torso) | |
391 | torsotec.Texture = "http://www.roblox.com/asset/?id=782560028" | |
392 | local headd = Instance.new("Decal", v) | |
393 | headd.Texture = "http://www.roblox.com/asset/?id=20676546" | |
394 | else | |
395 | v.Transparency = 0 | |
396 | char.HumanoidRootPart.Transparency = 1 | |
397 | end | |
398 | end | |
399 | if v.ClassName == "Accessory" or v.ClassName == "Hat" then | |
400 | v:destroy() | |
401 | end | |
402 | end | |
403 | if game.Players.LocalPlayer.Character.Head:findFirstChild("face") then | |
404 | game.Players.LocalPlayer.Character.Head["face"]:destroy() | |
405 | end | |
406 | rhand = Instance.new("Part", game.Players.LocalPlayer.Character) | |
407 | rhand.Size = game.Players.LocalPlayer.Character["Right Arm"].Size | |
408 | rhand.TopSurface = "Smooth" | |
409 | rhand.BottomSurface = "Smooth" | |
410 | rhand.Parent = game.Players.LocalPlayer.Character | |
411 | rhand:BreakJoints() | |
412 | rhand.CanCollide = false | |
413 | rhweld = Instance.new("Weld", rhand) | |
414 | rhweld.Part0 = game.Players.LocalPlayer.Character["Right Arm"] | |
415 | rhweld.Part1 = rhand | |
416 | -- | |
417 | lhand = Instance.new("Part", game.Players.LocalPlayer.Character) | |
418 | lhand.Size = game.Players.LocalPlayer.Character["Left Arm"].Size | |
419 | lhand.TopSurface = "Smooth" | |
420 | lhand.BottomSurface = "Smooth" | |
421 | lhand.CanCollide = false | |
422 | lhand.Parent = game.Players.LocalPlayer.Character | |
423 | lhand:BreakJoints() | |
424 | rhweld1 = Instance.new("Weld", lhand) | |
425 | rhweld1.Part0 = game.Players.LocalPlayer.Character["Left Arm"] | |
426 | rhweld1.Part1 = lhand | |
427 | -- | |
428 | lleg = Instance.new("Part", game.Players.LocalPlayer.Character) | |
429 | lleg.Size = game.Players.LocalPlayer.Character["Left Leg"].Size | |
430 | lleg.TopSurface = "Smooth" | |
431 | lleg.CanCollide = false | |
432 | lleg.BottomSurface = "Smooth" | |
433 | lleg.Parent = game.Players.LocalPlayer.Character | |
434 | lleg:BreakJoints() | |
435 | rhweld11 = Instance.new("Weld", lleg) | |
436 | rhweld11.Part0 = game.Players.LocalPlayer.Character["Left Leg"] | |
437 | rhweld11.Part1 = lleg | |
438 | -- | |
439 | rleg = Instance.new("Part", game.Players.LocalPlayer.Character) | |
440 | rleg.Size = game.Players.LocalPlayer.Character["Right Leg"].Size | |
441 | rleg.TopSurface = "Smooth" | |
442 | rleg.BottomSurface = "Smooth" | |
443 | rleg.Parent = game.Players.LocalPlayer.Character | |
444 | rleg.CanCollide = false | |
445 | rleg:BreakJoints() | |
446 | rhweld111 = Instance.new("Weld", rleg) | |
447 | rhweld111.Part0 = game.Players.LocalPlayer.Character["Right Leg"] | |
448 | rhweld111.Part1 = rleg | |
449 | -- | |
450 | torso = Instance.new("Part", game.Players.LocalPlayer.Character) | |
451 | torso.Size = game.Players.LocalPlayer.Character.Torso.Size | |
452 | torso.TopSurface = "Smooth" | |
453 | torso.BottomSurface = "Smooth" | |
454 | torso.CanCollide = false | |
455 | torso.Parent = game.Players.LocalPlayer.Character | |
456 | torso:BreakJoints() | |
457 | rhweld1111 = Instance.new("Weld", torso) | |
458 | rhweld1111.Part0 = game.Players.LocalPlayer.Character.Torso | |
459 | rhweld1111.Part1 = torso | |
460 | rhand.Color = game.Players.LocalPlayer.Character["Right Arm"].Color | |
461 | lhand.Color = game.Players.LocalPlayer.Character["Left Arm"].Color | |
462 | rleg.Color = game.Players.LocalPlayer.Character["Right Leg"].Color | |
463 | torso.Color = game.Players.LocalPlayer.Character.Torso.Color | |
464 | lleg.Color = game.Players.LocalPlayer.Character["Left Leg"].Color | |
465 | local mo = Instance.new("Model",char) | |
466 | rhand.Parent = mo | |
467 | lhand.Parent = mo | |
468 | lleg.Parent = mo | |
469 | rleg.Parent = mo | |
470 | torso.Parent = mo | |
471 | for i,v in pairs(mo:GetChildren()) do | |
472 | if v.ClassName == "Part" then | |
473 | v.Transparency = 1 | |
474 | end | |
475 | end | |
476 | local leftarm = Instance.new("CharacterMesh",char) | |
477 | leftarm.BodyPart = "LeftArm" | |
478 | leftarm.MeshId = "1112256772" | |
479 | local leftleg = Instance.new("CharacterMesh",char) | |
480 | leftleg.BodyPart = "LeftLeg" | |
481 | leftleg.MeshId = "1112275294" | |
482 | local rightarm = Instance.new("CharacterMesh",char) | |
483 | rightarm.BodyPart = "RightArm" | |
484 | rightarm.MeshId = "1112244824" | |
485 | local rightleg = Instance.new("CharacterMesh",char) | |
486 | rightleg.BodyPart = "RightLeg" | |
487 | rightleg.MeshId = "1112267576" | |
488 | local torso = Instance.new("CharacterMesh",char) | |
489 | torso.BodyPart = "Torso" | |
490 | torso.MeshId = "1112228624" | |
491 | decal = Instance.new("Decal", torso) | |
492 | decal.Texture = "http://www.roblox.com/asset/?id=782560028" | |
493 | nostalgie = Instance.new("Sound", game.Players.LocalPlayer.Character) | |
494 | nostalgie.SoundId = "rbxassetid://1000016620" | |
495 | nostalgie.Looped = true | |
496 | nostalgie:Play() | |
497 | nostalgie.Volume = 20 | |
498 | canuse = true | |
499 | while true do | |
500 | wait() | |
501 | if pose == "Standing" and cananimate then | |
502 | for i = 0,1 , 0.05 do | |
503 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i) | |
504 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i) | |
505 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i) | |
506 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i) | |
507 | update.RenderStepped:wait() | |
508 | end | |
509 | ||
510 | end | |
511 | if pose == "Walking" and cananimate then | |
512 | for i = 0.1,0.3 , 0.008 do | |
513 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.168842316, -0.374614239, 1, 0, 0, 0, 0.662306964, -0.74923259, 0, 0.74923259, 0.662307084),i) | |
514 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.12597847, 0.331827164, 1, 0, 0, 0, 0.748035073, 0.663659215, 0, -0.663659275, 0.748035014),i) | |
515 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.67391682, -0.738807678, 0.99999994, 0, 0, 0, 0.673916757, -0.738807261, 0, 0.738807321, 0.673916817),i) | |
516 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.67705727, 0.735931396, 1, 0, 0, 0, 0.677056909, 0.735930681, 0, -0.735930741, 0.677056968),i) | |
517 | game:GetService("RunService").Stepped:wait() | |
518 | end | |
519 | for i = 0.1,0.3 , 0.008 do | |
520 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.69855976, 0.715551376, 1, 0, 0, 0, 0.698559642, 0.715551734, 0, -0.715551794, 0.698559701),i) | |
521 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.80723953, -0.590223312, 1, 0, 0, 0, 0.807239354, -0.590224087, 0, 0.590224147, 0.807239413),i) | |
522 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.216003418, 0.411518574, 1, 0, 0, 0, 0.567983389, 0.823040009, 0, -0.823040009, 0.567983389),i) | |
523 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.215018272, -0.41083622, 1, 0, 0, 0, 0.569954693, -0.821676135, 0, 0.821676135, 0.569954753),i) | |
524 | game:GetService("RunService").Stepped:wait() | |
525 | end | |
526 | end | |
527 | end | |
528 | if pose == "Jumping" and cananimate then | |
529 | for i = 0,1 , 0.05 do | |
530 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(11.5, 0.999999285, 0.000862598419, 1, 0, 0, 0, -0.99999845, 0.00172528333, 0, -0.00172528345, -0.99999851),i) | |
531 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.999960184, -0.00631046295, 1, 0, 0, 0, -0.999920309, -0.0126213925, 0, 0.0126213934, -0.999920368),i) | |
532 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i) | |
533 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i) | |
534 | update.RenderStepped:wait() | |
535 | end | |
536 | end | |
537 | if pose == "Falling" and cananimate then | |
538 | for i = 0,1 , 0.05 do | |
539 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(11.5, 0.999999285, 0.000862598419, 1, 0, 0, 0, -0.99999845, 0.00172528333, 0, -0.00172528345, -0.99999851),i) | |
540 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.999960184, -0.00631046295, 1, 0, 0, 0, -0.999920309, -0.0126213925, 0, 0.0126213934, -0.999920368),i) | |
541 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i) | |
542 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i) | |
543 | update.RenderStepped:wait() | |
544 | end | |
545 | end |