|
| 19 Apr 2009 09:57 AM |
| Hey I need the best scripter. I need a script for teleporting people like when i say "backstage (name)" then the person goes backstage. I also need a script that when I say "/m (whatever)" it shows on the screen. |
|
|
| Report Abuse |
|
|
| |
|
|
| 19 Apr 2009 10:07 AM |
| i think it is possible i saw a plance where when you typed b/ you would teleport to a set location |
|
|
| Report Abuse |
|
|
MicroUser
|
  |
| Joined: 29 Mar 2009 |
| Total Posts: 3601 |
|
| |
|
Person299
|
  |
| Joined: 28 Feb 2008 |
| Total Posts: 7952 |
|
|
| 19 Apr 2009 12:09 PM |
I dont think Meelo is gonna help you with this. And this is possible, actually its quite simple. |
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 19 Apr 2009 12:10 PM |
| And i dont think you need a teleport (name) you could just make it a local text and function |
|
|
| Report Abuse |
|
|
Meelo
|
  |
| Joined: 04 Jul 2008 |
| Total Posts: 14763 |
|
|
| 19 Apr 2009 12:19 PM |
"I dont think Meelo is gonna help you with this. And this is possible, actually its quite simple."
XD
It really is pretty easy. You don't need the best scripter. Most people who are regullarly on these forums could do it. |
|
|
| Report Abuse |
|
|
Pitfall
|
  |
| Joined: 05 Jul 2008 |
| Total Posts: 2153 |
|
|
| 19 Apr 2009 12:20 PM |
lol its called a command script http://wiki.roblox.com/index.php/Commands |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2009 12:28 PM |
| easily possible.Stuff like that is in Free Models now. |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2009 12:34 PM |
| Yeah, it is very simple. Even if we wanted to do it, we wouldn't know where backstage is. |
|
|
| Report Abuse |
|
|
fixico
|
  |
| Joined: 23 Jun 2008 |
| Total Posts: 4539 |
|
|
| 19 Apr 2009 12:36 PM |
| lol DrAgonmoray you could do 'workspace["Backstage"].Position' |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2009 12:40 PM |
| What if backstage is a model? What if there is no brick/model named that? |
|
|
| Report Abuse |
|
|
| |
|
|
| 19 Apr 2009 01:04 PM |
vips={"ReyMysterioFan619"} function vip(player) --player should be entered as a string value for a=1,#vips do if string.lower(vips[a])==string.lower(player) then return true end end return false end
function getName(sName) for c=1,string.len(sName) do a=game.Players:GetChildren() d=true e=nil for b=1,#a do if string.sub(sName,1,c)==string.sub(a[b].Name1,c) then if d then d=false e=a[b] elseif d=false then e=nil end end end if d==false and e~=nil then return e end end return nil end
function onChatted(player,msg) if vip(player.Name) then if string.lower(string.sub(msg,1,10))=="backstage " then targ=getName(string.lower(string.sub(msg,11)) targ.Character.Torso.CFrame=CFrame.new(Vector3.new(0,10,0))--input backstage vectors here end
if string.lower(string.sub(msg,1,3))=="/m " then local a=Instance.new("Message") a.Text=string.sub(msg,4) a.Name="mChat" a.Parent=workspace wait(4) if workspace:findFirstChild("mChat")~=nil then workspace.mChat:remove() end end
end end
That might work, I didn't test it. |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2009 01:06 PM |
function onChatted(msg,speaker) if (string.sub (msg,1,4) == "teleport/" then p = game.Players:GetChildren() speaker.Torso.CFrame = CFrame.new (Vector3.new (-4, 1, 1.27e+003)) end end end
-- This is roughly the script, I need the connect too. |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2009 01:06 PM |
>_>
Two space above.
<_<
-- :P
>_> |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2009 01:15 PM |
Ooh, forgot the connections in the script. Add this to the end.
function onPlayerEntered(player) player.Chatted:connect(function(msg) onChatted(msg,player) end) end game.Players.ChildAdded:connect(onPlayerEntered) |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 19 Apr 2009 01:23 PM |
--Made by dr01d3k4 --Commands = --backstage/name --m/text vip = {"ReyMysterioFan619", "dr01d3k4"} pos = Vector3.new(0, 0, 0)
game.Players.ChildAdded:connect(function (a) a.Chatted:connect(function (msg) local b = false for _, c in pairs(vip) do if (a.Name == vip) then b = true end end if b then if (string.sub(msg, 1, 10) == "backstage/" then local c = game.Players:findFirstChild(string.sub(msg, 11)) or a c.Character.Torso.CFrame = CFrame.new(Vector3.new(pos.x, pos.y, pos.z)) end if (string.sub(msg, 1, 2) == "m/" then local m = Instance.new("Message") m.Parent = game.Workspace m.Text = string.sub(msg, 3) wait(5) m:remove() end end end) end) |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2009 01:25 PM |
function onChatted(msg,speaker) if (string.sub (msg,1,8) == "teleport/" then p = game.Players:GetChildren() speaker.Torso.CFrame = CFrame.new (Vector3.new (-4, 1, 1.2999e+003)) end end
function onPlayerEntered(player) player.Chatted:connect(function(msg) onChatted(msg,player) end) end game.Players.ChildAdded:connect(onPlayerEntered)
-- Use this, you'll be happy. |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2009 01:30 PM |
| Lol, does this mean we are all the best scripter ever? |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2009 01:52 PM |
| ill see if all ur scripting works cuz scripting is hard 4 me |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2009 02:16 PM |
YAWN!
function opc(m) if(string.sub(m,1,9)=="teleport/")then if(game.Players:FindFirstChild(string.sub(m,10)))then game.Players[string.sub(m,10)].Character:MoveTo(Vector3.new(0,4,0)) end elseif(string.sub(m,1,2)=="/m")then --I'm not sure what you wanted it to do here... end end function ope(p) p.Chatted:connect(opc) end game.Players.PlayerAdded:connect(ope) |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2009 04:05 PM |
| YAWN! Shorter Line then yours. |
|
|
| Report Abuse |
|
|
b2bhp
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 2146 |
|
|
| 19 Apr 2009 04:08 PM |
| well its called person229's admin script, it has it in there, just name an area backstage and edit the script a little xD |
|
|
| Report Abuse |
|
|
fiveofhts
|
  |
| Joined: 28 Jul 2008 |
| Total Posts: 87 |
|
| |
|