#i have emotes in my game and for some reason only I CAN SEE THEM, no one else can see me emote
1 messages · Page 1 of 1 (latest)
1 handler:
2 LocalEventsScript :
local PlayerService = game:GetService("Players")
local ServerStorage = game:GetService("ServerStorage")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteEvents = ReplicatedStorage:WaitForChild("RemoteEvents")
local LocalEvents = RemoteEvents:WaitForChild("LocalEvents")
local player = PlayerService.LocalPlayer
function cloneSound(sound)
local cloneS = sound:Clone()
cloneS.Parent = script
cloneS:Play()
cloneS.Ended:Connect(function()
cloneS:Destroy()
end)
end
LocalEvents.LocalPart.OnClientEvent:Connect(function(minigame, part)
if minigame == "Save The Builder!" then
if part:IsA("BasePart") and not part:FindFirstChild(player.Name) then
local bloqueo = Instance.new("ObjectValue", part)
bloqueo.Name = player.Name
part.CanCollide = true
part.Transparency = 0
cloneSound(script.LocalPartSound)
local mouseClick = part:FindFirstChildOfClass("ClickDetector")
if mouseClick then
mouseClick:Destroy()
end
end
elseif minigame == "Strange Forest" then
part.CanCollide = false
part.Transparency = 1
end
end)
the .txt is the handler
idk whats wrong w it
@iron kite
im trying to read it but its so long
how do you know only you can see them did you test it
maybe theres a huge memory leak or smth
my friends tested it
not a single one
can see
Are you sure ur playing the anims on the server?
no need to play animations on the server
? Players automatically sync right?
animations automatically replicate to the server & other users when played from the client, yes
But only players', no?
client → client replication doesn't exist otherwise you computer could get invaded by an exploiter lol. the way animations played from the client replicate is client → server → all clients
So I can play any animations on anything on client?
And everything will see it right ?
on your own character, yes. because you have the network ownership of your own character
That's what I was talking about that only works for the players'
and the post suggests playing animations on their own character, therefore there's no need to play the animation from the server
Ye idk the issue he probably messed up something really dumb
it looks like AI-generated code like 80%
** You are now Level 13! **
the code was originally janky af
and the scripter works with ai or smth
most of the stuff he makes works well
but this just doesnt work at all