null
nil
-
false
0
ToolGiver
http://www.roblox.com/asset/?id=1329649981
-
false
Reset
--clockwork
bin = script.Parent
function onButton1Down(mouse)
local player = game.Players.LocalPlayer
if player == nil then return end
end
function onSelected(mouse)
mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
mouse.KeyDown:connect(KeyFunctions)
end
function KeyFunctions(key)
if key == "z" then
Give(6568) --Cheezburger
end
if key == "x" then
Give(6564) --Bloxilicious Bubble Gum
end
if key == "c" then
Give(6560) --Space Sandwich
end
if key == "v" then
Give(6554) --Chocolate Milk
end
if key == "b" then
Give(6548) --Taco
end
if key == "n" then
Give(6546) --Bloxy Cola
end
if key == "g" then
Give(6550) --Gravity Coil
end
if key == "p" then
Give(15655) --shhhhhh
end
if key == "k" then
Give(18614) --Katana
end
if key == "m" then
Give(48596336) --Morph Potion
end
if key == "l" then
s = Instance.new("Sound")
s.Name = "Sound"
s.SoundId = "http://assetgame.roblox.com/asset/?id=27697707"
s.Volume = 100
s.Looped = false
s.archivable = true
s.PlayOnRemove = false
s.Parent = ToolGiver
wait(1)
s:play()
end
end
function Give(id)
M = Game:GetService("InsertService"):LoadAsset(id)
M.Parent = Game.Workspace
M:MakeJoints()
M:MoveTo(Game.Workspace.BrentDaMage.Torso.Position + Vector3.new(0, 0, 0))
end
bin.Selected:connect(onSelected)
-
false
Script
local debounce = false
function getPlayer(humanoid)
local players = game.Players:children()
for i = 1, #players do
if players[i].Character.Humanoid == humanoid then return players[i] end
end
return nil
end
function onTouch(part)
local human = part.Parent:findFirstChild("Humanoid")
if (human ~= nil) and debounce == false then
debounce = true
local player = getPlayer(human)
if (player == nil) then return end
script.Parent:clone().Parent = player.Backpack
wait(2)
debounce = false
end
end
script.Parent.Parent.Touched:connect(onTouch)
-
false
oof
1
false
http://www.roblox.com/asset/?id=915288747
1