Advertisement
scriptingtales

Test Roblox script

Mar 9th, 2024 (edited)
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 24.92 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ChatTroll = Instance.new("ScreenGui")
  7. local Main = Instance.new("Frame")
  8. local UICorner = Instance.new("UICorner")
  9. local Top = Instance.new("Frame")
  10. local UICorner_2 = Instance.new("UICorner")
  11. local Frame = Instance.new("Frame")
  12. local Title = Instance.new("TextLabel")
  13. local Exit = Instance.new("TextButton")
  14. local UICorner_3 = Instance.new("UICorner")
  15. local Credits = Instance.new("TextLabel")
  16. local Chat = Instance.new("Frame")
  17. local UICorner_4 = Instance.new("UICorner")
  18. local Dropdown = Instance.new("Frame")
  19. local Btn = Instance.new("TextButton")
  20. local Title_2 = Instance.new("TextLabel")
  21. local Ico = Instance.new("ImageLabel")
  22. local UICorner_5 = Instance.new("UICorner")
  23. local Value = Instance.new("TextLabel")
  24. local Holder = Instance.new("Frame")
  25. local Layout = Instance.new("UIListLayout")
  26. local Legacy = Instance.new("TextButton")
  27. local UICorner_6 = Instance.new("UICorner")
  28. local UIPadding = Instance.new("UIPadding")
  29. local New = Instance.new("TextButton")
  30. local Real = Instance.new("Frame")
  31. local UICorner_7 = Instance.new("UICorner")
  32. local TextBox = Instance.new("TextBox")
  33. local Fake = Instance.new("Frame")
  34. local UICorner_8 = Instance.new("UICorner")
  35. local TextBox_2 = Instance.new("TextBox")
  36. local Send = Instance.new("Frame")
  37. local Btn_2 = Instance.new("TextButton")
  38. local Circle = Instance.new("ImageLabel")
  39. local UICorner_9 = Instance.new("UICorner")
  40. local Presets = Instance.new("Frame")
  41. local Btn_3 = Instance.new("TextButton")
  42. local Circle_2 = Instance.new("ImageLabel")
  43. local UICorner_10 = Instance.new("UICorner")
  44. local Presets_2 = Instance.new("Frame")
  45. local UICorner_11 = Instance.new("UICorner")
  46. local Top_2 = Instance.new("Frame")
  47. local UICorner_12 = Instance.new("UICorner")
  48. local Frame_2 = Instance.new("Frame")
  49. local Title_3 = Instance.new("TextLabel")
  50. local List = Instance.new("Frame")
  51. local UICorner_13 = Instance.new("UICorner")
  52. local ScrollingFrame = Instance.new("ScrollingFrame")
  53. local UIListLayout = Instance.new("UIListLayout")
  54. local UIPadding_2 = Instance.new("UIPadding")
  55.  
  56. --Properties:
  57.  
  58. ChatTroll.Name = "ChatTroll"
  59. ChatTroll.Parent = owner.PlayerGui
  60. ChatTroll.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  61. ChatTroll.DisplayOrder = 67
  62. ChatTroll.ResetOnSpawn = false
  63.  
  64. Main.Name = "Main"
  65. Main.Parent = ChatTroll
  66. Main.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  67. Main.BorderSizePixel = 0
  68. Main.ClipsDescendants = true
  69. Main.Position = UDim2.new(0.714853048, 0, 0.322327048, 0)
  70. Main.Size = UDim2.new(0, 300, 0, 225)
  71.  
  72. UICorner.CornerRadius = UDim.new(0, 12)
  73. UICorner.Parent = Main
  74.  
  75. Top.Name = "Top"
  76. Top.Parent = Main
  77. Top.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  78. Top.Size = UDim2.new(1, 0, 0, 44)
  79.  
  80. UICorner_2.CornerRadius = UDim.new(0, 12)
  81. UICorner_2.Parent = Top
  82.  
  83. Frame.Parent = Top
  84. Frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  85. Frame.BorderSizePixel = 0
  86. Frame.Position = UDim2.new(0, 0, 1, -16)
  87. Frame.Size = UDim2.new(1, 0, 0, 16)
  88.  
  89. Title.Name = "Title"
  90. Title.Parent = Top
  91. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  92. Title.BackgroundTransparency = 1.000
  93. Title.BorderSizePixel = 0
  94. Title.Position = UDim2.new(0, 16, 0.150000006, 0)
  95. Title.Size = UDim2.new(0, 200, 0.699999988, 0)
  96. Title.Font = Enum.Font.Gotham
  97. Title.Text = "Chat Admin"
  98. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  99. Title.TextScaled = true
  100. Title.TextSize = 14.000
  101. Title.TextWrapped = true
  102. Title.TextXAlignment = Enum.TextXAlignment.Left
  103.  
  104. Exit.Name = "Exit"
  105. Exit.Parent = Top
  106. Exit.BackgroundColor3 = Color3.fromRGB(255, 82, 82)
  107. Exit.BorderSizePixel = 0
  108. Exit.Position = UDim2.new(0, 270, 0.5, -4)
  109. Exit.Size = UDim2.new(0, 8, 0, 8)
  110. Exit.Font = Enum.Font.SourceSans
  111. Exit.Text = ""
  112. Exit.TextColor3 = Color3.fromRGB(0, 0, 0)
  113. Exit.TextSize = 14.000
  114.  
  115. UICorner_3.CornerRadius = UDim.new(0, 64)
  116. UICorner_3.Parent = Exit
  117.  
  118. Credits.Name = "Credits"
  119. Credits.Parent = Main
  120. Credits.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  121. Credits.BackgroundTransparency = 1.000
  122. Credits.BorderSizePixel = 0
  123. Credits.Position = UDim2.new(0, 0, 1, -14)
  124. Credits.Size = UDim2.new(1, 0, 0, 12)
  125. Credits.Font = Enum.Font.Gotham
  126. Credits.Text = "by hovac, v2.0"
  127. Credits.TextColor3 = Color3.fromRGB(170, 170, 170)
  128. Credits.TextScaled = true
  129. Credits.TextSize = 14.000
  130. Credits.TextWrapped = true
  131.  
  132. Chat.Name = "Chat"
  133. Chat.Parent = Main
  134. Chat.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  135. Chat.Position = UDim2.new(0, 16, 0, 54)
  136. Chat.Size = UDim2.new(1, -32, 0, 150)
  137.  
  138. UICorner_4.Parent = Chat
  139.  
  140. Dropdown.Name = "Dropdown"
  141. Dropdown.Parent = Chat
  142. Dropdown.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  143. Dropdown.BackgroundTransparency = 1.000
  144. Dropdown.Position = UDim2.new(0, 8, 0, 8)
  145. Dropdown.Size = UDim2.new(1, -16, 0, 32)
  146. Dropdown.ZIndex = 2
  147.  
  148. Btn.Name = "Btn"
  149. Btn.Parent = Dropdown
  150. Btn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  151. Btn.Size = UDim2.new(1, 0, 0, 24)
  152. Btn.ZIndex = 3
  153. Btn.AutoButtonColor = false
  154. Btn.Font = Enum.Font.SourceSans
  155. Btn.Text = ""
  156. Btn.TextColor3 = Color3.fromRGB(0, 0, 0)
  157. Btn.TextSize = 14.000
  158.  
  159. Title_2.Name = "Title"
  160. Title_2.Parent = Btn
  161. Title_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  162. Title_2.BackgroundTransparency = 1.000
  163. Title_2.Position = UDim2.new(0, 10, 0, 0)
  164. Title_2.Selectable = true
  165. Title_2.Size = UDim2.new(0, 1, 1, 0)
  166. Title_2.ZIndex = 3
  167. Title_2.Font = Enum.Font.Gotham
  168. Title_2.Text = "Chat System"
  169. Title_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  170. Title_2.TextSize = 14.000
  171. Title_2.TextXAlignment = Enum.TextXAlignment.Left
  172.  
  173. Ico.Name = "Ico"
  174. Ico.Parent = Btn
  175. Ico.AnchorPoint = Vector2.new(1, 0.5)
  176. Ico.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  177. Ico.BackgroundTransparency = 1.000
  178. Ico.Position = UDim2.new(1, -10, 0.5, 0)
  179. Ico.Size = UDim2.new(0, 20, 0, 20)
  180. Ico.ZIndex = 3
  181. Ico.Image = "http://www.roblox.com/asset/?id=6034818379"
  182. Ico.ImageTransparency = 0.400
  183.  
  184. UICorner_5.CornerRadius = UDim.new(0, 5)
  185. UICorner_5.Parent = Btn
  186.  
  187. Value.Name = "Value"
  188. Value.Parent = Btn
  189. Value.AnchorPoint = Vector2.new(1, 0.5)
  190. Value.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  191. Value.BackgroundTransparency = 1.000
  192. Value.Position = UDim2.new(1, -35, 0.5, 0)
  193. Value.Selectable = true
  194. Value.Size = UDim2.new(0, 1, 0, 32)
  195. Value.ZIndex = 3
  196. Value.Font = Enum.Font.Gotham
  197. Value.Text = "Dropdown"
  198. Value.TextColor3 = Color3.fromRGB(255, 255, 255)
  199. Value.TextSize = 14.000
  200. Value.TextTransparency = 0.400
  201. Value.TextXAlignment = Enum.TextXAlignment.Right
  202.  
  203. Holder.Name = "Holder"
  204. Holder.Parent = Dropdown
  205. Holder.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  206. Holder.BackgroundTransparency = 1.000
  207. Holder.ClipsDescendants = true
  208. Holder.Position = UDim2.new(0, 0, 0, 19)
  209. Holder.Size = UDim2.new(1, 0, 0, 5)
  210. Holder.ZIndex = 2
  211.  
  212. Layout.Name = "Layout"
  213. Layout.Parent = Holder
  214. Layout.SortOrder = Enum.SortOrder.LayoutOrder
  215.  
  216. Legacy.Name = "Legacy"
  217. Legacy.Parent = Holder
  218. Legacy.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  219. Legacy.BackgroundTransparency = 1.000
  220. Legacy.BorderColor3 = Color3.fromRGB(27, 42, 53)
  221. Legacy.BorderSizePixel = 0
  222. Legacy.Size = UDim2.new(1, 0, 0, 32)
  223. Legacy.ZIndex = 2
  224. Legacy.Font = Enum.Font.Gotham
  225. Legacy.Text = "Legacy"
  226. Legacy.TextColor3 = Color3.fromRGB(255, 255, 255)
  227. Legacy.TextSize = 14.000
  228. Legacy.TextTransparency = 0.400
  229.  
  230. UICorner_6.CornerRadius = UDim.new(0, 5)
  231. UICorner_6.Parent = Holder
  232.  
  233. UIPadding.Parent = Holder
  234. UIPadding.PaddingTop = UDim.new(0, 5)
  235.  
  236. New.Name = "New"
  237. New.Parent = Holder
  238. New.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  239. New.BackgroundTransparency = 1.000
  240. New.BorderColor3 = Color3.fromRGB(27, 42, 53)
  241. New.BorderSizePixel = 0
  242. New.Size = UDim2.new(1, 0, 0, 32)
  243. New.ZIndex = 2
  244. New.Font = Enum.Font.Gotham
  245. New.Text = "New"
  246. New.TextColor3 = Color3.fromRGB(255, 255, 255)
  247. New.TextSize = 14.000
  248. New.TextTransparency = 0.400
  249.  
  250. Real.Name = "Real"
  251. Real.Parent = Chat
  252. Real.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  253. Real.Position = UDim2.new(0, 8, 0, 40)
  254. Real.Size = UDim2.new(1, -16, 0, 24)
  255.  
  256. UICorner_7.CornerRadius = UDim.new(0, 5)
  257. UICorner_7.Parent = Real
  258.  
  259. TextBox.Parent = Real
  260. TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  261. TextBox.BackgroundTransparency = 1.000
  262. TextBox.BorderSizePixel = 0
  263. TextBox.Position = UDim2.new(0, 8, 1, -19)
  264. TextBox.Size = UDim2.new(1, -14, 0, 14)
  265. TextBox.ClearTextOnFocus = false
  266. TextBox.Font = Enum.Font.Gotham
  267. TextBox.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
  268. TextBox.PlaceholderText = "Put your disguise here"
  269. TextBox.Text = ""
  270. TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  271. TextBox.TextSize = 14.000
  272. TextBox.TextWrapped = true
  273. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  274.  
  275. Fake.Name = "Fake"
  276. Fake.Parent = Chat
  277. Fake.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  278. Fake.Position = UDim2.new(0, 8, 0, 71)
  279. Fake.Size = UDim2.new(1, -16, 0, 24)
  280.  
  281. UICorner_8.CornerRadius = UDim.new(0, 5)
  282. UICorner_8.Parent = Fake
  283.  
  284. TextBox_2.Parent = Fake
  285. TextBox_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  286. TextBox_2.BackgroundTransparency = 1.000
  287. TextBox_2.BorderSizePixel = 0
  288. TextBox_2.Position = UDim2.new(0, 8, 1, -19)
  289. TextBox_2.Size = UDim2.new(1, -16, 0, 14)
  290. TextBox_2.ClearTextOnFocus = false
  291. TextBox_2.Font = Enum.Font.Gotham
  292. TextBox_2.MultiLine = true
  293. TextBox_2.PlaceholderText = "Put the \"fake\" message here"
  294. TextBox_2.Text = ""
  295. TextBox_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  296. TextBox_2.TextScaled = true
  297. TextBox_2.TextSize = 14.000
  298. TextBox_2.TextWrapped = true
  299. TextBox_2.TextXAlignment = Enum.TextXAlignment.Left
  300.  
  301. Send.Name = "Send"
  302. Send.Parent = Chat
  303. Send.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  304. Send.BorderSizePixel = 0
  305. Send.Position = UDim2.new(0, 8, 0, 110)
  306. Send.Size = UDim2.new(0.694029868, -16, 0, 32)
  307.  
  308. Btn_2.Name = "Btn"
  309. Btn_2.Parent = Send
  310. Btn_2.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  311. Btn_2.BackgroundTransparency = 1.000
  312. Btn_2.Size = UDim2.new(1, 0, 1, 0)
  313. Btn_2.Font = Enum.Font.Gotham
  314. Btn_2.Text = "Send"
  315. Btn_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  316. Btn_2.TextSize = 14.000
  317.  
  318.  
  319.  
  320. UICorner_9.CornerRadius = UDim.new(0, 5)
  321. UICorner_9.Parent = Send
  322.  
  323. Presets.Name = "Presets"
  324. Presets.Parent = Chat
  325. Presets.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  326. Presets.BorderSizePixel = 0
  327. Presets.Position = UDim2.new(0, 185, 0, 110)
  328. Presets.Size = UDim2.new(0.339552253, -16, 0, 32)
  329.  
  330. Btn_3.Name = "Btn"
  331. Btn_3.Parent = Presets
  332. Btn_3.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  333. Btn_3.BackgroundTransparency = 1.000
  334. Btn_3.Size = UDim2.new(1, 0, 1, 0)
  335. Btn_3.Font = Enum.Font.Gotham
  336. Btn_3.Text = "Presets"
  337. Btn_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  338. Btn_3.TextSize = 14.000
  339.  
  340. UICorner_10.CornerRadius = UDim.new(0, 5)
  341. UICorner_10.Parent = Presets
  342.  
  343. Presets_2.Name = "Presets"
  344. Presets_2.Parent = ChatTroll
  345. Presets_2.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  346. Presets_2.BorderSizePixel = 0
  347. Presets_2.ClipsDescendants = true
  348. Presets_2.Position = UDim2.new(0.0452739783, 0, 0.322327048, 0)
  349. Presets_2.Size = UDim2.new(0, 174, 0, 225)
  350.  
  351. UICorner_11.CornerRadius = UDim.new(0, 12)
  352. UICorner_11.Parent = Presets_2
  353.  
  354. Top_2.Name = "Top"
  355. Top_2.Parent = Presets_2
  356. Top_2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  357. Top_2.Size = UDim2.new(1, 0, 0, 44)
  358.  
  359. UICorner_12.CornerRadius = UDim.new(0, 12)
  360. UICorner_12.Parent = Top_2
  361.  
  362. Frame_2.Parent = Top_2
  363. Frame_2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  364. Frame_2.BorderSizePixel = 0
  365. Frame_2.Position = UDim2.new(0, 0, 1, -16)
  366. Frame_2.Size = UDim2.new(1, 0, 0, 16)
  367.  
  368. Title_3.Name = "Title"
  369. Title_3.Parent = Top_2
  370. Title_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  371. Title_3.BackgroundTransparency = 1.000
  372. Title_3.BorderSizePixel = 0
  373. Title_3.Position = UDim2.new(0, 16, 0.150000006, 0)
  374. Title_3.Size = UDim2.new(0, 200, 0.699999988, 0)
  375. Title_3.Font = Enum.Font.Gotham
  376. Title_3.Text = "Presets"
  377. Title_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  378. Title_3.TextScaled = true
  379. Title_3.TextSize = 14.000
  380. Title_3.TextWrapped = true
  381. Title_3.TextXAlignment = Enum.TextXAlignment.Left
  382.  
  383. List.Name = "List"
  384. List.Parent = Presets_2
  385. List.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  386. List.Position = UDim2.new(0, 16, 0, 58)
  387. List.Size = UDim2.new(1, -32, 0, 150)
  388.  
  389. UICorner_13.Parent = List
  390.  
  391. ScrollingFrame.Parent = List
  392. ScrollingFrame.Active = true
  393. ScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  394. ScrollingFrame.BackgroundTransparency = 1.000
  395. ScrollingFrame.BorderSizePixel = 0
  396. ScrollingFrame.Size = UDim2.new(1, -4, 1, 0)
  397. ScrollingFrame.ScrollBarThickness = 6
  398.  
  399. UIListLayout.Parent = ScrollingFrame
  400. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  401. UIListLayout.Padding = UDim.new(0, 5)
  402.  
  403. UIPadding_2.Parent = ScrollingFrame
  404. UIPadding_2.PaddingTop = UDim.new(0, 5)
  405.  
  406. -- Scripts:
  407.  
  408. local function UPRZQSQ_fake_script() -- Main.Smooth
  409.     local script = Instance.new('LocalScript', Main)
  410.  
  411.     local UserInputService = game:GetService("UserInputService")
  412.     local runService = (game:GetService("RunService"));
  413.  
  414.     local gui = script.Parent
  415.  
  416.     local dragging
  417.     local dragInput
  418.     local dragStart
  419.     local startPos
  420.  
  421.     function Lerp(a, b, m)
  422.         return a + (b - a) * m
  423.     end;
  424.  
  425.     local lastMousePos
  426.     local lastGoalPos
  427.     local DRAG_SPEED = (8); -- // The speed of the UI darg.
  428.     function Update(dt)
  429.         if not (startPos) then return end;
  430.         if not (dragging) and (lastGoalPos) then
  431.             gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED))
  432.             return
  433.         end;
  434.  
  435.         local delta = (lastMousePos - UserInputService:GetMouseLocation())
  436.         local xGoal = (startPos.X.Offset - delta.X);
  437.         local yGoal = (startPos.Y.Offset - delta.Y);
  438.         lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal)
  439.         gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED))
  440.     end;
  441.  
  442.     gui.InputBegan:Connect(function(input)
  443.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  444.             dragging = true
  445.             dragStart = input.Position
  446.             startPos = gui.Position
  447.             lastMousePos = UserInputService:GetMouseLocation()
  448.  
  449.             input.Changed:Connect(function()
  450.                 if input.UserInputState == Enum.UserInputState.End then
  451.                     dragging = false
  452.                 end
  453.             end)
  454.         end
  455.     end)
  456.  
  457.     gui.InputChanged:Connect(function(input)
  458.         if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  459.             dragInput = input
  460.         end
  461.     end)
  462.  
  463.     runService.Heartbeat:Connect(Update)
  464. end
  465. coroutine.wrap(UPRZQSQ_fake_script)()
  466. local function UNWSZB_fake_script() -- Exit.Close
  467.     local script = Instance.new('LocalScript', Exit)
  468.  
  469.     local v = false
  470.     script.Parent.MouseButton1Down:Connect(function()
  471.         if v == true then
  472.             return
  473.         end
  474.         v = true
  475.         script.Parent.Parent.Parent:TweenPosition(UDim2.new(.2,0,-1,-36))
  476.         wait(1)
  477.         script.Parent.Parent.Parent.Parent:Destroy()
  478.     end)
  479. end
  480. coroutine.wrap(UNWSZB_fake_script)()
  481. local function RCEU_fake_script() -- Btn_2.Ripple
  482.     local script = Instance.new('LocalScript', Btn_2)
  483.  
  484.     local Mouse = game.Players.LocalPlayer:GetMouse()
  485.     local function CircleClick(Button, X, Y)
  486.         coroutine.resume(coroutine.create(function()
  487.  
  488.             Button.ClipsDescendants = true
  489.  
  490.             local Circle = script:WaitForChild("Circle"):Clone()
  491.             Circle.Parent = Button
  492.             local NewX = X - Circle.AbsolutePosition.X
  493.             local NewY = Y - Circle.AbsolutePosition.Y
  494.             Circle.Position = UDim2.new(0, NewX, 0, NewY)
  495.  
  496.             local Size = 0
  497.             if Button.AbsoluteSize.X > Button.AbsoluteSize.Y then
  498.                 Size = Button.AbsoluteSize.X*1.5
  499.             elseif Button.AbsoluteSize.X < Button.AbsoluteSize.Y then
  500.                 Size = Button.AbsoluteSize.Y*1.5
  501.             elseif Button.AbsoluteSize.X == Button.AbsoluteSize.Y then                                                                                                      Size = Button.AbsoluteSize.X*1.5
  502.             end
  503.  
  504.             local Time = 0.5
  505.             Circle:TweenSizeAndPosition(UDim2.new(0, Size, 0, Size), UDim2.new(0.5, -Size/2, 0.5, -Size/2), "Out", "Quad", Time, false, nil)
  506.             for i=0.8,1,0.01 do
  507.                 Circle.ImageTransparency = i
  508.                 wait(Time/10)
  509.             end
  510.             Circle:Destroy()
  511.  
  512.         end))
  513.     end
  514.  
  515.     script.Parent.MouseButton1Down:connect(function()
  516.         CircleClick(script.Parent, Mouse.X, Mouse.Y)
  517.     end)
  518.  
  519.  
  520.  
  521. end
  522. coroutine.wrap(RCEU_fake_script)()
  523. local function NIACXMB_fake_script() -- Chat.Manager
  524.     local script = Instance.new('LocalScript', Chat)
  525.  
  526.     local r
  527.     local function s(v)
  528.         script.Parent.Dropdown.Btn.Value.Text = v.Text
  529.         r = v.Name
  530.         if r == "Legacy" then
  531.             script.Parent.Fake.TextBox.MultiLine = false
  532.         elseif r == "New" then
  533.             script.Parent.Fake.TextBox.MultiLine = true
  534.         end
  535.     end
  536.  
  537.     if game:GetService("TextChatService").ChatVersion == Enum.ChatVersion.TextChatService then
  538.         s(script.Parent.Dropdown.Holder.New)
  539.     else
  540.         s(script.Parent.Dropdown.Holder.Legacy)
  541.     end
  542.  
  543.     local enabled = false
  544.     local enabling = false
  545.     script.Parent.Dropdown.Btn.MouseButton1Down:Connect(function()
  546.         if enabling == true then
  547.             return
  548.         end
  549.         enabling = true
  550.         if enabled == false then
  551.             script.Parent.Dropdown.Holder.Transparency = 0
  552.             coroutine.wrap(function()
  553.                 for i = 0, 180, 10 do
  554.                     script.Parent.Dropdown.Btn.Ico.Rotation = i
  555.                     wait()
  556.                 end
  557.             end)()
  558.             local u = 0
  559.             for i,v in pairs(script.Parent.Dropdown.Holder:GetChildren()) do
  560.                 if v:IsA("TextButton") then
  561.                     u = u + 1
  562.                 end
  563.             end
  564.             script.Parent.Dropdown.Holder:TweenSize(UDim2.new(1,0,0,10+(32*u)))
  565.             wait(1)
  566.         else
  567.             coroutine.wrap(function()
  568.                 for i = 180, 0, -10 do
  569.                     script.Parent.Dropdown.Btn.Ico.Rotation = i
  570.                     wait()
  571.                 end
  572.             end)()
  573.             script.Parent.Dropdown.Holder:TweenSize(UDim2.new(1,0,0,5))
  574.             wait(1)
  575.             script.Parent.Dropdown.Holder.Transparency = 1
  576.         end
  577.         enabled = not enabled
  578.  
  579.         enabling = false
  580.     end)
  581.     for i,v in pairs(script.Parent.Dropdown.Holder:GetChildren()) do
  582.         if v:IsA("TextButton") then
  583.             v.MouseButton1Down:Connect(function()
  584.                 s(v)
  585.             end)
  586.         end
  587.     end
  588.  
  589.     script.Parent.Send.Btn.MouseButton1Down:Connect(function()
  590.         local real = script.Parent.Real.TextBox.Text
  591.         local fake = script.Parent.Fake.TextBox.Text
  592.         if r == "New" then
  593.             fake = string.gsub(fake, "\n", "\r")
  594.             game:GetService("TextChatService").TextChannels.RBXGeneral:SendAsync(real..'\r'..fake)
  595.         elseif r == "Legacy" then
  596.             game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(real..string.sub("                                                                                                                                                           ",#real)..fake,"All")
  597.         end
  598.     end)
  599.  
  600.     script.Parent.Parent.Parent.Presets.Visible = false
  601.     script.Parent.Presets.Btn.MouseButton1Down:Connect(function()
  602.         script.Parent.Parent.Parent.Presets.Visible = not script.Parent.Parent.Parent.Presets.Visible
  603.     end)
  604. end
  605.  
  606. coroutine.wrap(NIACXMB_fake_script)()
  607. local function KMAJZP_fake_script() -- Btn_3.Ripple
  608.     local script = Instance.new('LocalScript', Btn_3)
  609.  
  610.     local Mouse = game.Players.LocalPlayer:GetMouse()
  611.     local function CircleClick(Button, X, Y)
  612.         coroutine.resume(coroutine.create(function()
  613.  
  614.             Button.ClipsDescendants = true
  615.  
  616.             local Circle = script:WaitForChild("Circle"):Clone()
  617.             Circle.Parent = Button
  618.             local NewX = X - Circle.AbsolutePosition.X
  619.             local NewY = Y - Circle.AbsolutePosition.Y
  620.             Circle.Position = UDim2.new(0, NewX, 0, NewY)
  621.  
  622.             local Size = 0
  623.             if Button.AbsoluteSize.X > Button.AbsoluteSize.Y then
  624.                 Size = Button.AbsoluteSize.X*1.5
  625.             elseif Button.AbsoluteSize.X < Button.AbsoluteSize.Y then
  626.                 Size = Button.AbsoluteSize.Y*1.5
  627.             elseif Button.AbsoluteSize.X == Button.AbsoluteSize.Y then                                                                                                      Size = Button.AbsoluteSize.X*1.5
  628.             end
  629.  
  630.             local Time = 0.5
  631.             Circle:TweenSizeAndPosition(UDim2.new(0, Size, 0, Size), UDim2.new(0.5, -Size/2, 0.5, -Size/2), "Out", "Quad", Time, false, nil)
  632.             for i=0.8,1,0.01 do
  633.                 Circle.ImageTransparency = i
  634.                 wait(Time/10)
  635.             end
  636.             Circle:Destroy()
  637.  
  638.         end))
  639.     end
  640.  
  641.     script.Parent.MouseButton1Down:connect(function()
  642.         CircleClick(script.Parent, Mouse.X, Mouse.Y)
  643.     end)
  644.  
  645.  
  646.  
  647. end
  648. coroutine.wrap(KMAJZP_fake_script)()
  649. local function XCOYQZF_fake_script() -- Presets_2.Smooth
  650.     local script = Instance.new('LocalScript', Presets_2)
  651.  
  652.     local UserInputService = game:GetService("UserInputService")
  653.     local runService = (game:GetService("RunService"));
  654.  
  655.     local gui = script.Parent
  656.  
  657.     local dragging
  658.     local dragInput
  659.     local dragStart
  660.     local startPos
  661.  
  662.     function Lerp(a, b, m)
  663.         return a + (b - a) * m
  664.     end;
  665.  
  666.     local lastMousePos
  667.     local lastGoalPos
  668.     local DRAG_SPEED = (8); -- // The speed of the UI darg.
  669.     function Update(dt)
  670.         if not (startPos) then return end;
  671.         if not (dragging) and (lastGoalPos) then
  672.             gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED))
  673.             return
  674.         end;
  675.  
  676.         local delta = (lastMousePos - UserInputService:GetMouseLocation())
  677.         local xGoal = (startPos.X.Offset - delta.X);
  678.         local yGoal = (startPos.Y.Offset - delta.Y);
  679.         lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal)
  680.         gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED))
  681.     end;
  682.  
  683.     gui.InputBegan:Connect(function(input)
  684.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  685.             dragging = true
  686.             dragStart = input.Position
  687.             startPos = gui.Position
  688.             lastMousePos = UserInputService:GetMouseLocation()
  689.  
  690.             input.Changed:Connect(function()
  691.                 if input.UserInputState == Enum.UserInputState.End then
  692.                     dragging = false
  693.                 end
  694.             end)
  695.         end
  696.     end)
  697.  
  698.     gui.InputChanged:Connect(function(input)
  699.         if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  700.             dragInput = input
  701.         end
  702.     end)
  703.  
  704.     runService.Heartbeat:Connect(Update)
  705. end
  706. coroutine.wrap(XCOYQZF_fake_script)()
  707.  
  708. Circle.Name = "Circle"
  709. Circle.Parent = Btn_3:WaitForChild("LocalScript")
  710. Circle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  711. Circle.BackgroundTransparency = 1.000
  712. Circle.ZIndex = 10
  713. Circle.Image = "rbxassetid://266543268"
  714. Circle.ImageColor3 = Color3.fromRGB(0, 0, 0)
  715. Circle.ImageTransparency = 0.800
  716.  
  717. Circle_2.Name = "Circle"
  718. Circle_2.Parent = Btn_2:WaitForChild("LocalScript")
  719. Circle_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  720. Circle_2.BackgroundTransparency = 1.000
  721. Circle_2.ZIndex = 10
  722. Circle_2.Image = "rbxassetid://266543268"
  723. Circle_2.ImageColor3 = Color3.fromRGB(0, 0, 0)
  724. Circle_2.ImageTransparency = 0.800
  725.  
  726. -- PRESETS
  727.  
  728. local TextButton = Instance.new("TextButton")
  729. TextButton.Parent = ScrollingFrame
  730. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  731. TextButton.BackgroundTransparency = 1.000
  732. TextButton.BorderSizePixel = 0
  733. TextButton.Size = UDim2.new(1, -10, 0, 12)
  734. TextButton.Font = Enum.Font.Gotham
  735. TextButton.Text = "Fake admin all"
  736. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  737. TextButton.TextScaled = true
  738. TextButton.TextSize = 14.000
  739. TextButton.TextWrapped = true
  740. TextButton.MouseButton1Down:Connect(function()
  741.     Real.TextBox.Text = ";admin all"
  742.     Fake.TextBox.Text = "{Team} You are now on the 'Admins' team."
  743. end)
  744.  
  745. local TextButton = Instance.new("TextButton")
  746. TextButton.Parent = ScrollingFrame
  747. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  748. TextButton.BackgroundTransparency = 1.000
  749. TextButton.BorderSizePixel = 0
  750. TextButton.Size = UDim2.new(1, -10, 0, 12)
  751. TextButton.Font = Enum.Font.Gotham
  752. TextButton.Text = "Fake shutdown"
  753. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  754. TextButton.TextScaled = true
  755. TextButton.TextSize = 14.000
  756. TextButton.TextWrapped = true
  757. TextButton.MouseButton1Down:Connect(function()
  758.     Real.TextBox.Text = ";shutdown"
  759.     Fake.TextBox.Text = "[Server]: Shutting down in 60 seconds"
  760. end)
  761.  
  762. local TextButton = Instance.new("TextButton")
  763. TextButton.Parent = ScrollingFrame
  764. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  765. TextButton.BackgroundTransparency = 1.000
  766. TextButton.BorderSizePixel = 0
  767. TextButton.Size = UDim2.new(1, -10, 0, 12)
  768. TextButton.Font = Enum.Font.Gotham
  769. TextButton.Text = "Team join"
  770. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  771. TextButton.TextScaled = true
  772. TextButton.TextSize = 14.000
  773. TextButton.TextWrapped = true
  774. TextButton.MouseButton1Down:Connect(function()
  775.     Real.TextBox.Text = ""
  776.     Fake.TextBox.Text = "{Team} You are now on the 'put anything here' team."
  777. end)
  778.  
  779. local TextButton = Instance.new("TextButton")
  780. TextButton.Parent = ScrollingFrame
  781. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  782. TextButton.BackgroundTransparency = 1.000
  783. TextButton.BorderSizePixel = 0
  784. TextButton.Size = UDim2.new(1, -10, 0, 12)
  785. TextButton.Font = Enum.Font.Gotham
  786. TextButton.Text = "System message"
  787. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  788. TextButton.TextScaled = true
  789. TextButton.TextSize = 14.000
  790. TextButton.TextWrapped = true
  791. TextButton.MouseButton1Down:Connect(function()
  792.     Real.TextBox.Text = ""
  793.     Fake.TextBox.Text = "[Server]: "
  794. end)
  795.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement