Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How i make a camera button to do the camera around?

You need to put the ScreenGui into StarterGui and put the ImageButton or TextButton into the ScreenGui. Add a LocalScript into the TextButton or ImageButton.

Camera = workspace.CurrentCamera script.Parent.MouseButton1Click:connect(function() Camera.CFrame = CFrame.new(0,5,0) end)

2 comments

0

I have no idea what you are asking for but this may help you. http://robloxdev.com/articles/Camera-manipulation

0

Connect not connect. Also stop copying me.

1 answer

✓ Accepted answer

I personally are not sure what you're asking, but I think it might be this (or something related).

This script resets the camera if something has happened to it and the game is not displaying properly.

function buttondown()
game.Workspace.CurrentCamera:remove()
wait(.1)
game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
game.Workspace.CurrentCamera.CameraType = "Custom"
end

script.Parent.MouseButton1Down:connect(buttondown)

I have this hooked up to a cam fix button which looks something like this in the hierarchy.

ScreenGui-- | Frame-- | CamFix-- | CamFixScript

Which makes it fire when the button is clicked.

I honestly am not sure what the question is asking, but I hope this helped in some way.

1 comment

0

I need help with the old roblox camera script

This discussion is preserved as it was. New answers, comments, and votes are closed.