#Title Screen Help

29 messages · Page 1 of 1 (latest)

chilly granite
#

u can make a debounce that goes false when the input begins
and for the loop u can use while debounce do

#
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

vocal smelt
chilly granite
#

you can local the gui button

#

and do a function of mousebutton1click

grim hemlock
#

I’m pretty sure you can do :GetChildren()

#

instead of making variables for each of those stuff

vocal smelt
#

@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

vocal smelt
#

I have this but its still not working @grim hemlock @chilly granite

grim hemlock
grim hemlock
grim hemlock
#

replace the loop

#

at the end

vocal smelt
#

👍

grim hemlock
vocal smelt
grim hemlock
#

ok

vocal smelt
#

it was a favor for my friend but he cancelled and now I have to remove all the scripts that I spent hours on trolldespair

grim hemlock
vocal smelt
grim hemlock
vocal smelt