The script clones into the workspace and stuff, but the game deletes some of the items. The output says it wasnt replicated to the server
http://i.imgur.com/p8DZsFn.jpg
Local script
local player = game.Players.LocalPlayer
local char = player.Character
local cam = game.Workspace.CurrentCamera
local dummy = game:GetService('ReplicatedStorage'):WaitForChild('Dummy')
local characterItems = game:GetService('ReplicatedStorage'):WaitForChild('CharacterCreationItems')
local folder = game.Workspace:WaitForChild('SpecialEquipment')
local spawnPart = folder:WaitForChild'SpawnPart'
local cameraPart = folder:WaitForChild'CameraPart'
local remote = game:GetService('ReplicatedStorage'):WaitForChild('Remotes'):WaitForChild'CloneDummyRemote'
if not char or not char.Parent then
player.CharacterAdded:connect(function()
remote:FireServer({characterItems})
end)
end
Server script
local replicatedStorage = game:GetService('ReplicatedStorage')
local cloneDummyRemote = Instance.new('RemoteEvent')
cloneDummyRemote.Parent = replicatedStorage:WaitForChild'Remotes'
cloneDummyRemote.Name = 'CloneDummyRemote'
cloneDummyRemote.OnServerEvent:connect(function(player, arguments)
local clone = arguments[1]:Clone()
clone.Parent = workspace
wait()
clone.Parent = workspace
end)
(i double parented hoping that would work, but sadly it didnt)
