HayHay
August 10, 2023, 6:33pm
1
I have this script:
local ProximityPrompt = script.Parent.Parent.ProximityPrompt
ProximityPrompt.Triggered:Connect(function(player)
game.StarterPack.Cup.Handle:WaitForChild("Liquid").Transparency = 0
game.StarterPack.Cup.Handle:WaitForChild("Liquid").Color = Color3.fromRGB(124, 156, 107)
end)
And the color isn’t changing and it is still transparent. There is also no errors in the output. Thanks!
1 Like
Noah
August 11, 2023, 10:34am
3
What type of script is it?
1 Like
HayHay
August 11, 2023, 12:50pm
4
A normal script. I am making it for a machine.
I believe I made a really similar script before … could it be possible that your script can’t work because there’s nothing in StarterPack? Maybe try putting it (the object) in Workspace and see it if works.
1 Like
HayHay
August 11, 2023, 5:13pm
6
it works in workspace, so I am confused.
system
Closed
August 18, 2023, 5:43pm
8
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.