generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Club Houses » Clans & Guilds
Home Search
 

Re: @Scripters

Previous Thread :: Next Thread 
ywis is not online. ywis
Joined: 08 Aug 2014
Total Posts: 12931
27 Apr 2015 01:23 PM
local Admins = {"ywis","Player"}

local Players = game:GetService("Players")
local Maps = game:GetService("ServerStorage").Maps:GetChildren()
local CurrentMap

local Commands = {
Load = function(str)
for i,v in next,Maps do
if str and v:lower():match("^"..str:lower()) then
if CurrentMap then CurrentMap:Destroy() end
local clone = v:Clone()
CurrentMap = clone
clone.Parent = workspace
end
end
end,

Remove = function(str)
if CurrentMap then CurrentMap:Destroy() end
end
}

Players.PlayerAdded:connect(function(plr)
for i,v in next,Admins do
if v:lower() == plr.Name:lower() then
plr.Chatted:connect(function(msg)
for i,v in next,Commands do
if msg:lower():match("^:"..i:lower()) then
v(msg:match("^:"..i:lower().."%s(.+)"))
end
end
end)
end
end
end)


--[[
Commands:
:Load [map]
:Remove
]]


I want it to load maps based on the commands.

ywis | commander of sf
Report Abuse
darkwisp is not online. darkwisp
Joined: 07 Apr 2010
Total Posts: 22653
27 Apr 2015 01:25 PM
You suck
Report Abuse
ywis is not online. ywis
Joined: 08 Aug 2014
Total Posts: 12931
27 Apr 2015 01:26 PM
This is made by giganticguilian :/

ywis | commander of sf
Report Abuse
darkwisp is not online. darkwisp
Joined: 07 Apr 2010
Total Posts: 22653
27 Apr 2015 01:27 PM
He sucks -_-

Lol jk it should work after skimming thru it
Report Abuse
ywis is not online. ywis
Joined: 08 Aug 2014
Total Posts: 12931
27 Apr 2015 01:28 PM
Dark I don't know what I'm doing wrong, I got the maps as in the serverstorage,

where should I put this script?

ywis | commander of sf
Report Abuse
darkwisp is not online. darkwisp
Joined: 07 Apr 2010
Total Posts: 22653
27 Apr 2015 01:30 PM
ServerScript in workspace...

Um if there is any bugs(Too lazy to check), check the console log
Report Abuse
xxhero is not online. xxhero
Joined: 07 Feb 2010
Total Posts: 445
27 Apr 2015 01:30 PM
Me helping you? Haha
Report Abuse
ywis is not online. ywis
Joined: 08 Aug 2014
Total Posts: 12931
27 Apr 2015 01:31 PM
should this be a normal script or a local script?

ywis | commander of sf
Report Abuse
Jradi is online. Jradi
Joined: 15 Aug 2012
Total Posts: 10015
27 Apr 2015 01:31 PM
Gigantic is the bomb dude

If anything, he is better than prag.


[ Join Blood Dominion: http://www.roblox.com/My/Groups.aspx?gid=1254658 ]
Report Abuse
darkwisp is not online. darkwisp
Joined: 07 Apr 2010
Total Posts: 22653
27 Apr 2015 01:33 PM
In Advanced Objects, a server script is just labelled "Script".
Report Abuse
ywis is not online. ywis
Joined: 08 Aug 2014
Total Posts: 12931
27 Apr 2015 01:33 PM
aghhh i can't seem to load anything!

ywis | commander of sf
Report Abuse
ywis is not online. ywis
Joined: 08 Aug 2014
Total Posts: 12931
27 Apr 2015 01:35 PM
This is what I've done,

1. put the script in Workspace

2. put the folder called "Maps" into Server Storage

3. used the command :Load pine (pine is a model in the folder "Maps")

still doesn't load.

ywis | commander of sf
Report Abuse
xxhero is not online. xxhero
Joined: 07 Feb 2010
Total Posts: 445
27 Apr 2015 01:36 PM
Why don't you ask Devoi? He's in your primary clan VOID.
Report Abuse
ywis is not online. ywis
Joined: 08 Aug 2014
Total Posts: 12931
27 Apr 2015 01:58 PM
xxhero what are you doing

ywis | commander of sf
Report Abuse
NataliaAlianovna is not online. NataliaAlianovna
Joined: 31 Aug 2012
Total Posts: 6662
27 Apr 2015 02:06 PM
if you hired gig i hope there was a refund policy lmao



Phiropy Is Truly Amazing, He's The True #1..
Report Abuse
xxhero is not online. xxhero
Joined: 07 Feb 2010
Total Posts: 445
27 Apr 2015 02:07 PM
I'm a scripter.
Report Abuse
GiganticGulian is not online. GiganticGulian
Joined: 18 Feb 2011
Total Posts: 2233
27 Apr 2015 02:08 PM
prag is probably just as good @jradi
Report Abuse
Pragmatist is not online. Pragmatist
Joined: 17 Oct 2008
Total Posts: 16170
27 Apr 2015 02:22 PM
local Admins = {"ywis","Player"}

local Players = game:GetService("Players")
local Maps = game:GetService("ServerStorage"):WaitForChild("Maps")
local CurrentMap

local Commands = {
["Load"] = function(str)
for index, child in pairs(Maps:GetChildren()) do
if str:lower() == child.Name:lower() then
if CurrentMap then
CurrentMap:Destroy()
end
local clone = child:Clone()
CurrentMap = clone
clone.Parent = workspace
end
end
end,

Remove = function(str)
if CurrentMap then CurrentMap:Destroy() end
end
}

Players.PlayerAdded:connect(function(plr)
for i,v in next, Admins do
if v:lower() == plr.Name:lower() then
plr.Chatted:connect(function(msg)
for i,v in next, Commands do
if msg:lower():match("^:"..i:lower()) then
v(msg:match("^:"..i:lower().."%s(.+)"))
end
end
end)
end
end
end)
Report Abuse
ywis is not online. ywis
Joined: 08 Aug 2014
Total Posts: 12931
27 Apr 2015 02:27 PM
xxhero

no i mean what's this about asking devoi do you really think he has time to look at my message

ywis | commander of sf
Report Abuse
Pragmatist is not online. Pragmatist
Joined: 17 Oct 2008
Total Posts: 16170
27 Apr 2015 02:28 PM
yes you're welcome too deadadventure
Report Abuse
R5P is not online. R5P
Joined: 30 Jul 2013
Total Posts: 5187
27 Apr 2015 02:31 PM
prag sucks
Report Abuse
ywis is not online. ywis
Joined: 08 Aug 2014
Total Posts: 12931
27 Apr 2015 02:34 PM
prag i gotta see if the script works but THANKS YOU SO MUCHS LIKE OH MY GWERD

ywis | commander of sf
Report Abuse
Duelingwarlord is not online. Duelingwarlord
Joined: 15 Feb 2010
Total Posts: 22333
27 Apr 2015 02:38 PM
wrong subforum btw
but next time post it on scripters or scriptinghelpers.org
Report Abuse
ywis is not online. ywis
Joined: 08 Aug 2014
Total Posts: 12931
27 Apr 2015 02:44 PM
duel scripters is dead lol

ywis | commander of sf
Report Abuse
Tatsunabi is not online. Tatsunabi
Joined: 02 May 2014
Total Posts: 735
27 Apr 2015 02:51 PM
Line 4 local CurrentMap is wrong. It should be local CurrentMap = nil.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image