OnlyLingo

Untitled

Aug 30th, 2018
3,812
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.97 KB | None | 0 0
  1. player = game.Players:WaitForChild("TheOnlyLingo")
  2.  
  3.  
  4.  
  5.  
  6. ----------Youtube: OnlyLingo
  7.  
  8. ---^^^---- put name ^ @ theonlylingo
  9. ---|||----
  10.  
  11. ---Note: Change game.Players:WaitForChild("TheOnlyLingo") with game.Players.LocalPlayer
  12. --- For some of the commands to work! but note: it might crash the server
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. cmdenabled = false
  71. FE = 'dfsfg'
  72. dj = false
  73.  
  74. if game.Workspace.FilteringEnabled then
  75. FE = 'Yes'
  76. else
  77. FE = 'No'
  78. end
  79.  
  80. ----Variables----
  81. local UI = Instance.new("ScreenGui", player.PlayerGui)
  82. UI.Name = 'Lingaholic v2'
  83.  
  84. local Frame = Instance.new("ScrollingFrame", UI)
  85. Frame.BackgroundColor3 = Color3.new(0,170,255)
  86. Frame.BackgroundTransparency = .5
  87. Frame.Position = UDim2.new(.25, 0, .2, 0)
  88. Frame.Size = UDim2.new(.5, 0 ,.6, 0)
  89. Frame.Visible = false
  90. Frame.CanvasSize = UDim2.new(0,0,10,0)
  91. Frame.ScrollBarThickness = 6
  92.  
  93. local Title = Instance.new("TextLabel", Frame)
  94. Title.BackgroundColor3 = Color3.new(255,255,255)
  95. Title.BackgroundTransparency = .5
  96. Title.Position = UDim2.new(0, 0, 0, 0)
  97. Title.Size = UDim2.new(1, 0 ,.005, 0)
  98. Title.Font = Enum.Font.Cartoon
  99. Title.Text = '~ Youtube: OnlyLingo - Lingaholic v1 - FE:' .. FE .. ' ~'
  100. Title.TextStrokeTransparency = .5
  101. Title.TextColor3 = Color3.new(255,255,255)
  102. Title.TextWrapped = true
  103. Title.TextScaled= true
  104.  
  105. local Cmds = Instance.new("TextLabel", Frame)
  106. Cmds.BackgroundColor3 = Color3.new(255,255,255)
  107. Cmds.BackgroundTransparency = 1
  108. Cmds.Position = UDim2.new(0, 0, .005, 0)
  109. Cmds.Size = UDim2.new(1, 0 ,.005, 0)
  110. Cmds.Font = Enum.Font.Cartoon
  111. Cmds.Text = 'Commands:'
  112. Cmds.TextStrokeTransparency = .5
  113. Cmds.TextColor3 = Color3.new(255,255,255)
  114. Cmds.TextWrapped = true
  115. Cmds.TextScaled= true
  116.  
  117. local CmdsList = Instance.new("TextLabel", Frame)
  118. CmdsList.BackgroundColor3 = Color3.new(255,255,255)
  119. CmdsList.BackgroundTransparency = 1
  120. CmdsList.Position = UDim2.new(0, 0, 0.01, 0)
  121. CmdsList.Size = UDim2.new(1, 0 ,.2, 0)
  122. CmdsList.Font = Enum.Font.Cartoon
  123. CmdsList.Text = '~superspeed, ~speed, ~normalspeed, ~superjump, ~ jump, ~normaljump, ~fire, ~smoke, ~particles, ~forcefield, ~teleport, ~killall, ~killme, ~light, ~Clear'
  124. CmdsList.TextStrokeTransparency = .5
  125. CmdsList.TextColor3 = Color3.new(255,255,255)
  126. CmdsList.TextWrapped = true
  127. CmdsList.TextScaled = true
  128. CmdsList.TextXAlignment = Enum.TextXAlignment.Left
  129. CmdsList.TextYAlignment = Enum.TextYAlignment.Top
  130.  
  131. local TextButton = Instance.new("TextButton", UI)
  132. TextButton.BackgroundColor3 = Color3.new(255,255,255)
  133. TextButton.BackgroundTransparency = .8
  134. TextButton.Size = UDim2.new(.1, 0, .07, 0)
  135. TextButton.Position = UDim2.new(0, 0, 0.7, 0)
  136. TextButton.Text = 'Open'
  137. TextButton.TextScaled = true
  138. TextButton.TextWrapped = true
  139. TextButton.TextStrokeTransparency = 0
  140. TextButton.TextColor3 = Color3.new(255,255,255)
  141. TextButton.Style = Enum.ButtonStyle.RobloxRoundButton
  142. TextButton.Visible = false
  143.  
  144. TLabel = Instance.new("TextLabel", UI)
  145. TLabel.BackgroundColor3 = Color3.new(255,255,255)
  146. TLabel.BackgroundTransparency = 1
  147. TLabel.Size = UDim2.new(1, 0, 1, 0)
  148. TLabel.Position = UDim2.new(0, 0, 0, 0)
  149. TLabel.Text = 'Lingaholic v2'
  150. TLabel.TextScaled = true
  151. TLabel.TextWrapped = true
  152. TLabel.TextStrokeTransparency = 0.1
  153. TLabel.TextColor3 = Color3.new(0,170,255)
  154. TLabel.Visible = false
  155.  
  156. Sound = Instance.new("Sound", UI)
  157. Sound.SoundId = 'Rbxassetid://917703948'
  158.  
  159. ---VariableEnded---
  160. ---UI Buttons---
  161.  
  162. TextButton.MouseButton1Down:connect(function()
  163. if not dj then
  164. dj = true
  165. Frame.Visible = true
  166. TextButton.Text = 'Close'
  167. else
  168. dj = false
  169. Frame.Visible = false
  170. TextButton.Text = 'Open'
  171. end
  172. end)
  173.  
  174. ---load func---
  175.  
  176. function loadmenu()
  177. print 'Protocol Launched'
  178. TLabel.Visible = true
  179. Sound:Play()
  180. wait(10)
  181. TLabel.Visible = false
  182. wait(3)
  183. TextButton.Visible = true
  184. Sound:Stop()
  185. end
  186.  
  187. ---OnChat Func---
  188.  
  189. player.Chatted:connect(function(msg)
  190. if (msg == "~loadhax") then
  191. if cmdenabled == false then
  192. loadmenu()
  193. wait(1)
  194. cmdenabled = true
  195. end
  196. elseif (msg == "~superspeed") then
  197. if cmdenabled == true then
  198. player.Character.Humanoid.WalkSpeed = 300
  199. end
  200. elseif (msg == "~speed") then
  201. if cmdenabled == true then
  202. player.Character.Humanoid.WalkSpeed = 50
  203. end
  204. elseif (msg == "~normalspeed") then
  205. if cmdenabled == true then
  206. player.Character.Humanoid.WalkSpeed = 16
  207. end
  208. elseif (msg == "~superjump") then
  209. if cmdenabled == true then
  210. player.Character.Humanoid.JumpPower = 350
  211. end
  212. elseif (msg == "~jump") then
  213. if cmdenabled == true then
  214. player.Character.Humanoid.JumpPower = 100
  215. end
  216. elseif (msg == "~normaljump") then
  217. if cmdenabled == true then
  218. player.Character.Humanoid.JumpPower = 50
  219. end
  220. elseif (msg == "~fire") then
  221. if cmdenabled == true then
  222. e = Instance.new("Fire", player.Character.Head)
  223. e.Name = 'LingoInjection'
  224. e.Size = 5
  225. end
  226. elseif (msg == "~smoke") then
  227. if cmdenabled == true then
  228. c = Instance.new("Smoke", player.Character.Head)
  229. c.Name = 'LingoInjection'
  230. c.Size = 5
  231. end
  232. elseif (msg == "~paricles") then
  233. if cmdenabled == true then
  234. d = Instance.new("ParticleEmitter", player.Character.Head)
  235. d.Name = 'LingoInjection'
  236. end
  237. elseif (msg == "~forcefield") then
  238. if cmdenabled == true then
  239. d = Instance.new("ForceField", player.Character)
  240. d.Name = 'LingoInjection'
  241. end
  242. elseif (msg == "~killall") then
  243. if cmdenabled == true then
  244. for i, v in pairs(game.Players:GetChildren()) do
  245. v.Character.Humanoid.Health = 0
  246. end
  247. end
  248. elseif (msg == "~killme") then
  249. if cmdenabled == true then
  250. player.Character.Humanoid.Health = 0
  251. end
  252. elseif (msg == "~light") then
  253. if cmdenabled == true then
  254. r = Instance.new("PointLight", player.Character.Head)
  255. r.Name = 'LingoInjection'
  256. end
  257. elseif (msg == "~clear") then
  258. if cmdenabled == true then
  259. for i, v in pairs(player.Character:GetChildren()) do
  260. if v.Name == 'LingoInjection' then
  261. v:Destroy()
  262. end
  263. end
  264. end
  265. elseif (msg == "~teleport") then
  266. if cmdenabled == true then
  267. local Tool = Instance.new("Tool", player.Backpack)
  268. local handle = Instance.new("Part", Tool)
  269. handle.Name = 'Handle'
  270. handle.CanCollide = false
  271. handle.Transparency = 1
  272. TeleportEvent = Instance.new("RemoteEvent", Tool)
  273.  
  274. -----------
  275.  
  276. local tool = Tool
  277. local player = game.Players.LocalPlayer
  278. local mouse = player:GetMouse()
  279.  
  280. local function onActivate()
  281. local character = tool.Parent
  282. local hit = mouse.Hit
  283.  
  284. local ray = Ray.new(mouse.UnitRay.Origin, mouse.UnitRay.Direction * 500)
  285. local part, point, normal = game.Workspace:FindPartOnRay(ray, character)
  286.  
  287. local toCharacter = character.HumanoidRootPart.Position - point
  288. if toCharacter.magnitude <= 5 then
  289. return
  290. end
  291.  
  292. local collisionSphere = Instance.new("Part", game.Workspace)
  293. collisionSphere.Shape = Enum.PartType.Ball
  294. collisionSphere.Size = Vector3.new(4, 4, 4)
  295. collisionSphere.Anchored = true
  296.  
  297. collisionSphere.CFrame = CFrame.new(point + normal * 2.5)
  298.  
  299.  
  300. local foundSpace = false
  301. local tries = 0
  302. repeat
  303. tries = tries + 1
  304.  
  305. local parts = collisionSphere:GetTouchingParts()
  306.  
  307. if #parts == 0 then
  308. foundSpace = true
  309. else
  310. collisionSphere.CFrame = collisionSphere.CFrame + toCharacter.unit * 4
  311. -- make sure sphere isn't further than the character
  312. local sphereToPoint = point - collisionSphere.Position
  313. if sphereToPoint.magnitude >= toCharacter.magnitude then
  314. tries = 5
  315. foundSpace = false
  316. end
  317. end
  318. until foundSpace or tries > 5
  319.  
  320. if foundSpace then
  321. local toSphere = collisionSphere.Position - character.HumanoidRootPart.Position
  322. TeleportEvent:FireServer(toSphere)
  323. end
  324. collisionSphere:Destroy()
  325. end
  326.  
  327. tool.Activated:connect(onActivate)
  328.  
  329. TeleportEvent.OnServerEvent:Connect(function(player, cframe)
  330. player.character.HumanoidRootPart.CFrame = player.character.HumanoidRootPart.CFrame + cframe
  331. end) end end
  332. end)
Advertisement
Add Comment
Please, Sign In to add comment