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

How do I make a script where when you press a button like Q and get a sword?

I am trying to script it but im a little busy anyone who can help?

1 answer

local plr = game.Players.LocalPlayer

function onKey(key)
	if key=="q" then
		game.Workspace.Lighting.LinkedSword:Clone(plr.StarterPack)
	end
end

I haven't test it.

Put a linked sword in lighting.

Try local script or regular.

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