#Title Screen Help
29 messages · Page 1 of 1 (latest)
local UserInputService = game:GetService("UserInputService")
local key = Enum.KeyCode.E -- change e to your button
local debounce = true
UserInputService.InputBegan:connect(function(input)
if input.KeyCode == key then -- remove that if statement if you don't want to specify a key
debounce = false
else
debounce = true
end
end)
while debounce do
-- your code here to move the camera
end
that might help you @vocal smelt
hello so I dont know if that will work because mine is when you press a button on a GUI
I’m pretty sure you can do :GetChildren()
instead of making variables for each of those stuff
@grim hemlock @chilly granite well the thing I need help with though is having the camera constantly follow the part and then break when the img button is pressed
this is what I have but it doesnt work
I have this but its still not working @grim hemlock @chilly granite
what part doesn't work?
a better way of making the loop is:
while b == false do
camera.CFrame = cam1.CFrame
task.ait(0.1)
end
where do I insert this
👍
is it working now?
gotta try when im done with school
ok
nope
it was a favor for my friend but he cancelled and now I have to remove all the scripts that I spent hours on 
try debugging
already removed em

