I’ve never heard of that before, so no idea how you found it, but it seems we have the world loaded in now! thank you!
but new error
19:13:16.642 Unable to assign property CFrame. CoordinateFrame expected, got Instance - Client - LocalScript:11
19:13:16.642 Stack Begin - Studio
19:13:16.642 Script ‘Players.NightMayRise.PlayerScripts.LocalScript’, Line 11 - Studio - LocalScript:11
19:13:16.642 Stack End - Studio
We switch them because you’re getting a property of the camera part object, the property being the CFrame. So you first get the object by accessing the CamPart and then you get it’s Cframe property with the dot.
I’ve kinda ran into a deadend, so I’ll just post a update. I get no errors, yet it won’t work. Very confusing stuff
local RunService = game:GetService(“RunService”)
local tweenService = game:GetService(“TweenService”)
local CamTweenInfo = TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false,0)
local Camera = workspace.CurrentCamera
local CameraViews = workspace:WaitForChild(“RoamCameras”)
repeat task.wait(0.2) until game:IsLoaded()
function tweenCameraView(pos,tweenTime)
tweenService:Create(Camera,TweenInfo.new(tweenTime,Enum.EasingStyle.Linear),{CFrame = pos.CFrame}):Play()
end
local cd = false
game:GetService(“UserInputService”).InputBegan:Connect(function(key)
if key.KeyCode == Enum.KeyCode.S then
if cd == true then return end
cd = true
wait(.1)
tweenCameraView(CameraViews.Hallway1.Exit[“1”],0.2)
wait(.1)
tweenCameraView(CameraViews.Hallway1.Exit[“2”],0.2)
end
end)
thanks for the response, and help, though currently I’ve put the project on hold sadly. I hope I can come back to it when I feel more confident in my ability to make it, thanks again for the help!
holy moly talk about a callback, never finished the project sadly, which I hate to say. couldn’t figure it out, too low level of scripting. plus camera stuff IS NOT my strong suit. why ask about progress? I assume you yourself are trying to make something like this, correct? or did you just scroll too far down and found my post and asked about it?