Okay, so basically I've been trying to clone the player.Character in a server script, but it keeps saying "attempt to index local 'Astral' (a nil value)" even though Its not a nil value. Does anyone know whats happening?
local PrueFire = game.ReplicatedStorage.Prue
PrueFire.OnServerEvent:Connect(function(Player,Spell,Misc)
if Spell == "Astral" then
local Char = Player.Character
if Char then
local Astral = Char:Clone()
Astral.Parent = workspace
end
end
end)

1 comment
I have been playing around with it for 30 minutes, but I cant get it to work.