Have you created the remote event in the Rep Storage? For me all is working
1 Like
Oh sorry it’s me !
I’ve placed you’re script for the client in this :
local Character = game.Players.LocalPlayer.Character
local Head = Character.Head
local Eyes = Head.Eyes
local ClosedEyes = Head.ClosedEyes
while true do
Eyes.Transparency = 0
ClosedEyes.Transparency = 1
wait(3.5)
Eyes.Transparency = 1
ClosedEyes.Transparency = 0
wait(0.15)
end
game.ReplicatedStorage.msg.OnClientEvent:connect(function(msg)
print(string.len(msg))
end)
But when I put your script in another local script with only you’re code it does work !
Thanks you very much !
Have a good day !
So when i’m doing this it does work :
local Character = game.Players.LocalPlayer.Character
local Head = Character.Head
local Eyes = Head.Eyes
local ClosedEyes = Head.ClosedEyes
game.ReplicatedStorage.msg.OnClientEvent:connect(function(msg)
print(string.len(msg))
end)
while true do
Eyes.Transparency = 0
ClosedEyes.Transparency = 1
wait(3.5)
Eyes.Transparency = 1
ClosedEyes.Transparency = 0
wait(0.15)
end
Go check my game, thanks to all of you I finally finished the FacialAnimation of my game !
Said a chat in the game if you want to see the player talk
1 Like