Advertisement
RamenRon

hmmm Firework GUI?

Jul 8th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.63 KB | None | 0 0
  1. local function CreateInstance(cls,props)
  2. local inst = Instance.new(cls)
  3. for i,v in pairs(props) do
  4. inst[i] = v
  5. end
  6. return inst
  7. end
  8.  
  9. local FireworkSim = CreateInstance('ScreenGui',{DisplayOrder=0,Enabled=true,ResetOnSpawn=true,Name='FireworkSim', Parent=game.CoreGui})
  10. local MainFrame = CreateInstance('Frame',{Style=Enum.FrameStyle.RobloxRound,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.814329803, 0, 0.768957496, 0),Rotation=0,Selectable=false,Size=UDim2.new(0.165947601, 0, 0.200947851, 0),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name = 'MainFrame',Parent = FireworkSim})
  11. local Creds = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='GUI - RamenRon : Script - JBhappy',TextColor3=Color3.new(0, 0, 0),TextScaled=true,TextSize=14,TextStrokeColor3=Color3.new(1, 1, 1),TextStrokeTransparency=0,TextTransparency=0,TextWrapped=true,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(-0.00344789028, 0, -0.209398463, 0),Rotation=0,Selectable=false,Size=UDim2.new(0.99052, 0, 0.158112466, 0),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Creds',Parent = MainFrame})
  12. local Del = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size48,Text='DELETE',TextColor3=Color3.new(1, 0, 0),TextScaled=true,TextSize=44,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=true,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.RobloxRoundButton,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.170628682, 0, 1.04999995, 0),Rotation=0,Selectable=true,Size=UDim2.new(0.6361413, 0, 0.145506501, 0),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Del',Parent = MainFrame})
  13. local Titl = CreateInstance('TextLabel',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size14,Text='',TextColor3=Color3.new(0, 0, 0),TextScaled=true,TextSize=14,TextStrokeColor3=Color3.new(1, 1, 1),TextStrokeTransparency=0,TextTransparency=0,TextWrapped=true,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,Active=false,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=1,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(-0.0343876705, 0, -0.0957348719, 0),Rotation=0,Selectable=false,Size=UDim2.new(1.07000005, 0, 0.285259664, 0),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='Titl',Parent = MainFrame})
  14. local AFButton = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size48,Text='AUTOFARM',TextColor3=Color3.new(1, 0, 0),TextScaled=true,TextSize=44,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=true,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.RobloxRoundButton,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.039611645, 0, 0.15919812, 0),Rotation=0,Selectable=true,Size=UDim2.new(0.923248291, 0, 0.874614596, 0),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=true,ZIndex=1,Name='AFButton',Parent = MainFrame})
  15. local Del1 = CreateInstance('TextButton',{Font=Enum.Font.SourceSans,FontSize=Enum.FontSize.Size48,Text='Are you sure?',TextColor3=Color3.new(1, 0, 0),TextScaled=true,TextSize=44,TextStrokeColor3=Color3.new(0, 0, 0),TextStrokeTransparency=1,TextTransparency=0,TextWrapped=true,TextXAlignment=Enum.TextXAlignment.Center,TextYAlignment=Enum.TextYAlignment.Center,AutoButtonColor=true,Modal=false,Selected=false,Style=Enum.ButtonStyle.RobloxRoundButton,Active=true,AnchorPoint=Vector2.new(0, 0),BackgroundColor3=Color3.new(1, 1, 1),BackgroundTransparency=0,BorderColor3=Color3.new(0.105882, 0.164706, 0.207843),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0.170628682, 0, 1.04999995, 0),Rotation=0,Selectable=true,Size=UDim2.new(0.6361413, 0, 0.145506501, 0),SizeConstraint=Enum.SizeConstraint.RelativeXY,Visible=false,ZIndex=1,Name='Del1',Parent = MainFrame})
  16. local ok = false
  17.  
  18. MainFrame.Active = true
  19. MainFrame.Draggable = true
  20.  
  21. function onKeyPress(inputObject, gameProcessedEvent)
  22. if inputObject.KeyCode == Enum.KeyCode.P then
  23. if MainFrame.Visible == false then
  24. MainFrame.Visible = true
  25. else
  26. MainFrame.Visible = false
  27. end
  28. end
  29. end
  30. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  31.  
  32.  
  33. Del.MouseButton1Click:Connect(function()
  34. Del1.Visible = true
  35. Del:Remove()
  36. game.StarterGui:SetCore("SendNotification",{["Title"]="Delete",["Text"]="Confirm the deletion of the GUI",["Duration"]=5})
  37. end)
  38.  
  39. Del1.MouseButton1Click:Connect(function()
  40. MainFrame:Remove()
  41. game.StarterGui:SetCore("SendNotification",{["Title"]="Deleted",["Text"]="Successfully deleted GUI",["Duration"]=5})
  42. end)
  43.  
  44. Titl.Text = "F"
  45. wait(.2)
  46. Titl.Text = "Fi"
  47. wait(.2)
  48. Titl.Text = "Fir"
  49. wait(.2)
  50. Titl.Text = "Fire"
  51. wait(.2)
  52. Titl.Text = "Firew"
  53. wait(.2)
  54. Titl.Text = "Firewo"
  55. wait(.2)
  56. Titl.Text = "Firewor"
  57. wait(.2)
  58. Titl.Text = "Firework"
  59. wait(.2)
  60. Titl.Text = "Firework Sim"
  61. wait(.3)
  62. Titl.Text = "Firework Sim Farm"
  63. wait(.3)
  64.  
  65. AFButton.Text = "AUTOFARM O"
  66. wait(.4)
  67. AFButton.Text = "AUTOFARM OF"
  68. wait(.4)
  69. AFButton.Text = "AUTOFARM OFF"
  70.  
  71. AFButton.MouseButton1Click:Connect(function()
  72. if ok then
  73. AFButton.TextColor3 = Color3.new(0.541176, 0, 0)
  74. loadstring(game:HttpGet(('https://pastebin.com/raw/vX1EW3M9'),true))()
  75. wait(.2)
  76. AFButton.Text = "AUTOFARM"
  77. wait(.4)
  78. AFButton.Text = "AUTOFARM O"
  79. wait(.4)
  80. AFButton.Text = "AUTOFARM OF"
  81. wait(.4)
  82. AFButton.Text = "AUTOFARM OFF"
  83. else
  84. AFButton.TextColor3 = Color3.fromRGB(0, 134, 0)
  85. wait(.2)
  86. AFButton.Text = "AUTOFARM"
  87. wait(.5)
  88. AFButton.Text = "AUTOFARM O"
  89. wait(.5)
  90. AFButton.Text = "AUTOFARM ON"
  91. end
  92. ok = not ok
  93. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement