Advertisement
TheYoutuber_Pro

test

Apr 18th, 2022
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.49 KB | None | 0 0
  1. print([[
  2. c/ (code) to run a script
  3. x/ (code) to run a local script
  4. ]])
  5. local Hand = "Left"
  6. local TweenService = game:GetService("TweenService")
  7. local Info = TweenInfo.new(.25, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
  8. local RunService = game:GetService("RunService")
  9. local Character = owner.Character
  10. local Torso = Character.Torso
  11. local Neck = Torso.Neck
  12. local OldNeckC0 = Neck.C0
  13. local OldNeckC1 = Neck.C1
  14. local RightArm = Character["Right Arm"]
  15. local LeftArm = Character["Left Arm"]
  16. local RightShoulder = Instance.new("Weld", Torso)
  17. RightShoulder.Part0 = Torso
  18. RightShoulder.Part1 = RightArm
  19. local LeftShoulder = Instance.new("Weld", Torso)
  20. LeftShoulder.Part0 = Torso
  21. LeftShoulder.Part1 = LeftArm
  22. RightShoulder.C1 = CFrame.new(-0.5, 0.5, 0)
  23. LeftShoulder.C1 = CFrame.new(0.5, 0.5, 0)
  24. RightShoulder.Enabled = false
  25. LeftShoulder.Enabled = false
  26. local function Smooth(Part)
  27. Part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  28. Part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  29. Part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  30. Part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  31. Part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  32. Part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  33. end
  34.  
  35. local Keyboard = Instance.new("SpawnLocation")
  36. Keyboard.BrickColor = BrickColor.new("Really black")
  37. Keyboard.Material = Enum.Material.Neon
  38. --Keyboard.Transparency = .1
  39. Keyboard.Size = Vector3.new(5, 0, 2)
  40. Keyboard.CanCollide = false
  41. Keyboard.Enabled = false
  42. Keyboard.Locked = true
  43. Smooth(Keyboard)
  44. local KeyboardWeld = Instance.new("Weld")
  45. KeyboardWeld.Part0 = Torso
  46. KeyboardWeld.Part1 = Keyboard
  47. KeyboardWeld.C0 = CFrame.new(0, 0, -2) * CFrame.Angles(.25, 0, 0)
  48. KeyboardWeld.Parent = Keyboard
  49. Keyboard.Parent = Character
  50. local Light = Instance.new("PointLight")
  51. Light.Brightness = 1.5
  52. Light.Range = 12
  53. Light.Parent = Keyboard
  54. local Screen = Instance.new("SpawnLocation")
  55. Screen.BrickColor = BrickColor.new("Really black")
  56. Screen.Material = Enum.Material.Neon
  57. --Screen.Transparency = 0.3
  58. Screen.Massless = true
  59. Screen.Name = "Screen"
  60. Screen.Size = Vector3.new(10, 5, 0)
  61. Screen.CanCollide = false
  62. Screen.Enabled = false
  63. Screen.Locked = true
  64. Smooth(Screen)
  65. local ScreenWeld = Instance.new("Weld")
  66. ScreenWeld.Part0 = Torso
  67. ScreenWeld.Part1 = Screen
  68. ScreenWeld.C0 = CFrame.new(0, 3.5, -4.5) * CFrame.Angles(.1, 0, 0)
  69. local Gui = Instance.new("SurfaceGui")
  70. Gui.Face = "Back"
  71. Gui.Adornee = Screen
  72. Gui.ClipsDescendants = true
  73. --Gui.AlwaysOnTop = true
  74. Gui.Parent = Screen
  75. Gui.ZOffset = 50
  76. Gui.Brightness = 150
  77. local Text = Instance.new("TextBox")
  78. Text.BackgroundTransparency = 1
  79. Text.Position = UDim2.new(0, 0, 0, 0)
  80. Text.Size = UDim2.new(.95, 0, .95, 0)
  81. Text.TextColor3 = Color3.new(1, 1, 1)
  82. Text.Font = Enum.Font.Code
  83. Text.MultiLine = true
  84. Text.RichText = true
  85. Text.TextEditable = false
  86. Text.TextWrapped = true
  87. Text.TextSize = 23
  88. Text.TextXAlignment = Enum.TextXAlignment.Left
  89. Text.TextYAlignment = Enum.TextYAlignment.Top
  90. Text.Text = ""
  91. Text.Parent = Gui
  92. ScreenWeld.Parent = Screen
  93. Screen.Parent = Character
  94. local TypeSound = Instance.new("Sound")
  95. TypeSound.SoundId = "rbxassetid://265970978"
  96. TypeSound.PlaybackSpeed = 1.15
  97. TypeSound.Volume = .5
  98. TypeSound.Parent = Keyboard
  99. TypeSound.EmitterSize = 10
  100. TypeSound.PlayOnRemove = true
  101. --TypeSound.Looped = true
  102. --TypeSound:Play()
  103. local longparagraph = [[
  104. ๐Ÿšจ 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!
  105. 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
  106. 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๐Ÿ™‚
  107.  
  108. ]]
  109. local Symbols = {
  110. ["Tab"] = " ",
  111. ["Hash"] = "#",
  112. ["Space"] = " ",
  113. ["Dollar"] = "$",
  114. ["QuotedDouble"] = '"',
  115. ["Percent"] = "%",
  116. ["Ampersand"] = "&",
  117. ["Quote"] = "'",
  118. ["LeftParenthesis"] = "(",
  119. ["RightParenthesis"] = ")",
  120. ["Asterisk"] = "*",
  121. ["Plus"] = "+",
  122. ["Minus"] = "-",
  123. ["Comma"] = [[,]],
  124. ["Slash"] = "/",
  125. ["One"] = "1",
  126. ["Two"] = "2",
  127. ["Three"] = "3",
  128. ["Four"] = "4",
  129. ["Five"] = "5",
  130. ["Six"] = "6",
  131. ["Seven"] = "7",
  132. ["Eight"] = "8",
  133. ["Nine"] = "9",
  134. ["Zero"] = "0",
  135. ["Colon"] = ":",
  136. ["Semicolon"] = ";",
  137. ["LessThan"] = "<",
  138. ["GreaterThan"] = ">",
  139. ["Equals"] = "=",
  140. ["Question"] = "?",
  141. ["At"] = "@",
  142. ["LeftBracket"] = "{",
  143. ["RightBracket"] = "}",
  144. ["BackSlash"] = [[\]],
  145. ["Caret"] = "^",
  146. ["Underscore"] = "_",
  147. ["Backquote"] = "`",
  148. ["Return"] = [[
  149.  
  150. ]]
  151. }
  152. local GUI = Instance.new("ScreenGui")
  153. local Frame = Instance.new("Frame")
  154. local TextButton = Instance.new("TextButton")
  155. local TextButton2 = Instance.new("TextButton")
  156. local TextBox = Instance.new("TextBox")
  157. GUI.Name = "TextGUI"
  158. GUI.Parent = owner.PlayerGui
  159. Frame.Parent = GUI
  160. Frame.BackgroundColor3 = BrickColor.new("Really black").Color
  161. Frame.Position = UDim2.new(1, -187, 1, -116)
  162. Frame.AnchorPoint = Vector2.new(.5, .5)
  163. Frame.Size = UDim2.new(0, 300, 0, 150)
  164. Frame.Active = true
  165. Frame.BorderColor3 = Color3.new(1, 1, 1)
  166. Frame.BorderSizePixel = 2
  167. Frame.Draggable = true
  168. TextBox.RichText = true
  169. TextBox.Parent = Frame
  170. TextBox.BackgroundTransparency = 1
  171. TextBox.TextStrokeTransparency = 0
  172. TextBox.TextStrokeColor3 = Color3.new(.7, .7, .7)
  173. TextBox.TextColor3 = Color3.new(1, 1, 1)
  174. TextBox.Position = UDim2.new(0, 50, 0, 20)
  175. TextBox.Size = UDim2.new(0, 200, 0, 30)
  176. TextBox.Font = Enum.Font.Code
  177. TextBox.Text = "Insert Text Here"
  178. TextBox.TextSize = 30
  179. TextBox.TextScaled = true
  180. TextBox.TextWrapped = true
  181. TextButton.Parent = Frame
  182. TextButton.BackgroundTransparency = 1
  183. TextButton.TextStrokeTransparency = 0
  184. TextButton.TextStrokeColor3 = Color3.new(.7, .7, .7)
  185. TextButton.TextColor3 = Color3.new(1, 1, 1)
  186. TextButton.Position = UDim2.new(0, 25, 0, 90)
  187. TextButton.Size = UDim2.new(0, 100, 0, 50)
  188. TextButton.Font = Enum.Font.Code
  189. TextButton.TextSize = 30
  190. TextButton.Text = "Run"
  191. TextButton.Name = "RunText"
  192. TextButton2.Parent = Frame
  193. TextButton2.Name = "ClearText"
  194. TextButton2.BackgroundTransparency = 1
  195. TextButton2.TextStrokeTransparency = 0
  196. TextButton2.TextStrokeColor3 = Color3.new(.7, .7, .7)
  197. TextButton2.TextColor3 = Color3.new(1, 1, 1)
  198. TextButton2.Position = UDim2.new(0, 175, 0, 90)
  199. TextButton2.Size = UDim2.new(0, 100, 0, 50)
  200. TextButton2.Font = Enum.Font.Code
  201. TextButton2.Text = "Clear"
  202. TextButton2.TextSize = 30
  203. local Value = Instance.new("ObjectValue")
  204. Value.Parent = owner.Character
  205. Value.Value = Screen
  206. Value.Name = "ScreenValue"
  207. local Value = Instance.new("ObjectValue")
  208. Value.Parent = owner.Character
  209. Value.Value = GUI
  210. Value.Name = "TextValue"
  211. local Remote = Instance.new("RemoteEvent", Value)
  212. Remote.Name = "TypeEvent"
  213. local Remote2 = Instance.new("RemoteEvent", Value)
  214. Remote2.Name = "RunTextEvent"
  215. local Typing = false
  216. Remote.OnServerEvent:Connect(function(plr, txt, type)
  217. if type == true then
  218. Typing = true
  219. RightShoulder.Enabled = true
  220. LeftShoulder.Enabled = true
  221. RightShoulder.C0 = owner.Character.Torso["Right Shoulder"].C0
  222. --RightShoulder.C1 = owner.Character.Torso["Right Shoulder"].C1
  223. LeftShoulder.C0 = owner.Character.Torso["Left Shoulder"].C0
  224. --LeftShoulder.C1 = owner.Character.Torso["Left Shoulder"].C1
  225. local Sine = math.sin(tick() * 8)/8
  226. TweenService:Create(Neck, TweenInfo.new(0), {C0 = CFrame.new(0, 1, 0) * CFrame.Angles(0.2 + Sine / 4, (math.random() - 0.5) / 2, 0)}):Play()
  227. TweenService:Create(Neck, TweenInfo.new(0), {C1 = CFrame.new(0, -.5, 0)}):Play()
  228. TweenService:Create(RightShoulder, TweenInfo.new(0), {C0 = CFrame.new(1, 0.6 + math.random() / 4, -math.random() * 0.7)
  229. * CFrame.Angles(1.5 + Sine * math.random(), -Sine / 4, -(0.5 + 2 * Sine * math.random()))}):Play()
  230.  
  231. TweenService:Create(LeftShoulder, TweenInfo.new(0), {C0 = CFrame.new(-1, 0.6 + math.random() / 4, -math.random() * 0.7)
  232. * CFrame.Angles(1.5 - Sine * math.random(), Sine / 4, 0.5 + 2 * Sine * math.random())}):Play()
  233. elseif type == false then
  234. Typing = false
  235. RightShoulder.Enabled = false
  236. LeftShoulder.Enabled = false
  237. for i = 1, 5 do
  238. Neck.C0 = OldNeckC0
  239. Neck.C1 = OldNeckC1
  240. end
  241. end
  242. if type == nil then
  243. Text.Text = txt
  244. TypeSound.Pitch = .5 + math.random() / 5
  245. TypeSound.Parent = Keyboard
  246. TypeSound.Parent = nil
  247. if Typing == true then
  248. if Hand == "Left" and Typing == true then
  249. Hand = "Right"
  250. local Sine = math.sin(tick() * 8)/8
  251. TweenService:Create(Neck, Info, {C0 = CFrame.new(0, 1, 0) * CFrame.Angles(0.2 + Sine / 4, (math.random() - 0.5) / 2, 0)}):Play()
  252.  
  253. TweenService:Create(LeftShoulder, Info, {C0 = CFrame.new(-1, 0.6 + math.random() / 4, -math.random() * 0.7)
  254. * CFrame.Angles(1.5 - Sine * math.random(), Sine / 4, 0.5 + 2 * Sine * math.random())}):Play()
  255. elseif Hand == "Right" and Typing == true then
  256. Hand = "Left"
  257. local Sine = math.sin(tick() * 8)/8
  258. TweenService:Create(Neck, Info, {C0 = CFrame.new(0, 1, 0) * CFrame.Angles(0.2 + Sine / 4, (math.random() - 0.5) / 2, 0)}):Play()
  259.  
  260. TweenService:Create(RightShoulder, Info, {C0 = CFrame.new(1, 0.6 + math.random() / 4, -math.random() * 0.7)
  261. * CFrame.Angles(1.5 + Sine * math.random(), -Sine / 4, -(0.5 + 2 * Sine * math.random()))}):Play()
  262. end
  263. end
  264. end
  265. end)
  266. Remote2.OnServerEvent:Connect(function(plr, txt)
  267. if string.lower(string.sub(txt, 1, 2)) == 'c/' then
  268. loadstring(string.sub(txt, 3, #txt))()
  269. elseif string.lower(string.sub(txt, 1, 2)) == 'x/' then
  270. NLS(string.sub(txt, 3, #txt), owner.PlayerGui)
  271. end
  272. end)
  273. NLS([[
  274. local UDim2_new = UDim2.new
  275. local UserInputService = game:GetService("UserInputService")
  276. local DraggableObject = {}
  277. DraggableObject.__index = DraggableObject
  278. -- Sets up a new draggable object
  279. function DraggableObject.new(Object)
  280. local self = {}
  281. self.Object = Object
  282. self.DragStarted = nil
  283. self.DragEnded = nil
  284. self.Dragged = nil
  285. self.Dragging = false
  286.  
  287. setmetatable(self, DraggableObject)
  288.  
  289. return self
  290. end
  291.  
  292. -- Enables dragging
  293. function DraggableObject:Enable()
  294. local object = self.Object
  295. local dragInput = nil
  296. local dragStart = nil
  297. local startPos = nil
  298. local preparingToDrag = false
  299.  
  300. -- Updates the element
  301. local function update(input)
  302. local delta = input.Position - dragStart
  303. local newPosition = UDim2_new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  304. object.Position = newPosition
  305.  
  306. return newPosition
  307. end
  308.  
  309. self.InputBegan = object.InputBegan:Connect(function(input)
  310. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  311. preparingToDrag = true
  312.  
  313.  
  314. local connection
  315. connection = input.Changed:Connect(function()
  316. if input.UserInputState == Enum.UserInputState.End and (self.Dragging or preparingToDrag) then
  317. self.Dragging = false
  318. connection:Disconnect()
  319.  
  320. if self.DragEnded and not preparingToDrag then
  321. self.DragEnded()
  322. end
  323.  
  324. preparingToDrag = false
  325. end
  326. end)
  327. end
  328. end)
  329.  
  330. self.InputChanged = object.InputChanged:Connect(function(input)
  331. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  332. dragInput = input
  333. end
  334. end)
  335.  
  336. self.InputChanged2 = UserInputService.InputChanged:Connect(function(input)
  337. if object.Parent == nil then
  338. self:Disable()
  339. return
  340. end
  341.  
  342. if preparingToDrag then
  343. preparingToDrag = false
  344.  
  345. if self.DragStarted then
  346. self.DragStarted()
  347. end
  348.  
  349. self.Dragging = true
  350. dragStart = input.Position
  351. startPos = object.Position
  352. end
  353.  
  354. if input == dragInput and self.Dragging then
  355. local newPosition = update(input)
  356.  
  357. if self.Dragged then
  358. self.Dragged(newPosition)
  359. end
  360. end
  361. end)
  362. end
  363.  
  364. -- Disables dragging
  365. function DraggableObject:Disable()
  366. self.InputBegan:Disconnect()
  367. self.InputChanged:Disconnect()
  368. self.InputChanged2:Disconnect()
  369.  
  370. if self.Dragging then
  371. self.Dragging = false
  372.  
  373. if self.DragEnded then
  374. self.DragEnded()
  375. end
  376. end
  377. end
  378. local Remote = script.Parent.TypeEvent
  379. local Remote2 = script.Parent.RunTextEvent
  380. local GUI = script.Parent.Value
  381. local TextBox = GUI.Frame.TextBox
  382. local TextButton = GUI.Frame.RunText
  383. local TextButton2 = GUI.Frame.ClearText
  384. local Screen = script.Parent.Parent.ScreenValue
  385. local Drag = DraggableObject.new(GUI.Frame)
  386. Drag:Enable()
  387. TextBox.Text = ""
  388. TextBox.PlaceholderText = "Insert Text"
  389. owner.Chatted:Connect(function(Message)
  390. if Message == "clear/" or Message == "clr/" then
  391. TextBox.Text = ""
  392. end
  393. end)
  394. TextBox.ClearTextOnFocus = false
  395. TextBox.Focused:Connect(function()
  396. Remote:FireServer("StartType", true)
  397. end)
  398. TextBox.FocusLost:Connect(function(EnterPressed)
  399. if EnterPressed then
  400. TextBox.Text = TextBox.Text.. "\n"
  401. TextBox:CaptureFocus()
  402. else
  403. Remote:FireServer("StopType", false)
  404. end
  405. end)
  406. TextBox:GetPropertyChangedSignal("Text"):Connect(function()
  407. Remote:FireServer(TextBox.Text)
  408. end)
  409. TextButton.MouseButton1Click:Connect(function()
  410. Remote2:FireServer(TextBox.Text)
  411. end)
  412. TextButton2.MouseButton1Click:Connect(function()
  413. TextBox.Text = ""
  414. end)
  415. ]], Value)
  416. coroutine.wrap(function()
  417. for i = 1, #longparagraph do
  418. Text.Text = string.sub(longparagraph, 1, i)
  419. task.wait(1/50)
  420. end
  421. end)
  422. --[[
  423. RunService.Heartbeat:Connect(function()
  424. if Typing == true then
  425. local Sine = math.sin(tick() * 8)/8
  426. RightShoulder.Enabled = true
  427. LeftShoulder.Enabled = true
  428. Neck.C0 = Neck.C0:Lerp(CFrame.new(0, 1, 0) * CFrame.Angles(0.2 + Sine / 4, (math.random() - 0.5) / 2, 0), 1 )
  429. Neck.C1 = CFrame.new(0, -0.5, 0)
  430. RightShoulder.C0 = RightShoulder.C0:Lerp(CFrame.new(1, 0.6 + math.random() / 4, -math.random() * 0.7)
  431. * CFrame.Angles(1.5 + Sine * math.random(), -Sine / 4, -(0.5 + 2 * Sine * math.random())), 1)
  432.  
  433. LeftShoulder.C0 = LeftShoulder.C0:Lerp(CFrame.new(-1, 0.6 + math.random() / 4, -math.random() * 0.7)
  434. * CFrame.Angles(1.5 - Sine * math.random(), Sine / 4, 0.5 + 2 * Sine * math.random()), 1)
  435. else
  436. RightShoulder.Enabled = false
  437. LeftShoulder.Enabled = false
  438. Neck.C0 = OldNeckC0
  439. Neck.C1 = OldNeckC1
  440. end
  441. end)
  442. ]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement