Advertisement
TheYoutuber_Pro

test

Aug 2nd, 2022
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.10 KB | None | 0 0
  1. print([[keyboard console by mechaxyz
  2. c/ (code) to run a script
  3. x/ (code) to run a local script
  4.  
  5. i like the bash]])
  6.  
  7.  
  8. if owner.Character:WaitForChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then -- // check if rigtype is r15 and change it to r6 since this script isn't for r15
  9. local id = owner.UserId
  10. owner.CharacterAppearanceId = 32065 -- // change character appearance into an r6 user
  11. local old = owner.Character.HumanoidRootPart.CFrame -- // store the hrp cframe
  12. owner:LoadCharacter() -- // reload character
  13. owner.Character.HumanoidRootPart.CFrame = old -- // :LoadCharacter() makes you go back to spawn so set hrp cframe to old
  14. owner.Character.Humanoid:ApplyDescription(game:GetService("Players"):GetHumanoidDescriptionFromUserId(id)) -- // change appearance back to normal
  15. task.wait()
  16. owner.CharacterAppearanceId = id -- // change char appearance id back to normal
  17. print("You must be R6 to use this script! Automatically turned your RigType to R6.") -- // let them know
  18. end
  19.  
  20. local NormalName = string.lower(owner.DisplayName) .. "@vsb:~$ "
  21. local Name = '<font color="rgb(133,255,197)">' .. NormalName .. "</font>"
  22. local Hand = "Left"
  23. local CurrentLine = string.len(Name) + 1
  24. local Typing = false
  25. local TweenService = game:GetService("TweenService")
  26. local Info = TweenInfo.new(.25, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
  27. local Character = owner.Character
  28. local Torso = Character.Torso
  29. local Neck = Torso.Neck
  30. local OldNeckC0 = Neck.C0
  31. local OldNeckC1 = Neck.C1
  32. local RightArm = Character["Right Arm"]
  33. local LeftArm = Character["Left Arm"]
  34.  
  35. local RightShoulder = Instance.new("Weld", Torso)
  36. RightShoulder.Part0 = Torso
  37. RightShoulder.Part1 = RightArm
  38.  
  39. local LeftShoulder = Instance.new("Weld", Torso)
  40. LeftShoulder.Part0 = Torso
  41. LeftShoulder.Part1 = LeftArm
  42.  
  43. RightShoulder.C1 = CFrame.new(-.5, .5, 0)
  44. LeftShoulder.C1 = CFrame.new(.5, .5, 0)
  45.  
  46. RightShoulder.Enabled = false
  47. LeftShoulder.Enabled = false
  48.  
  49. local Keyboard = Instance.new("SpawnLocation")
  50. Keyboard.BrickColor = BrickColor.new("Really black")
  51. Keyboard.Material = Enum.Material.Neon
  52. Keyboard.Size = Vector3.new(5, 0, 2)
  53. Keyboard.CanCollide = false
  54. Keyboard.Enabled = false
  55. Keyboard.Locked = true
  56. Keyboard.Parent = script
  57. Keyboard.Transparency = 0.1
  58.  
  59. local KeyboardWeld = Instance.new("Weld")
  60. KeyboardWeld.Part0 = Torso
  61. KeyboardWeld.Part1 = Keyboard
  62. KeyboardWeld.C0 = CFrame.new(0, 0, -2) * CFrame.Angles(.25, 0, 0)
  63. KeyboardWeld.Parent = Keyboard
  64.  
  65. local Light = Instance.new("PointLight")
  66. Light.Brightness = 1.5
  67. Light.Range = 12
  68. Light.Parent = Keyboard
  69.  
  70. local Screen = Instance.new("SpawnLocation")
  71. Screen.BrickColor = BrickColor.new("Really black")
  72. Screen.Material = Enum.Material.Neon
  73. Screen.Massless = true
  74. Screen.Name = "Screen"
  75. Screen.Size = Vector3.new(10, 5, 0)
  76. Screen.CanCollide = false
  77. Screen.Enabled = false
  78. Screen.Locked = true
  79. Screen.Parent = script
  80. Screen.Transparency = 0.1
  81.  
  82. local ScreenWeld = Instance.new("Weld")
  83. ScreenWeld.Part0 = Torso
  84. ScreenWeld.Part1 = Screen
  85. ScreenWeld.C0 = CFrame.new(0, 3.5, -4.5) * CFrame.Angles(.1, 0, 0)
  86. ScreenWeld.Parent = Screen
  87.  
  88. local Gui = Instance.new("SurfaceGui")
  89. Gui.Face = "Back"
  90. Gui.Adornee = Screen
  91. Gui.ClipsDescendants = true
  92. Gui.Parent = Screen
  93. Gui.ZOffset = 50
  94. Gui.Brightness = 2
  95.  
  96. local Text = Instance.new("TextBox")
  97. Text.BackgroundTransparency = 1
  98. Text.Position = UDim2.new(0, 0, 0, 0)
  99. Text.Size = UDim2.new(.95, 0, .95, 0)
  100. Text.TextColor3 = Color3.new(1, 1, 1)
  101. Text.Font = Enum.Font.Code
  102. Text.MultiLine = true
  103. Text.RichText = true
  104. Text.TextEditable = false
  105. Text.TextWrapped = true
  106. Text.TextSize = 23
  107. Text.TextXAlignment = Enum.TextXAlignment.Left
  108. Text.TextYAlignment = Enum.TextYAlignment.Top
  109. Text.Text = Name
  110. Text.Parent = Gui
  111.  
  112. local TypeSound = Instance.new("Sound")
  113. TypeSound.SoundId = "rbxassetid://265970978"
  114. TypeSound.PlaybackSpeed = 1.15
  115. TypeSound.Volume = .5
  116. TypeSound.Parent = Keyboard
  117. TypeSound.EmitterSize = 10
  118. TypeSound.PlayOnRemove = true
  119.  
  120. Character.Humanoid.Died:Connect(function()
  121. Screen.Parent = nil -- // parent console to nil so it won't fall into the void and despawn
  122. Keyboard.Parent = nil
  123. ScreenWeld:Destroy() -- // destroy the past welds
  124. KeyboardWeld:Destroy()
  125. end)
  126.  
  127. owner.CharacterAdded:Connect(function() -- // my script works even after you die, but the welds parented to the character gets destroyed
  128. Character = owner.Character -- // re-define Character
  129. RightArm = Character:WaitForChild("Right Arm") -- // use :WaitForChild() because when CharacterAdded fires, it doesn't wait for the full body to load, only the model instance
  130. LeftArm = Character:WaitForChild("Left Arm")
  131. Torso = Character:WaitForChild("Torso")
  132. Neck = Torso:WaitForChild("Neck")
  133. OldNeckC0 = Neck.C0
  134. OldNeckC1 = Neck.C1
  135.  
  136. Screen.Parent = script -- // re-parent console
  137. Keyboard.Parent = script
  138.  
  139. Screen.CFrame = Torso.CFrame * CFrame.new(0, 3.5, -4.5) * CFrame.Angles(.1, 0, 0)
  140. Keyboard.CFrame = Torso.CFrame * CFrame.new(0, 0, -2) * CFrame.Angles(.25, 0, 0)
  141.  
  142. KeyboardWeld = Instance.new("Weld") -- // create new welds
  143. KeyboardWeld.Part0 = Torso
  144. KeyboardWeld.Part1 = Keyboard
  145. KeyboardWeld.C0 = CFrame.new(0, 0, -2) * CFrame.Angles(.25, 0, 0)
  146. KeyboardWeld.Parent = Keyboard
  147.  
  148. ScreenWeld = Instance.new("Weld")
  149. ScreenWeld.Part0 = Torso
  150. ScreenWeld.Part1 = Screen
  151. ScreenWeld.C0 = CFrame.new(0, 3.5, -4.5) * CFrame.Angles(.1, 0, 0)
  152.  
  153. RightShoulder = Instance.new("Weld", Torso)
  154. RightShoulder.Part0 = Torso
  155. RightShoulder.Part1 = RightArm
  156.  
  157. LeftShoulder = Instance.new("Weld", Torso)
  158. LeftShoulder.Part0 = Torso
  159. LeftShoulder.Part1 = LeftArm
  160.  
  161. RightShoulder.C1 = CFrame.new(-.5, .5, 0)
  162. LeftShoulder.C1 = CFrame.new(.5, .5, 0)
  163.  
  164. RightShoulder.Enabled = false
  165. LeftShoulder.Enabled = false
  166. end)
  167.  
  168. local longparagraph = [[
  169. 🚨 STOP! 🚨 YES, STOP RIGHT NOW! GIVE ME YOUR ⚠️ ATTENTION ⚠️FOR 50 SECONDS ⏱️ and I will show you how you can get unlimited Robux 💵 on Roblox. Yes, you can generate UNLIMITED Robux 💵right now! All you would need to do is click the link 🔗 below ⬇️to open the generator. After that, you will need to fill in your username, and select the Robux! Then, you are ready to go ✅! This will ONLY work today 📅. Yes, ONLY today. So, if you want to generate an unlimited amount of Robux 💵, click the link 🔗below ⬇️right now. This process will ONLY take one minute of your time, and will give you unlimited Robux 💵without ANY risk ⛔. Click the link 🔗below ⬇️right now, and enjoy it! The instructions will be on the link 🔗below ⬇️. Click on it RIGHT now ⏲️. Goodbye!
  170. Wanna know how to get 99999999 robux! WARNING: THIS IS NOT A SCAM THIS IS NOT A SCAM! 1. Copy and paste this comment on only 2 games 2. Press F5 3. Logout and login 4. Look at your robux You have 9k
  171. guess 🤔 what guys 🤯 never ❌ever ❗ restart 📴 your phone 🤳 or whatever electronics 💻 you are using 🤷‍♀️ bc you'll restart 😱 everything 😢 Check out RBX.COM 💹 to claim 👉 your free 🤑 prize 😭😭 oh okay 😐 btw I'm a real person 🙆‍♂️ not ❌ a bot 🤖🤖 my name 😤 is jimmy🙂
  172. ]] -- // i used this funny paragraph to test my console, but i forgot where i got it from. i'll just keep this here just in case
  173.  
  174. local GUI = Instance.new("ScreenGui")
  175. local Frame = Instance.new("Frame")
  176. local TextButton = Instance.new("TextButton")
  177. local TextButton2 = Instance.new("TextButton")
  178. local TextBox = Instance.new("TextBox")
  179. GUI.Name = "TextGUI"
  180. GUI.Parent = owner.PlayerGui
  181.  
  182. Frame.Parent = GUI
  183. Frame.BackgroundColor3 = BrickColor.new("Really black").Color
  184. Frame.Position = UDim2.new(1, -187, 1, -116)
  185. Frame.AnchorPoint = Vector2.new(.5, .5)
  186. Frame.Size = UDim2.new(0, 300, 0, 150)
  187. Frame.Active = true
  188. Frame.BorderColor3 = Color3.new(1, 1, 1)
  189. Frame.BorderSizePixel = 2
  190. Frame.Draggable = true
  191.  
  192. TextBox.RichText = true
  193. TextBox.Parent = Frame
  194. TextBox.BackgroundTransparency = 1
  195. TextBox.TextStrokeTransparency = 0
  196. TextBox.TextStrokeColor3 = Color3.new(.7, .7, .7)
  197. TextBox.TextColor3 = Color3.new(1, 1, 1)
  198. TextBox.Position = UDim2.new(0, 50, 0, 20)
  199. TextBox.Size = UDim2.new(0, 200, 0, 30)
  200. TextBox.Font = Enum.Font.Code
  201. TextBox.Text = "Insert Text Here"
  202. TextBox.TextSize = 30
  203. TextBox.TextScaled = true
  204. TextBox.TextWrapped = true
  205.  
  206. TextButton.Parent = Frame
  207. TextButton.BackgroundTransparency = 1
  208. TextButton.TextStrokeTransparency = 0
  209. TextButton.TextStrokeColor3 = Color3.new(.7, .7, .7)
  210. TextButton.TextColor3 = Color3.new(1, 1, 1)
  211. TextButton.Position = UDim2.new(0, 50, 0, 90)
  212. TextButton.Size = UDim2.new(0, 200, 0, 50)
  213. TextButton.Font = Enum.Font.Code
  214. TextButton.TextSize = 30
  215. TextButton.Text = "Run"
  216. TextButton.Name = "RunText"
  217.  
  218. local Value = Instance.new("ObjectValue")
  219. Value.Parent = owner.Character
  220. Value.Value = Text
  221. Value.Name = "RealTextValue"
  222.  
  223. local Value = Instance.new("StringValue")
  224. Value.Parent = owner.Character
  225. Value.Value = Name
  226. Value.Name = "NameValue"
  227.  
  228. local Value = Instance.new("ObjectValue")
  229. Value.Parent = owner.Character
  230. Value.Value = GUI
  231. Value.Name = "TextValue"
  232.  
  233. local Remote = Instance.new("RemoteEvent", Value)
  234. Remote.Name = "TypeEvent"
  235.  
  236. local Remote2 = Instance.new("RemoteEvent", Value)
  237. Remote2.Name = "RunTextEvent"
  238.  
  239. Remote.OnServerEvent:Connect(function(plr, txt, type)
  240. if type == true then
  241. Typing = true
  242. RightShoulder.Enabled = true
  243. LeftShoulder.Enabled = true
  244. RightShoulder.C0 = owner.Character.Torso["Right Shoulder"].C0
  245. LeftShoulder.C0 = owner.Character.Torso["Left Shoulder"].C0
  246. local Sine = math.sin(tick() * 8) / 8
  247. TweenService:Create(Neck, TweenInfo.new(0), {C0 = CFrame.new(0, 1, 0) * CFrame.Angles(.2 + Sine / 4, (math.random() - .5) / 2, 0)}):Play()
  248. TweenService:Create(Neck, TweenInfo.new(0), {C1 = CFrame.new(0, -.5, 0)}):Play()
  249. TweenService:Create(RightShoulder, TweenInfo.new(0), {C0 = CFrame.new(1, .6 + math.random() / 4, -(math.random()) * .7) * CFrame.Angles(1.5 + Sine * math.random(), -(Sine) / 4, -(.5 + 2 * Sine * math.random()))}):Play()
  250. TweenService:Create(LeftShoulder, TweenInfo.new(0), {C0 = CFrame.new(-1, .6 + math.random() / 4, -(math.random()) * .7) * CFrame.Angles(1.5 - Sine * math.random(), Sine / 4, .5 + 2 * Sine * math.random())}):Play()
  251. elseif type == false then
  252. Typing = false
  253. RightShoulder.Enabled = false
  254. LeftShoulder.Enabled = false
  255. for i = 1, 5 do
  256. Neck.C0 = OldNeckC0
  257. Neck.C1 = OldNeckC1
  258. end
  259. end
  260. if type == nil or type == "Output" then
  261. Text.Text = txt
  262. if type == "Output" then
  263. CurrentLine = string.len(Text.Text) + 1
  264. end
  265. TypeSound.Pitch = .5 + math.random() / 5
  266. TypeSound.Parent = Keyboard
  267. TypeSound.Parent = nil
  268. if Typing == true then
  269. if Hand == "Left" and Typing == true then
  270. Hand = "Right"
  271. local Sine = math.sin(tick() * 8) / 8
  272. TweenService:Create(Neck, Info, {C0 = CFrame.new(0, 1, 0) * CFrame.Angles(.2 + Sine / 4, (math.random() - .5) / 2, 0)}):Play()
  273. TweenService:Create(LeftShoulder, Info, {C0 = CFrame.new(-1, .6 + math.random() / 4, -(math.random()) * .7) * CFrame.Angles(1.5 - Sine * math.random(), Sine / 4, .5 + 2 * Sine * math.random())}):Play()
  274. elseif Hand == "Right" and Typing == true then
  275. Hand = "Left"
  276. local Sine = math.sin(tick() * 8) / 8
  277. TweenService:Create(Neck, Info, {C0 = CFrame.new(0, 1, 0) * CFrame.Angles(.2 + Sine / 4, (math.random() - .5) / 2, 0)}):Play()
  278. TweenService:Create(RightShoulder, Info, {C0 = CFrame.new(1, .6 + math.random() / 4, -(math.random()) * .7)* CFrame.Angles(1.5 + Sine * math.random(), -(Sine) / 4, -(.5 + 2 * Sine * math.random()))}):Play()
  279. end
  280. end
  281. end
  282. end)
  283.  
  284. Remote2.OnServerEvent:Connect(function(plr, txt)
  285. if string.lower(string.sub(txt, CurrentLine, (CurrentLine + 1))) == 'c/' then
  286. loadstring(string.sub(txt, (CurrentLine + 2), string.len(txt)))()
  287. elseif string.lower(string.sub(txt, CurrentLine, (CurrentLine + 1))) == 'x/' then
  288. NLS(string.sub(txt, (CurrentLine + 2), string.len(txt)), owner.PlayerGui)
  289. end
  290. end)
  291.  
  292. NLS([[
  293. local UDim2_new = UDim2.new
  294. local UserInputService = game:GetService("UserInputService")
  295. local DraggableObject = {}
  296. DraggableObject.__index = DraggableObject
  297. -- // sets up a new draggable object
  298. function DraggableObject.new(Object)
  299. local self = {}
  300. self.Object = Object
  301. self.DragStarted = nil
  302. self.DragEnded = nil
  303. self.Dragged = nil
  304. self.Dragging = false
  305.  
  306. setmetatable(self, DraggableObject)
  307.  
  308. return self
  309. end
  310.  
  311. -- // enables dragging
  312. function DraggableObject:Enable()
  313. local object = self.Object
  314. local dragInput = nil
  315. local dragStart = nil
  316. local startPos = nil
  317. local preparingToDrag = false
  318.  
  319. -- // Updates the element
  320. local function update(input)
  321. local delta = input.Position - dragStart
  322. local newPosition = UDim2_new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  323. object.Position = newPosition
  324.  
  325. return newPosition
  326. end
  327.  
  328. self.InputBegan = object.InputBegan:Connect(function(input)
  329. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  330. preparingToDrag = true
  331.  
  332.  
  333. local connection
  334. connection = input.Changed:Connect(function()
  335. if input.UserInputState == Enum.UserInputState.End and (self.Dragging or preparingToDrag) then
  336. self.Dragging = false
  337. connection:Disconnect()
  338.  
  339. if self.DragEnded and not preparingToDrag then
  340. self.DragEnded()
  341. end
  342.  
  343. preparingToDrag = false
  344. end
  345. end)
  346. end
  347. end)
  348.  
  349. self.InputChanged = object.InputChanged:Connect(function(input)
  350. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  351. dragInput = input
  352. end
  353. end)
  354.  
  355. self.InputChanged2 = UserInputService.InputChanged:Connect(function(input)
  356. if object.Parent == nil then
  357. self:Disable()
  358. return
  359. end
  360.  
  361. if preparingToDrag then
  362. preparingToDrag = false
  363.  
  364. if self.DragStarted then
  365. self.DragStarted()
  366. end
  367.  
  368. self.Dragging = true
  369. dragStart = input.Position
  370. startPos = object.Position
  371. end
  372.  
  373. if input == dragInput and self.Dragging then
  374. local newPosition = update(input)
  375.  
  376. if self.Dragged then
  377. self.Dragged(newPosition)
  378. end
  379. end
  380. end)
  381. end
  382.  
  383. -- // disables dragging
  384. function DraggableObject:Disable()
  385. self.InputBegan:Disconnect()
  386. self.InputChanged:Disconnect()
  387. self.InputChanged2:Disconnect()
  388.  
  389. if self.Dragging then
  390. self.Dragging = false
  391.  
  392. if self.DragEnded then
  393. self.DragEnded()
  394. end
  395. end
  396. end
  397.  
  398. local LastOuput
  399. local OutputEntries = owner.PlayerGui.SB_OutputGUI.Main.Output.Entries -- // get the output from vsb guis for code execution, rather than using logservice as it is locked by vsb
  400. local Remote = script.Parent.TypeEvent
  401. local Remote2 = script.Parent.RunTextEvent
  402. local GUI = script.Parent.Value
  403. local TextBox = GUI.Frame.TextBox
  404. local TextButton = GUI.Frame.RunText
  405. local RealText = script.Parent.Parent.RealTextValue.Value
  406. local Name = script.Parent.Parent.NameValue.Value
  407. local CanRun = true
  408. local Drag = DraggableObject.new(GUI.Frame)
  409. Drag:Enable() -- // add drag to the textbot
  410. TextBox.Text = Name
  411. TextBox.PlaceholderText = "Insert Text"
  412. TextBox.ClearTextOnFocus = false
  413.  
  414. owner.Chatted:Connect(function(Message)
  415. if Message == "clear/" or Message == "clr/" then
  416. TextBox.Text = Name
  417. end
  418. end)
  419.  
  420. TextBox.Focused:Connect(function()
  421. Remote:FireServer("StartType", true)
  422. end)
  423.  
  424. TextBox.FocusLost:Connect(function(EnterPressed)
  425. if EnterPressed then
  426. TextBox.Text = TextBox.Text.. "\n" -- // add new line
  427. TextBox:CaptureFocus()
  428. else
  429. Remote:FireServer("StopType", false)
  430. end
  431. end)
  432.  
  433. TextBox:GetPropertyChangedSignal("Text"):Connect(function()
  434. Remote:FireServer(TextBox.Text)
  435. end)
  436.  
  437. TextButton.MouseButton1Click:Connect(function()
  438. if CanRun == true then
  439. CanRun = false
  440. Remote2:FireServer(TextBox.Text)
  441. task.wait(.25) -- // wait a bit
  442. for i, v in pairs (OutputEntries:GetChildren()) do
  443. if i == table.getn(OutputEntries:GetChildren()) then -- // check if i is the last output entry
  444. LastOutput = v
  445. Remote:FireServer(TextBox.Text .. "\n" .. LastOutput.Text .. "\n" .. Name, "Output") -- // add the output
  446. end
  447. end
  448. task.wait(.25)
  449. TextBox.Text = RealText.Text
  450. task.wait(.05)
  451. CanRun = true
  452. end
  453. end)
  454. ]], Value)
  455.  
  456. coroutine.wrap(function()
  457. for i = 1, string.len(longparagraph) do
  458. Text.Text = string.sub(longparagraph, 1, i)
  459. task.wait(1 / 50)
  460. end
  461. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement