Airennor
|
  |
| Joined: 31 Oct 2012 |
| Total Posts: 1607 |
|
|
| 27 Dec 2013 09:03 AM |
How could I merge all these scripts into one...
Script 1: function Added(Model) if game.Players:findFirstChild(Model.Name) ~= nil and Model:findFirstChild("Humanoid") ~= nil then wait(2) local colors = Model:findFirstChild("Body Colors") if colors == nil then return end Model.Head.BrickColor = colors.HeadColor Model.Torso.BrickColor = colors.TorsoColor local LA = Model:findFirstChild("Left Arm") local RA = Model:findFirstChild("Right Arm") local LL = Model:findFirstChild("Left Leg") local RL = Model:findFirstChild("Right Leg") LA.BrickColor = colors.LeftArmColor RA.BrickColor = colors.RightArmColor LL.BrickColor = colors.LeftLegColor RL.BrickColor = colors.RightLegColor end end
game.Workspace.ChildAdded:connect(Added)
Script 2: while true do wait(1) local m = script.Parent:GetChildren() for i = 1, #m do
if m[i].className == "Hat" then m[i]:Remove()
end
end end
Script 3: while true do wait() for i,v in pairs(game.Workspace:GetChildren()) do if v.className == "Tool" then v:Remove() end
end
end
Script 4: while true do for inx, val in pairs(game.Players:GetPlayers()) do if val:FindFirstChild("PlayerGui") then if val.PlayerGui:FindFirstChild("HealthGUI") then val.PlayerGui.HealthGUI:Remove() end end end wait() end
Script 5: l = game:service("Lighting") while true do wait(1) l:SetMinutesAfterMidnight(l:GetMinutesAfterMidnight()+0.1)
end
---Thanks to all replies! |
|
|
| Report Abuse |
|
Airennor
|
  |
| Joined: 31 Oct 2012 |
| Total Posts: 1607 |
|
| |
Airennor
|
  |
| Joined: 31 Oct 2012 |
| Total Posts: 1607 |
|
| |