-
What do you want to achieve?
Make a FNaF fangame. -
What is the issue?
I’m trying to make so that if you press a button your first person view will be back at the same position normally, and how to make so when you press a text button a new one appears saying “Camera” instead of “Back” (it got destroyed when I clicked it) and when I click “Camera” text button, the image button and other text buttons appear again, but “Camera” text button gets destroyed and “Back” one appears again, so basically a loop.
Here is my script:
local Camera = game.StarterGui.ScreenGui.BackButton
local Clone = Camera:Clone()
if Camera then
wait(0.1)
game.StarterGui.ScreenGui.BackButton:Destroy()
Clone:Clone().Parent = game.StarterGui.ScreenGui.BackButton.LocalScript
Clone:Clone().Parent.Name = “CameraButton”
Button.MouseButton1Click:Connect(function()
ImageButton.Visible = true
end)
end
-
What solutions have you tried so far?
Now, because barely anyone makes FNaF games on roblox (not the RP ones),
there are no posts helping me.