I can't change the transparency of my CFrames, I have seen other people do it so sorry for my amateur attempt at this as I'm really struggling
local Baseplate = game.Workspace.Baseplate while true do Baseplate.CFrame.Transparency = 0.1 wait(0.1) Baseplate.CFrame.Transparency = 0.2 wait(0.1) Baseplate.CFrame.Transparency = 0.3 wait(0.1) Baseplate.CFrame.Transparency = 0.4 wait(0.1) Baseplate.CFrame.Transparency = 0.5 wait(0.1) Baseplate.CFrame.Transparency = 0.6 wait(0.1) Baseplate.CFrame.Transparency = 0.7 wait(0.1) Baseplate.CFrame.Transparency = 0.8 wait(0.1) Baseplate.CFrame.Transparency = 0.9 wait(0.1) Baseplate.CFrame.Transparency = 1 wait(0.1) Baseplate.CFrame.Transparency = 0.9 wait(0.1) Baseplate.CFrame.Transparency = 0.8 wait(0.1) Baseplate.CFrame.Transparency = 0.7 wait(0.1) Baseplate.CFrame.Transparency = 0.6 wait(0.1) Baseplate.CFrame.Transparency = 0.5 wait(0.1) Baseplate.CFrame.Transparency = 0.4 wait(0.1) Baseplate.CFrame.Transparency = 0.3 wait(0.1) Baseplate.CFrame.Transparency = 0.2 wait(0.1) Baseplate.CFrame.Transparency = 0.1 wait(0.1) Baseplate.CFrame.Transparency = 0 end
CFrame doesn't have a transparency. Bricks do. If you want to change the transparency of a brick, you can use this:
local part = workspace.Baseplate local tweenLength = 1 --how long the 'animation' will take local info = TweenInfo.new(tweenLength) while game["Run Service"].Heartbeat:Wait() do game.TweenService:Create(part, info, {Transparency = 1}):Play() wait(tweenLength) game.TweenService:Create(part, info, {Transparency = 0}):Play() wait(tweenLength) end
CFrame
doesn't have a Transparency
property. If you wanted to change the transparency of the baseplate you could just make a simple for loop.
local Baseplate = game.Workspace.Baseplate --// Fade out loop for i = 1, 10 do Baseplate.Transparency = i/10 wait() end
Fact is: You cannot change a CFrame value.
TheCFrame
property does not have a Transparency
component, the proper way would be to create a for loop, and change the BRICK's Transparency
property, which is valid in this case.
For example.
for i = 0,1,0.01 do -- The first number is the "start", second is "end", and third is the increment, or how much you're increasing/decreasing, in this case, increasing. workspace.Baseplate.Transparency = i wait(0.01) end
This should gradually increase your baseplate's Transparency
property.