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

Confused about this tool script?

tool = script.Parent
player = game.Players.LocalPlayer



tool.Activated:connect(function()
	player.Charater.Torso.Transparency = 0.5
end)

It doesn't return an error, but it doesn't work. It IS a local script

1 answer

local tool = script.Parent --consider using local variables
local player = game.Players.LocalPlayer



tool.Activated:connect(function()
    player.Character.Torso.Transparency = 0.5 --misspelled character ;)
end)

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