01 | script.Parent.Activated:Connect( function () |
02 | local p = game.Players.LocalPlayer |
03 | local mouse = p:GetMouse() |
04 | local function cloneCharacter(character) |
05 | character.Archivable = true |
06 | local fake = character:clone() |
07 | character.Archivable = false |
08 | return fake |
09 | end |
10 | local clone = cloneCharacter(p.Character) |
11 | clone.Parent = workspace |
12 | clone.CFrame = CFrame.new(mouse.Hit) |
13 | end ) |
okay,so i might be dumb but I can't figure out where the mistake is
You must use a RemoteEvent!!! Instances made Localy will not work
If I helped, please mark my answer as correct ;)