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 » Game Creation and Development » Scripters
Home Search
 

Re: does anyone script training facilities?

Previous Thread :: Next Thread 
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:29 PM
dot
Report Abuse
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:29 PM
will be paid.
Report Abuse
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
24 Dec 2015 07:30 PM
I don't, but I could depending on the pay.

Script0 has become unstable.. Please terminate it.
Report Abuse
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:31 PM
unstable, would you be able to make a script that works like this?

when you say ':uni [name]' it gives the person the uniform that is set?
Report Abuse
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
24 Dec 2015 07:31 PM
That's hella easy, and I could make you that for free.

Script0 has become unstable.. Please terminate it.
Report Abuse
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:33 PM
can you make me 1 please?
Report Abuse
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
24 Dec 2015 07:36 PM
local names = {
LimitedReach = true,
}

game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(m)
if m:sub(1, 5):lower() == ":uni " then
local plr = getplr(m:sub(6):lower())
if plr and plr.Character then
plr.Character.Torso.roblox:Destroy()
for k, v in next, plr.Character:GetChildren() do
if v:IsA("Hat") or v:IsA("Shirt") or v:IsA("ShirtGraphic") or v:IsA("Pants") then
v:Destroy()
end
end
for k,v in next, script:GetChildren() do
p:LoadCharacterAppearance(v:Clone())
end
end
end
end)
end)

That should work; put everything pertaining to the uniform in the script.


Script0 has become unstable.. Please terminate it.
Report Abuse
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:38 PM
im like the worst scripter. can you make the full script and pm me the model?
if you want, i'll even pay you.

these are the shirts & pants I want.

pant: http://www.roblox.com/Vestarian-War-Garb-Bottom-item?id=330894106
shirt: http://www.roblox.com/Vestarian-War-Garb-Top-item?id=330892492
Report Abuse
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
24 Dec 2015 07:39 PM
Oops, made a mistake. Use this instead. (I fixed it & added support for not typing capitals in the name, and added support for spaced names).

local names = {
['limitedreach'] = true,
}

game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(m)
if m:sub(1, 5):lower() == ":uni " then
if not names[p.Name:lower()] then
return
end
local plr = getplr(m:sub(6):lower())
if plr and plr.Character then
plr.Character.Torso.roblox:Destroy()
for k, v in next, plr.Character:GetChildren() do
if v:IsA("Hat") or v:IsA("Shirt") or v:IsA("ShirtGraphic") or v:IsA("Pants") then
v:Destroy()
end
end
for k,v in next, script:GetChildren() do
p:LoadCharacterAppearance(v:Clone())
end
end
end
end)
end)

Script0 has become unstable.. Please terminate it.
Report Abuse
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:39 PM
where do i put the pants & shirts id?
Report Abuse
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
24 Dec 2015 07:40 PM
@Limited

Literally all you do is, put a Script object in workspace. Then, double click it, and paste the second script I provided. Then just add the shirt and pants inside of the script. It's easy.

Script0 has become unstable.. Please terminate it.
Report Abuse
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:44 PM
how do you add shirts or pants?
Report Abuse
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:46 PM
this is how it looks right now.
/FhWK1HN (imgr)
Report Abuse
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:47 PM
wrong one.
/5diPFX9 (imgr)
Report Abuse
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:49 PM
b
Report Abuse
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
24 Dec 2015 07:49 PM
Just insert them into the script.. like you would a part into workspace..

Anyways, I forgot to define getplr. here you go.

local names = {
['limitedreach'] = true,
}

local function getplr(str)
for k,v in next,game.Players:GetPlayers() do
if v.Name:sub(1,#str):lower() == str then
return v
end
end
end

game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(m)
if m:sub(1, 5):lower() == ":uni " then
if not names[p.Name:lower()] then
return
end
local plr = getplr(m:sub(6):lower())
if plr and plr.Character then
plr.Character.Torso.roblox:Destroy()
for k, v in next, plr.Character:GetChildren() do
if v:IsA("Hat") or v:IsA("Shirt") or v:IsA("ShirtGraphic") or v:IsA("Pants") then
v:Destroy()
end
end
for k,v in next, script:GetChildren() do
p:LoadCharacterAppearance(v:Clone())
end
end
end
end)
end)

Script0 has become unstable.. Please terminate it.
Report Abuse
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:51 PM
gonna see if it works. sorry i am like a really noob scripter.
Report Abuse
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:52 PM
it works, but is there anyway to keep your hats on?
Report Abuse
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
24 Dec 2015 07:54 PM
Yea, hold on.

Script0 has become unstable.. Please terminate it.
Report Abuse
Beastias is not online. Beastias
Joined: 24 Jan 2014
Total Posts: 1279
24 Dec 2015 07:54 PM
why not just shirt/pants them lol
Report Abuse
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
24 Dec 2015 07:55 PM
Here

local names = {
['limitedreach'] = true,
}

local function getplr(str)
for k,v in next,game.Players:GetPlayers() do
if v.Name:sub(1,#str):lower() == str then
return v
end
end
end

game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(m)
if m:sub(1, 5):lower() == ":uni " then
if not names[p.Name:lower()] then
return
end
local plr = getplr(m:sub(6):lower())
if plr and plr.Character then
plr.Character.Torso.roblox:Destroy()
for k, v in next, plr.Character:GetChildren() do
if v:IsA("Shirt") or v:IsA("ShirtGraphic") or v:IsA("Pants") then
v:Destroy()
end
end
for k,v in next, script:GetChildren() do
p:LoadCharacterAppearance(v:Clone())
end
end
end
end)
end)

Script0 has become unstable.. Please terminate it.
Report Abuse
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:55 PM
wait unstable, i found out how. but is there anyway it could stay permanently till they stay in game?
Report Abuse
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
24 Dec 2015 07:57 PM
local names = {
['limitedreach'] = true,
}

local function getplr(str)
for k,v in next,game.Players:GetPlayers() do
if v.Name:sub(1,#str):lower() == str then
return v
end
end
end

local function outfit(plr)
plr.Character.Torso.roblox:Destroy()
for k, v in next, plr.Character:GetChildren() do
if v:IsA("Shirt") or v:IsA("ShirtGraphic") or v:IsA("Pants") then
v:Destroy()
end
end
for k,v in next, script:GetChildren() do
p:LoadCharacterAppearance(v:Clone())
end
end

game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(m)
if m:sub(1, 5):lower() == ":uni " then
if not names[p.Name:lower()] then
return
end
local plr = getplr(m:sub(6):lower())
if plr and plr.Character then
outfit(plr)
plr.CharacterAdded:connect(function(c)
wait(2)
outfit(plr)
end)
end
end
end)
end)

Script0 has become unstable.. Please terminate it.
Report Abuse
LimitedReach is not online. LimitedReach
Joined: 15 Aug 2014
Total Posts: 461
24 Dec 2015 07:59 PM
unstable, i tried to do 'uni: [name]' to others, but it won't work on them. it only works on me
Report Abuse
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
24 Dec 2015 08:00 PM
Were you trying to uniform them, or give them the power to uniform?

Script0 has become unstable.. Please terminate it.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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