CoiledTom

Untitled

Mar 21st, 2026
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.86 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local StarterGui = game:GetService("StarterGui")
  3. local UserInputService = game:GetService("UserInputService")
  4.  
  5. local player = Players.LocalPlayer
  6.  
  7. pcall(function()
  8. StarterGui:SetCore("SendNotification", {
  9. Title = "Duplicate script";
  10. Text = "BY CoiledTom";
  11. Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150";
  12. Duration = 5;
  13. })
  14. end)
  15.  
  16. local ScreenGui = Instance.new("ScreenGui")
  17. ScreenGui.ResetOnSpawn = false
  18. ScreenGui.Parent = player:WaitForChild("PlayerGui")
  19.  
  20. -- Função arrastar
  21. local function makeDraggable(frame)
  22. local dragging = false
  23. local dragStart, startPos
  24.  
  25. frame.InputBegan:Connect(function(input)
  26. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  27. dragging = true
  28. dragStart = input.Position
  29. startPos = frame.Position
  30. end
  31. end)
  32.  
  33. UserInputService.InputEnded:Connect(function(input)
  34. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  35. dragging = false
  36. end
  37. end)
  38.  
  39. UserInputService.InputChanged:Connect(function(input)
  40. if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
  41. local delta = input.Position - dragStart
  42. frame.Position = UDim2.new(
  43. startPos.X.Scale,
  44. startPos.X.Offset + delta.X,
  45. startPos.Y.Scale,
  46. startPos.Y.Offset + delta.Y
  47. )
  48. end
  49. end)
  50. end
  51.  
  52. -- Botão 😈 corrigido de verdade
  53. local Toggle = Instance.new("TextButton")
  54. Toggle.Size = UDim2.new(0, 36, 0, 36)
  55. Toggle.Position = UDim2.new(0, 20, 0.5, -18)
  56. Toggle.BackgroundColor3 = Color3.fromRGB(20,20,20)
  57. Toggle.Text = "😈"
  58. Toggle.TextScaled = false
  59. Toggle.TextSize = 20
  60. Toggle.TextColor3 = Color3.new(1,1,1)
  61. Toggle.Parent = ScreenGui
  62. Instance.new("UICorner", Toggle).CornerRadius = UDim.new(1,0)
  63. makeDraggable(Toggle)
  64.  
  65. -- Frame principal
  66. local Main = Instance.new("Frame")
  67. Main.Size = UDim2.new(0, 240, 0, 170)
  68. Main.Position = UDim2.new(0.5, -120, 0.5, -85)
  69. Main.BackgroundColor3 = Color3.fromRGB(10,10,10)
  70. Main.Visible = false
  71. Main.Parent = ScreenGui
  72. Main.Active = true
  73. Instance.new("UICorner", Main).CornerRadius = UDim.new(0, 14)
  74. makeDraggable(Main)
  75.  
  76. -- Título
  77. local Title = Instance.new("TextLabel")
  78. Title.Size = UDim2.new(1,0,0,30)
  79. Title.BackgroundTransparency = 1
  80. Title.Text = "Tom duplicar"
  81. Title.TextScaled = true
  82. Title.TextColor3 = Color3.new(1,1,1)
  83. Title.Parent = Main
  84.  
  85. -- Botão duplicar
  86. local DupButton = Instance.new("TextButton")
  87. DupButton.Size = UDim2.new(0.8,0,0.25,0)
  88. DupButton.Position = UDim2.new(0.1,0,0.25,0)
  89. DupButton.Text = "duplicar tool"
  90. DupButton.TextScaled = true
  91. DupButton.BackgroundColor3 = Color3.fromRGB(0,120,255)
  92. DupButton.TextColor3 = Color3.new(1,1,1)
  93. DupButton.Parent = Main
  94. Instance.new("UICorner", DupButton).CornerRadius = UDim.new(0,10)
  95.  
  96. -- Botão autenticar
  97. local AuthButton = Instance.new("TextButton")
  98. AuthButton.Size = UDim2.new(0.8,0,0.25,0)
  99. AuthButton.Position = UDim2.new(0.1,0,0.55,0)
  100. AuthButton.Text = "autenticar"
  101. AuthButton.TextScaled = true
  102. AuthButton.BackgroundColor3 = Color3.fromRGB(40,40,40)
  103. AuthButton.TextColor3 = Color3.new(1,1,1)
  104. AuthButton.Parent = Main
  105. Instance.new("UICorner", AuthButton).CornerRadius = UDim.new(0,10)
  106.  
  107. -- Rodapé RGB
  108. local Footer = Instance.new("TextButton")
  109. Footer.Size = UDim2.new(1,0,0,25)
  110. Footer.Position = UDim2.new(0,0,1,-25)
  111. Footer.BackgroundTransparency = 1
  112. Footer.Text = "by CoiledTom"
  113. Footer.TextScaled = true
  114. Footer.TextColor3 = Color3.fromRGB(180,180,180)
  115. Footer.Parent = Main
  116.  
  117. Toggle.MouseButton1Click:Connect(function()
  118. Main.Visible = not Main.Visible
  119. end)
  120.  
  121. local originalTool
  122. local duplicateTool
  123.  
  124. -- Duplicar
  125. DupButton.MouseButton1Click:Connect(function()
  126. local character = player.Character or player.CharacterAdded:Wait()
  127. local tool = character:FindFirstChildOfClass("Tool")
  128. if tool then
  129. originalTool = tool
  130. duplicateTool = tool:Clone()
  131. duplicateTool.Name = tool.Name
  132. duplicateTool.Parent = player.Backpack
  133.  
  134. for _,obj in pairs(duplicateTool:GetDescendants()) do
  135. if obj:IsA("Script") or obj:IsA("LocalScript") then
  136. obj.Disabled = true
  137. obj.Disabled = false
  138. end
  139. end
  140. end
  141. end)
  142.  
  143. -- Autenticar
  144. AuthButton.MouseButton1Click:Connect(function()
  145. if originalTool and duplicateTool then
  146. if #originalTool:GetDescendants() ~= #duplicateTool:GetDescendants() then
  147. duplicateTool:Destroy()
  148. duplicateTool = originalTool:Clone()
  149. duplicateTool.Name = originalTool.Name
  150. duplicateTool.Parent = player.Backpack
  151. end
  152. end
  153. end)
  154.  
  155. -- RGB rodapé
  156. local clicks = 0
  157. local active = false
  158.  
  159. Footer.MouseButton1Click:Connect(function()
  160. clicks += 1
  161. if clicks >= 5 and not active then
  162. clicks = 0
  163. active = true
  164. local endTime = tick() + 5
  165. task.spawn(function()
  166. while tick() < endTime do
  167. Footer.TextColor3 = Color3.fromHSV((tick()%5)/5,1,1)
  168. task.wait(0.05)
  169. end
  170. Footer.TextColor3 = Color3.fromRGB(180,180,180)
  171. active = false
  172. end)
  173. end
  174. end)
Advertisement
Add Comment
Please, Sign In to add comment