Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Expected indentifier when parsing expression, got 'local'. does anybody have any help?

print(player.Name .. local ClonedItem=game.ReplicatedStorage.Venomshank:Clone()

1 answer

You can't define a variable inside of a function.

local ReplicatedStorage = game:GetService("ReplicatedStorage")
print(player.Name)
local ClonedItem = ReplicatedStorage.Venomshank:Clone()

This discussion is preserved as it was. New answers, comments, and votes are closed.