I'm trying to make a model that follows me, everything works well. Except after I get the model, I can see the model, but after I test the game out, other people except me can't see the model I moved in to my character.
repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() local Tool = script.Parent local player = script.Parent.Parent local ws = script.WhiteSnake2 local stand = ws:Clone() local weld = stand.HumanoidRootPart.LocalScript local humanroot = stand.HumanoidRootPart stand.Parent = player local bp = Instance.new("BodyPosition") Tool.Equipped:connect(function(Mouse) Mouse.Button1Down:connect(function() wait(0.95) weld.Disabled = false script.Parent:Destroy() end) end)
the weld script is for the model that is welded behind me and it's working well, the ws is the model and it is also working well, but I'm not sure what caused to model to be invisible to everyone else.
Hey Jotaro71,
~~ KingLoneCat
It's because you're using a Local Script, let me explain why that happens: There's two sides: Server and Client.
The Server side replicates everything that happens in it to the Clients (Players). However, the Client side doesn't replicate the events happening in it to the others.
To make things simpler, The Server copies the game's place to the Clients every frame, but Client doesn't change the server, Just the player's copied place.
I'd recommend using Remote Events and Remote Functions for this issue, The wiki should help: http://wiki.roblox.com/index.php?title=Remote_Events_and_Functions