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 8 years ago
01local Players = game:GetService("Players")
02 
03local Player = Players.LocalPlayer
04local PlayerGui = Player:WaitForChild("PlayerGui")
05local ScreenGui = PlayerGui:WaitForChild("ScreenGui")
06local LoadingGui = ScreenGui:WaitForChild("LoadingGui")
07local LoadingTip = LoadingGui:WaitForChild("LoadingTip")
08 
09LoadingTip.Text = Tips[math.random(1,#Tips)]
10--LoadingGui.Visible = true
11 
12 
13wait(6.5)
14local CurrentCamera = workspace.CurrentCamera
15CurrentCamera.CameraType = Enum.CameraType.Scriptable
16wait(1)
17LoadingGui.Visible = false
18 
19CurrentCamera.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 — 8y
0
Yeah Shawnyg is right. AstrealDev 728 — 8y
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 — 8y

1 answer

Log in to vote
0
Answered by 8 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