Piggy Custom Menu System

Hey there Robloxians!

I search and tested how to make a Menu System just like Piggy and then after putting everything just like the tutorial, making parts as cameras: StartingCam and EndingCam

Plus a PlayScreen that works but the thing is that I can’t start the game. I saw that it was because of the Intermission part that have in the script:

local cam = workspace.CurrentCamera

local StatCam = workspace.StartingCam

local targetcam = workspace.EndingCam

local TS = game:GetService("TweenService")

--scriptStart

wait(0.001)

cam.CameraType = Enum.CameraType.Scriptable

local tweeninf1 = TweenInfo.new(0.001,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0)

local partproperties1 = {CFrame = StatCam.CFrame}

local tween1 = TS:Create(cam,tweeninf1,partproperties1)

tween1:Play()

script.Parent.Parent.Visible = true

script.Parent.MouseButton1Click:Connect(function()

print("Loading")

local tweeninf = TweenInfo.new(2,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0)

local partproperties = {CFrame = targetcam.CFrame}

local tween = TS:Create(cam,tweeninf,partproperties)

script.Parent.Parent.Visible = false

tween:Play()

wait(1.7)

script.Parent.Parent.Parent.IntermissionScreen.Visible = false

print("done")

end)

image

So with that, I wanted to know how can you play the game without the Intermission section but I don’t know what do I need to do since I have no idea how to script or understand the language.

If you guys know out there, can y’all help me out with this?

Thanks!

  • Juan
4 Likes