|
| 28 Oct 2011 09:31 PM |
It's supposed to take all vip's hats and remove them. Then, it's supposed to replace them with domino crown, dominus empyreus, and domino crown.
Vip = {"VenomGuardian", "WindGuardian", "techepicface"}
game.Players.PlayerAdded:connect(function(plyr) if v == plyr.Name then local p = plyr:GetChildren() for i = 1, #p do if p[i].ClassName == "Hat" then p[i]:remove() end end) end end local x = game:GetService("InsertService"):LoadAsset(19398258) --This is swordpack for i,c in pairs(x:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr end end local z = game:GetService("InsertService"):LoadAsset(21070012) -- this is dominus empyreus for i,c in pairs(z:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr end end local y = game:GetService("InsertService"):LoadAsset(1031429) --and this is domino crown. for i,c in pairs(y:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr end end |
|
|
| Report Abuse |
|
|
|
| 28 Oct 2011 09:34 PM |
| oops meant swordpack, dominus empyreus and domino crown. |
|
|
| Report Abuse |
|
|
IL0LD
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 37 |
|
| |
|
|
| 28 Oct 2011 09:58 PM |
| @Ilol. Are you sure you know what you're saying? |
|
|
| Report Abuse |
|
|
IL0LD
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 37 |
|
|
| 28 Oct 2011 09:59 PM |
No But why dont you test it? |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Oct 2011 10:18 PM |
also this should do the same thing whenever the player respawns:
Vip = {"VenomGuardian", "WindGuardian", "techepicface"}
game.Players.PlayerAdded:connect(function(plyr) if v == plyr.Name then local p = plyr:GetChildren() for i = 1, #p do if p[i].ClassName == "Hat" then p[i]:remove() end end) end end local x = game:GetService("InsertService"):LoadAsset(19398258) --This is swordpack for i,c in pairs(x:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr end end local z = game:GetService("InsertService"):LoadAsset(21070012) -- this is dominus empyreus for i,c in pairs(z:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr end end local y = game:GetService("InsertService"):LoadAsset(1031429) --and this is domino crown. for i,c in pairs(y:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr end end
It's supposed to take all vip's hats and remove them. Then, it's supposed to replace them with domino crown, dominus empyreus, and domino crown.
Vip = {"VenomGuardian", "WindGuardian", "techepicface"}
game.Players.CharacterAdded:connect(function(plyr) if v == plyr.Name then local p = plyr:GetChildren() for i = 1, #p do if p[i].ClassName == "Hat" then p[i]:remove() end end) end end local x = game:GetService("InsertService"):LoadAsset(19398258) --This is swordpack for i,c in pairs(x:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr end end local z = game:GetService("InsertService"):LoadAsset(21070012) -- this is dominus empyreus for i,c in pairs(z:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr end end local y = game:GetService("InsertService"):LoadAsset(1031429) --and this is domino crown. for i,c in pairs(y:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr end end |
|
|
| Report Abuse |
|
|
|
| 28 Oct 2011 10:20 PM |
woah mega mess up.
It's supposed to take all vip's hats and remove them. Then, it's supposed to replace them with domino crown, dominus empyreus, and domino crown.
Vip = {"VenomGuardian", "WindGuardian", "techepicface"}
game.Players.CharacterAdded:connect(function(plyr) if v == plyr.Name then local p = plyr:GetChildren() for i = 1, #p do if p[i].ClassName == "Hat" then p[i]:remove() end end) end end local x = game:GetService("InsertService"):LoadAsset(19398258) --This is swordpack for i,c in pairs(x:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr end end local z = game:GetService("InsertService"):LoadAsset(21070012) -- this is dominus empyreus for i,c in pairs(z:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr end end local y = game:GetService("InsertService"):LoadAsset(1031429) --and this is domino crown. for i,c in pairs(y:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr end end |
|
|
| Report Abuse |
|
|
|
| 28 Oct 2011 10:21 PM |
| Actually, no it wouldn't. There are errors, and it could be shortened and cleaned up a lot. |
|
|
| Report Abuse |
|
|
|
| 28 Oct 2011 10:41 PM |
| could you post the better version of it? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 29 Oct 2011 12:52 PM |
| I could, but it would take some time. I need to know more details about it to fix it for you, IF I decide to. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2011 03:06 PM |
| It is supposed to remove all of the vip's hats and replace them with emyreus, domino crown, and swordpack on entering and respawning. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2011 08:19 PM |
| Ah. I see. Too lazy to fix though, and it isn't mine so....don't know what to tell ya. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2011 08:25 PM |
| If ur not gonna help, please leave, as that's considered spam. |
|
|
| Report Abuse |
|
|
willkillu
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 1187 |
|
|
| 29 Oct 2011 08:27 PM |
Make the script remove the characters hat make it clone the hat from lighting define the handle positional inputs on the hat ( not scripted) tooo lazy to make one sorry im tired |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Oct 2011 08:53 PM |
how about,
Vip = {"VenomGuardian", "WindGuardian", "techepicface"}
game.Players.CharacterAdded:connect(function(plyr) for i, v in pairs(Vip) do if v == plyr.Name then local p = plyr:GetChildren() for i = 1, #p do if p[i].ClassName == "Hat" then p[i]:remove() local x = game:GetService("InsertService"):LoadAsset(19398258) for i,c in pairs(x:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr local z = game:GetService("InsertService"):LoadAsset(21070012) for i,c in pairs(z:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr local y = game:GetService("InsertService"):LoadAsset(1031429) for i,c in pairs(y:GetChildren()) do if c:IsA("Hat") then c.Parent = plyr end) end end end end end end end end end end -- too many ends? |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2011 09:12 PM |
| This really needs cleaning up. Would you be willing to pitch in a little donation if I made this script for you? |
|
|
| Report Abuse |
|
|
willkillu
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 1187 |
|
|
| 29 Oct 2011 09:14 PM |
| Lol thats it bud lure him in XD |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2011 09:25 PM |
| I'm not luring anyone, I am just tired of working for free and want something back from the community. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2011 11:03 PM |
Try this. Make sure to publish it to test it.
VipList = {"VenomGuardian", "WindGuardian", "techepicface","Player"} VipHatIDs = {19398258, 21070012, 1031429}
function IsVip(Player) for i, VipName in ipairs(VipList) do if string.lower(Player.Name) == string.lower(VipName) then return true end return false end end
VipHatContainer = Instance.new("Model",game.Lighting) VipHatContainer.Name = "VipHatContainer" for i, ID in ipairs(VipHatIDs) do local model = game:GetService("InsertService"):LoadAsset(ID) if(model:IsA("Model")) then local tab = model for i, v in pairs(tab:GetChildren()) do if v:IsA("Hat") then v.Parent = VipHatContainer end end end end
game:GetService("Players").PlayerAdded:connect(function(newPlyr) if IsVip(newPlyr) then char = newPlyr.Character plyr = newPlyr msg = Instance.new("Message",plyr.PlayerGui) msg.Name = "VipThankYou" msg.Text = "Thank you for buying VIP." plyr.CharacterAdded:connect(function(character) for i, v in pairs(c:GetChildren()) do if v:IsA("Hat") then v:remove() end end for i, Hat in pairs(VipHatContainer:GetChildren()) do if Hat:IsA("Hat") then Hat:clone().Parent = c end end end) wait(3) msg:remove() end end)
|
|
|
| Report Abuse |
|
|
|
| 30 Oct 2011 02:58 PM |
It doesn't work... how about this?
Vip = {"VenomGuardian", "WindGuardian", "techepicface"}
game.Players.CharacterAdded:connect(function(plyr) for i, v in pairs(Vip) if v == plyr.Name then local a = plyr:GetChildren() for i = 1, #a do if c[i].ClassName == "Hat" then c[i]:remove() local b = game.Lighting.HatPack:GetChildren() local c =b:clone() c.Parent = plyr.Backpack end) end end end end |
|
|
| Report Abuse |
|
|
|
| 30 Oct 2011 03:01 PM |
oops messed up.
Vip = {"VenomGuardian", "WindGuardian", "techepicface"}
game.Players.CharacterAdded:connect(function(plyr) for i, v in pairs(Vip) if v == plyr.Name then local a = plyr:GetChildren() for i = 1, #a do if a[i].ClassName == "Hat" then a[i]:remove() local b = game.Lighting.HatPack:GetChildren() local c =b:clone() c.Parent = plyr.Backpack end) end end end end |
|
|
| Report Abuse |
|
|