Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function CreateInstance(cls,props)
- local inst = Instance.new(cls)
- for i,v in pairs(props) do
- inst[i] = v
- end
- return inst
- end
- local FireworkSim = CreateInstance('ScreenGui',{DisplayOrder=0,Enabled=true,ResetOnSpawn=true,Name='FireworkSim', Parent=game.CoreGui})
- 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})
- 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})
- 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})
- 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})
- 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})
- local ok = false
- MainFrame.Active = true
- MainFrame.Draggable = true
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.P then
- if MainFrame.Visible == false then
- MainFrame.Visible = true
- else
- MainFrame.Visible = false
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- Del.MouseButton1Click:Connect(function()
- Del.Text = "Are you sure?"
- Del.MouseButton1Click:Connect(function()
- MainFrame.Remove()
- end)
- end)
- Titl.Text = "F"
- wait(.2)
- Titl.Text = "Fi"
- wait(.2)
- Titl.Text = "Fir"
- wait(.2)
- Titl.Text = "Fire"
- wait(.2)
- Titl.Text = "Firew"
- wait(.2)
- Titl.Text = "Firewo"
- wait(.2)
- Titl.Text = "Firewor"
- wait(.2)
- Titl.Text = "Firework"
- wait(.2)
- Titl.Text = "Firework Sim"
- wait(.3)
- Titl.Text = "Firework Sim Farm"
- wait(.3)
- AFButton.Text = "AUTOFARM O"
- wait(.4)
- AFButton.Text = "AUTOFARM OF"
- wait(.4)
- AFButton.Text = "AUTOFARM OFF"
- AFButton.MouseButton1Click:Connect(function()
- if ok then
- AFButton.TextColor3 = Color3.new(0.541176, 0, 0)
- wait(.2)
- AFButton.Text = "AUTOFARM"
- wait(.4)
- AFButton.Text = "AUTOFARM O"
- wait(.4)
- AFButton.Text = "AUTOFARM OF"
- wait(.4)
- AFButton.Text = "AUTOFARM OFF"
- else
- AFButton.TextColor3 = Color3.fromRGB(0, 134, 0)
- wait(.2)
- AFButton.Text = "AUTOFARM"
- wait(.5)
- AFButton.Text = "AUTOFARM O"
- wait(.5)
- AFButton.Text = "AUTOFARM ON"
- end
- ok = not ok
- end)
- if ok then
- 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()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement