SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
| |
| 2 | do | |
| 3 | script.Parent = owner.Character | |
| 4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
| |
| 5 | local function NewFakeEvent() | |
| 6 | local Bind = Instance.new("BindableEvent")
| |
| 7 | local Fake;Fake = {Connections = {},
| |
| 8 | fakeEvent=true; | |
| 9 | Connect=function(self,Func) | |
| 10 | Bind.Event:connect(Func) | |
| 11 | self.Connections[Bind] = true | |
| 12 | return setmetatable({Connected = true},{
| |
| 13 | __index = function (self,Index) | |
| 14 | if Index:lower() == "disconnect" then | |
| 15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
| 16 | end | |
| 17 | return Fake[Index] | |
| 18 | end; | |
| 19 | __tostring = function() return "Connection" end; | |
| 20 | }) | |
| 21 | end} | |
| 22 | Fake.connect = Fake.Connect;return Fake; | |
| 23 | end | |
| 24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 29 | local function TriggerEvent(self,Event,...) | |
| 30 | local Trigger = Mouse[Event] | |
| 31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
| 32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
| 33 | end | |
| 34 | end | |
| 35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
| 36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 37 | if FiredBy.Name ~= owner.Name then return end | |
| 38 | if Input.MouseEvent then | |
| 39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
| 40 | else | |
| 41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
| 43 | for _,Action in pairs(ContextActionService.Actions) do | |
| 44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
| 45 | end | |
| 46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 48 | end | |
| 49 | end) | |
| 50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
| 51 | Event.Parent = NLS([[ | |
| 52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
| |
| 53 | local Input = function(Input,gameProcessedEvent) | |
| 54 | if gameProcessedEvent then return end | |
| 55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 56 | end | |
| 57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
| 58 | local Hit,Target | |
| 59 | while wait(1/30) do | |
| 60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 62 | end | |
| 63 | end | |
| 64 | ]],owner.Character) | |
| 65 | end | |
| 66 | RealGame = game;game = setmetatable({},{
| |
| 67 | __index = function (self,Index) | |
| 68 | local Sandbox = function (Thing) | |
| 69 | if Thing:IsA("Player") then
| |
| 70 | local RealPlayer = Thing | |
| 71 | return setmetatable({},{
| |
| 72 | __index = function (self,Index) | |
| 73 | local Type = type(RealPlayer[Index]) | |
| 74 | if Type == "function" then | |
| 75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 76 | return function (self)return InternalData["Mouse"] end | |
| 77 | end | |
| 78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
| 79 | end | |
| 80 | return RealPlayer[Index] | |
| 81 | end; | |
| 82 | __tostring = function(self) return RealPlayer.Name end | |
| 83 | }) | |
| 84 | end | |
| 85 | end | |
| 86 | if RealGame[Index] then | |
| 87 | local Type = type(RealGame[Index]) | |
| 88 | if Type == "function" then | |
| 89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 90 | return function (self,Service) | |
| 91 | local FakeServices = {
| |
| 92 | ["players"] = function() | |
| 93 | return setmetatable({},{
| |
| 94 | __index = function (self2,Index2) | |
| 95 | local RealService = RealGame:GetService(Service) | |
| 96 | local Type2 = type(Index2) | |
| 97 | if Type2 == "function" then | |
| 98 | return function (self,...) return RealService[Index2](RealService,...)end | |
| 99 | else | |
| 100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
| 101 | return RealService[Index2] | |
| 102 | end | |
| 103 | end; | |
| 104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
| 105 | }) | |
| 106 | end; | |
| 107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
| 108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
| 109 | ["runservice"] = function() | |
| 110 | return setmetatable({},{
| |
| 111 | __index = function(self2,Index2) | |
| 112 | local RealService = RealGame:GetService(Service) | |
| 113 | local Type2 = type(Index2) | |
| 114 | if Type2 == "function" then | |
| 115 | return function (self,...) return RealService[Index2](RealService,...) end | |
| 116 | else | |
| 117 | local RunServices = {
| |
| 118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
| |
| 119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
| 120 | } | |
| 121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
| 122 | return RealService[Index2] | |
| 123 | end | |
| 124 | end | |
| 125 | }) | |
| 126 | end | |
| 127 | } | |
| 128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
| 129 | return RealGame:GetService(Service) | |
| 130 | end | |
| 131 | end | |
| 132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
| 133 | else | |
| 134 | if game:GetService(Index) then return game:GetService(Index) end | |
| 135 | return RealGame[Index] | |
| 136 | end | |
| 137 | end | |
| 138 | return nil | |
| 139 | end | |
| 140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
| |
| 141 | ||
| 142 | ----- Script made by Pedrorb03 ----- | |
| 143 | game.Players.LocalPlayer.Character.Head:WaitForChild("face")
| |
| 144 | while game.Players.LocalPlayer.Character.Head.face.texture ~= "rbxassetid://1039774343" do | |
| 145 | wait() | |
| 146 | game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://1039774343" | |
| 147 | end | |
| 148 | for _,animate in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
| 149 | if animate.Name == "Animate" then | |
| 150 | animate:remove() | |
| 151 | end | |
| 152 | if animate.ClassName == "Accessory" then | |
| 153 | animate:remove() | |
| 154 | end | |
| 155 | end | |
| 156 | for _,anim in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do | |
| 157 | ||
| 158 | anim:Stop() | |
| 159 | ||
| 160 | end | |
| 161 | ||
| 162 | rot = 0 | |
| 163 | armrot = 0 | |
| 164 | suck = nil | |
| 165 | power = 0 | |
| 166 | movingup = false | |
| 167 | movingback = false | |
| 168 | popo = 0 | |
| 169 | bodyforces = {}
| |
| 170 | popos = {}
| |
| 171 | for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
| 172 | if part:IsA("BasePart") then
| |
| 173 | ||
| 174 | local zerograv = Instance.new("BodyForce",part) zerograv.force = Vector3.new(0, game.Workspace.Gravity, 0) * part:GetMass() zerograv.Name = "ZeroGravity"
| |
| 175 | end | |
| 176 | end | |
| 177 | ac = true | |
| 178 | ||
| 179 | ||
| 180 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 181 | game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth | |
| 182 | if movingup == false and movingback == false then | |
| 183 | game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,0,0) | |
| 184 | end | |
| 185 | rot = rot+5 | |
| 186 | for number = 1,#popos do | |
| 187 | if popos[number].Parent == nil then | |
| 188 | table.remove(popos,number) | |
| 189 | end | |
| 190 | end | |
| 191 | for _,pop in pairs(popos) do | |
| 192 | pop.Touched:connect(function(hit) | |
| 193 | if hit.Locked == false then | |
| 194 | if hit.Parent ~= game.Players.LocalPlayer.Character then | |
| 195 | if hit ~= pop then | |
| 196 | hit.Color = pop.Color | |
| 197 | hit.Material = pop.Material | |
| 198 | ||
| 199 | pop:remove() | |
| 200 | end | |
| 201 | end | |
| 202 | end | |
| 203 | end) | |
| 204 | ||
| 205 | end | |
| 206 | armrot = armrot+40 | |
| 207 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 500 | |
| 208 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 1 | |
| 209 | game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true | |
| 210 | 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) | |
| 211 | if ac == true then | |
| 212 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Right Shoulder")
| |
| 213 | 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) | |
| 214 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Left Shoulder")
| |
| 215 | 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) | |
| 216 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Right Hip")
| |
| 217 | 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) | |
| 218 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Left Hip")
| |
| 219 | 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) | |
| 220 | end | |
| 221 | if suck == nil then | |
| 222 | for _,bod in pairs(bodyforces) do | |
| 223 | bod:remove() | |
| 224 | end | |
| 225 | end | |
| 226 | if suck ~= nil then | |
| 227 | local pos1 = game.Players.LocalPlayer:GetMouse().Hit.p | |
| 228 | local pos2 = game.Players.LocalPlayer.Character.Head.CFrame:toWorldSpace(CFrame.new(Vector3.new(0,0.25,0.5))).p | |
| 229 | for _,child in pairs(game.Workspace:GetChildren()) do | |
| 230 | if child:IsA("BasePart") then
| |
| 231 | if child.Anchored == false then | |
| 232 | if (child.Position-pos1).magnitude <= 1+game.Players.LocalPlayer.Character.Head.Size.Y*5 then | |
| 233 | local hit = child | |
| 234 | local did = false | |
| 235 | for i=1,#bodyforces do | |
| 236 | if bodyforces[i].Parent == hit then | |
| 237 | did = true | |
| 238 | end | |
| 239 | end | |
| 240 | if did == false then | |
| 241 | local bodyforce = Instance.new("BodyPosition",hit) bodyforce.Position = pos2
| |
| 242 | table.insert(bodyforces,bodyforce) | |
| 243 | end | |
| 244 | end | |
| 245 | end | |
| 246 | end | |
| 247 | for _,child2 in pairs(child:GetChildren()) do | |
| 248 | if child2:IsA("BasePart") then
| |
| 249 | if child2.Anchored == false then | |
| 250 | if (child2.Position-pos1).magnitude <= 1+game.Players.LocalPlayer.Character.Head.Size.Y*5 then | |
| 251 | local hit = child2 | |
| 252 | local did = false | |
| 253 | for i=1,#bodyforces do | |
| 254 | if bodyforces[i].Parent == hit then | |
| 255 | did = true | |
| 256 | end | |
| 257 | end | |
| 258 | if did == false then | |
| 259 | local bodyforce = Instance.new("BodyPosition",hit) bodyforce.Position = pos2
| |
| 260 | table.insert(bodyforces,bodyforce) | |
| 261 | end | |
| 262 | end | |
| 263 | end | |
| 264 | end | |
| 265 | for _,child3 in pairs(child2:GetChildren()) do | |
| 266 | if child3:IsA("BasePart") then
| |
| 267 | if child3.Anchored == false then | |
| 268 | if (child3.Position-pos1).magnitude <= 1+game.Players.LocalPlayer.Character.Head.Size.Y*5 then | |
| 269 | local hit = child3 | |
| 270 | local did = false | |
| 271 | for i=1,#bodyforces do | |
| 272 | if bodyforces[i].Parent == hit then | |
| 273 | did = true | |
| 274 | end | |
| 275 | end | |
| 276 | if did == false then | |
| 277 | local bodyforce = Instance.new("BodyPosition",hit) bodyforce.Position = pos2
| |
| 278 | table.insert(bodyforces,bodyforce) | |
| 279 | end | |
| 280 | end | |
| 281 | end | |
| 282 | end | |
| 283 | ||
| 284 | end | |
| 285 | end | |
| 286 | end | |
| 287 | ||
| 288 | for _,bod in pairs(bodyforces) do | |
| 289 | bod.Position = game.Players.LocalPlayer.Character.Head.CFrame.p | |
| 290 | end | |
| 291 | 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) | |
| 292 | suck.CFrame = CFrame.new((pos1+pos2)/2,pos1) * CFrame.Angles(math.rad(90),rot,0) | |
| 293 | local ray = Ray.new(pos2,(pos1-pos2).unit*600) | |
| 294 | local hit,normal,position = game.Workspace:FindPartOnRay(ray,game.Players.LocalPlayer.Character) | |
| 295 | ||
| 296 | if hit ~= nil then | |
| 297 | if hit.Anchored == false then | |
| 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 | ||
| 311 | ||
| 312 | ||
| 313 | ||
| 314 | ||
| 315 | end | |
| 316 | end) | |
| 317 | game:GetService("UserInputService").InputBegan:connect(function(key)
| |
| 318 | if key.KeyCode == Enum.KeyCode.E then | |
| 319 | suck = Instance.new("Part",game.Players.LocalPlayer.Character)
| |
| 320 | local mesh = Instance.new("SpecialMesh",suck) mesh.MeshId = "rbxassetid://1040723301"
| |
| 321 | suck.Transparency = 0.5 | |
| 322 | suck.Color = Color3.fromRGB(255,255,255) | |
| 323 | suck.CanCollide = false | |
| 324 | suck.Anchored = true | |
| 325 | suck.Size = Vector3.new(0,0,0) | |
| 326 | game.Players.LocalPlayer.Character.Head:WaitForChild("face")
| |
| 327 | ||
| 328 | while game.Players.LocalPlayer.Character.Head.face.texture ~= "rbxassetid://505480085" do | |
| 329 | wait() | |
| 330 | game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://505480085" | |
| 331 | end | |
| 332 | ||
| 333 | ||
| 334 | for _,decal in pairs(game.Players.LocalPlayer.Character.Head:GetChildren()) do | |
| 335 | if decal.ClassName == "Decal" then | |
| 336 | decal:remove() | |
| 337 | end | |
| 338 | end | |
| 339 | local decal = Instance.new("Decal",game.Players.LocalPlayer.Character.Head) decal.Texture = "http://www.roblox.com/asset/?id=1038938817" decal.Face = "Front"
| |
| 340 | ||
| 341 | end | |
| 342 | if key.KeyCode == Enum.KeyCode.W then | |
| 343 | if movingup == false then | |
| 344 | movingup = true | |
| 345 | while movingup == true do | |
| 346 | wait() | |
| 347 | game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*200 | |
| 348 | end | |
| 349 | end | |
| 350 | end | |
| 351 | if key.KeyCode == Enum.KeyCode.S then | |
| 352 | if movingback == false then | |
| 353 | movingback = true | |
| 354 | while movingback == true do | |
| 355 | wait() | |
| 356 | game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = -game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*200 | |
| 357 | ||
| 358 | end | |
| 359 | end | |
| 360 | end | |
| 361 | if key.KeyCode == Enum.KeyCode.F then | |
| 362 | local food = math.random(1,7) | |
| 363 | local part = Instance.new("Part",game.Workspace) part.CFrame = CFrame.new(0,25,0)
| |
| 364 | local meshs = Instance.new("SpecialMesh",part)
| |
| 365 | if food == 1 then | |
| 366 | part.Size = Vector3.new(1.266, 1.704, 0.978) | |
| 367 | meshs.MeshId = "rbxassetid://923471248" | |
| 368 | meshs.TextureId = "rbxassetid://923471252" | |
| 369 | end | |
| 370 | if food == 2 then | |
| 371 | part.Size = Vector3.new(2.18, 0.733, 2.18) | |
| 372 | meshs.MeshId = "http://www.roblox.com/asset/?id=107432887" | |
| 373 | meshs.TextureId = "rbxassetid://107432992" | |
| 374 | end | |
| 375 | if food == 3 then | |
| 376 | part.Size = Vector3.new(1.764, 1.129, 1.686) | |
| 377 | meshs.MeshId = "http://www.roblox.com/asset/?id=90824595" | |
| 378 | meshs.TextureId = "rbxassetid://90819050" | |
| 379 | end | |
| 380 | if food == 4 then | |
| 381 | part.Size = Vector3.new(2.903, 2.903, 0.531) | |
| 382 | meshs.MeshId = "http://www.roblox.com/asset/?id=18417911" | |
| 383 | meshs.TextureId = "rbxassetid://18417918" | |
| 384 | end | |
| 385 | if food == 5 then | |
| 386 | part.Size = Vector3.new(2.056, 0.615, 0.907) | |
| 387 | meshs.MeshId = "http://www.roblox.com/asset/?id=29896287" | |
| 388 | meshs.TextureId = "rbxassetid://29896653" | |
| 389 | end | |
| 390 | if food == 6 then | |
| 391 | part.Size = Vector3.new(0.731, 1.693, 0.708) | |
| 392 | meshs.MeshId = "http://www.roblox.com/asset/?id=13073626" | |
| 393 | meshs.TextureId = "rbxassetid://13073598" | |
| 394 | end | |
| 395 | if food == 7 then | |
| 396 | part.Size = Vector3.new(1.997, 1.986, 1.997) | |
| 397 | meshs.MeshId = "http://www.roblox.com/asset/?id=125736357" | |
| 398 | meshs.TextureId = "rbxassetid://125728597" | |
| 399 | end | |
| 400 | end | |
| 401 | if key.KeyCode == Enum.KeyCode.C then | |
| 402 | if popo > 0 then | |
| 403 | popo = popo-1 | |
| 404 | 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
| |
| 405 | ball.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 406 | ball.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 407 | ball.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 408 | ball.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 409 | ball.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 410 | ball.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 411 | 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) | |
| 412 | 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) | |
| 413 | ball.Velocity = ball.CFrame.lookVector*(game.Players.LocalPlayer.Character.Torso.Position-game.Players.LocalPlayer:GetMouse().Hit.p).magnitude*3 | |
| 414 | table.insert(popos,ball) | |
| 415 | game:GetService("Debris"):AddItem(ball,5)
| |
| 416 | end | |
| 417 | end | |
| 418 | ||
| 419 | ||
| 420 | ||
| 421 | end) | |
| 422 | game:GetService("UserInputService").InputEnded:connect(function(key)
| |
| 423 | if key.KeyCode == Enum.KeyCode.E then | |
| 424 | suck:remove() | |
| 425 | suck = nil | |
| 426 | game.Players.LocalPlayer.Character.Head:WaitForChild("face")
| |
| 427 | ||
| 428 | game.Players.LocalPlayer.Character.Head:WaitForChild("face")
| |
| 429 | while game.Players.LocalPlayer.Character.Head.face.texture ~= "rbxassetid://1039774343" do | |
| 430 | wait() | |
| 431 | game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://1039774343" | |
| 432 | end | |
| 433 | end | |
| 434 | if key.KeyCode == Enum.KeyCode.W then | |
| 435 | movingup = false | |
| 436 | ||
| 437 | end | |
| 438 | if key.KeyCode == Enum.KeyCode.S then | |
| 439 | movingback = false | |
| 440 | ||
| 441 | end | |
| 442 | ||
| 443 | ||
| 444 | end) | |
| 445 | game.Players.LocalPlayer.Character.Head.Touched:connect(function(hit) | |
| 446 | if hit.Parent ~= game.Players.LocalPlayer.Character then | |
| 447 | ||
| 448 | if hit ~= nil then | |
| 449 | if hit.Anchored == false then | |
| 450 | hit:remove() | |
| 451 | popo = popo+2 | |
| 452 | local sound = Instance.new("Sound",game.Players.LocalPlayer.Character.Head) sound.SoundId = "rbxassetid://179303694" sound:Play()
| |
| 453 | game:GetService("Debris"):AddItem(sound,5)
| |
| 454 | while ac == false do | |
| 455 | wait() | |
| 456 | if ac == true then | |
| 457 | break | |
| 458 | end | |
| 459 | end | |
| 460 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Neck")
| |
| 461 | game.Players.LocalPlayer.Character.HumanoidRootPart:WaitForChild("RootJoint")
| |
| 462 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Right Shoulder")
| |
| 463 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Left Shoulder")
| |
| 464 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Right Hip")
| |
| 465 | game.Players.LocalPlayer.Character.Torso:WaitForChild("Left Hip")
| |
| 466 | local rootjoint = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
| 467 | local neck = game.Players.LocalPlayer.Character.Torso.Neck:Clone() | |
| 468 | local rightShoulder = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
| 469 | local leftShoulder = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
| 470 | local rightShoulder = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
| 471 | local rightHip = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone() | |
| 472 | local leftHip = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone() | |
| 473 | ac = false | |
| 474 | wait(0.1) | |
| 475 | game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth | |
| 476 | for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
| 477 | if part:IsA("BasePart") then
| |
| 478 | part.Size = part.Size*1.05 | |
| 479 | game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth | |
| 480 | end | |
| 481 | end | |
| 482 | game.Players.LocalPlayer.CameraMaxZoomDistance = game.Players.LocalPlayer.CameraMaxZoomDistance*1.05 | |
| 483 | game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth | |
| 484 | rootjoint.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart | |
| 485 | neck.Parent = game.Players.LocalPlayer.Character.Torso | |
| 486 | rightShoulder.Parent = game.Players.LocalPlayer.Character.Torso | |
| 487 | leftShoulder.Parent = game.Players.LocalPlayer.Character.Torso | |
| 488 | rightHip.Parent = game.Players.LocalPlayer.Character.Torso | |
| 489 | leftHip.Parent = game.Players.LocalPlayer.Character.Torso | |
| 490 | neck.C0 = CFrame.new(neck.C0.p*1.05)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
| 491 | rightShoulder.C0 = CFrame.new(rightShoulder.C0.p*1.05) | |
| 492 | leftShoulder.C0 = CFrame.new(leftShoulder.C0.p*1.05) | |
| 493 | rightHip.C0 = CFrame.new(rightHip.C0.p*1.05) | |
| 494 | leftHip.C0 = CFrame.new(leftHip.C0.p*1.05) | |
| 495 | game.Players.LocalPlayer.Character.Humanoid.MaxHealth = game.Players.LocalPlayer.Character.Humanoid.MaxHealth*1.2 | |
| 496 | game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.MaxHealth | |
| 497 | for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
| 498 | if part:FindFirstChild("ZeroGravity") then
| |
| 499 | part.ZeroGravity:remove() | |
| 500 | end | |
| 501 | end | |
| 502 | for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
| 503 | if part:IsA("BasePart") then
| |
| 504 | part.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
| 505 | local zerograv = Instance.new("BodyForce",part) zerograv.force = Vector3.new(0, game.Workspace.Gravity, 0) * part:GetMass() zerograv.Name = "ZeroGravity"
| |
| 506 | end | |
| 507 | end | |
| 508 | wait(0.1) | |
| 509 | ac = true | |
| 510 | end | |
| 511 | end | |
| 512 | ||
| 513 | end | |
| 514 | end) |