6bz
|
|
Joined: 20 Jan 2021 |
Total Posts: 5 |
|
|
For people who want a "Sit" HopperBin.
Posted: 11 Feb 2021 11:51 AM
|
Insert a HopperBin and move it into StarterPack
Insert a LocalScript and move it in the HopperBin
In the local script, enter the following:
----------------------------------------------------------------------------------
tool = script.Parent
local switch = 0
function click(mouse)
local Player = game.Players.LocalPlayer
if Player == nil then return end
mouse.Icon = "http://www.roblox.com/asset/?id=30138921"
if switch == 0 then
Player.Character.Humanoid.Sit = true
switch = 1
elseif switch == 1 then
Player.Character.Humanoid.Sit = false
switch = 0
end
end
function selected(mouse)
mouse.Icon = "http://www.roblox.com/asset/?id=30138921"
mouse.Button1Down:connect(function () click(mouse) end)
end
tool.Selected:connect(selected)
----------------------------------------------------------------------------------
(Huge thanks to FleskhjertaOwns on Roblox btw) |
|
|
Report Abuse |
|
blocks404
|
|
Joined: 21 Jan 2021 |
Total Posts: 194 |
|
|
Re: For people who want a "Sit" HopperBin.
Posted: 12 Feb 2021 21:57 PM
|
Nice script but I don't know what's an sit hopper bin. |
|
|
Report Abuse |
|
Piet
|
|
Joined: 29 Nov 2020 |
Total Posts: 255 |
|
|
Re: For people who want a "Sit" HopperBin.
Posted: 22 Feb 2021 18:22 PM
|
ok |
|
|
Report Abuse |
|