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
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
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.