the model doesn't appear to another players
tool = script.Parent function onButton1Down(mouse) local model = tool.model model.Parent = game.Workspace model:MoveTo(mouse.hit.p) wait(5) game.Workspace.TVehicle:Destroy() end function onSelected(mouse) mouse.Icon = "rbxasset://textures\\GunCursor.png" mouse.Button1Down:connect(function() onButton1Down(mouse) end) end tool.Selected:connect(onSelected)
Filtering Enabled works by Cutting off the client from replicating everything it sees to the server. Basically you have to put this model into the workspace using a server script? How could we do this? Well we would move this model from the tool to the replicated storage first. You can then put a event or remote function in the replicated storage. Now ima weirdo and always use remote functions even though I should not. Next -- local script tool = script.Parent
function onButton1Down(mouse) local player = game.Players.LocalPlayer local model = game.ReplicatedStorage.model.Name local Ay = mouse.hit.p game.ReplicatedStorage.EventName:InvokeServer(player, Ay, model) wait(5) game.Workspace.TVehicle:Destroy() end function onSelected(mouse) mouse.Icon = "rbxasset://textures\\GunCursor.png" mouse.Button1Down:connect(function() onButton1Down(mouse) end) end tool.Selected:connect(onSelected) --ServerScript function game.ReplicatedStorage.EventName:OnServerInvoke(player,Ay, model) if game.ReplicatedStorage:FindFirstChild(model) then local Mod = game.ReplicatedStorage:FindFirstChild(model) local Mode = Mod:Clone() Mode.Parent = game.Workspace Mode:MoveTo(mouse.hit.p) wait(5) game.Workspace.TVehicle:Destroy() end end
If I were you I would not do any of what I said though as im most likely wrong and someone will put a better answer. But who knows this might help. And if it does work (Untested) then make sure you put checks on it so its not exploited.