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

So I was scripitng something and I came across this please help me?

local player = game.Players.LocalPlayer local MarketplaceService = game:GetService("MarketplaceService") function onChatted(message, player) if message == "/sg Toolname" and if MarketplaceService:UserOwnsGamePassAsync(player.UserId,13863425) then ---- enter the tool name u have in lighting game.Lighting.Toolname:Clone().Parent else game.player.Backpack

then

end game.Players.PlayerAdded:Connect(function(player) player.Chatted:connect(function(message) onChatted(message, player)end)

end)

1 comment

0

Please format script correctly.

1 answer

hey you! have you ever heard of enes? if you are in trouble, better call enes!

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