Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why does the result of the camera displaying differ in Roblox Studio and Roblox Client?

Asked by 4 years ago

Hello, I am currently working on a start screen. I have come to a point where I wanted to display a position of my map with CFrame and Camera. But the problem is that the result differs in Roblox Studio and Roblox Client Does anybody know why?

local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:wait()
local Camera = workspace.CurrentCamera
local replicatedStorage = game:GetService("ReplicatedStorage")
local lighting = game:GetService("Lighting")
local blur = replicatedStorage:WaitForChild("Blur"):Clone()

Camera.CameraType = Enum.CameraType.Scriptable
Camera.CFrame = workspace.CameraPart.CFrame
blur.Parent = lighting
blur.Enabled = true

Thanks, Alex

0
do you mean when you play test your game in studio it acts different from when you play the published game 123nabilben123 499 — 4y
0
Correct! GlobixLP 6 — 4y

Answer this question