SHOW:
|
|
- or go back to the newest paste.
1 | - | ----- Script made by Pedrorb03 ----- |
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 | if Index == "PlrObj" then | |
88 | return RealPlayer | |
89 | end | |
90 | return RealPlayer[Index] | |
91 | end | |
92 | end; | |
93 | __tostring = function(self) | |
94 | return RealPlayer.Name | |
95 | end | |
96 | }) | |
97 | end | |
98 | end | |
99 | if RealGame[Index] then | |
100 | local Type = type(RealGame[Index]) | |
101 | if Type == "function" then | |
102 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
103 | return function (self,Service) | |
104 | if Service:lower() == "players" then | |
105 | return setmetatable({},{ | |
106 | __index = function (self2,Index2) | |
107 | local RealService = RealGame:GetService(Service) | |
108 | local Type2 = type(Index2) | |
109 | if Type2 == "function" then | |
110 | return function (self,...) | |
111 | return RealService[Index2](RealService,...) | |
112 | end | |
113 | else | |
114 | if Index2:lower() == "localplayer" then | |
115 | return Sandbox(owner) | |
116 | end | |
117 | return RealService[Index2] | |
118 | end | |
119 | end; | |
120 | __tostring = function(self) | |
121 | return RealGame:GetService(Service).Name | |
122 | end | |
123 | }) | |
124 | elseif Service:lower() == "contextactionservice" then | |
125 | return InternalData["ContextActionService"] | |
126 | elseif Service:lower() == "contextactionservice" then | |
127 | return InternalData["UserInputService"] | |
128 | elseif Service:lower() == "runservice" then | |
129 | return setmetatable({},{ | |
130 | __index = function(self2,Index2) | |
131 | local RealService = RealGame:GetService(Service) | |
132 | local Type2 = type(Index2) | |
133 | if Type2 == "function" then | |
134 | return function (self,...) | |
135 | return RealService[Index2](RealService,...) | |
136 | end | |
137 | else | |
138 | if Index2:lower() == "bindtorenderstep" then | |
139 | return function (self,Name,Priority,Function) | |
140 | return RealGame:GetService("RunService").Stepped:Connect(Function) | |
141 | end | |
142 | end | |
143 | if Index2:lower() == "renderstepped" then | |
144 | return RealService["Stepped"] | |
145 | end | |
146 | return RealService[Index2] | |
147 | end | |
148 | end | |
149 | }) | |
150 | else | |
151 | return RealGame:GetService(Service) | |
152 | end | |
153 | end | |
154 | end | |
155 | return function (self,...) | |
156 | return RealGame[Index](RealGame,...) | |
157 | end | |
158 | else | |
159 | if game:GetService(Index) then | |
160 | return game:GetService(Index) | |
161 | end | |
162 | return RealGame[Index] | |
163 | end | |
164 | else | |
165 | return nil | |
166 | end | |
167 | end | |
168 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = {} | |
169 | print("Complete! Running...") | |
170 | ||
171 | game.Players.LocalPlayer.Character.Head:WaitForChild("face") | |
172 | while game.Players.LocalPlayer.Character.Head.face.texture ~= "rbxassetid://1039774343" do | |
173 | wait() | |
174 | game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://1039774343" | |
175 | end | |
176 | for _,animate in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
177 | if animate.Name == "Animate" then | |
178 | animate:remove() | |
179 | end | |
180 | if animate.ClassName == "Accessory" then | |
181 | animate:remove() | |
182 | end | |
183 | end | |
184 | for _,anim in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do | |
185 | ||
186 | anim:Stop() | |
187 | ||
188 | end | |
189 | ||
190 | rot = 0 | |
191 | armrot = 0 | |
192 | suck = nil | |
193 | power = 0 | |
194 | movingup = false | |
195 | movingback = false | |
196 | popo = 0 | |
197 | bodyforces = {} | |
198 | popos = {} | |
199 | for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
200 | if part:IsA("BasePart") then | |
201 | ||
202 | local zerograv = Instance.new("BodyForce",part) zerograv.force = Vector3.new(0, game.Workspace.Gravity, 0) * part:GetMass() zerograv.Name = "ZeroGravity" | |
203 | end | |
204 | end | |
205 | ac = true | |
206 | ||
207 | ||
208 | game:GetService("RunService").RenderStepped:connect(function() | |
209 | game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth | |
210 | if movingup == false and movingback == false then | |
211 | game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,0,0) | |
212 | end | |
213 | rot = rot+5 | |
214 | for number = 1,#popos do | |
215 | if popos[number].Parent == nil then | |
216 | table.remove(popos,number) | |
217 | end | |
218 | end | |
219 | for _,pop in pairs(popos) do | |
220 | pop.Touched:connect(function(hit) | |
221 | if hit.Locked == false then | |
222 | if hit.Parent ~= game.Players.LocalPlayer.Character then | |
223 | if hit ~= pop then | |
224 | hit.Color = pop.Color | |
225 | hit.Material = pop.Material | |
226 | ||
227 | pop:remove() | |
228 | end | |
229 | end | |
230 | end | |
231 | end) | |
232 | ||
233 | end | |
234 | armrot = armrot+40 | |
235 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 500 | |
236 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 1 | |
237 | game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true | |
238 | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.p,game.Workspace.CurrentCamera.CFrame.p+game.Workspace.CurrentCamera.CFrame.lookVector*50000000) | |
239 | if ac == true then | |
240 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Right Shoulder") | |
241 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0.p) *CFrame.Angles(math.rad(armrot*1.75),0,0) | |
242 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Left Shoulder") | |
243 | game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0.p)*CFrame.Angles(math.rad(armrot*1.75),0,0) | |
244 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Right Hip") | |
245 | game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(game.Players.LocalPlayer.Character.Torso["Right Hip"].C0.p) *CFrame.Angles(math.rad(armrot*1.75),0,0) | |
246 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Left Hip") | |
247 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(game.Players.LocalPlayer.Character.Torso["Left Hip"].C0.p)*CFrame.Angles(math.rad(armrot*1.75),0,0) | |
248 | end | |
249 | if suck == nil then | |
250 | for _,bod in pairs(bodyforces) do | |
251 | bod:remove() | |
252 | end | |
253 | end | |
254 | if suck ~= nil then | |
255 | local pos1 = game.Players.LocalPlayer:GetMouse().Hit.p | |
256 | local pos2 = game.Players.LocalPlayer.Character.Head.CFrame:toWorldSpace(CFrame.new(Vector3.new(0,0.25,0.5))).p | |
257 | for _,child in pairs(game.Workspace:GetChildren()) do | |
258 | if child:IsA("BasePart") then | |
259 | if child.Anchored == false then | |
260 | if (child.Position-pos1).magnitude <= 1+game.Players.LocalPlayer.Character.Head.Size.Y*5 then | |
261 | local hit = child | |
262 | local did = false | |
263 | for i=1,#bodyforces do | |
264 | if bodyforces[i].Parent == hit then | |
265 | did = true | |
266 | end | |
267 | end | |
268 | if did == false then | |
269 | local bodyforce = Instance.new("BodyPosition",hit) bodyforce.Position = pos2 | |
270 | table.insert(bodyforces,bodyforce) | |
271 | end | |
272 | end | |
273 | end | |
274 | end | |
275 | for _,child2 in pairs(child:GetChildren()) do | |
276 | if child2:IsA("BasePart") then | |
277 | if child2.Anchored == false then | |
278 | if (child2.Position-pos1).magnitude <= 1+game.Players.LocalPlayer.Character.Head.Size.Y*5 then | |
279 | local hit = child2 | |
280 | local did = false | |
281 | for i=1,#bodyforces do | |
282 | if bodyforces[i].Parent == hit then | |
283 | did = true | |
284 | end | |
285 | end | |
286 | if did == false then | |
287 | local bodyforce = Instance.new("BodyPosition",hit) bodyforce.Position = pos2 | |
288 | table.insert(bodyforces,bodyforce) | |
289 | end | |
290 | end | |
291 | end | |
292 | end | |
293 | for _,child3 in pairs(child2:GetChildren()) do | |
294 | if child3:IsA("BasePart") then | |
295 | if child3.Anchored == false then | |
296 | if (child3.Position-pos1).magnitude <= 1+game.Players.LocalPlayer.Character.Head.Size.Y*5 then | |
297 | local hit = child3 | |
298 | local did = false | |
299 | for i=1,#bodyforces do | |
300 | if bodyforces[i].Parent == hit then | |
301 | did = true | |
302 | end | |
303 | end | |
304 | if did == false then | |
305 | local bodyforce = Instance.new("BodyPosition",hit) bodyforce.Position = pos2 | |
306 | table.insert(bodyforces,bodyforce) | |
307 | end | |
308 | end | |
309 | end | |
310 | end | |
311 | ||
312 | end | |
313 | end | |
314 | end | |
315 | ||
316 | for _,bod in pairs(bodyforces) do | |
317 | bod.Position = game.Players.LocalPlayer.Character.Head.CFrame.p | |
318 | end | |
319 | suck.Mesh.Scale = Vector3.new(1+game.Players.LocalPlayer.Character.Head.Size.Y*5,(pos1-pos2).magnitude,1+game.Players.LocalPlayer.Character.Head.Size.Y*5) | |
320 | suck.CFrame = CFrame.new((pos1+pos2)/2,pos1) * CFrame.Angles(math.rad(90),rot,0) | |
321 | local ray = Ray.new(pos2,(pos1-pos2).unit*600) | |
322 | local hit,normal,position = game.Workspace:FindPartOnRay(ray,game.Players.LocalPlayer.Character) | |
323 | ||
324 | if hit ~= nil then | |
325 | if hit.Anchored == false then | |
326 | local did = false | |
327 | for i=1,#bodyforces do | |
328 | if bodyforces[i].Parent == hit then | |
329 | did = true | |
330 | end | |
331 | end | |
332 | if did == false then | |
333 | local bodyforce = Instance.new("BodyPosition",hit) bodyforce.Position = pos2 | |
334 | table.insert(bodyforces,bodyforce) | |
335 | end | |
336 | end | |
337 | end | |
338 | ||
339 | ||
340 | ||
341 | ||
342 | ||
343 | end | |
344 | end) | |
345 | game:GetService("UserInputService").InputBegan:connect(function(key) | |
346 | if key.KeyCode == Enum.KeyCode.E then | |
347 | suck = Instance.new("Part",game.Players.LocalPlayer.Character) | |
348 | local mesh = Instance.new("SpecialMesh",suck) mesh.MeshId = "rbxassetid://1040723301" | |
349 | suck.Transparency = 0.5 | |
350 | suck.Color = Color3.fromRGB(255,255,255) | |
351 | suck.CanCollide = false | |
352 | suck.Anchored = true | |
353 | suck.Size = Vector3.new(0,0,0) | |
354 | game.Players.LocalPlayer.Character.Head:WaitForChild("face") | |
355 | ||
356 | while game.Players.LocalPlayer.Character.Head.face.texture ~= "rbxassetid://505480085" do | |
357 | wait() | |
358 | game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://505480085" | |
359 | end | |
360 | ||
361 | ||
362 | for _,decal in pairs(game.Players.LocalPlayer.Character.Head:GetChildren()) do | |
363 | if decal.ClassName == "Decal" then | |
364 | decal:remove() | |
365 | end | |
366 | end | |
367 | local decal = Instance.new("Decal",game.Players.LocalPlayer.Character.Head) decal.Texture = "http://www.roblox.com/asset/?id=1038938817" decal.Face = "Front" | |
368 | ||
369 | end | |
370 | if key.KeyCode == Enum.KeyCode.W then | |
371 | if movingup == false then | |
372 | movingup = true | |
373 | while movingup == true do | |
374 | wait() | |
375 | game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*200 | |
376 | end | |
377 | end | |
378 | end | |
379 | if key.KeyCode == Enum.KeyCode.S then | |
380 | if movingback == false then | |
381 | movingback = true | |
382 | while movingback == true do | |
383 | wait() | |
384 | game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = -game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*200 | |
385 | ||
386 | end | |
387 | end | |
388 | end | |
389 | if key.KeyCode == Enum.KeyCode.F then | |
390 | local food = math.random(1,7) | |
391 | local part = Instance.new("Part",game.Workspace) part.CFrame = CFrame.new(0,25,0) | |
392 | local meshs = Instance.new("SpecialMesh",part) | |
393 | if food == 1 then | |
394 | part.Size = Vector3.new(1.266, 1.704, 0.978) | |
395 | meshs.MeshId = "rbxassetid://923471248" | |
396 | meshs.TextureId = "rbxassetid://923471252" | |
397 | end | |
398 | if food == 2 then | |
399 | part.Size = Vector3.new(2.18, 0.733, 2.18) | |
400 | meshs.MeshId = "http://www.roblox.com/asset/?id=107432887" | |
401 | meshs.TextureId = "rbxassetid://107432992" | |
402 | end | |
403 | if food == 3 then | |
404 | part.Size = Vector3.new(1.764, 1.129, 1.686) | |
405 | meshs.MeshId = "http://www.roblox.com/asset/?id=90824595" | |
406 | meshs.TextureId = "rbxassetid://90819050" | |
407 | end | |
408 | if food == 4 then | |
409 | part.Size = Vector3.new(2.903, 2.903, 0.531) | |
410 | meshs.MeshId = "http://www.roblox.com/asset/?id=18417911" | |
411 | meshs.TextureId = "rbxassetid://18417918" | |
412 | end | |
413 | if food == 5 then | |
414 | part.Size = Vector3.new(2.056, 0.615, 0.907) | |
415 | meshs.MeshId = "http://www.roblox.com/asset/?id=29896287" | |
416 | meshs.TextureId = "rbxassetid://29896653" | |
417 | end | |
418 | if food == 6 then | |
419 | part.Size = Vector3.new(0.731, 1.693, 0.708) | |
420 | meshs.MeshId = "http://www.roblox.com/asset/?id=13073626" | |
421 | meshs.TextureId = "rbxassetid://13073598" | |
422 | end | |
423 | if food == 7 then | |
424 | part.Size = Vector3.new(1.997, 1.986, 1.997) | |
425 | meshs.MeshId = "http://www.roblox.com/asset/?id=125736357" | |
426 | meshs.TextureId = "rbxassetid://125728597" | |
427 | end | |
428 | end | |
429 | if key.KeyCode == Enum.KeyCode.C then | |
430 | if popo > 0 then | |
431 | popo = popo-1 | |
432 | local ball = Instance.new("Part",game.Workspace) ball.Shape = Enum.PartType.Ball ball.Material = Enum.Material.Slate ball.Color = Color3.fromRGB(105, 64, 40) ball.CanCollide = false | |
433 | ball.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
434 | ball.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
435 | ball.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
436 | ball.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
437 | ball.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
438 | ball.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
439 | ball.Size = Vector3.new(game.Players.LocalPlayer.Character.Torso.Size.Y/2,game.Players.LocalPlayer.Character.Torso.Size.Y/2,game.Players.LocalPlayer.Character.Torso.Size.Y/2) | |
440 | ball.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(0,-game.Players.LocalPlayer.Character.Torso.Size.Y,0)).p,game.Players.LocalPlayer:GetMouse().Hit.p) | |
441 | ball.Velocity = ball.CFrame.lookVector*(game.Players.LocalPlayer.Character.Torso.Position-game.Players.LocalPlayer:GetMouse().Hit.p).magnitude*3 | |
442 | table.insert(popos,ball) | |
443 | game:GetService("Debris"):AddItem(ball,5) | |
444 | end | |
445 | end | |
446 | ||
447 | ||
448 | ||
449 | end) | |
450 | game:GetService("UserInputService").InputEnded:connect(function(key) | |
451 | if key.KeyCode == Enum.KeyCode.E then | |
452 | suck:remove() | |
453 | suck = nil | |
454 | game.Players.LocalPlayer.Character.Head:WaitForChild("face") | |
455 | ||
456 | game.Players.LocalPlayer.Character.Head:WaitForChild("face") | |
457 | while game.Players.LocalPlayer.Character.Head.face.texture ~= "rbxassetid://1039774343" do | |
458 | wait() | |
459 | game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://1039774343" | |
460 | end | |
461 | end | |
462 | if key.KeyCode == Enum.KeyCode.W then | |
463 | movingup = false | |
464 | ||
465 | end | |
466 | if key.KeyCode == Enum.KeyCode.S then | |
467 | movingback = false | |
468 | ||
469 | end | |
470 | ||
471 | ||
472 | end) | |
473 | game.Players.LocalPlayer.Character.Head.Touched:connect(function(hit) | |
474 | if hit.Parent ~= game.Players.LocalPlayer.Character then | |
475 | ||
476 | if hit ~= nil then | |
477 | if hit.Anchored == false then | |
478 | hit:remove() | |
479 | popo = popo+2 | |
480 | local sound = Instance.new("Sound",game.Players.LocalPlayer.Character.Head) sound.SoundId = "rbxassetid://179303694" sound:Play() | |
481 | game:GetService("Debris"):AddItem(sound,5) | |
482 | while ac == false do | |
483 | wait() | |
484 | if ac == true then | |
485 | break | |
486 | end | |
487 | end | |
488 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Neck") | |
489 | game.Players.LocalPlayer.Character.HumanoidRootPart:WaitForChild("RootJoint") | |
490 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Right Shoulder") | |
491 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Left Shoulder") | |
492 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Right Hip") | |
493 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Left Hip") | |
494 | local rootjoint = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
495 | local neck = game.Players.LocalPlayer.Character.Torso.Neck:Clone() | |
496 | local rightShoulder = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
497 | local leftShoulder = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
498 | local rightShoulder = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
499 | local rightHip = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone() | |
500 | local leftHip = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone() | |
501 | ac = false | |
502 | wait(0.1) | |
503 | game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth | |
504 | for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
505 | if part:IsA("BasePart") then | |
506 | part.Size = part.Size*1.05 | |
507 | game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth | |
508 | end | |
509 | end | |
510 | game.Players.LocalPlayer.CameraMaxZoomDistance = game.Players.LocalPlayer.CameraMaxZoomDistance*1.05 | |
511 | game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth | |
512 | rootjoint.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart | |
513 | neck.Parent = game.Players.LocalPlayer.Character.Torso | |
514 | rightShoulder.Parent = game.Players.LocalPlayer.Character.Torso | |
515 | leftShoulder.Parent = game.Players.LocalPlayer.Character.Torso | |
516 | rightHip.Parent = game.Players.LocalPlayer.Character.Torso | |
517 | leftHip.Parent = game.Players.LocalPlayer.Character.Torso | |
518 | neck.C0 = CFrame.new(neck.C0.p*1.05)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
519 | rightShoulder.C0 = CFrame.new(rightShoulder.C0.p*1.05) | |
520 | leftShoulder.C0 = CFrame.new(leftShoulder.C0.p*1.05) | |
521 | rightHip.C0 = CFrame.new(rightHip.C0.p*1.05) | |
522 | leftHip.C0 = CFrame.new(leftHip.C0.p*1.05) | |
523 | game.Players.LocalPlayer.Character.Humanoid.MaxHealth = game.Players.LocalPlayer.Character.Humanoid.MaxHealth*1.2 | |
524 | game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth | |
525 | for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
526 | if part:FindFirstChild("ZeroGravity") then | |
527 | part.ZeroGravity:remove() | |
528 | end | |
529 | end | |
530 | for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
531 | if part:IsA("BasePart") then | |
532 | part.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
533 | local zerograv = Instance.new("BodyForce",part) zerograv.force = Vector3.new(0, game.Workspace.Gravity, 0) * part:GetMass() zerograv.Name = "ZeroGravity" | |
534 | end | |
535 | end | |
536 | wait(0.1) | |
537 | ac = true | |
538 | end | |
539 | end | |
540 | ||
541 | end | |
542 | end) |