For the tele use something like this:
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Torso.CFrame = CFrame.new(0, 0, 0) -- Place A Position Here
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
game.Parent.Parent.WEAPONHERE = player.Backpack
end
end
end
script.Parent.Touched:connect(onTouched)
Not sure if it will work, if someone can improve on it then do so. Please note I made this by copying and editing certain scripts. Doubt it will work.
|