TweenService:Create no property named 'TextTransparency' for object 'Tween'

  1. What do you want to achieve? I want to set transparency of a Text to 1(invisible)

  2. What is the issue?

local Frame = script.Parent
local TS = game:GetService("TweenService")
local RageBot = script.Parent.Parent.RageBot
local AntiAim = script.Parent.Parent.AntiAim
local Home = script.Parent.Parent.Home
local Info = TweenInfo.new(2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 0)
local Info2 = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 0)
local Stroke = script.Parent.Parent.Home.UIStroke
local StrokeRageBot = script.Parent.Parent.RageBot.UIStroke
local StrokeAntiAim = script.Parent.Parent.AntiAim.UIStroke
local StrokeOfAntiAim = TS:Create(StrokeAntiAim, Info, {
	Transparency = 0,
})
local AntiText = TS:Create(AntiAim, Info, {
	TextTransparency = 0,
})
local StrokeRage = TS:Create(StrokeRageBot, Info, {
	Transparency = 0,
})
local Home = TS:Create(Home, Info, {
	TextTransparency = 0,
})
local HomeStroke = TS:Create(Stroke, Info, {
	Transparency = 0,
})
local RageBotText = TS:Create(RageBot, Info, {
	TextTransparency = 0,
})

Frame.MouseEnter:Connect(function()
	Frame:TweenSize(
		UDim2.new(0, 122, 0, 389),  
		Enum.EasingDirection.Out,    
		Enum.EasingStyle.Quad,      
		1,                          
		true                      
	)
	RageBotText:Play()
	StrokeRage:Play()
	Home:Play()
	HomeStroke:Play()
	AntiText:Play()
	StrokeOfAntiAim:Play()
end)

Frame.MouseLeave:Connect(function()
	TS:Create(Home, Info2, {
		TextTransparency = 1,
	}):Play()
	TS:Create(Stroke, Info2, {
		Transparency = 1,
	}):Play()
	TS:Create(RageBot, Info2, {
		TextTransparency = 1,
	}):Play()
	TS:Create(StrokeRageBot, Info2, {
		Transparency = 1,
	}):Play()
	TS:Create(AntiText, Info2, {
		TextTransparency = 1,
	}):Play()
	TS:Create(StrokeOfAntiAim, Info2, {
		Transparency = 1,
	}):Play()
	Frame:TweenSize(
		UDim2.new(0, 51,0, 389),  
		Enum.EasingDirection.Out,    
		Enum.EasingStyle.Quad,      
		2,                          
		true                      
	)
end)

You have two variables named Home-- one variable being the home frame itself and one being the home tween.
Name them differently and it should fix your issue.

Works thank you! :slight_smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.