Hey, I’ve been working a some type of game and i was working on the home screen.
I made a camera position and it works just fine. The only problem is that when i try to change the value (by server events) and still isn’t changing the text values and camera position.
I’ve tried .Changed but still isn’t working. any fix?
i’ve seen you tried with currenttower.Changed but currenttower is the camerapart(you put local currenttower = workspapce.Towers.CurrentSelectedTower.Value) so it’s waiting for the camerapart to change while with the loop, it doesn’t work since currenttower is the value of the objectvalue so it doesn’t update
try this:
local Camera = workspace.Camera
local currenttower = workspace.Tower.CurrentSelectedTower
currenttower.Changed:Connect(function()
Camera.CameraType="Scriptable"
Camera.CFrame = currenttower.Value.CFrame
end)
oof, sorry, i don’t speak english very well
1 Like
Thanks for the tip! i will try it rn!