Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Work for the player but other player don't see it ?

Asked by 7 years ago
Edited 7 years ago

So i made a script that toggle the particle of a knife but when i click on the gui the player1 see it but the player2 no why

Script :

1--local Tool = game.Workspace.xJathur95x.Knife
2local Player = game.Players.LocalPlayer
3 
4script.Parent.MouseButton1Click:connect(function()
5repeat wait() until Player.Character ~= nil
6 
7Player.Character.Knife.Base.Particles.Enabled = false
8end)
0
I'm assuming the game is filter enabled which means only the local player's client will see the change..if you want everyone to see it you will need a remoteevent so a script may do the action instead Vulkarin 581 — 7y
0
ok thx xJathur95x 129 — 7y

Answer this question