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

All parts get turned half transparent on run. Fix?

Asked by 7 years ago
local Players = game:GetService("Players")

local Player = Players.LocalPlayer
local PlayerGui = Player:WaitForChild("PlayerGui")
local ScreenGui = PlayerGui:WaitForChild("ScreenGui")
local LoadingGui = ScreenGui:WaitForChild("LoadingGui")
local LoadingTip = LoadingGui:WaitForChild("LoadingTip")

LoadingTip.Text = Tips[math.random(1,#Tips)]
--LoadingGui.Visible = true


wait(6.5)
local CurrentCamera = workspace.CurrentCamera
CurrentCamera.CameraType = Enum.CameraType.Scriptable
wait(1)
LoadingGui.Visible = false

CurrentCamera.CFrame = CFrame.new(-21.8774242, 74.0764542, 69.80439, 0.999999821, -0.000710515305, 0.000112533424, -0, 0.156432942, 0.987688661, -0.000719371717, 0.987688482, -0.156432897)

Basically what happens is, that when the wait is finished, something with the camera turns all parts half transparent.

0
I'm not much of a camera manipulator myself, but I do know that if all parts are half transparent, that means the Camera is too close to the Character. Shawnyg 4330 — 7y
0
Yeah Shawnyg is right. AstrealDev 728 — 7y
0
Yeah, if everything becomes transparent you would want to move the camera back. I don't know much about how to CFrame and etc but if you want to set it back to normal you would want to set the camera back to the humanoid. If you need an example of this feel free to check out this place, the place is uncopylocked so feel free to take it! https://www.roblox.com/games/556922203/Camera-Test CommanderSkywalkerTR 5 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

Check out this place. I posted a comment but just incase you ignore it here you go.

Check out this place here, it has instructions on how to manipulate a camera, it's pretty basic though.

https://www.roblox.com/games/556922203/Camera-Test

Ad

Answer this question