olivia1246

Roblox Twerk FE Gui Script (R15)

Jan 9th, 2025 (edited)
7,937
2
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.48 KB | Gaming | 2 0
  1. -- run in executor using loadstring(game:HttpGet("https://pastebin.com/raw/46yzqpCs"))()
  2.  
  3. --[=[
  4. d888b db db d888888b .d888b. db db db .d8b.
  5. 88' Y8b 88 88 `88' VP `8D 88 88 88 d8' `8b
  6. 88 88 88 88 odD' 88 88 88 88ooo88
  7. 88 ooo 88 88 88 .88' 88 88 88 88~~~88
  8. 88. ~8~ 88b d88 .88. j88. 88booo. 88b d88 88 88 @uniquadev
  9. Y888P ~Y8888P' Y888888P 888888D Y88888P ~Y8888P' YP YP CONVERTER
  10. ]=]
  11.  
  12. -- Instances: 20 | Scripts: 3 | Modules: 0 | Tags: 0
  13. local G2L = {};
  14.  
  15. local function setupGui(player)
  16. -- StarterGui.TwerkFEGui
  17. G2L["1"] = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"));
  18. G2L["1"]["Name"] = [[TwerkFEGui]];
  19. G2L["1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
  20.  
  21.  
  22. -- StarterGui.TwerkFEGui.Frame
  23. G2L["2"] = Instance.new("Frame", G2L["1"]);
  24. G2L["2"]["BackgroundColor3"] = Color3.fromRGB(142, 143, 144);
  25. G2L["2"]["Size"] = UDim2.new(0.43669, 0, 0.2067, 0);
  26. G2L["2"]["Position"] = UDim2.new(0.024, 0, 0.776, 0);
  27. G2L["2"]["BorderColor3"] = Color3.fromRGB(28, 43, 54);
  28.  
  29.  
  30. -- StarterGui.TwerkFEGui.Frame.NameGUI
  31. G2L["3"] = Instance.new("TextLabel", G2L["2"]);
  32. G2L["3"]["TextWrapped"] = true;
  33. G2L["3"]["TextSize"] = 14;
  34. G2L["3"]["TextScaled"] = true;
  35. G2L["3"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  36. G2L["3"]["FontFace"] = Font.new([[rbxasset://fonts/families/ComicNeueAngular.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
  37. G2L["3"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  38. G2L["3"]["BackgroundTransparency"] = 1;
  39. G2L["3"]["Size"] = UDim2.new(1, 0, 0.21834, 0);
  40. G2L["3"]["BorderColor3"] = Color3.fromRGB(28, 43, 54);
  41. G2L["3"]["Text"] = [[Twerk R15 GUI]];
  42. G2L["3"]["Name"] = [[NameGUI]];
  43. G2L["3"]["Position"] = UDim2.new(0, 0, -0.00137, 0);
  44.  
  45.  
  46. -- StarterGui.TwerkFEGui.Frame.NameGUI.UICorner
  47. G2L["4"] = Instance.new("UICorner", G2L["3"]);
  48. G2L["4"]["CornerRadius"] = UDim.new(0.2, 0);
  49.  
  50.  
  51. -- StarterGui.TwerkFEGui.Frame.NameGUI.UIAspectRatioConstraint
  52. G2L["5"] = Instance.new("UIAspectRatioConstraint", G2L["3"]);
  53. G2L["5"]["AspectRatio"] = 9.2;
  54.  
  55.  
  56. -- StarterGui.TwerkFEGui.Frame.NameGUI.UITextSizeConstraint
  57. G2L["6"] = Instance.new("UITextSizeConstraint", G2L["3"]);
  58. G2L["6"]["MaxTextSize"] = 49;
  59.  
  60.  
  61. -- StarterGui.TwerkFEGui.Frame.NameGUI.Rainbower
  62. G2L["7"] = Instance.new("LocalScript", G2L["3"]);
  63. G2L["7"]["Name"] = [[Rainbower]];
  64.  
  65.  
  66. -- StarterGui.TwerkFEGui.Frame.TwerkButton
  67. G2L["8"] = Instance.new("TextButton", G2L["2"]);
  68. G2L["8"]["TextWrapped"] = true;
  69. G2L["8"]["TextColor3"] = Color3.fromRGB(0, 0, 0);
  70. G2L["8"]["TextSize"] = 14;
  71. G2L["8"]["TextScaled"] = true;
  72. G2L["8"]["BackgroundColor3"] = Color3.fromRGB(209, 212, 212);
  73. G2L["8"]["FontFace"] = Font.new([[rbxasset://fonts/families/ComicNeueAngular.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
  74. G2L["8"]["Size"] = UDim2.new(0.43478, 0, 0.21834, 0);
  75. G2L["8"]["Name"] = [[TwerkButton]];
  76. G2L["8"]["BorderColor3"] = Color3.fromRGB(28, 43, 54);
  77. G2L["8"]["Text"] = [[Twerk]];
  78. G2L["8"]["Position"] = UDim2.new(0.28261, 0, 0.7194, 0);
  79.  
  80.  
  81. -- StarterGui.TwerkFEGui.Frame.TwerkButton.Twerk
  82. G2L["9"] = Instance.new("LocalScript", G2L["8"]);
  83. G2L["9"]["Name"] = [[Twerk]];
  84.  
  85.  
  86. -- StarterGui.TwerkFEGui.Frame.TwerkButton.UICorner
  87. G2L["a"] = Instance.new("UICorner", G2L["8"]);
  88. G2L["a"]["CornerRadius"] = UDim.new(0.2, 0);
  89.  
  90.  
  91. -- StarterGui.TwerkFEGui.Frame.TwerkButton.UIAspectRatioConstraint
  92. G2L["b"] = Instance.new("UIAspectRatioConstraint", G2L["8"]);
  93. G2L["b"]["AspectRatio"] = 4;
  94.  
  95.  
  96. -- StarterGui.TwerkFEGui.Frame.TwerkButton.UITextSizeConstraint
  97. G2L["c"] = Instance.new("UITextSizeConstraint", G2L["8"]);
  98. G2L["c"]["MaxTextSize"] = 49;
  99.  
  100.  
  101. -- StarterGui.TwerkFEGui.Frame.Drag
  102. G2L["d"] = Instance.new("LocalScript", G2L["2"]);
  103. G2L["d"]["Name"] = [[Drag]];
  104.  
  105.  
  106. -- StarterGui.TwerkFEGui.Frame.UIGradient
  107. G2L["e"] = Instance.new("UIGradient", G2L["2"]);
  108. G2L["e"]["Rotation"] = 90;
  109. G2L["e"]["Color"] = ColorSequence.new{ColorSequenceKeypoint.new(0.000, Color3.fromRGB(255, 255, 255)),ColorSequenceKeypoint.new(0.350, Color3.fromRGB(198, 137, 255)),ColorSequenceKeypoint.new(0.425, Color3.fromRGB(252, 255, 255)),ColorSequenceKeypoint.new(0.498, Color3.fromRGB(162, 72, 243)),ColorSequenceKeypoint.new(0.575, Color3.fromRGB(238, 241, 255)),ColorSequenceKeypoint.new(0.650, Color3.fromRGB(200, 141, 254)),ColorSequenceKeypoint.new(1.000, Color3.fromRGB(255, 255, 255))};
  110.  
  111.  
  112. -- StarterGui.TwerkFEGui.Frame.UICorner
  113. G2L["f"] = Instance.new("UICorner", G2L["2"]);
  114. G2L["f"]["CornerRadius"] = UDim.new(0.2, 0);
  115.  
  116.  
  117. -- StarterGui.TwerkFEGui.Frame.UIAspectRatioConstraint
  118. G2L["10"] = Instance.new("UIAspectRatioConstraint", G2L["2"]);
  119. G2L["10"]["AspectRatio"] = 2.00873;
  120.  
  121.  
  122. -- StarterGui.TwerkFEGui.Frame.animationSpeedText
  123. G2L["11"] = Instance.new("TextBox", G2L["2"]);
  124. G2L["11"]["Name"] = [[animationSpeedText]];
  125. G2L["11"]["PlaceholderColor3"] = Color3.fromRGB(179, 179, 179);
  126. G2L["11"]["TextWrapped"] = true;
  127. G2L["11"]["TextSize"] = 14;
  128. G2L["11"]["TextColor3"] = Color3.fromRGB(0, 0, 0);
  129. G2L["11"]["TextScaled"] = true;
  130. G2L["11"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  131. G2L["11"]["FontFace"] = Font.new([[rbxasset://fonts/families/ComicNeueAngular.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
  132. G2L["11"]["PlaceholderText"] = [[olivia was here... :p]];
  133. G2L["11"]["Size"] = UDim2.new(1, 0, 0.21834, 0);
  134. G2L["11"]["Position"] = UDim2.new(0, 0, 0.3827, 0);
  135. G2L["11"]["BorderColor3"] = Color3.fromRGB(28, 43, 54);
  136. G2L["11"]["Text"] = [[]];
  137.  
  138.  
  139. -- StarterGui.TwerkFEGui.Frame.animationSpeedText.UICorner
  140. G2L["12"] = Instance.new("UICorner", G2L["11"]);
  141. G2L["12"]["CornerRadius"] = UDim.new(0.2, 0);
  142.  
  143.  
  144. -- StarterGui.TwerkFEGui.Frame.animationSpeedText.UIAspectRatioConstraint
  145. G2L["13"] = Instance.new("UIAspectRatioConstraint", G2L["11"]);
  146. G2L["13"]["AspectRatio"] = 9.2;
  147.  
  148.  
  149. -- StarterGui.TwerkFEGui.Frame.animationSpeedText.UITextSizeConstraint
  150. G2L["14"] = Instance.new("UITextSizeConstraint", G2L["11"]);
  151. G2L["14"]["MaxTextSize"] = 49;
  152.  
  153.  
  154. -- StarterGui.TwerkFEGui.Frame.NameGUI.Rainbower
  155. local function C_7()
  156. local script = G2L["7"];
  157. while wait() do
  158. script.Parent.TextColor3 = Color3.new(1,0,0)
  159. for i=1,15 do
  160. game:GetService("RunService").RenderStepped:wait()
  161. script.Parent.TextColor3 = Color3.new(script.Parent.TextColor3.r,script.Parent.TextColor3.g+(17/255),script.Parent.TextColor3.b)
  162. end
  163. for i=1,15 do
  164. game:GetService("RunService").RenderStepped:wait()
  165. script.Parent.TextColor3 = Color3.new(script.Parent.TextColor3.r-(17/255),script.Parent.TextColor3.g,script.Parent.TextColor3.b)
  166. end
  167. for i=1,15 do
  168. game:GetService("RunService").RenderStepped:wait()
  169. script.Parent.TextColor3 = Color3.new(script.Parent.TextColor3.r,script.Parent.TextColor3.g,script.Parent.TextColor3.b+(17/255))
  170. end
  171. for i=1,15 do
  172. game:GetService("RunService").RenderStepped:wait()
  173. script.Parent.TextColor3 = Color3.new(script.Parent.TextColor3.r,script.Parent.TextColor3.g-(17/255),script.Parent.TextColor3.b)
  174. end
  175. for i=1,15 do
  176. game:GetService("RunService").RenderStepped:wait()
  177. script.Parent.TextColor3 = Color3.new(script.Parent.TextColor3.r+(17/255),script.Parent.TextColor3.g,script.Parent.TextColor3.b)
  178. end
  179. for i=1,15 do
  180. game:GetService("RunService").RenderStepped:wait()
  181. script.Parent.TextColor3 = Color3.new(script.Parent.TextColor3.r,script.Parent.TextColor3.g,script.Parent.TextColor3.b-(17/255))
  182. end
  183. end
  184. end;
  185. task.spawn(C_7);
  186. -- StarterGui.TwerkFEGui.Frame.TwerkButton.Twerk
  187. local function C_9()
  188. local script = G2L["9"];
  189. local Button = script.Parent
  190. local Frame = Button.Parent
  191. local textBox = Frame:WaitForChild("animationSpeedText")
  192.  
  193. local player = game.Players.LocalPlayer
  194. local character = player.Character or player.CharacterAdded:Wait()
  195. local humanoid = character:WaitForChild("Humanoid")
  196. local RunService = game:GetService("RunService")
  197.  
  198. Button.MouseButton1Click:Connect(function()
  199. if textBox.Text ~= "" then -- Fixed the syntax here from =~ to ~=
  200. local speed = tonumber(textBox.Text) or 1.5 -- Convert text to number, default to 1.5 if invalid
  201.  
  202. -- Animation setup
  203. local animation = Instance.new("Animation")
  204. animation.AnimationId = "rbxassetid://12874447851"
  205. local animTrack = humanoid:LoadAnimation(animation)
  206.  
  207. -- Define start and end times
  208. local startTime = 3.90
  209. local endTime = 5.10
  210. local isReverse = false
  211. local isPlaying = false
  212.  
  213. -- Function to handle animation playback
  214. local function updateAnimation()
  215. if not isPlaying then
  216. isPlaying = true
  217. animTrack:Stop()
  218.  
  219. -- Use the speed from textbox
  220. if not isReverse then
  221. animTrack:Play(0.0, 1, speed) -- Use textbox speed
  222. animTrack.TimePosition = startTime
  223. else
  224. animTrack:Play(0.0, 1, -speed) -- Use negative textbox speed for reverse
  225. animTrack.TimePosition = endTime
  226. end
  227. end
  228.  
  229. local currentTime = animTrack.TimePosition
  230.  
  231. if not isReverse and currentTime >= endTime then
  232. isReverse = true
  233. isPlaying = false
  234. elseif isReverse and currentTime <= startTime then
  235. isReverse = false
  236. isPlaying = false
  237. end
  238. end
  239.  
  240. -- Connect to RunService
  241. local connection
  242. local function startLoop()
  243. if connection then connection:Disconnect() end
  244. connection = RunService.Heartbeat:Connect(updateAnimation)
  245. end
  246.  
  247. -- Start if character exists
  248. if player.Character then
  249. startLoop()
  250. end
  251. else
  252. textBox.Text = "1.5"
  253. end
  254. end)
  255. end;
  256. task.spawn(C_9);
  257. -- StarterGui.TwerkFEGui.Frame.Drag
  258. local function C_d()
  259. local script = G2L["d"];
  260. local UIS = game:GetService("UserInputService")
  261. function dragify(Frame)
  262. local dragToggle = nil
  263. local dragSpeed = 0
  264. local dragInput = nil
  265. local dragStart = nil
  266. local dragPos = nil
  267. function updateInput(input)
  268. local Delta = input.Position - dragStart
  269. local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  270. game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.25), {Position = Position}):Play()
  271. end
  272. Frame.InputBegan:Connect(function(input)
  273. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
  274. dragToggle = true
  275. dragStart = input.Position
  276. startPos = Frame.Position
  277. input.Changed:Connect(function()
  278. if input.UserInputState == Enum.UserInputState.End then
  279. dragToggle = false
  280. end
  281. end)
  282. end
  283. end)
  284. Frame.InputChanged:Connect(function(input)
  285. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  286. dragInput = input
  287. end
  288. end)
  289. game:GetService("UserInputService").InputChanged:Connect(function(input)
  290. if input == dragInput and dragToggle then
  291. updateInput(input)
  292. end
  293. end)
  294. end
  295.  
  296. dragify(script.Parent)
  297. end;
  298. task.spawn(C_d);
  299. end
  300.  
  301. -- Setup GUI when the player first enters the game
  302. local player = game.Players.LocalPlayer
  303. setupGui(player)
  304.  
  305. -- Re-run the setup when the player respawns
  306. player.CharacterAdded:Connect(function()
  307. -- Clear previous GUI if needed
  308. G2L["1"]:Destroy()
  309. G2L = {}
  310. setupGui(player) -- Re-setup GUI
  311. end) -- End for CharacterAdded connection
  312.  
  313. return G2L["1"], require;
Advertisement
Add Comment
Please, Sign In to add comment