Advertisement
Guest User

the pp

a guest
Apr 4th, 2020
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.18 KB | None | 0 0
  1.  
  2.  
  3. spawn(function()
  4. local message = Instance.new("Message",workspace)
  5. message.Text = "Fe penisito loaded"
  6. wait(11)
  7. message:Destroy()
  8. end)
  9.  
  10. local name = "Torso"
  11. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then
  12.     name = "UpperTorso"
  13. end
  14.  
  15. local ch = game.Players.LocalPlayer.Character
  16. local prt=Instance.new("Model", workspace)
  17. local z1 =  Instance.new("Part", prt)
  18. z1.Name="Torso"
  19. z1.CanCollide = false
  20. z1.Anchored = true
  21. local z2  =Instance.new("Part", prt)
  22. z2.Name="Head"
  23. z2.Anchored = true
  24. z2.CanCollide = false
  25. local z3 =Instance.new("Humanoid", prt)
  26. z3.Name="Humanoid"
  27. z1.Position = Vector3.new(0,9999,0)
  28. z2.Position = Vector3.new(0,9991,0)
  29.  game.Players.LocalPlayer.Character=prt
  30. wait(5)
  31. game.Players.LocalPlayer.Character=ch
  32. wait(6)
  33. game:GetService('RunService').Stepped:connect(function()
  34. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = true
  35. end)
  36. game:GetService('RunService').RenderStepped:connect(function()
  37. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = true
  38. end)
  39. plr = game.Players.LocalPlayer
  40. mouse = plr:GetMouse()
  41.  
  42. game.Players.LocalPlayer.Character.HumanoidRootPart:Destroy()
  43.  
  44. local Hum = Instance.new("Humanoid")
  45.    
  46.  
  47.  
  48. Hum.Parent = game.Players.LocalPlayer.Character
  49. game.Players.LocalPlayer.Character.Humanoid.Parent = game.Lighting
  50. --game.Players.LocalPlayer.Character:FindFirstChild("Torso").Name = "Head"
  51. --game.Players.LocalPlayer.Character:FindFirstChild("Head"):Destroy()
  52. --game.Players.LocalPlayer.Character:FindFirstChild(name):Destroy()
  53. --game.Players.LocalPlayer.Character.HumanoidRootPart.Name = "GaiPArt"
  54. local root =game.Players.LocalPlayer.Character["Right Arm"] -- game.Players.LocalPlayer.Character["Left Leg"]
  55. root.Name = "HumanoidRootPart"
  56.  
  57. Hum.HipHeight = 5
  58.  
  59.            
  60. workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.HumanoidRootPart
  61.  
  62.  
  63.  
  64.  
  65. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  66.  
  67. if v.Name ~=root.Name and v.Name ~="Humanoid" and v.Name ~= "Left Arm" and v.Name ~= "Left Leg" and v.Name ~= "Right Leg" then
  68.  
  69. v:Destroy()
  70.  
  71. elseif v.Name == "Left Arm" then
  72.  
  73. local bp = Instance.new("BodyPosition",v)
  74. bp.MaxForce = Vector3.new(99999,99999,99999)
  75. local bg = Instance.new("BodyGyro",v)
  76. bg.MaxTorque = Vector3.new(9999999,9999999,999999)
  77.  
  78. spawn(function()
  79. bp.D = 300
  80. while true do
  81. bp.Position = root.Position+Vector3.new(0,1.8+1.8+1.8-0.3,0)
  82. wait()
  83. end
  84.  
  85. end)
  86.  
  87. elseif v.Name == "Left Leg" then
  88.  
  89. local bp = Instance.new("BodyPosition",v)
  90. bp.MaxForce = Vector3.new(99999,99999,99999)
  91. local bg = Instance.new("BodyGyro",v)
  92. bg.MaxTorque = Vector3.new(9999999,9999999,999999)
  93.        
  94. spawn(function()
  95. bp.D = 300
  96. while true do
  97. bp.Position = root.Position+Vector3.new(0,1.8-0.3,0)
  98. wait()
  99. end
  100.  
  101. end)
  102.  
  103. elseif v.Name == "Right Leg" then
  104.  
  105. local bp = Instance.new("BodyPosition",v)
  106. bp.MaxForce = Vector3.new(99999,99999,99999)
  107. local bg = Instance.new("BodyGyro",v)
  108. bg.MaxTorque = Vector3.new(9999999,9999999,999999)
  109. spawn(function()
  110. bp.D = 300
  111. while true do
  112. bp.Position = root.Position+Vector3.new(0,1.8+1.8-0.3,0)
  113. wait()
  114. end
  115.  
  116. end)
  117. elseif v.Name == root.Name then
  118.  
  119. local bg = Instance.new("BodyGyro",v)
  120. bg.MaxTorque = Vector3.new(9999999,9999999,999999)
  121. bg.CFrame = CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
  122.  
  123. end
  124.  
  125.  
  126. end
  127.  
  128. --local se = Instance.new("SelectionBox",root)
  129. --se.Adornee = root
  130.  
  131.  
  132. power = 999999 -- change this to make it more or less powerful
  133.  
  134. power = power*10
  135.  
  136. ---
  137. wait(.1)
  138. --local bambam = Instance.new("BodyThrust")
  139. --bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  140. --bambam.Force = Vector3.new(power,0,power)
  141. --bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  142.  
  143.  
  144.  
  145.  
  146. local mouse = game.Players.LocalPlayer:GetMouse()
  147.  
  148.  
  149. local plr = game.Players.LocalPlayer
  150. local torso = root
  151. local flying = true
  152. local deb = true
  153. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  154. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  155. local maxspeed = 120
  156. local speed = 15
  157.  
  158.  
  159. ---local bambam = Instance.new("BodyThrust")
  160. ---bambam.Parent = torso
  161. --bambam.Force = Vector3.new(9999999,0,9999999)
  162. --bambam.Location = torso.Position
  163.  
  164.  
  165. ---
  166.  
  167.  
  168. function Fly()
  169. local bg = Instance.new("BodyGyro", torso)
  170. bg.P = 9e4
  171. bg.maxTorque = Vector3.new(0, 0, 0)
  172. bg.cframe = torso.CFrame
  173. local bv = Instance.new("BodyVelocity", torso)
  174. bv.velocity = Vector3.new(0,0,0)
  175. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  176. repeat wait()
  177.  
  178. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  179. speed = speed+.2
  180. if speed > maxspeed then
  181. speed = maxspeed
  182. end
  183. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  184. speed = speed-1
  185. if speed < 0 then
  186. speed = 0
  187. end
  188. end
  189. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  190. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  191. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  192. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  193. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  194. else
  195. bv.velocity = Vector3.new(0,0,0)
  196. end
  197.  
  198. until not flying
  199. ctrl = {f = 0, b = 0, l = 0, r = 0}
  200. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  201. speed = 0
  202. bg:Destroy()
  203. bv:Destroy()
  204.  
  205. end
  206. mouse.KeyDown:connect(function(key)
  207. if key:lower() == "e" then
  208. if flying then flying = false
  209. else
  210. flying = true
  211. Fly()
  212. end
  213. elseif key:lower() == "w" then
  214. ctrl.f = 1
  215. elseif key:lower() == "s" then
  216. ctrl.b = -1
  217. elseif key:lower() == "a" then
  218. ctrl.l = -1
  219. elseif key:lower() == "d" then
  220. ctrl.r = 1
  221. end
  222. end)
  223. mouse.KeyUp:connect(function(key)
  224. if key:lower() == "w" then
  225. ctrl.f = 0
  226. elseif key:lower() == "s" then
  227. ctrl.b = 0
  228. elseif key:lower() == "a" then
  229. ctrl.l = 0
  230. elseif key:lower() == "d" then
  231. ctrl.r = 0
  232. elseif key:lower() == "r" then
  233.  
  234. end
  235. end)
  236. Fly()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement