| |
|
| |
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
| |
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 24 Dec 2015 07:39 PM |
| where do i put the pants & shirts id? |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 24 Dec 2015 07:44 PM |
| how do you add shirts or pants? |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2015 07:46 PM |
this is how it looks right now. /FhWK1HN (imgr) |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 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 |
|
|
|
| 24 Dec 2015 07:51 PM |
| gonna see if it works. sorry i am like a really noob scripter. |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2015 07:52 PM |
| it works, but is there anyway to keep your hats on? |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2015 07:54 PM |
Yea, hold on.
Script0 has become unstable.. Please terminate it. |
|
|
| Report Abuse |
|
|
Beastias
|
  |
| Joined: 24 Jan 2014 |
| Total Posts: 1279 |
|
|
| 24 Dec 2015 07:54 PM |
| why not just shirt/pants them lol |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|