Advertisement
RamenRon

Firework Sim FARM

Jul 8th, 2019
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.39 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 ok = false
  16.  
  17. MainFrame.Active = true
  18. MainFrame.Draggable = true
  19.  
  20. function onKeyPress(inputObject, gameProcessedEvent)
  21. if inputObject.KeyCode == Enum.KeyCode.P then
  22. if MainFrame.Visible == false then
  23. MainFrame.Visible = true
  24. else
  25. MainFrame.Visible = false
  26. end
  27. end
  28. end
  29. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  30.  
  31.  
  32. Del.MouseButton1Click:Connect(function()
  33. Del.Text = "Are you sure?"
  34. Del.MouseButton1Click:Connect(function()
  35. MainFrame.Remove()
  36. end)
  37. end)
  38.  
  39. Titl.Text = "F"
  40. wait(.2)
  41. Titl.Text = "Fi"
  42. wait(.2)
  43. Titl.Text = "Fir"
  44. wait(.2)
  45. Titl.Text = "Fire"
  46. wait(.2)
  47. Titl.Text = "Firew"
  48. wait(.2)
  49. Titl.Text = "Firewo"
  50. wait(.2)
  51. Titl.Text = "Firewor"
  52. wait(.2)
  53. Titl.Text = "Firework"
  54. wait(.2)
  55. Titl.Text = "Firework Sim"
  56. wait(.3)
  57. Titl.Text = "Firework Sim Farm"
  58. wait(.3)
  59.  
  60. AFButton.Text = "AUTOFARM O"
  61. wait(.4)
  62. AFButton.Text = "AUTOFARM OF"
  63. wait(.4)
  64. AFButton.Text = "AUTOFARM OFF"
  65.  
  66. AFButton.MouseButton1Click:Connect(function()
  67. if ok then
  68. AFButton.TextColor3 = Color3.new(0.541176, 0, 0)
  69. wait(.2)
  70. AFButton.Text = "AUTOFARM"
  71. wait(.4)
  72. AFButton.Text = "AUTOFARM O"
  73. wait(.4)
  74. AFButton.Text = "AUTOFARM OF"
  75. wait(.4)
  76. AFButton.Text = "AUTOFARM OFF"
  77. else
  78. AFButton.TextColor3 = Color3.fromRGB(0, 134, 0)
  79. wait(.2)
  80. AFButton.Text = "AUTOFARM"
  81. wait(.5)
  82. AFButton.Text = "AUTOFARM O"
  83. wait(.5)
  84. AFButton.Text = "AUTOFARM ON"
  85. end
  86. ok = not ok
  87. end)
  88.  
  89. if ok then
  90. game.StarterGui:SetCore("SendNotification",{["Title"]="AUTOFARM",["Text"]="AUTOFARM LOADED - GUI MADE BY RAMENRON - SCRIPT MADE BY JBhappy",["Duration"]=15})warn("GUI made by RamenRon - Script made by JB Happy")local a=game.ReplicatedStorage.Comm.Events['RefillFireworks']local b={[1]="Firework Stand",[2]=workspace.Areas.Plains.Landmarks["Firework Stand"].Configuration,[3]=workspace.Areas.Plains.Landmarks["Firework Stand"]}local c=game.Players.LocalPlayer.PlayerGui.HUD.Left.Backpack;if game.Players.LocalPlayer.PlayerGui.Prompt:FindFirstChild("Log")then game.Players.LocalPlayer.PlayerGui.Prompt:FindFirstChild("Log"):Destroy()end;if c.Parent:FindFirstChild("WoahBigPack")then c.Parent:FindFirstChild("WoahBigPack"):Destroy()end;local d=c:Clone()d.Parent=c.Parent;d.Name="WoahBigPack"d.Label.Text="∞"d.Visible=true;c.Visible=false;while wait(1)do a:FireServer(unpack(b))game.ReplicatedStorage.Comm.Events['ActivateFirework']:FireServer()
  91. end
  92. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement