This tool was to make the player who uses it has a invisible torso, but It only works in studio.
EDIT: Used UserInputService Instead
local Player = Game.Players.LocalPlayer
local Char = Player.Character
local Mouse = Player:GetMouse()
local Torso = Char:FindFirstChild'Torso'
enabled = true
game:GetService("UserInputService").InputBegan:connect(function(input,proc)
if input.KeyCode == Enum.KeyCode.E then
if enabled then
enabled = false
Torso.Transparency = 1
wait(5)
Torso.Transparency = 0
enabled = true
end
end
end)
No errors Why won't this tool work in a server?
Tool is a regular tool not requiring a handle and the script is a local script and I've tried a hopperbin

1 comment
Thanks! This helped a lot!