Advertisement
StenHisDirt

Basic!

Jun 19th, 2019
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.95 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local BasicCommands = Instance.new("ScreenGui")
  5. local MainFrame = Instance.new("Frame")
  6. local Fly = Instance.new("TextButton")
  7. local DirtsLabel = Instance.new("TextLabel")
  8. local Madebystenhisdirt = Instance.new("TextLabel")
  9. local Btools = Instance.new("TextButton")
  10. local Shield = Instance.new("TextButton")
  11. local TpTool = Instance.new("TextButton")
  12. local God = Instance.new("TextButton")
  13. local Close = Instance.new("TextButton")
  14. local TpToPlayer = Instance.new("TextButton")
  15. local Playertext = Instance.new("TextBox")
  16. local OpenFrame = Instance.new("Frame")
  17. local ImageLabel = Instance.new("ImageLabel")
  18. local ImageLabel_2 = Instance.new("ImageLabel")
  19. local Open = Instance.new("TextButton")
  20. --Properties:
  21. BasicCommands.Name = "Basic Commands"
  22. BasicCommands.Parent = game.CoreGui
  23. BasicCommands.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  24.  
  25. MainFrame.Name = "MainFrame"
  26. MainFrame.Parent = BasicCommands
  27. MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  28. MainFrame.Position = UDim2.new(0, 0, -0.00122848246, 0)
  29. MainFrame.Size = UDim2.new(0, 245, 0, 309)
  30. MainFrame.Visible = false
  31. MainFrame.Style = Enum.FrameStyle.RobloxRound
  32. MainFrame.Draggable = true
  33.  
  34. Fly.Name = "Fly"
  35. Fly.Parent = MainFrame
  36. Fly.BackgroundColor3 = Color3.new(1, 1, 1)
  37. Fly.BackgroundTransparency = 0.55000001192093
  38. Fly.Position = UDim2.new(0.0435743704, 0, 0.201475799, 0)
  39. Fly.Size = UDim2.new(0, 94, 0, 50)
  40. Fly.Font = Enum.Font.SourceSans
  41. Fly.Text = "Fly [Press E]"
  42. Fly.TextColor3 = Color3.new(0, 0, 0)
  43. Fly.TextSize = 14
  44. Fly.MouseButton1Down:connect(function()
  45. repeat wait()
  46. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  47. local mouse = game.Players.LocalPlayer:GetMouse()
  48. repeat wait() until mouse
  49. local plr = game.Players.LocalPlayer
  50. local torso = plr.Character.Torso
  51. local flying = true
  52. local deb = true
  53. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  54. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  55. local maxspeed = 50
  56. local speed = 0
  57.  
  58. function Fly()
  59. local bg = Instance.new("BodyGyro", torso)
  60. bg.P = 9e4
  61. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  62. bg.cframe = torso.CFrame
  63. local bv = Instance.new("BodyVelocity", torso)
  64. bv.velocity = Vector3.new(0,0.1,0)
  65. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  66. repeat wait()
  67. plr.Character.Humanoid.PlatformStand = true
  68. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  69. speed = speed+.5+(speed/maxspeed)
  70. if speed > maxspeed then
  71. speed = maxspeed
  72. end
  73. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  74. speed = speed-1
  75. if speed < 0 then
  76. speed = 0
  77. end
  78. end
  79. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  80. 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
  81. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  82. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  83. 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
  84. else
  85. bv.velocity = Vector3.new(0,0.1,0)
  86. end
  87. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  88. until not flying
  89. ctrl = {f = 0, b = 0, l = 0, r = 0}
  90. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  91. speed = 0
  92. bg:Destroy()
  93. bv:Destroy()
  94. plr.Character.Humanoid.PlatformStand = false
  95. end
  96. mouse.KeyDown:connect(function(key)
  97. if key:lower() == "e" then
  98. if flying then flying = false
  99. else
  100. flying = true
  101. Fly()
  102. end
  103. elseif key:lower() == "w" then
  104. ctrl.f = 1
  105. elseif key:lower() == "s" then
  106. ctrl.b = -1
  107. elseif key:lower() == "a" then
  108. ctrl.l = -1
  109. elseif key:lower() == "d" then
  110. ctrl.r = 1
  111. end
  112. end)
  113. mouse.KeyUp:connect(function(key)
  114. if key:lower() == "w" then
  115. ctrl.f = 0
  116. elseif key:lower() == "s" then
  117. ctrl.b = 0
  118. elseif key:lower() == "a" then
  119. ctrl.l = 0
  120. elseif key:lower() == "d" then
  121. ctrl.r = 0
  122. end
  123. end)
  124. Fly()
  125. end)
  126.  
  127. DirtsLabel.Name = "DirtsLabel"
  128. DirtsLabel.Parent = MainFrame
  129. DirtsLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  130. DirtsLabel.BackgroundTransparency = 1
  131. DirtsLabel.Position = UDim2.new(-0.0367346928, 0, 0.0124245016, 0)
  132. DirtsLabel.Size = UDim2.new(0, 131, 0, 36)
  133. DirtsLabel.Font = Enum.Font.SciFi
  134. DirtsLabel.Text = "BASIC!"
  135. DirtsLabel.TextColor3 = Color3.new(1, 1, 1)
  136. DirtsLabel.TextScaled = true
  137. DirtsLabel.TextSize = 14
  138. DirtsLabel.TextWrapped = true
  139.  
  140. Madebystenhisdirt.Name = "Madebystenhisdirt"
  141. Madebystenhisdirt.Parent = MainFrame
  142. Madebystenhisdirt.BackgroundColor3 = Color3.new(1, 1, 1)
  143. Madebystenhisdirt.BackgroundTransparency = 1
  144. Madebystenhisdirt.Position = UDim2.new(0.468561471, 0, 0.0169491526, 0)
  145. Madebystenhisdirt.Size = UDim2.new(0, 113, 0, 34)
  146. Madebystenhisdirt.Font = Enum.Font.SciFi
  147. Madebystenhisdirt.Text = "Made By StenHisDirt"
  148. Madebystenhisdirt.TextColor3 = Color3.new(1, 1, 1)
  149. Madebystenhisdirt.TextScaled = true
  150. Madebystenhisdirt.TextSize = 11
  151. Madebystenhisdirt.TextWrapped = true
  152.  
  153. Btools.Name = "Btools"
  154. Btools.Parent = MainFrame
  155. Btools.BackgroundColor3 = Color3.new(1, 1, 1)
  156. Btools.BackgroundTransparency = 0.55000001192093
  157. Btools.Position = UDim2.new(0.545615196, 0, 0.201475799, 0)
  158. Btools.Size = UDim2.new(0, 94, 0, 50)
  159. Btools.Font = Enum.Font.SourceSans
  160. Btools.Text = "Btools"
  161. Btools.TextColor3 = Color3.new(0, 0, 0)
  162. Btools.TextSize = 14
  163. Btools.MouseButton1Down:connect(function()
  164. Player = game.Players.LocalPlayer
  165.  
  166. function Give(x)
  167. H = Instance.new("HopperBin", Player.Backpack)
  168. H.BinType = x
  169. end
  170.  
  171. for i = 2, 4 do
  172. Give(i)
  173. end
  174. end)
  175.  
  176. Shield.Name = "Shield"
  177. Shield.Parent = MainFrame
  178. Shield.BackgroundColor3 = Color3.new(1, 1, 1)
  179. Shield.BackgroundTransparency = 0.55000001192093
  180. Shield.Position = UDim2.new(0.0394927412, 0, 0.650363028, 0)
  181. Shield.Size = UDim2.new(0, 94, 0, 50)
  182. Shield.Font = Enum.Font.SourceSans
  183. Shield.Text = "Shield"
  184. Shield.TextColor3 = Color3.new(0, 0, 0)
  185. Shield.TextSize = 14
  186. Shield.MouseButton1Down:connect(function()
  187. Instance.new("ForceField", game.Players.LocalPlayer.Character)
  188. end)
  189.  
  190. TpTool.Name = "Tp Tool"
  191. TpTool.Parent = MainFrame
  192. TpTool.BackgroundColor3 = Color3.new(1, 1, 1)
  193. TpTool.BackgroundTransparency = 0.55000001192093
  194. TpTool.Position = UDim2.new(0.0435743704, 0, 0.422232956, 0)
  195. TpTool.Size = UDim2.new(0, 94, 0, 50)
  196. TpTool.Font = Enum.Font.SourceSans
  197. TpTool.Text = "Tp Tool"
  198. TpTool.TextColor3 = Color3.new(0, 0, 0)
  199. TpTool.TextSize = 14
  200. TpTool.MouseButton1Down:connect(function()
  201. mouse = game.Players.LocalPlayer:GetMouse()
  202. tool = Instance.new("Tool")
  203. tool.RequiresHandle = false
  204. tool.Name = "Click Teleport"
  205. tool.Activated:connect(function()
  206. local pos = mouse.Hit+Vector3.new(0,2.5,0)
  207. pos = CFrame.new(pos.X,pos.Y,pos.Z)
  208. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
  209. end)
  210. tool.Parent = game.Players.LocalPlayer.Backpack
  211. end)
  212.  
  213. God.Name = "God"
  214. God.Parent = MainFrame
  215. God.BackgroundColor3 = Color3.new(1, 1, 1)
  216. God.BackgroundTransparency = 0.55000001192093
  217. God.Position = UDim2.new(0.549696803, 0, 0.42546922, 0)
  218. God.Size = UDim2.new(0, 94, 0, 50)
  219. God.Font = Enum.Font.SourceSans
  220. God.Text = "God Mode"
  221. God.TextColor3 = Color3.new(0, 0, 0)
  222. God.TextSize = 14
  223. God.MouseButton1Down:connect(function()
  224. game.Players.LocalPlayer.Character.Humanoid.Name = 1
  225. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  226. l.Parent = game.Players.LocalPlayer.Character
  227. l.Name = "Humanoid"
  228. wait(0.1)
  229. game.Players.LocalPlayer.Character["1"]:Destroy()
  230. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  231. game.Players.LocalPlayer.Character.Animate.Disabled = true
  232. wait(0.1)
  233. game.Players.LocalPlayer.Character.Animate.Disabled = false
  234. game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  235. end)
  236.  
  237. Close.Name = "Close"
  238. Close.Parent = MainFrame
  239. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  240. Close.Position = UDim2.new(0.910087407, 0, -0.0297851563, 0)
  241. Close.Size = UDim2.new(0, 28, 0, 28)
  242. Close.Style = Enum.ButtonStyle.RobloxRoundButton
  243. Close.Font = Enum.Font.SourceSans
  244. Close.Text = "X"
  245. Close.TextColor3 = Color3.new(0, 0, 0)
  246. Close.TextScaled = true
  247. Close.TextSize = 14
  248. Close.TextWrapped = true
  249. Close.MouseButton1Down:connect(function()
  250. MainFrame.Visible = false
  251. OpenFrame.Visible = true
  252. end)
  253.  
  254. TpToPlayer.Name = "TpToPlayer"
  255. TpToPlayer.Parent = MainFrame
  256. TpToPlayer.BackgroundColor3 = Color3.new(1, 1, 1)
  257. TpToPlayer.BackgroundTransparency = 0.55000001192093
  258. TpToPlayer.Position = UDim2.new(0.549696863, 0, 0.648077726, 0)
  259. TpToPlayer.Size = UDim2.new(0, 94, 0, 50)
  260. TpToPlayer.Font = Enum.Font.SourceSans
  261. TpToPlayer.Text = "Tp To Player"
  262. TpToPlayer.TextColor3 = Color3.new(0, 0, 0)
  263. TpToPlayer.TextSize = 14
  264. TpToPlayer.MouseButton1Down:connect(function()
  265. local tp_namedplayer = Playertext.Text
  266. local tp_player = game:GetService("Players")[tp_namedplayer]
  267. local PLR = game:GetService("Players").LocalPlayer
  268. local p = Playertext.Text
  269.  
  270. if tp_player then
  271. for i = 1,20 do
  272. wait()
  273. PLR.Character.HumanoidRootPart.CFrame = tp_player.Character.HumanoidRootPart.CFrame + Vector3.new(0, 3, 0)
  274. end
  275. end
  276. end)
  277.  
  278. Playertext.Name = "Playertext"
  279. Playertext.Parent = MainFrame
  280. Playertext.BackgroundColor3 = Color3.new(1, 1, 1)
  281. Playertext.BackgroundTransparency = 0.55000001192093
  282. Playertext.Position = UDim2.new(0.062374007, 0, 0.878090918, 0)
  283. Playertext.Size = UDim2.new(0, 200, 0, 34)
  284. Playertext.Font = Enum.Font.SourceSans
  285. Playertext.Text = ""
  286. Playertext.TextColor3 = Color3.new(0, 0, 0)
  287. Playertext.TextSize = 14
  288.  
  289. OpenFrame.Name = "OpenFrame"
  290. OpenFrame.Parent = BasicCommands
  291. OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  292. OpenFrame.BackgroundTransparency = 0.55000001192093
  293. OpenFrame.Position = UDim2.new(0.475106627, 0, 0, 0)
  294. OpenFrame.Size = UDim2.new(0, 70, 0, 33)
  295.  
  296. ImageLabel.Parent = OpenFrame
  297. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  298. ImageLabel.Position = UDim2.new(0.00367808435, 0, 0, 0)
  299. ImageLabel.Size = UDim2.new(0, 69, 0, 5)
  300. ImageLabel.Image = "rbxassetid://73278435"
  301.  
  302. ImageLabel_2.Parent = OpenFrame
  303. ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  304. ImageLabel_2.Position = UDim2.new(0.00367780402, 0, 0.151515156, 0)
  305. ImageLabel_2.Size = UDim2.new(0, 69, 0, 28)
  306. ImageLabel_2.Image = "rbxassetid://2752638393"
  307.  
  308. Open.Name = "Open"
  309. Open.Parent = ImageLabel_2
  310. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  311. Open.BackgroundTransparency = 0.55000001192093
  312. Open.Position = UDim2.new(0.0822656602, 0, 0.234822512, 0)
  313. Open.Size = UDim2.new(0, 58, 0, 14)
  314. Open.Font = Enum.Font.SourceSans
  315. Open.Text = "Open"
  316. Open.TextColor3 = Color3.new(0, 0, 0)
  317. Open.TextSize = 14
  318. Open.MouseButton1Down:connect(function()
  319. MainFrame.Visible = true
  320. OpenFrame.Visible = false
  321. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement