Inoob8C

Untitled

Apr 6th, 2022
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.11 KB | None | 0 0
  1. --made by ferretboii#2398/catboy19jan2038
  2. -- Gui to Lua
  3. -- Version: 3.2
  4.  
  5. -- Instances:
  6.  
  7. local Template = Instance.new("ScreenGui")
  8. local Frame = Instance.new("Frame")
  9. local Frame_2 = Instance.new("Frame")
  10. local RUN = Instance.new("TextButton")
  11. local ARROW = Instance.new("TextButton")
  12. local NAME = Instance.new("TextButton")
  13.  
  14. --Properties:
  15.  
  16. Template.Name = "Template"
  17. Template.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  18. Template.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  19.  
  20. Frame.Parent = Template
  21. Frame.BackgroundColor3 = Color3.fromRGB(79, 79, 79)
  22. Frame.BorderSizePixel = 0
  23. Frame.Position = UDim2.new(0.0362374708, 0, 0.482208639, 0)
  24. Frame.Size = UDim2.new(0, 174, 0, 28)
  25.  
  26. Frame_2.Parent = Frame
  27. Frame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  28. Frame_2.BorderSizePixel = 0
  29. Frame_2.Position = UDim2.new(0, 0, 1, 0)
  30. Frame_2.Size = UDim2.new(0, 174, 0, 72)
  31.  
  32. RUN.Name = "RUN"
  33. RUN.Parent = Frame_2
  34. RUN.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  35. RUN.BorderColor3 = Color3.fromRGB(255, 255, 0)
  36. RUN.BorderSizePixel = 0
  37. RUN.Position = UDim2.new(0.157653749, 0, 0.222330347, 0)
  38. RUN.Size = UDim2.new(0, 118, 0, 38)
  39. RUN.Font = Enum.Font.PatrickHand
  40. RUN.Text = "Car OFF"
  41. RUN.TextColor3 = Color3.fromRGB(0, 0, 0)
  42. RUN.TextSize = 50.000
  43.  
  44. ARROW.Name = "ARROW"
  45. ARROW.Parent = Frame
  46. ARROW.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  47. ARROW.BackgroundTransparency = 1.000
  48. ARROW.BorderSizePixel = 0
  49. ARROW.Position = UDim2.new(0.834664106, 0, 0, 0)
  50. ARROW.Size = UDim2.new(0, 28, 0, 28)
  51. ARROW.Font = Enum.Font.PatrickHand
  52. ARROW.Text = "X"
  53. ARROW.TextColor3 = Color3.fromRGB(0, 0, 0)
  54. ARROW.TextSize = 30.000
  55.  
  56. NAME.Name = "NAME"
  57. NAME.Parent = Frame
  58. NAME.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  59. NAME.BackgroundTransparency = 1.000
  60. NAME.BorderSizePixel = 0
  61. NAME.Position = UDim2.new(0.369146883, 0, 0, 0)
  62. NAME.Size = UDim2.new(0, 28, 0, 28)
  63. NAME.Font = Enum.Font.PatrickHand
  64. NAME.Text = "Car Script"
  65. NAME.TextColor3 = Color3.fromRGB(0, 0, 0)
  66. NAME.TextSize = 23.000
  67.  
  68. -- Scripts:
  69.  
  70. local function ICEIM_fake_script() -- RUN.LocalScript
  71. local script = Instance.new('LocalScript', RUN)
  72.  
  73. local Toggled = false
  74. local Anim, track, hum
  75.  
  76. Anim = Instance.new("Animation")
  77. Anim.AnimationId = "rbxassetid://179224234"
  78.  
  79. script.Parent.MouseButton1Click:Connect(function()
  80. if not track or hum ~= game.Players.LocalPlayer.Character.Humanoid then
  81. pcall(game.Destroy, track)
  82. track = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  83. hum = game.Players.LocalPlayer.Character.Humanoid
  84. end
  85.  
  86. if Toggled == false then
  87. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 69
  88. script.Parent.Text = "Car ON"
  89. track:Play(.1, 1, 1)
  90. Toggled = true
  91. elseif Toggled == true then
  92. track:Stop()
  93. script.Parent.Text = "Car OFF"
  94. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  95. Toggled = false
  96. end
  97. end)
  98. end
  99. coroutine.wrap(ICEIM_fake_script)()
  100. local function XOEAVM_fake_script() -- RUN.RGB_Script
  101. local script = Instance.new('LocalScript', RUN)
  102.  
  103. -- Made By Auradomix --
  104. -- Visit My Channel On YT and Twitch = @Auradomix
  105.  
  106. -- PUT "RGB_GUI" ON STARTERGUI
  107. -- PUT THIS ON ANY FRAME OR BUTTON OR BOX OR ...
  108. -- ONLY ADAPTED FOR GUI, Please Referance To my Other Model For Brick
  109.  
  110. -- Local Script = Client
  111. -- Script = Server
  112.  
  113. -- For more fast Server Put them as a Local Scrpit for Gui
  114.  
  115. while wait() do
  116. script.Parent.BackgroundColor3 = Color3.new(255/255,0/255,0/255)
  117. for i = 0,255,10 do
  118. wait()
  119. script.Parent.BackgroundColor3 = Color3.new(255/255,i/255,0/255)
  120. end
  121. for i = 255,0,-10 do
  122. wait()
  123. script.Parent.BackgroundColor3 = Color3.new(i/255,255/255,0/255)
  124. end
  125. for i = 0,255,10 do
  126. wait()
  127. script.Parent.BackgroundColor3 = Color3.new(0/255,255/255,i/255)
  128. end
  129. for i = 255,0,-10 do
  130. wait()
  131. script.Parent.BackgroundColor3 = Color3.new(0/255,i/255,255/255)
  132. end
  133. for i = 0,255,10 do
  134. wait()
  135. script.Parent.BackgroundColor3 = Color3.new(i/255,0/255,255/255)
  136. end
  137. for i = 255,0,-10 do
  138. wait()
  139. script.Parent.BackgroundColor3 = Color3.new(255/255,0/255,i/255)
  140. end
  141. end
  142. end
  143. coroutine.wrap(XOEAVM_fake_script)()
  144. local function WMHNT_fake_script() -- Frame.RGB_Script
  145. local script = Instance.new('LocalScript', Frame)
  146.  
  147. -- Made By Auradomix --
  148. -- Visit My Channel On YT and Twitch = @Auradomix
  149.  
  150. -- PUT "RGB_GUI" ON STARTERGUI
  151. -- PUT THIS ON ANY FRAME OR BUTTON OR BOX OR ...
  152. -- ONLY ADAPTED FOR GUI, Please Referance To my Other Model For Brick
  153.  
  154. -- Local Script = Client
  155. -- Script = Server
  156.  
  157. -- For more fast Server Put them as a Local Scrpit for Gui
  158.  
  159. while wait() do
  160. script.Parent.BackgroundColor3 = Color3.new(255/255,0/255,0/255)
  161. for i = 0,255,10 do
  162. wait()
  163. script.Parent.BackgroundColor3 = Color3.new(255/255,i/255,0/255)
  164. end
  165. for i = 255,0,-10 do
  166. wait()
  167. script.Parent.BackgroundColor3 = Color3.new(i/255,255/255,0/255)
  168. end
  169. for i = 0,255,10 do
  170. wait()
  171. script.Parent.BackgroundColor3 = Color3.new(0/255,255/255,i/255)
  172. end
  173. for i = 255,0,-10 do
  174. wait()
  175. script.Parent.BackgroundColor3 = Color3.new(0/255,i/255,255/255)
  176. end
  177. for i = 0,255,10 do
  178. wait()
  179. script.Parent.BackgroundColor3 = Color3.new(i/255,0/255,255/255)
  180. end
  181. for i = 255,0,-10 do
  182. wait()
  183. script.Parent.BackgroundColor3 = Color3.new(255/255,0/255,i/255)
  184. end
  185. end
  186. end
  187. coroutine.wrap(WMHNT_fake_script)()
  188. local function XDCFV_fake_script() -- Frame.Smooth GUI Dragging
  189. local script = Instance.new('LocalScript', Frame)
  190.  
  191. local UserInputService = game:GetService("UserInputService")
  192. local runService = (game:GetService("RunService"));
  193.  
  194. local gui = script.Parent
  195.  
  196. local dragging
  197. local dragInput
  198. local dragStart
  199. local startPos
  200.  
  201. function Lerp(a, b, m)
  202. return a + (b - a) * m
  203. end;
  204.  
  205. local lastMousePos
  206. local lastGoalPos
  207. local DRAG_SPEED = (8); -- // The speed of the UI darg.
  208. function Update(dt)
  209. if not (startPos) then return end;
  210. if not (dragging) and (lastGoalPos) then
  211. 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))
  212. return
  213. end;
  214.  
  215. local delta = (lastMousePos - UserInputService:GetMouseLocation())
  216. local xGoal = (startPos.X.Offset - delta.X);
  217. local yGoal = (startPos.Y.Offset - delta.Y);
  218. lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal)
  219. 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))
  220. end;
  221.  
  222. gui.InputBegan:Connect(function(input)
  223. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  224. dragging = true
  225. dragStart = input.Position
  226. startPos = gui.Position
  227. lastMousePos = UserInputService:GetMouseLocation()
  228.  
  229. input.Changed:Connect(function()
  230. if input.UserInputState == Enum.UserInputState.End then
  231. dragging = false
  232. end
  233. end)
  234. end
  235. end)
  236.  
  237. gui.InputChanged:Connect(function(input)
  238. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  239. dragInput = input
  240. end
  241. end)
  242.  
  243. runService.Heartbeat:Connect(Update)
  244. end
  245. coroutine.wrap(XDCFV_fake_script)()
  246. local function MAOTEA_fake_script() -- ARROW.LocalScript
  247. local script = Instance.new('LocalScript', ARROW)
  248.  
  249. script.Parent.MouseButton1Click:Connect(function()
  250. script.Parent.Parent.Frame.Visible = not script.Parent.Parent.Frame.Visible
  251. end)
  252.  
  253. end
  254. coroutine.wrap(MAOTEA_fake_script)()
  255. local function WZVKWAF_fake_script() -- NAME.LocalScript
  256. local script = Instance.new('LocalScript', NAME)
  257.  
  258. script.Parent.MouseButton1Click:Connect(function()
  259. script.Parent.Parent.Frame.Visible = not script.Parent.Parent.Frame.Visible
  260. end)
  261.  
  262. end
  263. coroutine.wrap(WZVKWAF_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment