Advertisement
pastebinxx

Untitled

Jan 18th, 2025
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.28 KB | None | 0 0
  1. if (not game:IsLoaded()) then
  2. game.Loaded:Wait()
  3. task.wait(3)
  4. end
  5.  
  6. local CCSG = Instance.new('ScreenGui')
  7. CCSG.IgnoreGuiInset = true
  8. CCSG.Name = 'CCSG'
  9. CCSG.Parent = game:GetService('CoreGui')
  10.  
  11. local Main = Instance.new("Frame")
  12. Main["BorderSizePixel"] = 0
  13. Main["AnchorPoint"] =Vector2.new(0.5, 0.5)
  14. Main["BackgroundTransparency"] =0
  15. Main["Position"] =UDim2.new(0.4000000059604645, 0, 0.5, 0)
  16. Main["Size"] =UDim2.new(0, 340, 0, 120)
  17. Main["Name"] ="Main"
  18. Main["BackgroundColor3"] =Color3.fromRGB(22.000000588595867, 22.000000588595867, 22.000000588595867)
  19. Main["Parent"] = CCSG
  20.  
  21. local TopBar = Instance.new("Frame")
  22. TopBar["BorderSizePixel"] = 0
  23. TopBar["AnchorPoint"] =Vector2.new(0.5, 0)
  24. TopBar["BackgroundTransparency"] =0
  25. TopBar["Position"] =UDim2.new(0.5, 0, 0, 0)
  26. TopBar["Size"] =UDim2.new(1, 0, 0, 25)
  27. TopBar["Name"] ="TopBar"
  28. TopBar["BackgroundColor3"] =Color3.fromRGB(16.000000946223736, 16.000000946223736, 16.000000946223736)
  29. TopBar["Parent"] = Main
  30.  
  31. local TopBarCorner = Instance.new("UICorner")
  32. TopBarCorner["Name"] ="TopBarCorner"
  33. TopBarCorner["CornerRadius"] =UDim.new(0, 8)
  34. TopBarCorner["Parent"] = TopBar
  35.  
  36. local TopBarLine = Instance.new("Frame")
  37. TopBarLine["BorderSizePixel"] = 0
  38. TopBarLine["AnchorPoint"] =Vector2.new(0.5, 1)
  39. TopBarLine["BackgroundTransparency"] =0
  40. TopBarLine["Position"] =UDim2.new(0.5, 0, 1, 0)
  41. TopBarLine["Size"] =UDim2.new(1, 0, 0, 3)
  42. TopBarLine["Name"] ="TopBarLine"
  43. TopBarLine["BackgroundColor3"] =Color3.fromRGB(16.000000946223736, 16.000000946223736, 16.000000946223736)
  44. TopBarLine["Parent"] = TopBar
  45.  
  46. local Title = Instance.new("TextLabel")
  47. Title["BorderSizePixel"] = 0
  48. Title["AutomaticSize"] = Enum.AutomaticSize.X
  49. Title["FontFace"] =Font.new("rbxasset://fonts/families/GothamSSm.json", Enum.FontWeight.Regular)
  50. Title["TextColor3"] =Color3.fromRGB(200.00000327825546, 200.00000327825546, 200.00000327825546)
  51. Title["TextTransparency"] =0
  52. Title["Text"] ="Template Text"
  53. Title["AnchorPoint"] =Vector2.new(0, 0)
  54. Title["TextXAlignment"] =Enum.TextXAlignment.Left
  55. Title["BackgroundTransparency"] =1
  56. Title["Position"] =UDim2.new(0, 0, 0, 0)
  57. Title["Name"] ="Title"
  58. Title["Size"] =UDim2.new(1, 0, 1, 0)
  59. Title["TextSize"] =14
  60. Title["BackgroundColor3"] =Color3.fromRGB(255, 255, 255)
  61. Title["Parent"] = TopBar
  62.  
  63. local TitlePadding = Instance.new("UIPadding")
  64. TitlePadding["PaddingTop"] =UDim.new(0, 0)
  65. TitlePadding["Name"] ="TitlePadding"
  66. TitlePadding["PaddingBottom"] =UDim.new(0, 0)
  67. TitlePadding["PaddingLeft"] =UDim.new(0, 6)
  68. TitlePadding["PaddingRight"] =UDim.new(0, 6)
  69. TitlePadding["Parent"] = Title
  70.  
  71. local TitleStroke = Instance.new("UIStroke")
  72. TitleStroke["Color"] =Color3.fromRGB(0, 0, 0)
  73. TitleStroke["Transparency"] =0
  74. TitleStroke["Name"] ="TitleStroke"
  75. TitleStroke["Thickness"] =1
  76. TitleStroke["Parent"] = Title
  77.  
  78. local TopBarGradient = Instance.new("UIGradient")
  79. TopBarGradient["Color"] =ColorSequence.new{
  80. ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)),
  81. ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))
  82. }
  83. TopBarGradient["Name"] ="TopBarGradient"
  84. TopBarGradient["Rotation"] =-90
  85. TopBarGradient["Parent"] = TopBar
  86.  
  87. local MainStroke = Instance.new("UIStroke")
  88. MainStroke["Color"] =Color3.fromRGB(200.00000327825546, 200.00000327825546, 200.00000327825546)
  89. MainStroke["Transparency"] =0
  90. MainStroke["Name"] ="MainStroke"
  91. MainStroke["Thickness"] =1.2999999523162842
  92. MainStroke["Parent"] = Main
  93.  
  94. local MainCorner = Instance.new("UICorner")
  95. MainCorner["Name"] ="MainCorner"
  96. MainCorner["CornerRadius"] =UDim.new(0, 8)
  97. MainCorner["Parent"] = Main
  98.  
  99. local CounterText = Instance.new("TextLabel")
  100. CounterText["BorderSizePixel"] = 0
  101. CounterText["FontFace"] =Font.new("rbxasset://fonts/families/GothamSSm.json", Enum.FontWeight.Regular)
  102. CounterText["TextColor3"] =Color3.fromRGB(200.00000327825546, 200.00000327825546, 200.00000327825546)
  103. CounterText["TextTransparency"] =0
  104. CounterText["Text"] ="$999,999,999"
  105. CounterText["AnchorPoint"] =Vector2.new(0.5, 1)
  106. CounterText["TextXAlignment"] =Enum.TextXAlignment.Center
  107. CounterText["BackgroundTransparency"] =1
  108. CounterText["Position"] =UDim2.new(0.5, 0, 1, 0)
  109. CounterText["Name"] ="CounterText"
  110. CounterText["Size"] =UDim2.new(1, 0, 1, 0)
  111. CounterText["TextSize"] =35
  112. CounterText["BackgroundColor3"] =Color3.fromRGB(255, 255, 255)
  113. CounterText["Parent"] = Main
  114.  
  115. local CounterTextPadding = Instance.new("UIPadding")
  116. CounterTextPadding["PaddingTop"] =UDim.new(0, 15)
  117. CounterTextPadding["Name"] ="CounterTextPadding"
  118. CounterTextPadding["PaddingBottom"] =UDim.new(0, 0)
  119. CounterTextPadding["PaddingLeft"] =UDim.new(0, 12)
  120. CounterTextPadding["PaddingRight"] =UDim.new(0, 12)
  121. CounterTextPadding["Parent"] = CounterText
  122.  
  123. local CounterTextStroke = Instance.new("UIStroke")
  124. CounterTextStroke["Color"] =Color3.fromRGB(0, 0, 0)
  125. CounterTextStroke["Transparency"] =0
  126. CounterTextStroke["Name"] ="CounterTextStroke"
  127. CounterTextStroke["Thickness"] =1
  128. CounterTextStroke["Parent"] = CounterText
  129.  
  130. local BackImage = Instance.new("ImageLabel")
  131. BackImage["ImageColor3"] =Color3.fromRGB(255, 255, 255)
  132. BackImage["ImageTransparency"] =0
  133. BackImage["AnchorPoint"] =Vector2.new(0, 0)
  134. BackImage["Image"] =""
  135. BackImage["BackgroundTransparency"] =1
  136. BackImage["Position"] =UDim2.new(0, 0, 0, 0)
  137. BackImage["Size"] =UDim2.new(1, 0, 1, 0)
  138. BackImage["Name"] ="BackImage"
  139. BackImage["BackgroundColor3"] =Color3.fromRGB(255, 255, 255)
  140. BackImage["Parent"] = Main
  141.  
  142. local MainGradient = Instance.new("UIGradient")
  143. MainGradient["Color"] =ColorSequence.new{
  144. ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)),
  145. ColorSequenceKeypoint.new(1, Color3.fromRGB(161.0000056028366, 161.0000056028366, 161.0000056028366))
  146. }
  147. MainGradient["Name"] ="MainGradient"
  148. MainGradient["Rotation"] =90
  149. MainGradient["Parent"] = Main
  150.  
  151. task.spawn(function()local UserInputService=game:GetService('UserInputService')local gui=Main;local dragging;local dragInput;local dragStart;local startPos;local function update(input)local delta=input.Position-dragStart;gui.Position=UDim2.new(startPos.X.Scale,startPos.X.Offset+delta.X,startPos.Y.Scale,startPos.Y.Offset+delta.Y)end;gui.InputBegan:Connect(function(input)if input.UserInputType==Enum.UserInputType.MouseButton1 or input.UserInputType==Enum.UserInputType.Touch then dragging=true;dragStart=input.Position;startPos=gui.Position;input.Changed:Connect(function()if input.UserInputState==Enum.UserInputState.End then dragging=false end end)end end)gui.InputChanged:Connect(function(input)if input.UserInputType==Enum.UserInputType.MouseMovement or input.UserInputType==Enum.UserInputType.Touch then dragInput=input end end)UserInputService.InputChanged:Connect(function(input)if input==dragInput and dragging then update(input)end end)end)
  152. local Drop=workspace.Ignored.Drop;local ToCurr=function(Num)return tostring(Num):reverse():gsub("%d%d%d","%1,"):reverse():gsub("^,","")end;local Convert=function(Str)local Am=string.match(Str,"%$%d+[,%.]?%d*")if(Am)then Am=(string.gsub(string.match(Am,"%d+[,%.]?%d*"),",",""))return tonumber(Am)else return 0 end end;local Get=function()local Total=0;for i,v in pairs(Drop:GetChildren())do if(v.Name=="MoneyDrop")and(v:FindFirstChild("BillboardGui"))then Total+=Convert(v.BillboardGui.TextLabel.Text)end end;CounterText.Text=("$"..ToCurr(Total))end;task.spawn(function()while true and task.wait(1/3)do Get()end end)
  153.  
  154. --// Thanks for using ^-^ | discord.gg/iku - @trans
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement