|
| 28 Nov 2013 05:16 PM |
("TeleportService") can some one please make one for me becouse there is a script that pepole use to force pepole to teleport to what ever server they want and i need to disable ("TeleportService") on my server i know its possible some pepole have it on there server so can some one please make one for me thanks |
|
|
| Report Abuse |
|
|
RadialRed
|
  |
| Joined: 24 Nov 2013 |
| Total Posts: 84 |
|
|
| 28 Nov 2013 05:20 PM |
game:GetService("TeleportService"):Destroy()
Not sure if that'll work. Give it a try.
I saw on the Wiki that this is a Method for it.
[яα∂ιαℓяє∂] - тнє ѕρє¢ιαℓ кιи∂ σf яє∂ |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 28 Nov 2013 05:23 PM |
| If that doesn't work, you can sandbox the game variable and disable getservice or w/e |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2013 05:30 PM |
it didint work i just tied game:GetService("TeleportService"):Destroy() i create a new script on my server and put that in it and updated the game and ran the teleport script and it worked so the thing didint work that you gave me game:GetService("TeleportService"):Destroy() didint work |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 28 Nov 2013 05:33 PM |
I HIGHLY doubt this will work, since it's been a while since I played with sandboxing, but:
local oldGame = game
getfenv().game = nil getfenv().Game = nil
local x = newproxy(true) y = getmetatable(x)
y.__index = function(s,k) if k=="GetService" or k=="Service" then return end return rawget(s[k]) end
getfenv().Game = y getfenv().game = y |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 28 Nov 2013 05:34 PM |
I HIGHLY doubt this will work, since it's been a while for me since messing around with sandboxes
local oldGame = game
getfenv().game = nil getfenv().Game = nil
local x = newproxy(true) y = getmetatable(x)
y.__index = function(s,k) if k=="GetService" or k=="Service" then return end return rawget(s[k]) end
getfenv().Game = y getfenv().game = y |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
| |
|
N8X
|
  |
| Joined: 15 Nov 2013 |
| Total Posts: 1665 |
|
|
| 29 Nov 2013 02:25 PM |
| Alakazard(qlqkqzqrd) is the only user I know that has disabled TeleportService in his script builder, his game is uncopylocked. Judging your profile, go skiddy! Copy his teleportservice blocker skiddy! |
|
|
| Report Abuse |
|
|
|
| 29 Nov 2013 02:27 PM |
@cntkillme
You'd also want to check for game::service()
~ Like a Bass ~ |
|
|
| Report Abuse |
|
|
|
| 09 Dec 2013 02:27 PM |
Disables TeleportService:
local bannedServices = { TeleportService = true; BadgeService = true; }
local ogame = game game = newproxy(true) local gmt = getmetatable(game)
local function Wrap(bFunction,this) return this[bFunction] and type(this[bFunction]) == "function" and function(_,...) return this[bFunction](this,...) end or nil end
function gmt:__index(index) if index == "GetService" or index == "service" or index == "FindService" then return function (self,...) local serv = ({...})[1] if bannedServices[serv] then error(("%s is locked!"):format(serv),2) else if pcall(function() ogame:GetService(serv) end) then return ogame:GetService(serv) end end end else return Wrap(index,ogame) or index[ogame] end end
function gmt:__newindex(index,value) if pcall(function() print(ogame[index]) end) then if not ogame:FindFirstChild(index) then if not pcall(function() ogame[index] = value end) then error("unable to set game."..index.." to "..value..". Might be a read only member.",2) end else error("unable to set game."..index.." to "..value..". Might be a child instance.",2) end end end
function gmt:__tostring() return ogame.Name end
gmt.__metatable = "The metatable is locked"
game:GetService("TeleportService") -- ERROR: TeleportService is locked!
~ Like a Bass ~ |
|
|
| Report Abuse |
|
|
N8X
|
  |
| Joined: 15 Nov 2013 |
| Total Posts: 1665 |
|
|
| 09 Dec 2013 03:22 PM |
| I use badge service every admin script I made. You are an idiot. |
|
|
| Report Abuse |
|
|
|
| 09 Dec 2013 09:45 PM |
Ok then just remove it.
Only problem with this is:
workspace.Parent:GetService("TeleportService")
~ Like a Bass ~ |
|
|
| Report Abuse |
|
|
N8X
|
  |
| Joined: 15 Nov 2013 |
| Total Posts: 1665 |
|
|
| 10 Dec 2013 10:05 AM |
| game["Teleport Service"]:Teleport |
|
|
| Report Abuse |
|
|