Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created with PenguinAnonymous's compiler
- --PenguinAnonymous is not responsible for damages caused to your game
- --This plugin does not remove things
- --PenguinAnonymous cannot be held resonsible for manual deletion for the purpose of testing
- --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
- --Thank you for using my plugin and enjoy :)
- --It is free to use
- --If you use this plugin to create your own, please give me credit
- --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry
- --Errors:
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Model")
- o2 = Instance.new("Model")
- o3 = Instance.new("Part")
- o4 = Instance.new("Weld")
- o5 = Instance.new("Weld")
- o6 = Instance.new("Weld")
- o7 = Instance.new("Weld")
- o8 = Instance.new("Weld")
- o9 = Instance.new("Weld")
- o10 = Instance.new("Weld")
- o11 = Instance.new("Weld")
- o12 = Instance.new("Weld")
- o13 = Instance.new("Weld")
- o14 = Instance.new("Weld")
- o15 = Instance.new("Weld")
- o16 = Instance.new("Weld")
- o17 = Instance.new("Weld")
- o18 = Instance.new("Weld")
- o19 = Instance.new("Weld")
- o20 = Instance.new("Weld")
- o21 = Instance.new("Weld")
- o22 = Instance.new("Weld")
- o23 = Instance.new("Weld")
- o24 = Instance.new("Weld")
- o25 = Instance.new("Part")
- o26 = Instance.new("BlockMesh")
- o27 = Instance.new("ManualWeld")
- o28 = Instance.new("Part")
- o29 = Instance.new("BlockMesh")
- o30 = Instance.new("ManualWeld")
- o31 = Instance.new("Part")
- o32 = Instance.new("SpecialMesh")
- o33 = Instance.new("Part")
- o34 = Instance.new("SpecialMesh")
- o35 = Instance.new("Part")
- o36 = Instance.new("SpecialMesh")
- o37 = Instance.new("Part")
- o38 = Instance.new("CylinderMesh")
- o39 = Instance.new("Decal")
- o40 = Instance.new("Decal")
- o41 = Instance.new("Decal")
- o42 = Instance.new("Decal")
- o43 = Instance.new("Decal")
- o44 = Instance.new("Decal")
- o45 = Instance.new("Part")
- o46 = Instance.new("SpecialMesh")
- o47 = Instance.new("Part")
- o48 = Instance.new("SpecialMesh")
- o49 = Instance.new("Part")
- o50 = Instance.new("SpecialMesh")
- o51 = Instance.new("Part")
- o52 = Instance.new("SpecialMesh")
- o53 = Instance.new("Part")
- o54 = Instance.new("SpecialMesh")
- o55 = Instance.new("Part")
- o56 = Instance.new("SpecialMesh")
- o57 = Instance.new("Part")
- o58 = Instance.new("SpecialMesh")
- o59 = Instance.new("Part")
- o60 = Instance.new("SpecialMesh")
- o61 = Instance.new("Part")
- o62 = Instance.new("SpecialMesh")
- o63 = Instance.new("Part")
- o64 = Instance.new("SpecialMesh")
- o65 = Instance.new("SpecialMesh")
- o66 = Instance.new("Part")
- o67 = Instance.new("SpecialMesh")
- o68 = Instance.new("Part")
- o69 = Instance.new("SpecialMesh")
- o70 = Instance.new("Part")
- o71 = Instance.new("SpecialMesh")
- o72 = Instance.new("Part")
- o73 = Instance.new("SpecialMesh")
- o74 = Instance.new("CharacterMesh")
- o75 = Instance.new("CharacterMesh")
- o76 = Instance.new("CharacterMesh")
- o77 = Instance.new("CharacterMesh")
- o78 = Instance.new("CharacterMesh")
- o79 = Instance.new("Script")
- o80 = Instance.new("Script")
- o81 = Instance.new("Shirt")
- o82 = Instance.new("Pants")
- o83 = Instance.new("Script")
- o84 = Instance.new("Part")
- o85 = Instance.new("Part")
- o86 = Instance.new("IntValue")
- o87 = Instance.new("BodyColors")
- o88 = Instance.new("Humanoid")
- o89 = Instance.new("Part")
- o90 = Instance.new("Part")
- o91 = Instance.new("Part")
- o92 = Instance.new("Motor")
- o93 = Instance.new("Snap")
- o94 = Instance.new("Motor")
- o95 = Instance.new("Motor")
- o96 = Instance.new("Motor")
- o97 = Instance.new("Weld")
- o98 = Instance.new("Weld")
- o99 = Instance.new("Weld")
- o100 = Instance.new("Hat")
- o101 = Instance.new("Part")
- o102 = Instance.new("SpecialMesh")
- o103 = Instance.new("Hat")
- o104 = Instance.new("Part")
- o105 = Instance.new("SpecialMesh")
- o106 = Instance.new("Hat")
- o107 = Instance.new("Part")
- o108 = Instance.new("SpecialMesh")
- o109 = Instance.new("Part")
- o110 = Instance.new("SpecialMesh")
- o111 = Instance.new("Decal")
- o112 = Instance.new("Sound")
- o113 = Instance.new("Sound")
- o114 = Instance.new("Sound")
- o115 = Instance.new("Sound")
- o116 = Instance.new("Sound")
- o117 = Instance.new("Sound")
- o118 = Instance.new("Sound")
- o119 = Instance.new("Sound")
- o120 = Instance.new("Sound")
- o121 = Instance.new("Sound")
- o122 = Instance.new("Sound")
- o123 = Instance.new("Sound")
- o124 = Instance.new("Sound")
- o125 = Instance.new("Sound")
- o126 = Instance.new("Sound")
- o127 = Instance.new("Sound")
- o128 = Instance.new("Sound")
- o129 = Instance.new("Sound")
- o130 = Instance.new("Sound")
- o131 = Instance.new("Sound")
- o132 = Instance.new("Sound")
- o133 = Instance.new("Sound")
- o134 = Instance.new("Sound")
- o135 = Instance.new("Sound")
- o136 = Instance.new("Sound")
- o137 = Instance.new("Sound")
- o138 = Instance.new("Sound")
- o139 = Instance.new("Sound")
- o140 = Instance.new("Sound")
- o141 = Instance.new("Sound")
- o142 = Instance.new("Sound")
- o143 = Instance.new("Sound")
- o144 = Instance.new("Sound")
- o145 = Instance.new("Sound")
- o146 = Instance.new("Sound")
- o147 = Instance.new("Sound")
- o148 = Instance.new("Sound")
- o149 = Instance.new("Sound")
- o150 = Instance.new("Sound")
- o151 = Instance.new("Sound")
- o152 = Instance.new("Sound")
- o153 = Instance.new("Sound")
- o154 = Instance.new("Sound")
- o155 = Instance.new("Sound")
- o156 = Instance.new("Sound")
- o157 = Instance.new("Sound")
- o158 = Instance.new("Sound")
- o159 = Instance.new("Sound")
- o160 = Instance.new("Sound")
- o161 = Instance.new("Sound")
- o162 = Instance.new("Sound")
- o163 = Instance.new("Sound")
- o164 = Instance.new("Sound")
- o165 = Instance.new("Sound")
- o166 = Instance.new("Sound")
- o167 = Instance.new("Sound")
- o168 = Instance.new("Sound")
- o169 = Instance.new("Sound")
- o170 = Instance.new("Sound")
- o171 = Instance.new("Sound")
- o172 = Instance.new("Sound")
- o173 = Instance.new("Sound")
- o174 = Instance.new("Sound")
- o175 = Instance.new("Sound")
- o176 = Instance.new("Sound")
- o177 = Instance.new("Sound")
- o178 = Instance.new("Sound")
- o179 = Instance.new("Sound")
- o180 = Instance.new("Sound")
- o181 = Instance.new("Sound")
- o182 = Instance.new("Sound")
- o183 = Instance.new("Sound")
- o184 = Instance.new("Sound")
- o185 = Instance.new("Sound")
- o186 = Instance.new("Sound")
- o187 = Instance.new("Sound")
- o188 = Instance.new("Sound")
- o189 = Instance.new("Sound")
- o190 = Instance.new("Sound")
- o191 = Instance.new("Sound")
- o192 = Instance.new("Sound")
- o193 = Instance.new("Sound")
- o194 = Instance.new("Sound")
- o195 = Instance.new("Sound")
- o196 = Instance.new("Sound")
- o197 = Instance.new("Sound")
- o198 = Instance.new("Sound")
- o199 = Instance.new("Sound")
- o200 = Instance.new("Sound")
- o201 = Instance.new("Sound")
- o202 = Instance.new("Sound")
- o203 = Instance.new("Sound")
- o204 = Instance.new("Sound")
- o205 = Instance.new("Sound")
- o206 = Instance.new("Sound")
- o207 = Instance.new("Sound")
- o208 = Instance.new("Sound")
- o209 = Instance.new("Sound")
- o210 = Instance.new("Sound")
- o211 = Instance.new("Sound")
- o212 = Instance.new("Sound")
- o213 = Instance.new("Sound")
- o214 = Instance.new("Sound")
- o215 = Instance.new("Sound")
- o216 = Instance.new("Sound")
- o217 = Instance.new("Sound")
- o218 = Instance.new("Sound")
- o219 = Instance.new("Sound")
- o220 = Instance.new("Sound")
- o221 = Instance.new("Sound")
- o222 = Instance.new("Sound")
- o223 = Instance.new("Sound")
- o224 = Instance.new("Sound")
- o225 = Instance.new("Sound")
- o226 = Instance.new("Sound")
- o227 = Instance.new("Sound")
- o228 = Instance.new("Sound")
- o229 = Instance.new("Sound")
- o230 = Instance.new("Sound")
- o231 = Instance.new("Sound")
- o232 = Instance.new("Sound")
- o233 = Instance.new("Sound")
- o234 = Instance.new("Sound")
- o235 = Instance.new("Sound")
- o236 = Instance.new("Sound")
- o237 = Instance.new("Sound")
- o238 = Instance.new("Sound")
- o239 = Instance.new("Sound")
- o240 = Instance.new("Sound")
- o241 = Instance.new("Sound")
- o242 = Instance.new("Sound")
- o243 = Instance.new("Sound")
- o244 = Instance.new("Sound")
- o245 = Instance.new("Sound")
- o246 = Instance.new("Sound")
- o247 = Instance.new("Sound")
- o248 = Instance.new("Sound")
- o249 = Instance.new("Sound")
- o250 = Instance.new("Sound")
- o251 = Instance.new("Sound")
- o252 = Instance.new("Sound")
- o253 = Instance.new("Sound")
- o254 = Instance.new("Sound")
- o255 = Instance.new("Sound")
- o256 = Instance.new("Decal")
- o257 = Instance.new("Weld")
- o258 = Instance.new("Weld")
- o259 = Instance.new("Weld")
- o260 = Instance.new("Weld")
- o261 = Instance.new("Weld")
- o262 = Instance.new("Part")
- o263 = Instance.new("Script")
- o264 = Instance.new("Decal")
- o265 = Instance.new("Decal")
- o266 = Instance.new("Decal")
- o267 = Instance.new("Decal")
- o268 = Instance.new("Decal")
- o269 = Instance.new("Decal")
- o270 = Instance.new("Decal")
- o271 = Instance.new("Script")
- o272 = Instance.new("CylinderMesh")
- o1.Name = "Soldier"
- o1.Parent = mas
- o2.Name = "Chest"
- o2.Parent = o1
- o3.Name = "Middle"
- o3.Parent = o2
- o3.BrickColor = BrickColor.new("Earth green")
- o3.Transparency = 1
- o3.Position = Vector3.new(35.909977, 6.20000505, 26.7999935)
- o3.Rotation = Vector3.new(0, -90, 0)
- o3.CanCollide = false
- o3.FormFactor = Enum.FormFactor.Symmetric
- o3.Size = Vector3.new(2, 2, 1)
- o3.CFrame = CFrame.new(35.909977, 6.20000505, 26.7999935, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o3.BottomSurface = Enum.SurfaceType.Smooth
- o3.TopSurface = Enum.SurfaceType.Smooth
- o3.Color = Color3.new(0.152941, 0.27451, 0.176471)
- o3.Position = Vector3.new(35.909977, 6.20000505, 26.7999935)
- o4.Parent = o3
- o4.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o4.C1 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o4.Part0 = o3
- o4.Part1 = o3
- o5.Parent = o3
- o5.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o5.C1 = CFrame.new(0, 0, 0.5, -1, 1.73005566e-16, 6.80857681e-09, -1.73005619e-16, 1, 2.5409939e-08, -6.80857681e-09, 2.54099604e-08, -1)
- o5.Part0 = o3
- o5.Part1 = o25
- o6.Parent = o3
- o6.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o6.C1 = CFrame.new(0, 0, -0.5, -1, 1.73005566e-16, 6.80857681e-09, -1.73005619e-16, 1, 2.5409939e-08, -6.80857681e-09, 2.54099604e-08, -1)
- o6.Part0 = o3
- o6.Part1 = o28
- o7.Parent = o3
- o7.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o7.C1 = CFrame.new(0, -1.70000458, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o7.Part0 = o3
- o7.Part1 = o31
- o8.Parent = o3
- o8.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o8.C1 = CFrame.new(-1, 1.20000458, 1.50005913, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- o8.Part0 = o3
- o8.Part1 = o33
- o9.Parent = o3
- o9.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o9.C1 = CFrame.new(0, 0, -1, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o9.Part0 = o3
- o9.Part1 = o35
- o10.Parent = o3
- o10.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o10.C1 = CFrame.new(1, 0.799986839, 0, -1, 1.73005566e-16, 6.80857681e-09, -1.73005619e-16, 1, 2.5409939e-08, -6.80857681e-09, 2.54099604e-08, -1)
- o10.Part0 = o3
- o10.Part1 = o37
- o11.Parent = o3
- o11.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o11.C1 = CFrame.new(1, -0.799987793, -1.1000061, -1, 5.13354006e-16, 2.54206611e-09, 2.54206567e-09, 9.32484312e-10, 1, -5.16213218e-16, 1, -9.32526945e-10)
- o11.Part0 = o3
- o11.Part1 = o45
- o12.Parent = o3
- o12.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o12.C1 = CFrame.new(1, -0.799987793, 1.1000061, -1, 5.19016844e-16, 4.39606229e-24, 4.39606229e-24, 2.13162821e-14, -1, 5.19016844e-16, -1, 2.13162821e-14)
- o12.Part0 = o3
- o12.Part1 = o47
- o13.Parent = o3
- o13.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o13.C1 = CFrame.new(-0.5, -1.78854179, -0.20582962, 4.39606229e-24, 2.13162821e-14, -1, 0.980580688, 0.196116135, -3.99680289e-15, 0.196116135, -0.980580688, 2.13162821e-14)
- o13.Part0 = o3
- o13.Part1 = o49
- o14.Parent = o3
- o14.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o14.C1 = CFrame.new(0.5, -1.78854179, -0.20582962, 4.39606229e-24, 2.13162821e-14, -1, 0.980580688, 0.196116135, -3.99680289e-15, 0.196116135, -0.980580688, 2.13162821e-14)
- o14.Part0 = o3
- o14.Part1 = o51
- o15.Parent = o3
- o15.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o15.C1 = CFrame.new(0.800003052, 0.0999984741, -1.59999847, 5.19017321e-16, -1, 1.36167166e-09, -6.80857593e-09, -1.36162726e-09, -1, 1, -5.19017586e-16, -6.80857681e-09)
- o15.Part0 = o3
- o15.Part1 = o53
- o16.Parent = o3
- o16.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o16.C1 = CFrame.new(1.60000038, 0.0999984741, -0.799940109, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- o16.Part0 = o3
- o16.Part1 = o55
- o17.Parent = o3
- o17.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o17.C1 = CFrame.new(0.799999237, -0.299995422, -1.59999847, 5.19016844e-16, -1, 6.74203804e-10, -6.80857548e-09, -6.74159395e-10, -1, 1, -5.19016686e-16, -6.80857637e-09)
- o17.Part0 = o3
- o17.Part1 = o57
- o18.Parent = o3
- o18.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o18.C1 = CFrame.new(-1.59999847, 0.799985886, 0.299995422, 1, -5.19016791e-16, -2.54206522e-09, 5.19016844e-16, -1, -1.32640565e-11, -2.54206478e-09, 1.33066891e-11, -1)
- o18.Part0 = o3
- o18.Part1 = o59
- o19.Parent = o3
- o19.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o19.C1 = CFrame.new(0.599998474, 7.62939453e-06, 0.707107544, 0.99999994, -5.19016791e-16, -4.3960619e-24, -1.22333435e-16, 0.707106709, -0.707106769, -1.22333435e-16, 0.707106709, 0.707106769)
- o19.Part0 = o3
- o19.Part1 = o61
- o20.Parent = o3
- o20.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o20.C1 = CFrame.new(1, 0, -1.09994125, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- o20.Part0 = o3
- o20.Part1 = o63
- o21.Parent = o3
- o21.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o21.C1 = CFrame.new(1.1000061, -0.399993896, 1, 5.19016897e-16, -1, -2.54099248e-08, 6.80857681e-09, -2.54099746e-08, 1, -1, 5.19016686e-16, 6.80857681e-09)
- o21.Part0 = o3
- o21.Part1 = o66
- o22.Parent = o3
- o22.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o22.C1 = CFrame.new(1, 0.399993896, -1.1000061, -1, 5.19016844e-16, 4.39606229e-24, -4.39606229e-24, -2.13162821e-14, 1, -5.19016844e-16, 1, -2.13162821e-14)
- o22.Part0 = o3
- o22.Part1 = o68
- o23.Parent = o3
- o23.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o23.C1 = CFrame.new(-1.09999847, 0.215526581, 1.27670288, 1, 7.21694537e-10, -7.28841298e-09, 7.21694426e-10, 0.980580688, 0.196116105, 7.28841298e-09, -0.196116105, 0.980580688)
- o23.Part0 = o3
- o23.Part1 = o70
- o24.Parent = o3
- o24.C0 = CFrame.new(0, 0, 0, -6.80857681e-09, 2.54099604e-08, -1, -1.73005619e-16, 1, 2.5409939e-08, 1, -1.73005566e-16, -6.80857681e-09)
- o24.C1 = CFrame.new(-1, 0.615528107, -1.27669525, 1, -5.40576639e-16, -4.94389503e-24, -6.13735192e-16, 0.980580688, -0.19611612, -3.39291951e-17, 0.19611612, 0.980580688)
- o24.Part0 = o3
- o24.Part1 = o72
- o25.Parent = o2
- o25.BrickColor = BrickColor.new("Really black")
- o25.Reflectance = 0.050000000745058
- o25.Position = Vector3.new(35.909977, 6.20000505, 26.2999935)
- o25.CanCollide = false
- o25.FormFactor = Enum.FormFactor.Plate
- o25.Size = Vector3.new(1, 2, 1)
- o25.CFrame = CFrame.new(35.909977, 6.20000505, 26.2999935, 1, 5.19016686e-16, 0, 5.19016686e-16, 1, 2.13162821e-14, 0, 2.13162821e-14, 1)
- o25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o25.Position = Vector3.new(35.909977, 6.20000505, 26.2999935)
- o26.Parent = o25
- o26.Scale = Vector3.new(1.10000002, 1.10000002, 0.400000006)
- o27.Name = "Part-to-Smooth Block Model Strong Joint"
- o27.Parent = o25
- o27.C0 = CFrame.new(0.5, -1, 0.5, -0, 0, 1, 0, 1, 0, -1, 0, -0)
- o27.C1 = CFrame.new(0.0999984741, -0.707107544, 0, 6.80857637e-09, 0, -0.99999994, -0.707106769, 0.707106709, -4.81439066e-09, 0.707106769, 0.707106709, 4.81439066e-09)
- o27.Part0 = o25
- o27.Part1 = o61
- o28.Parent = o2
- o28.BrickColor = BrickColor.new("Really black")
- o28.Reflectance = 0.050000000745058
- o28.Position = Vector3.new(35.909977, 6.20000505, 27.2999935)
- o28.CanCollide = false
- o28.FormFactor = Enum.FormFactor.Plate
- o28.Size = Vector3.new(1, 2, 1)
- o28.CFrame = CFrame.new(35.909977, 6.20000505, 27.2999935, 1, 5.19016686e-16, 0, 5.19016686e-16, 1, 2.13162821e-14, 0, 2.13162821e-14, 1)
- o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o28.Position = Vector3.new(35.909977, 6.20000505, 27.2999935)
- o29.Parent = o28
- o29.Scale = Vector3.new(1.10000002, 1.10000002, 0.400000006)
- o30.Name = "Part-to-Smooth Block Model Strong Joint"
- o30.Parent = o28
- o30.C0 = CFrame.new(0.5, -1, 0.5, -0, 0, 1, 0, 1, 0, -1, 0, -0)
- o30.C1 = CFrame.new(0.0999984741, -3.81469727e-06, -0.707103729, 6.80857637e-09, 0, -0.99999994, -0.707106769, 0.707106709, -4.81439066e-09, 0.707106769, 0.707106709, 4.81439066e-09)
- o30.Part0 = o28
- o30.Part1 = o61
- o31.Parent = o2
- o31.Material = Enum.Material.Wood
- o31.BrickColor = BrickColor.new("Br. yellowish orange")
- o31.Position = Vector3.new(35.909977, 7.90000963, 26.7999935)
- o31.Rotation = Vector3.new(0, -90, 0)
- o31.FormFactor = Enum.FormFactor.Custom
- o31.Size = Vector3.new(2, 0.200000003, 1)
- o31.CFrame = CFrame.new(35.909977, 7.90000963, 26.7999935, 0, 5.19016686e-16, -1, 2.13162821e-14, 1, -5.19016686e-16, 1, 2.13162821e-14, 0)
- o31.Color = Color3.new(0.886275, 0.607843, 0.25098)
- o31.Position = Vector3.new(35.909977, 7.90000963, 26.7999935)
- o32.Parent = o31
- o32.MeshId = "http://www.roblox.com/asset/?id=11185622"
- o32.TextureId = "http://www.roblox.com/asset/?id=11185613"
- o32.MeshType = Enum.MeshType.FileMesh
- o33.Parent = o2
- o33.BrickColor = BrickColor.new("Dark stone grey")
- o33.Position = Vector3.new(34.909977, 4.69994593, 25.5999889)
- o33.Rotation = Vector3.new(-90, 0, 180)
- o33.FormFactor = Enum.FormFactor.Plate
- o33.Size = Vector3.new(1, 1.20000005, 1)
- o33.CFrame = CFrame.new(34.909977, 4.69994593, 25.5999889, -1, -6.80857681e-09, 1.73005566e-16, -1.73005619e-16, -2.5409939e-08, 1, -6.80857681e-09, 1, 2.54099604e-08)
- o33.BottomSurface = Enum.SurfaceType.Smooth
- o33.TopSurface = Enum.SurfaceType.Smooth
- o33.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o33.Position = Vector3.new(34.909977, 4.69994593, 25.5999889)
- o34.Parent = o33
- o34.MeshId = "http://www.roblox.com/asset/?id=30307623"
- o34.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- o34.TextureId = "http://www.roblox.com/asset/?id=30307531"
- o34.MeshType = Enum.MeshType.FileMesh
- o35.Parent = o2
- o35.Material = Enum.Material.Wood
- o35.BrickColor = BrickColor.new("Br. yellowish orange")
- o35.Position = Vector3.new(34.909977, 6.20000505, 26.7999935)
- o35.Rotation = Vector3.new(0, -90, 0)
- o35.FormFactor = Enum.FormFactor.Plate
- o35.Size = Vector3.new(2, 0.800000012, 1)
- o35.CFrame = CFrame.new(34.909977, 6.20000505, 26.7999935, 0, 5.19016686e-16, -1, 2.13162821e-14, 1, -5.19016686e-16, 1, 2.13162821e-14, 0)
- o35.Color = Color3.new(0.886275, 0.607843, 0.25098)
- o35.Position = Vector3.new(34.909977, 6.20000505, 26.7999935)
- o36.Parent = o35
- o36.MeshId = "http://www.roblox.com/asset/?id=11185622"
- o36.Scale = Vector3.new(1.60000002, 1.5, 1)
- o36.TextureId = "http://www.roblox.com/asset/?id=11185613"
- o36.MeshType = Enum.MeshType.FileMesh
- o37.Parent = o2
- o37.BrickColor = BrickColor.new("Earth green")
- o37.Position = Vector3.new(34.909977, 5.40001822, 26.7999935)
- o37.FormFactor = Enum.FormFactor.Plate
- o37.Size = Vector3.new(1, 0.400000006, 2)
- o37.CFrame = CFrame.new(34.909977, 5.40001822, 26.7999935, 1, 5.19016686e-16, 0, 5.19016686e-16, 1, 2.13162821e-14, 0, 2.13162821e-14, 1)
- o37.Color = Color3.new(0.152941, 0.27451, 0.176471)
- o37.Position = Vector3.new(34.909977, 5.40001822, 26.7999935)
- o38.Parent = o37
- o38.Offset = Vector3.new(0, 0.5, 0)
- o38.Scale = Vector3.new(1.75, 3.5, 1.75)
- o39.Parent = o37
- o39.Texture = "http://www.roblox.com/asset/?id=11185613"
- o39.Face = Enum.NormalId.Bottom
- o40.Parent = o37
- o40.Texture = "http://www.roblox.com/asset/?id=11185613"
- o41.Parent = o37
- o41.Texture = "http://www.roblox.com/asset/?id=11185613"
- o41.Face = Enum.NormalId.Back
- o42.Parent = o37
- o42.Texture = "http://www.roblox.com/asset/?id=11185613"
- o42.Face = Enum.NormalId.Right
- o43.Parent = o37
- o43.Texture = "http://www.roblox.com/asset/?id=11185613"
- o43.Face = Enum.NormalId.Left
- o44.Parent = o37
- o44.Texture = "http://www.roblox.com/asset/?id=11185613"
- o44.Face = Enum.NormalId.Top
- o45.Parent = o2
- o45.BrickColor = BrickColor.new("Really black")
- o45.Reflectance = 0.050000000745058
- o45.Position = Vector3.new(34.909977, 7.30001116, 26.0000057)
- o45.Rotation = Vector3.new(-90, 0, 0)
- o45.FormFactor = Enum.FormFactor.Plate
- o45.Size = Vector3.new(1, 0.400000006, 1)
- o45.CFrame = CFrame.new(34.909977, 7.30001116, 26.0000057, 1, 4.26651114e-09, 6.82869598e-16, 7.50953365e-16, 2.63424234e-08, 1, 4.2665107e-09, -1, 2.63424873e-08)
- o45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o45.Position = Vector3.new(34.909977, 7.30001116, 26.0000057)
- o46.Parent = o45
- o46.Scale = Vector3.new(1, 2, 0.899999976)
- o47.Parent = o2
- o47.BrickColor = BrickColor.new("Really black")
- o47.Reflectance = 0.050000000745058
- o47.Position = Vector3.new(34.909977, 7.30001116, 27.5999813)
- o47.Rotation = Vector3.new(90, 0, 0)
- o47.FormFactor = Enum.FormFactor.Plate
- o47.Size = Vector3.new(1, 0.400000006, 1)
- o47.CFrame = CFrame.new(34.909977, 7.30001116, 27.5999813, 1, -6.80857681e-09, -6.92022265e-16, 6.92022477e-16, -2.54099177e-08, -1, 6.80857681e-09, 1, -2.54099817e-08)
- o47.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o47.Position = Vector3.new(34.909977, 7.30001116, 27.5999813)
- o48.Parent = o47
- o48.Scale = Vector3.new(1, 2, 0.899999976)
- o49.Parent = o2
- o49.BrickColor = BrickColor.new("Really red")
- o49.Position = Vector3.new(34.115799, 6.34893417, 27.2999935)
- o49.Rotation = Vector3.new(90, -11.3099995, 90)
- o49.FormFactor = Enum.FormFactor.Plate
- o49.Size = Vector3.new(1, 0.400000006, 1)
- o49.CFrame = CFrame.new(34.115799, 6.34893417, 27.2999935, -6.80857681e-09, -0.980580688, -0.196116135, -2.54099177e-08, 0.196116135, -0.980580688, 1, -1.69305192e-09, -2.62518096e-08)
- o49.BottomSurface = Enum.SurfaceType.Smooth
- o49.TopSurface = Enum.SurfaceType.Smooth
- o49.Color = Color3.new(1, 0, 0)
- o49.Position = Vector3.new(34.115799, 6.34893417, 27.2999935)
- o50.Parent = o49
- o50.MeshId = "http://www.roblox.com/asset/?id=45021509"
- o50.Scale = Vector3.new(0.349999994, 0.150000006, 1.5)
- o50.TextureId = "http://www.roblox.com/asset/?id=45021236"
- o50.VertexColor = Vector3.new(0.449999988, 0.349999994, 0.349999994)
- o50.MeshType = Enum.MeshType.FileMesh
- o51.Parent = o2
- o51.BrickColor = BrickColor.new("Really red")
- o51.Position = Vector3.new(34.115799, 6.34893417, 26.2999935)
- o51.Rotation = Vector3.new(90, -11.3099995, 90)
- o51.FormFactor = Enum.FormFactor.Plate
- o51.Size = Vector3.new(1, 0.400000006, 1)
- o51.CFrame = CFrame.new(34.115799, 6.34893417, 26.2999935, -6.80857681e-09, -0.980580688, -0.196116135, -2.54099177e-08, 0.196116135, -0.980580688, 1, -1.69305192e-09, -2.62518096e-08)
- o51.BottomSurface = Enum.SurfaceType.Smooth
- o51.TopSurface = Enum.SurfaceType.Smooth
- o51.Color = Color3.new(1, 0, 0)
- o51.Position = Vector3.new(34.115799, 6.34893417, 26.2999935)
- o52.Parent = o51
- o52.MeshId = "http://www.roblox.com/asset/?id=45021509"
- o52.Scale = Vector3.new(0.349999994, 0.150000006, 1.5)
- o52.TextureId = "http://www.roblox.com/asset/?id=45021236"
- o52.VertexColor = Vector3.new(0.449999988, 0.349999994, 0.349999994)
- o52.MeshType = Enum.MeshType.FileMesh
- o53.Parent = o2
- o53.BrickColor = BrickColor.new("Dark stone grey")
- o53.Reflectance = 0.10000000149012
- o53.Position = Vector3.new(34.3099785, 7.00000811, 26.699995)
- o53.Rotation = Vector3.new(90, -90, 0)
- o53.FormFactor = Enum.FormFactor.Custom
- o53.Size = Vector3.new(0.200000003, 0.200000003, 0.200000048)
- o53.CFrame = CFrame.new(34.3099785, 7.00000811, 26.699995, -6.8275186e-16, -8.8817842e-16, -1, -1, -2.67715663e-08, -8.65028745e-16, -2.6771632e-08, 1, 0)
- o53.BottomSurface = Enum.SurfaceType.Smooth
- o53.TopSurface = Enum.SurfaceType.Smooth
- o53.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o53.Position = Vector3.new(34.3099785, 7.00000811, 26.699995)
- o54.Parent = o53
- o54.MeshId = "http://www.roblox.com/Asset/?id=9753878"
- o54.Scale = Vector3.new(1, 0.649999976, 1)
- o54.MeshType = Enum.MeshType.FileMesh
- o55.Parent = o2
- o55.BrickColor = BrickColor.new("Really black")
- o55.Reflectance = 0.050000000745058
- o55.Position = Vector3.new(34.3099747, 6.99994516, 26.899992)
- o55.Rotation = Vector3.new(-90, 0, 0)
- o55.FormFactor = Enum.FormFactor.Custom
- o55.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o55.CFrame = CFrame.new(34.3099747, 6.99994516, 26.899992, 1, 6.80857681e-09, 1.73005566e-16, 1.73005619e-16, 2.5409939e-08, 1, 6.80857681e-09, -1, 2.54099604e-08)
- o55.BottomSurface = Enum.SurfaceType.Smooth
- o55.TopSurface = Enum.SurfaceType.Smooth
- o55.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o55.Position = Vector3.new(34.3099747, 6.99994516, 26.899992)
- o56.Parent = o55
- o56.MeshId = "http://www.roblox.com/asset/?id=3270017"
- o56.Scale = Vector3.new(0.25, 1, 2.5)
- o56.MeshType = Enum.MeshType.FileMesh
- o57.Parent = o2
- o57.BrickColor = BrickColor.new("Dark stone grey")
- o57.Reflectance = 0.10000000149012
- o57.Position = Vector3.new(34.3099785, 7.00000429, 27.0999889)
- o57.Rotation = Vector3.new(90, -90, 0)
- o57.FormFactor = Enum.FormFactor.Custom
- o57.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o57.CFrame = CFrame.new(34.3099785, 7.00000429, 27.0999889, -6.87432035e-16, -1.33226763e-15, -1, -1, -2.60840984e-08, -8.65027845e-16, -2.60841642e-08, 1, -4.4408921e-16)
- o57.BottomSurface = Enum.SurfaceType.Smooth
- o57.TopSurface = Enum.SurfaceType.Smooth
- o57.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o57.Position = Vector3.new(34.3099785, 7.00000429, 27.0999889)
- o58.Parent = o57
- o58.MeshId = "http://www.roblox.com/Asset/?id=9753878"
- o58.Scale = Vector3.new(1, 0.5, 1)
- o58.MeshType = Enum.MeshType.FileMesh
- o59.Parent = o2
- o59.BrickColor = BrickColor.new("Dark stone grey")
- o59.Reflectance = 0.10000000149012
- o59.Position = Vector3.new(34.3099785, 6.99999094, 26.4999981)
- o59.Rotation = Vector3.new(0, 0, 180)
- o59.FormFactor = Enum.FormFactor.Custom
- o59.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o59.CFrame = CFrame.new(34.3099785, 6.99999094, 26.4999981, -1, -6.92112739e-16, -4.26651203e-09, -7.56616151e-16, -1, -2.53966324e-08, -4.26651159e-09, -2.53966963e-08, 1)
- o59.BottomSurface = Enum.SurfaceType.Smooth
- o59.TopSurface = Enum.SurfaceType.Smooth
- o59.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o59.Position = Vector3.new(34.3099785, 6.99999094, 26.4999981)
- o60.Parent = o59
- o60.MeshId = "http://www.roblox.com/asset/?id=3270017"
- o60.Scale = Vector3.new(0.5, 0.400000006, 0.400000006)
- o60.MeshType = Enum.MeshType.FileMesh
- o61.Parent = o2
- o61.BrickColor = BrickColor.new("Dark stone grey")
- o61.Reflectance = 0.10000000149012
- o61.Position = Vector3.new(36.5099754, 5.69999933, 27.2999878)
- o61.Rotation = Vector3.new(-135, 0, 180)
- o61.CanCollide = false
- o61.FormFactor = Enum.FormFactor.Custom
- o61.Size = Vector3.new(0.200000003, 1, 1)
- o61.CFrame = CFrame.new(36.5099754, 5.69999933, 27.2999878, -0.99999994, -4.81439022e-09, 4.81439111e-09, -6.92022424e-16, 0.707106709, 0.707106709, -6.80857637e-09, 0.707106769, -0.707106769)
- o61.BottomSurface = Enum.SurfaceType.Smooth
- o61.TopSurface = Enum.SurfaceType.Smooth
- o61.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o61.Position = Vector3.new(36.5099754, 5.69999933, 27.2999878)
- o62.Parent = o61
- o62.MeshId = "http://www.roblox.com/asset/?id=4372594"
- o62.Scale = Vector3.new(0.800000012, 0.800000012, 0.800000012)
- o62.MeshType = Enum.MeshType.FileMesh
- o63.Parent = o2
- o63.BrickColor = BrickColor.new("Really black")
- o63.Reflectance = 0.050000000745058
- o63.Position = Vector3.new(34.909977, 7.29994631, 26.7999935)
- o63.Rotation = Vector3.new(-90, 0, 0)
- o63.FormFactor = Enum.FormFactor.Plate
- o63.Size = Vector3.new(1, 0.400000006, 1)
- o63.CFrame = CFrame.new(34.909977, 7.29994631, 26.7999935, 1, 6.80857681e-09, 1.73005566e-16, 1.73005619e-16, 2.5409939e-08, 1, 6.80857681e-09, -1, 2.54099604e-08)
- o63.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o63.Position = Vector3.new(34.909977, 7.29994631, 26.7999935)
- o64.Parent = o63
- o64.Scale = Vector3.new(1, 0.899999976, 1)
- o65.Parent = o63
- o65.Scale = Vector3.new(1, 3, 0.899999976)
- o66.Parent = o2
- o66.BrickColor = BrickColor.new("Really black")
- o66.Reflectance = 0.050000000745058
- o66.Position = Vector3.new(34.909977, 7.30001116, 26.3999996)
- o66.Rotation = Vector3.new(-90, 90, 0)
- o66.FormFactor = Enum.FormFactor.Plate
- o66.Size = Vector3.new(1, 0.400000006, 1)
- o66.CFrame = CFrame.new(34.909977, 7.30001116, 26.3999996, -8.65027898e-16, -0, 1, -1, -3.55271368e-14, 8.65027845e-16, -3.55271368e-14, -1, 0)
- o66.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o66.Position = Vector3.new(34.909977, 7.30001116, 26.3999996)
- o67.Parent = o66
- o67.Scale = Vector3.new(1, 0.899999976, 1)
- o68.Parent = o2
- o68.BrickColor = BrickColor.new("Really black")
- o68.Reflectance = 0.050000000745058
- o68.Position = Vector3.new(34.909977, 7.30001116, 27.1999874)
- o68.Rotation = Vector3.new(-90, 0, 0)
- o68.FormFactor = Enum.FormFactor.Plate
- o68.Size = Vector3.new(1, 0.400000006, 1)
- o68.CFrame = CFrame.new(34.909977, 7.30001116, 27.1999874, 1, 6.80857681e-09, 6.92022265e-16, 6.92022477e-16, 2.54099177e-08, 1, 6.80857681e-09, -1, 2.54099817e-08)
- o68.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o68.Position = Vector3.new(34.909977, 7.30001116, 27.1999874)
- o69.Parent = o68
- o69.Scale = Vector3.new(1, 0.899999976, 1)
- o70.Parent = o2
- o70.BrickColor = BrickColor.new("Earth green")
- o70.Position = Vector3.new(34.8099785, 6.23904562, 28.0941715)
- o70.Rotation = Vector3.new(168.690002, 0, -180)
- o70.FormFactor = Enum.FormFactor.Custom
- o70.Size = Vector3.new(1.20000005, 2, 0.200000003)
- o70.CFrame = CFrame.new(34.8099785, 6.23904562, 28.0941715, -1, 6.135773e-10, -6.12053963e-10, 7.21694204e-10, 0.980580688, -0.196116075, 4.79836171e-10, -0.196116075, -0.980580688)
- o70.BottomSurface = Enum.SurfaceType.Smooth
- o70.TopSurface = Enum.SurfaceType.Smooth
- o70.Color = Color3.new(0.152941, 0.27451, 0.176471)
- o70.Position = Vector3.new(34.8099785, 6.23904562, 28.0941715)
- o71.Parent = o70
- o71.MeshId = "http://www.roblox.com/asset/?id=16975131"
- o71.Scale = Vector3.new(0.699999988, 0.600000024, 0.600000024)
- o71.TextureId = "http://www.roblox.com/asset/?id=16975111"
- o71.MeshType = Enum.MeshType.FileMesh
- o72.Parent = o2
- o72.BrickColor = BrickColor.new("Really red")
- o72.Position = Vector3.new(34.909977, 5.84681082, 25.4273758)
- o72.Rotation = Vector3.new(-168.690002, 0, 180)
- o72.FormFactor = Enum.FormFactor.Custom
- o72.Size = Vector3.new(1, 1.20000005, 0.200000003)
- o72.CFrame = CFrame.new(34.909977, 5.84681082, 25.4273758, -1, -1.33527089e-09, 6.67635902e-09, -7.13582271e-16, 0.980580688, 0.196116149, -6.80857681e-09, 0.196116149, -0.980580688)
- o72.BottomSurface = Enum.SurfaceType.Smooth
- o72.TopSurface = Enum.SurfaceType.Smooth
- o72.Color = Color3.new(1, 0, 0)
- o72.Position = Vector3.new(34.909977, 5.84681082, 25.4273758)
- o73.Parent = o72
- o73.MeshId = "http://www.roblox.com/asset/?id=45021509"
- o73.Scale = Vector3.new(0.349999994, 0.5, 0.5)
- o73.TextureId = "http://www.roblox.com/asset/?id=45021236"
- o73.VertexColor = Vector3.new(0.5, 0.5, 0.5)
- o73.MeshType = Enum.MeshType.FileMesh
- o74.Name = "Super Spy Torso"
- o74.Parent = o1
- o74.MeshId = 55045977
- o74.BaseTextureId = 54353117
- o74.BodyPart = Enum.BodyPart.Torso
- o75.Name = "Super Spy Right Arm"
- o75.Parent = o1
- o75.MeshId = 55046377
- o75.BaseTextureId = 54353117
- o75.BodyPart = Enum.BodyPart.RightArm
- o76.Name = "Super Spy Left Arm"
- o76.Parent = o1
- o76.MeshId = 55046412
- o76.BaseTextureId = 54353117
- o76.BodyPart = Enum.BodyPart.LeftArm
- o77.Name = "Roblox 2.0 Right Leg"
- o77.Parent = o1
- o77.MeshId = 27111882
- o77.BodyPart = Enum.BodyPart.RightLeg
- o78.Name = "Roblox 2.0 Left Leg"
- o78.Parent = o1
- o78.MeshId = 27111857
- o78.BodyPart = Enum.BodyPart.LeftLeg
- o79.Name = "Health"
- o79.Parent = o1
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function waitForChild(parent, childName)
- while true do
- local child = parent:findFirstChild(childName)
- if child then
- return child
- end
- parent.ChildAdded:wait()
- end
- end
- -- declarations
- local Figure = script.Parent
- local Head = waitForChild(Figure, "Head")
- local Humanoid = waitForChild(Figure, "Humanoid")
- Humanoid.Health=999999
- -- regeneration
- --[[
- while true do
- local s = wait(4)
- local health = Humanoid.Health
- if health > 0 and health < Humanoid.MaxHealth then
- health = health + 0.08 * s * Humanoid.MaxHealth
- if health * 1.05 < Humanoid.MaxHealth then
- Humanoid.Health = health
- else
- Humanoid.Health = Humanoid.MaxHealth
- end
- end
- end
- --]]
- end,o79)
- end))
- o80.Name = "Robot"
- o80.Parent = o1
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- ------------------
- --SPAWNING--
- ------------------
- miked=script.Parent
- itlh=miked.Torso:findFirstChild("Left Hip")
- itlh.Part0=miked.Torso
- itlh.Part1=miked:findFirstChild("Left Leg")
- itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- itrh=miked.Torso:findFirstChild("Right Hip")
- itrh.Part0=miked.Torso
- itrh.Part1=miked:findFirstChild("Right Leg")
- itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- itls=miked.Torso:findFirstChild("Left Shoulder")
- itls.Part1=miked.Torso
- itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- itls.Part0=miked:findFirstChild("Left Arm")
- itrs=miked.Torso:findFirstChild("Right Shoulder")
- itrs.Part1=miked.Torso
- itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- itrs.Part0=miked:findFirstChild("Right Arm")
- miked.Head:makeJoints()
- ------------------
- ------------------
- function waitForChild(parent, childName)
- while true do
- local child = parent:findFirstChild(childName)
- if child then
- return child
- end
- parent.ChildAdded:wait()
- end
- end
- local Figure = script.Parent
- local Torso = waitForChild(Figure, "Torso")
- local RightShoulder = waitForChild(Torso, "Right Shoulder")
- local LeftShoulder = waitForChild(Torso, "Left Shoulder")
- local RightHip = waitForChild(Torso, "Right Hip")
- local LeftHip = waitForChild(Torso, "Left Hip")
- local Neck = waitForChild(Torso, "Neck")
- local Humanoid = waitForChild(Figure, "Humanoid")
- local pose = "Standing"
- local toolAnim = "None"
- local toolAnimTime = 0
- local isSeated = false
- function onRunning(speed)
- if isSeated then return end
- if speed>0 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- isSeated = false
- pose = "Jumping"
- end
- function onClimbing()
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- pose = "FreeFall"
- end
- function onDancing()
- pose = "Dancing"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- isSeated = true
- pose = "Seated"
- end
- function moveJump()
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity = 0.5
- RightShoulder.DesiredAngle = -3.14
- LeftShoulder.DesiredAngle = -3.14
- RightHip.DesiredAngle = 0
- LeftHip.DesiredAngle = 0
- end
- function moveFreeFall()
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity = 0.5
- RightShoulder.DesiredAngle = -1
- LeftShoulder.DesiredAngle = -1
- RightHip.DesiredAngle = 0
- LeftHip.DesiredAngle = 0
- end
- function moveFloat()
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity = 0.5
- RightShoulder.DesiredAngle = -1.57
- LeftShoulder.DesiredAngle = 1.57
- RightHip.DesiredAngle = 1.57
- LeftHip.DesiredAngle = -1.57
- end
- function moveBoogy()
- while pose=="Boogy" do
- wait(.5)
- RightShoulder.MaxVelocity = 1
- LeftShoulder.MaxVelocity = 1
- RightShoulder.DesiredAngle = -3.14
- LeftShoulder.DesiredAngle = 0
- RightHip.DesiredAngle = 1.57
- LeftHip.DesiredAngle = 0
- wait(.5)
- RightShoulder.MaxVelocity = 1
- LeftShoulder.MaxVelocity = 1
- RightShoulder.DesiredAngle = 0
- LeftShoulder.DesiredAngle = -3.14
- RightHip.DesiredAngle = 0
- LeftHip.DesiredAngle = 1.57
- end
- end
- function moveZombie()
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity = 0.5
- RightShoulder.DesiredAngle = 1.57
- LeftShoulder.DesiredAngle = 1.57
- RightHip.DesiredAngle = 0
- LeftHip.DesiredAngle = 0
- end
- function movePunch()
- script.Parent.Torso.Anchored=true
- RightShoulder.MaxVelocity = 60
- LeftShoulder.MaxVelocity = 0.5
- RightShoulder.DesiredAngle = 1.57
- LeftShoulder.DesiredAngle = 0
- RightHip.DesiredAngle = 0
- LeftHip.DesiredAngle = 0
- wait(1)
- script.Parent.Torso.Anchored=false
- pose="Standing"
- end
- function moveKick()
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity = 0.5
- RightShoulder.DesiredAngle = 0
- LeftShoulder.DesiredAngle = 0
- RightHip.MaxVelocity = 40
- RightHip.DesiredAngle = 1.57
- LeftHip.DesiredAngle = 0
- wait(1)
- pose="Standing"
- end
- function moveFly()
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity = 0.5
- RightShoulder.DesiredAngle = 0
- LeftShoulder.DesiredAngle = 0
- RightHip.MaxVelocity = 40
- RightHip.DesiredAngle = 1.57
- LeftHip.DesiredAngle = 0
- wait(1)
- pose="Standing"
- end
- function moveClimb()
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity = 0.5
- RightShoulder.DesiredAngle = -3.14
- LeftShoulder.DesiredAngle = 3.14
- RightHip.DesiredAngle = 0
- LeftHip.DesiredAngle = 0
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder.DesiredAngle = -3.14 /2
- LeftShoulder.DesiredAngle = -3.14 /2
- RightHip.DesiredAngle = 3.14 /2
- LeftHip.DesiredAngle = -3.14 /2
- end
- function getTool()
- kidTable = Figure:children()
- if (kidTable ~= nil) then
- numKids = #kidTable
- for i=1,numKids do
- if (kidTable[i].className == "Tool") then return kidTable[i] end
- end
- end
- return nil
- end
- function getToolAnim(tool)
- c = tool:children()
- for i=1,#c do
- if (c[i].Name == "toolanim" and c[i].className == "StringValue") then
- return c[i]
- end
- end
- return nil
- end
- function animateTool()
- if (toolAnim == "None") then
- RightShoulder.DesiredAngle = 1.57
- return
- end
- if (toolAnim == "Slash") then
- RightShoulder.MaxVelocity = 0.5
- RightShoulder.DesiredAngle = 0
- return
- end
- if (toolAnim == "Lunge") then
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity = 0.5
- RightHip.MaxVelocity = 0.5
- LeftHip.MaxVelocity = 0.5
- RightShoulder.DesiredAngle = 1.57
- LeftShoulder.DesiredAngle = 1.0
- RightHip.DesiredAngle = 1.57
- LeftHip.DesiredAngle = 1.0
- return
- end
- end
- function move(time)
- local amplitude
- local frequency
- if (pose == "Jumping") then
- moveJump()
- return
- end
- if (pose == "Zombie") then
- moveZombie()
- return
- end
- if (pose == "Boogy") then
- moveBoogy()
- return
- end
- if (pose == "Float") then
- moveFloat()
- return
- end
- if (pose == "Punch") then
- movePunch()
- return
- end
- if (pose == "Kick") then
- moveKick()
- return
- end
- if (pose == "Fly") then
- moveFly()
- return
- end
- if (pose == "FreeFall") then
- moveFreeFall()
- return
- end
- if (pose == "Climbing") then
- moveClimb()
- return
- end
- if (pose == "Seated") then
- moveSit()
- return
- end
- amplitude = 0.1
- frequency = 1
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- if (pose == "Running") then
- amplitude = 1
- frequency = 9
- elseif (pose == "Dancing") then
- amplitude = 2
- frequency = 16
- end
- desiredAngle = amplitude * math.sin(time*frequency)
- if pose~="Dancing" then
- RightShoulder.DesiredAngle = -desiredAngle
- LeftShoulder.DesiredAngle = desiredAngle
- RightHip.DesiredAngle = -desiredAngle
- LeftHip.DesiredAngle = -desiredAngle
- else
- RightShoulder.DesiredAngle = desiredAngle
- LeftShoulder.DesiredAngle = desiredAngle
- RightHip.DesiredAngle = -desiredAngle
- LeftHip.DesiredAngle = -desiredAngle
- end
- local tool = getTool()
- if tool ~= nil then
- animStringValueObject = getToolAnim(tool)
- if animStringValueObject ~= nil then
- toolAnim = animStringValueObject.Value
- -- message recieved, delete StringValue
- animStringValueObject.Parent = nil
- toolAnimTime = time + .3
- end
- if time > toolAnimTime then
- toolAnimTime = 0
- toolAnim = "None"
- end
- animateTool()
- else
- toolAnim = "None"
- toolAnimTime = 0
- end
- end
- -- connect events
- -----------------------------------------------------------------------------------------------------------------------
- function unequip()
- local items=script.Parent:children()
- for i=1, #items do
- if items[i].className=="Tool" then items[i]:remove() end
- end
- end
- function onChatted(msg, recipient)
- msg = string.lower(msg)
- if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, "everyone") then
- if string.match(msg, "equip") then
- if game.Workspace:findFirstChild("Hub") then
- if string.match(msg, "rocket") then unequip()
- game.Workspace.Hub.Rocket:clone().Parent=script.Parent
- elseif string.match(msg, "slingshot") then unequip()
- game.Workspace.Hub.Slingshot:clone().Parent=script.Parent
- elseif string.match(msg, "sword") then unequip()
- game.Workspace.Hub.Sword:clone().Parent=script.Parent
- elseif string.match(msg, "pbg") then unequip()
- game.Workspace.Hub.PBG:clone().Parent=script.Parent
- elseif string.match(msg, "superball") then unequip()
- game.Workspace.Hub.Superball:clone().Parent=script.Parent
- elseif string.match(msg, "trowel") then unequip()
- game.Workspace.Hub.Trowel:clone().Parent=script.Parent
- elseif string.match(msg, "bomb") then unequip()
- game.Workspace.Hub.Bomb:clone().Parent=script.Parent
- end
- end
- end
- if string.match(msg, "unequip") then unequip() end
- if string.match(msg, "run") then onRunning(1) end
- if string.match(msg, "climb") then onClimbing() end
- if string.match(msg, "jump") then onJumping() end
- if string.match(msg, "zombie") then pose="Zombie" end
- if string.match(msg, "disco") then pose="Boogy" end
- if string.match(msg, "float") then pose="Float" end
- if string.match(msg, "punch") then pose="Punch" end
- if string.match(msg, "kick") then pose="Kick" end
- if string.match(msg, "fly") then pose="Fly" end
- if string.match(msg, "heal") then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end
- if string.match(msg, "abcdefg") then defence() end
- if string.match(msg, "stop") then pose="Standing"; proxkill=false; following=false; stopmoving() end
- if string.match(msg, "go home") then following=false; gohome() end
- if string.match(msg, "follow") then
- if string.match(msg, "all") then
- followany()
- else
- local egg=game.Players:children()
- for i=1, #egg do
- if string.match(msg, string.lower(egg[i].Name)) then
- follow(egg[i].Name)
- return
- end
- end
- end
- end
- if string.match(msg, "kill") then
- if string.match(msg, "all") then
- attackany()
- else
- local egg=game.Players:children()
- for i=1, #egg do
- if string.match(msg, string.lower(egg[i].Name)) then
- attack(egg[i].Name)
- return
- end
- end
- end
- end
- end
- end
- ------------------------------------------------------------------------------------------
- function unequip()
- local items=script.Parent:children()
- for i=1, #items do
- if items[i].className=="Tool" then items[i]:remove() end
- end
- end
- function onChatted(msg, recipient)
- msg = string.lower(msg)
- if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, "everybody") then
- if string.match(msg, "equip") then
- if game.Workspace:findFirstChild("Hub") then
- if string.match(msg, "rocket") then unequip()
- game.Workspace.Hub.Rocket:clone().Parent=script.Parent
- elseif string.match(msg, "slingshot") then unequip()
- game.Workspace.Hub.Slingshot:clone().Parent=script.Parent
- elseif string.match(msg, "sword") then unequip()
- game.Workspace.Hub.Sword:clone().Parent=script.Parent
- elseif string.match(msg, "pbg") then unequip()
- game.Workspace.Hub.PBG:clone().Parent=script.Parent
- elseif string.match(msg, "superball") then unequip()
- game.Workspace.Hub.Superball:clone().Parent=script.Parent
- elseif string.match(msg, "trowel") then unequip()
- game.Workspace.Hub.Trowel:clone().Parent=script.Parent
- elseif string.match(msg, "bomb") then unequip()
- game.Workspace.Hub.Bomb:clone().Parent=script.Parent
- end
- end
- end
- if string.match(msg, "unequip") then unequip() end
- if string.match(msg, "run") then onRunning(1) end
- if string.match(msg, "climb") then onClimbing() end
- if string.match(msg, "jump") then onJumping() end
- if string.match(msg, "zombie") then pose="Zombie" end
- if string.match(msg, "disco") then pose="Boogy" end
- if string.match(msg, "float") then pose="Float" end
- if string.match(msg, "punch") then pose="Punch" end
- if string.match(msg, "kick") then pose="Kick" end
- if string.match(msg, "fly") then pose="Fly" end
- if string.match(msg, "heal") then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end
- if string.match(msg, "abcdefg") then defence() end
- if string.match(msg, "stop") then pose="Standing"; proxkill=false; following=false; stopmoving() end
- if string.match(msg, "go home") then following=false; gohome() end
- if string.match(msg, "follow") then
- if string.match(msg, "all") then
- followany()
- else
- local egg=game.Players:children()
- for i=1, #egg do
- if string.match(msg, string.lower(egg[i].Name)) then
- follow(egg[i].Name)
- return
- end
- end
- end
- end
- if string.match(msg, "kill") then
- if string.match(msg, "all") then
- attackany()
- else
- local egg=game.Players:children()
- for i=1, #egg do
- if string.match(msg, string.lower(egg[i].Name)) then
- attack(egg[i].Name)
- return
- end
- end
- end
- end
- end
- end
- if game.Players.NumPlayers>1 then
- x=game.Players:children()
- for i=1, #x do
- if script.Parent:findFirstChild("Commander")~=nil then
- if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()>0 then
- local ch=script.Parent.Commander:children()
- for i=1, #ch do
- if string.lower(ch[i].Name)==string.lower(x[i].Name) then
- x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)
- end
- end
- elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then
- x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)
- end
- else
- x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)
- end
- end
- end
- function onPlayerEntered(Player)
- while Player.Name==nil do
- wait(2)
- end
- if script.Parent:findFirstChild("Commander")~=nil then
- if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()>0 then
- local ch=script.Parent.Commander:children()
- for i=1, #ch do
- if string.lower(ch[i].Name)==string.lower(Player.Name) then
- Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)
- end
- end
- elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then
- Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)
- end
- else
- Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)
- end
- end
- game.Players.ChildAdded:connect(onPlayerEntered)
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- dist=20
- function followany()
- following=true
- while following==true do
- local ch=game.Players:children()
- for i=1, #ch do
- local l=game.Workspace:findFirstChild(ch[i].Name)
- if l~=nil then
- local s=l.Torso
- local p=l.Torso.Position
- local q=script.Parent.Torso.Position
- local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )
- if smallest==nil then
- smallest=d
- target=s
- elseif d<smallest then
- smallest=d
- target=s
- end
- end
- end
- if smallest==nil then stopmoving() return end
- if smallest>6*dist then return end
- script.Parent.Humanoid:MoveTo(target.Position, target)
- wait(0.5)
- for i=1, 6 do
- if target.Parent.Humanoid.Health<1 then stopmoving() else wait(0.5) end
- end
- end
- end
- function gohome()
- script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)
- end
- function stopmoving()
- script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)
- end
- function follow(name)
- following=true
- local p=game.Workspace:findFirstChild(name)
- if p==nil then return end
- while following==true do
- script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)
- wait(0.5)
- for i=1, 3 do
- if p.Humanoid.Health<1 then following=false; stopmoving() return end
- wait(0.5)
- end
- end
- end
- function attack(name)
- if script.Parent:findFirstChild("Sword")~=nil then
- following=true
- local p=game.Workspace:findFirstChild(name)
- if p==nil then return end
- while following==true do
- script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)
- wait(0.5)
- for i=1, 3 do
- if p.Humanoid.Health<1 then following=false; stopmoving() return end
- local l=p.Torso.Position
- local q=script.Parent.Torso.Position
- local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )
- if d<10 then
- script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()
- if (q.y-l.y)>3 and (q.y-l.y)<7 then
- script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);
- end
- end
- wait(1)
- end
- end
- end
- end
- function attackany()
- if script.Parent:findFirstChild("Sword")~=nil then
- following=true
- while following==true do
- local ch=game.Players:children()
- for i=1, #ch do
- local l=game.Workspace:findFirstChild(ch[i].Name)
- if l~=nil then
- local s=l.Torso
- local p=l.Torso.Position
- local q=script.Parent.Torso.Position
- local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )
- if smallest==nil then
- smallest=d
- target=s
- elseif d<smallest then
- smallest=d
- target=s
- end
- end
- end
- if smallest==nil then stopmoving() return end
- if smallest>6*dist then return end
- script.Parent.Humanoid:MoveTo(target.Position, target)
- if smallest<10 then
- slash()
- end
- if target.Parent==nil then stopmoving() return end
- wait(0.5)
- for i=1, 3 do
- if target.Parent.Humanoid.Health<1 then
- stopmoving()
- else
- local p=target.Position
- local q=script.Parent.Torso.Position
- local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )
- if d<10 then
- script.Parent.Humanoid:MoveTo(target.Position, target); slash()
- if (q.y-p.y)>3 and (q.y-p.y)<7 then
- script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);
- end
- end
- wait(1)
- end
- end
- end
- end
- end
- function patrol()
- if points==nil then
- points=0
- if game.Workspace:findFirstChild("pp1")~=nil then
- pp1=game.Workspace:findFirstChild("pp1")
- local points=points+1
- if game.Workspace:findFirstChild("pp2")~=nil then
- pp2=game.Workspace:findFirstChild("pp2")
- local points=points+1
- if game.Workspace:findFirstChild("pp3")~=nil then
- pp3=game.Workspace:findFirstChild("pp3")
- local points=points+1
- if game.Workspace:findFirstChild("pp4")~=nil then
- pp4=game.Workspace:findFirstChild("pp4")
- local points=points+1
- if game.Workspace:findFirstChild("pp5")~=nil then
- pp5=game.Workspace:findFirstChild("pp5")
- local points=points+1
- if game.Workspace:findFirstChild("pp6")~=nil then
- pp6=game.Workspace:findFirstChild("pp6")
- local points=points+1
- if game.Workspace:findFirstChild("pp7")~=nil then
- pp7=game.Workspace:findFirstChild("pp7")
- local points=points+1
- if game.Workspace:findFirstChild("pp8")~=nil then
- pp8=game.Workspace:findFirstChild("pp8")
- local points=points+1
- if game.Workspace:findFirstChild("pp9")~=nil then
- pp9=game.Workspace:findFirstChild("pp9")
- local points=points+1
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- if points<1 then return end
- patrolling=true
- local time=2
- if points==1 then return end
- if points>1 then
- while patrolling==true do
- script.Parent.Humanoid:MoveTo(pp1.Position, pp1)
- wait(time)
- script.Parent.Humanoid:MoveTo(pp2.Position, pp2)
- wait(time)
- if points>2 then
- script.Parent.Humanoid:MoveTo(pp3.Position, pp3)
- wait(time)
- if points>3 then
- script.Parent.Humanoid:MoveTo(pp4.Position, pp4)
- wait(time)
- if points>4 then
- script.Parent.Humanoid:MoveTo(pp5.Position, pp5)
- wait(time)
- if points>5 then
- script.Parent.Humanoid:MoveTo(pp6.Position, pp6)
- wait(time)
- if points>6 then
- script.Parent.Humanoid:MoveTo(pp7.Position, pp7)
- wait(time)
- if points>7 then
- script.Parent.Humanoid:MoveTo(pp8.Position, pp8)
- wait(time)
- if points>8 then
- script.Parent.Humanoid:MoveTo(pp9.Position, pp9)
- wait(time)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- function goto(pos,part)
- while true do
- end
- end
- function slash()
- for i=1, 3 do
- wait(.3)
- RightShoulder.MaxVelocity = 2
- LeftShoulder.MaxVelocity = 1
- RightShoulder.DesiredAngle = -2.14
- LeftShoulder.DesiredAngle = 0
- RightHip.DesiredAngle = 0
- LeftHip.DesiredAngle = 0
- wait(.2)
- RightShoulder.MaxVelocity = 2
- LeftShoulder.MaxVelocity = 1
- RightShoulder.DesiredAngle = 0
- LeftShoulder.DesiredAngle = 0
- RightHip.DesiredAngle = 0
- LeftHip.DesiredAngle = 0
- end
- end
- function defence()
- proxkill=true
- while proxkill==true do
- local ch=game.Players:children()
- for i=1, #ch do
- local p=game.Workspace:findFirstChild(ch[i].Name)
- if p~=nil then
- local p=p.Torso.Position
- local q=script.Parent.Torso.Position
- local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )
- if d<dist and d>8 then
- local ex=Instance.new("")
- ex.Position=p
- ex.Parent=game.Workspace
- end
- end
- end
- wait(1)
- end
- end
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(onJumping)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.GettingUp:connect(onGettingUp)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.FallingDown:connect(onFallingDown)
- Humanoid.Seated:connect(onSeated)
- --[[
- function newSound(id)
- local sound = Instance.new("Sound")
- sound.SoundId = id
- sound.Parent = script.Parent.Head
- return sound
- end
- local sDied = newSound("rbxasset://sounds/uuhhh.wav")
- local sFallingDown = newSound("rbxasset://sounds/splat.wav")
- local sFreeFalling = newSound("rbxasset://sounds/swoosh.wav")
- local sGettingUp = newSound("rbxasset://sounds/hit.wav")
- local sJumping = newSound("rbxasset://sounds/button.wav")
- local sRunning = newSound("rbxasset://sounds/bfsl-minifigfoots1.mp3")
- sRunning.Looped = true
- local Figure = script.Parent
- local Head = waitForChild(Figure, "Head")
- local Humanoid = waitForChild(Figure, "Humanoid")
- function onDied()
- sDied:play()
- end
- function onState(state, sound)
- if state then
- sound:play()
- else
- sound:pause()
- end
- end
- function onRunning(speed)
- if speed>0 then
- sRunning:play()
- else
- sRunning:pause()
- end
- end
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)
- Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)
- Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)
- Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)
- --]]
- local nextTime = 0
- local runService = game:service("RunService");
- while Figure.Parent~=nil do
- time = runService.Stepped:wait()
- if time > nextTime then
- move(time)
- nextTime = time + 0.1
- end
- end
- wait(8)
- if game:findFirstChild("NetworkServer") ~= nil then
- h = Instance.new("Hint")
- h.Text = "The map maker thanks MehCooky for making the soldier."
- h.Parent = game.Workspace
- end
- end,o80)
- end))
- o81.Name = "Shirt"
- o81.Parent = o1
- o81.ShirtTemplate = "http://www.roblox.com/asset/?id=33917039"
- o82.Name = "Pants"
- o82.Parent = o1
- o82.PantsTemplate = "http://www.roblox.com/asset/?id=33917077"
- o83.Name = "README"
- o83.Parent = o1
- o83.Disabled = true
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- --------------------------------------------------
- -- ORIGINAL MODEL BY MEHCOOKY INSPIRED BY MIKED --
- ------ ANY OTHER VERSIONS ARE COPIED -------------
- --------------------------------------------------
- --[[
- ROBOTS v1
- User Manual
- ---------------------------------------------------------------------
- Before you start:
- 1. If you want to let the robot use weapons then get the Robot Weapon Hub from the toolbox.
- 2. Look at the list of names in commander. Change these names to change who can command
- your robot. Delete "Commander" if you want everyone to be able to control it.
- 3. Delete the robot spawn pad if you dont want the robot to come back when dead.
- The robot is only half done, I was going to add the ability to fire rockets, patrol set points, kill
- one team only and so on. I got fed up of making stuff for it, and Im only releasing it now as
- so many people have patiently been waiting for it. Its likely Ill update it in the future.
- HOW TO USE IT:
- It listens to what you type (if you are one of the people it is listening to)
- Change the name of the robot to whatever you want, and it will do what you say when you say its name.
- Commands:
- {Robot Name} dance
- go home
- run
- climb
- jump
- zombie
- disco
- float
- punch
- kick
- fly
- heal
- defend
- stop
- follow {Player Name}
- follow all
- kill {Player Name}
- kill all
- equip sword
- rocket
- slingshot
- pbg
- superball
- trowel
- bomb
- unequip
- e.g.:
- Yellow kill miked
- Also you can type it however you like, just include the keywords:
- e.g.:
- Yellow my best friend in the world, can you do me a favour and kill that miked guy?
- Its not case sensitive too:
- e.g.:
- YelLOW KiLl MiKeD
- Also if you have lots of robots do this to get al their attention:
- Everyone kill miked
- --------------------------------------------------
- -- ORIGINAL MODEL BY MEHCOOKY INSPIRED BY MIKED --
- ------ ANY OTHER VERSIONS ARE COPIED -------------
- --------------------------------------------------
- --]]
- end,o83)
- end))
- o84.Name = "Left Arm"
- o84.Parent = o1
- o84.BrickColor = BrickColor.new("Pastel brown")
- o84.Reflectance = 0.10000000149012
- o84.Position = Vector3.new(35.909977, 6.20000505, 25.2999935)
- o84.Rotation = Vector3.new(0, -90, 0)
- o84.CanCollide = false
- o84.FormFactor = Enum.FormFactor.Symmetric
- o84.Size = Vector3.new(1, 2, 1)
- o84.CFrame = CFrame.new(35.909977, 6.20000505, 25.2999935, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o84.Color = Color3.new(1, 0.8, 0.6)
- o84.Position = Vector3.new(35.909977, 6.20000505, 25.2999935)
- o85.Name = "Right Arm"
- o85.Parent = o1
- o85.BrickColor = BrickColor.new("Pastel brown")
- o85.Reflectance = 0.10000000149012
- o85.Position = Vector3.new(35.909977, 6.20000505, 28.2999935)
- o85.Rotation = Vector3.new(0, -90, 0)
- o85.CanCollide = false
- o85.FormFactor = Enum.FormFactor.Symmetric
- o85.Size = Vector3.new(1, 2, 1)
- o85.CFrame = CFrame.new(35.909977, 6.20000505, 28.2999935, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o85.Color = Color3.new(1, 0.8, 0.6)
- o85.Position = Vector3.new(35.909977, 6.20000505, 28.2999935)
- o86.Name = "Mode"
- o86.Parent = o1
- o87.Parent = o1
- o87.HeadColor = BrickColor.new("Pastel brown")
- o87.LeftArmColor = BrickColor.new("Pastel brown")
- o87.LeftLegColor = BrickColor.new("Really black")
- o87.RightArmColor = BrickColor.new("Pastel brown")
- o87.RightLegColor = BrickColor.new("Really black")
- o87.TorsoColor = BrickColor.new("Pastel brown")
- o88.Parent = o1
- o88.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- o88.RightLeg = o89
- o88.LeftLeg = o90
- o88.Torso = o91
- o89.Name = "Right Leg"
- o89.Parent = o1
- o89.BrickColor = BrickColor.new("Really black")
- o89.Reflectance = 0.10000000149012
- o89.Position = Vector3.new(35.909977, 4.20000505, 27.2999935)
- o89.Rotation = Vector3.new(0, -90, 0)
- o89.CanCollide = false
- o89.FormFactor = Enum.FormFactor.Symmetric
- o89.Size = Vector3.new(1, 2, 1)
- o89.CFrame = CFrame.new(35.909977, 4.20000505, 27.2999935, 1.10635061e-29, 1.03803337e-15, -1, 4.26325641e-14, 1, -1.03803337e-15, 1, 4.26325641e-14, -1.10635061e-29)
- o89.BottomSurface = Enum.SurfaceType.Smooth
- o89.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o89.Position = Vector3.new(35.909977, 4.20000505, 27.2999935)
- o90.Name = "Left Leg"
- o90.Parent = o1
- o90.BrickColor = BrickColor.new("Really black")
- o90.Reflectance = 0.10000000149012
- o90.Position = Vector3.new(35.909977, 4.20000505, 26.2999935)
- o90.Rotation = Vector3.new(0, -90, 0)
- o90.CanCollide = false
- o90.FormFactor = Enum.FormFactor.Symmetric
- o90.Size = Vector3.new(1, 2, 1)
- o90.CFrame = CFrame.new(35.909977, 4.20000505, 26.2999935, 1.10635061e-29, 1.03803337e-15, -1, 4.26325641e-14, 1, -1.03803337e-15, 1, 4.26325641e-14, -1.10635061e-29)
- o90.BottomSurface = Enum.SurfaceType.Smooth
- o90.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o90.Position = Vector3.new(35.909977, 4.20000505, 26.2999935)
- o91.Name = "Torso"
- o91.Parent = o1
- o91.BrickColor = BrickColor.new("Pastel brown")
- o91.Reflectance = 0.10000000149012
- o91.Position = Vector3.new(35.909977, 6.20000505, 26.7999935)
- o91.Rotation = Vector3.new(0, -90, 0)
- o91.FormFactor = Enum.FormFactor.Symmetric
- o91.Size = Vector3.new(2, 2, 1)
- o91.CFrame = CFrame.new(35.909977, 6.20000505, 26.7999935, 0, 0, -1, 0, 1, -0, 1, 0, -0)
- o91.Color = Color3.new(1, 0.8, 0.6)
- o91.Position = Vector3.new(35.909977, 6.20000505, 26.7999935)
- o92.Name = "Left Hip"
- o92.Parent = o91
- o92.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o92.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- o92.Part0 = o91
- o92.Part1 = o90
- o92.DesiredAngle = 0.044385049492121
- o92.MaxVelocity = 0.10000000149012
- o93.Name = "Neck"
- o93.Parent = o91
- o93.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- o93.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- o94.Name = "Right Hip"
- o94.Parent = o91
- o94.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- o94.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- o94.Part0 = o91
- o94.Part1 = o89
- o94.DesiredAngle = 0.044385049492121
- o94.MaxVelocity = 0.10000000149012
- o95.Name = "Right Shoulder"
- o95.Parent = o91
- o95.C0 = CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- o95.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- o95.Part0 = o85
- o95.Part1 = o91
- o95.DesiredAngle = 0.044385049492121
- o95.MaxVelocity = 0.15000000596046
- o96.Name = "Left Shoulder"
- o96.Parent = o91
- o96.C0 = CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o96.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- o96.Part0 = o84
- o96.Part1 = o91
- o96.DesiredAngle = -0.044385049492121
- o96.MaxVelocity = 0.15000000596046
- o97.Parent = o91
- o98.Parent = o91
- o99.Parent = o91
- o99.Part0 = o91
- o99.Part1 = o3
- o100.Name = "paintball"
- o100.Parent = o1
- o100.AttachmentPos = Vector3.new(0, 0.379999995, 0)
- o101.Name = "Handle"
- o101.Parent = o100
- o101.Position = Vector3.new(35.9099884, 7.82000351, 26.7999935)
- o101.Rotation = Vector3.new(0, -90, 0)
- o101.CanCollide = false
- o101.FormFactor = Enum.FormFactor.Symmetric
- o101.Size = Vector3.new(2, 1, 1)
- o101.CFrame = CFrame.new(35.9099884, 7.82000351, 26.7999935, 6.63810394e-29, 2.07606653e-15, -1.00000012, 8.52651283e-14, 0.999999881, -2.07606695e-15, 1, 8.52651147e-14, -6.63810454e-29)
- o101.BottomSurface = Enum.SurfaceType.Smooth
- o101.TopSurface = Enum.SurfaceType.Smooth
- o101.Position = Vector3.new(35.9099884, 7.82000351, 26.7999935)
- o102.Parent = o101
- o102.MeshId = "http://www.roblox.com/asset/?id=9253927"
- o102.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
- o102.TextureId = "http://www.roblox.com/asset/?id=17926536"
- o102.MeshType = Enum.MeshType.FileMesh
- o103.Name = "Hair"
- o103.Parent = o1
- o103.AttachmentForward = Vector3.new(0, -0.0995037258, -0.995037258)
- o103.AttachmentPos = Vector3.new(0, 0.150000006, -0.0799999982)
- o103.AttachmentUp = Vector3.new(0, 0.995037138, -0.0995037109)
- o104.Name = "Handle"
- o104.Parent = o103
- o104.Position = Vector3.new(35.8453102, 8.04278755, 26.7999935)
- o104.Rotation = Vector3.new(90, -84.2900009, 90)
- o104.CanCollide = false
- o104.FormFactor = Enum.FormFactor.Plate
- o104.Size = Vector3.new(2, 0.800000012, 2)
- o104.CFrame = CFrame.new(35.8453102, 8.04278755, 26.7999935, 6.63810394e-29, -0.0995037407, -0.995037377, 8.52651283e-14, 0.995037019, -0.099503696, 1, 8.48419574e-14, -8.4841954e-15)
- o104.BottomSurface = Enum.SurfaceType.Smooth
- o104.TopSurface = Enum.SurfaceType.Smooth
- o104.Position = Vector3.new(35.8453102, 8.04278755, 26.7999935)
- o105.Parent = o104
- o105.MeshId = "http://www.roblox.com/asset/?id=12259089"
- o105.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
- o105.TextureId = "http://www.roblox.com/asset/?id=12259192"
- o105.MeshType = Enum.MeshType.FileMesh
- o106.Name = "MarineHelmet"
- o106.Parent = o1
- o106.AttachmentForward = Vector3.new(-0, -0, 1)
- o106.AttachmentPos = Vector3.new(0, 0.150000006, 0)
- o106.AttachmentRight = Vector3.new(-1, 0, 0)
- o107.Name = "Handle"
- o107.Parent = o106
- o107.Position = Vector3.new(35.9099884, 8.05000401, 26.7999935)
- o107.Rotation = Vector3.new(0, 90, 0)
- o107.CanCollide = false
- o107.FormFactor = Enum.FormFactor.Symmetric
- o107.Size = Vector3.new(1, 1, 1)
- o107.CFrame = CFrame.new(35.9099884, 8.05000401, 26.7999935, -6.63810394e-29, 2.07606653e-15, 1.00000012, -8.52651283e-14, 0.999999881, 2.07606695e-15, -1, 8.52651147e-14, 6.63810454e-29)
- o107.BottomSurface = Enum.SurfaceType.Smooth
- o107.TopSurface = Enum.SurfaceType.Smooth
- o107.Position = Vector3.new(35.9099884, 8.05000401, 26.7999935)
- o108.Parent = o107
- o108.Scale = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o108.TextureId = "http://www.roblox.com/asset/?id=8940863"
- o108.MeshType = Enum.MeshType.FileMesh
- o109.Name = "Head"
- o109.Parent = o1
- o109.BrickColor = BrickColor.new("Pastel brown")
- o109.Reflectance = 0.10000000149012
- o109.Position = Vector3.new(35.9099884, 7.70000362, 26.7999935)
- o109.Rotation = Vector3.new(0, -90, 0)
- o109.FormFactor = Enum.FormFactor.Symmetric
- o109.Size = Vector3.new(2, 1, 1)
- o109.CFrame = CFrame.new(35.9099884, 7.70000362, 26.7999935, 6.63810394e-29, 2.07606653e-15, -1.00000012, 8.52651283e-14, 0.999999881, -2.07606695e-15, 1, 8.52651147e-14, -6.63810454e-29)
- o109.TopSurface = Enum.SurfaceType.Smooth
- o109.Color = Color3.new(1, 0.8, 0.6)
- o109.Position = Vector3.new(35.9099884, 7.70000362, 26.7999935)
- o110.Parent = o109
- o110.MeshId = "http://roblox.com/asset/?id=83001675"
- o110.Offset = Vector3.new(0, 0, 0.00999999978)
- o110.Scale = Vector3.new(1.25, 1.25, 1.25)
- o110.MeshType = Enum.MeshType.FileMesh
- o111.Name = "face"
- o111.Parent = o109
- o112.Parent = o109
- o112.SoundId = "rbxasset://sounds/uuhhh.wav"
- o113.Parent = o109
- o113.SoundId = "rbxasset://sounds/splat.wav"
- o114.Parent = o109
- o114.SoundId = "rbxasset://sounds/swoosh.wav"
- o115.Parent = o109
- o115.SoundId = "rbxasset://sounds/hit.wav"
- o116.Parent = o109
- o116.SoundId = "rbxasset://sounds/button.wav"
- o117.Parent = o109
- o117.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o117.Looped = true
- o118.Parent = o109
- o118.SoundId = "rbxasset://sounds/uuhhh.wav"
- o119.Parent = o109
- o119.SoundId = "rbxasset://sounds/splat.wav"
- o120.Parent = o109
- o120.SoundId = "rbxasset://sounds/swoosh.wav"
- o121.Parent = o109
- o121.SoundId = "rbxasset://sounds/hit.wav"
- o122.Parent = o109
- o122.SoundId = "rbxasset://sounds/button.wav"
- o123.Parent = o109
- o123.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o123.Looped = true
- o124.Parent = o109
- o124.SoundId = "rbxasset://sounds/uuhhh.wav"
- o125.Parent = o109
- o125.SoundId = "rbxasset://sounds/splat.wav"
- o126.Parent = o109
- o126.SoundId = "rbxasset://sounds/swoosh.wav"
- o127.Parent = o109
- o127.SoundId = "rbxasset://sounds/hit.wav"
- o128.Parent = o109
- o128.SoundId = "rbxasset://sounds/button.wav"
- o129.Parent = o109
- o129.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o129.Looped = true
- o130.Parent = o109
- o130.SoundId = "rbxasset://sounds/uuhhh.wav"
- o131.Parent = o109
- o131.SoundId = "rbxasset://sounds/splat.wav"
- o132.Parent = o109
- o132.SoundId = "rbxasset://sounds/swoosh.wav"
- o133.Parent = o109
- o133.SoundId = "rbxasset://sounds/hit.wav"
- o134.Parent = o109
- o134.SoundId = "rbxasset://sounds/button.wav"
- o135.Parent = o109
- o135.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o135.Looped = true
- o136.Parent = o109
- o136.SoundId = "rbxasset://sounds/uuhhh.wav"
- o137.Parent = o109
- o137.SoundId = "rbxasset://sounds/splat.wav"
- o138.Parent = o109
- o138.SoundId = "rbxasset://sounds/swoosh.wav"
- o139.Parent = o109
- o139.SoundId = "rbxasset://sounds/hit.wav"
- o140.Parent = o109
- o140.SoundId = "rbxasset://sounds/button.wav"
- o141.Parent = o109
- o141.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o141.Looped = true
- o142.Parent = o109
- o142.SoundId = "rbxasset://sounds/uuhhh.wav"
- o143.Parent = o109
- o143.SoundId = "rbxasset://sounds/splat.wav"
- o144.Parent = o109
- o144.SoundId = "rbxasset://sounds/swoosh.wav"
- o145.Parent = o109
- o145.SoundId = "rbxasset://sounds/hit.wav"
- o146.Parent = o109
- o146.SoundId = "rbxasset://sounds/button.wav"
- o147.Parent = o109
- o147.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o147.Looped = true
- o148.Parent = o109
- o148.SoundId = "rbxasset://sounds/uuhhh.wav"
- o149.Parent = o109
- o149.SoundId = "rbxasset://sounds/splat.wav"
- o150.Parent = o109
- o150.SoundId = "rbxasset://sounds/swoosh.wav"
- o151.Parent = o109
- o151.SoundId = "rbxasset://sounds/hit.wav"
- o152.Parent = o109
- o152.SoundId = "rbxasset://sounds/button.wav"
- o153.Parent = o109
- o153.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o153.Looped = true
- o154.Parent = o109
- o154.SoundId = "rbxasset://sounds/uuhhh.wav"
- o155.Parent = o109
- o155.SoundId = "rbxasset://sounds/splat.wav"
- o156.Parent = o109
- o156.SoundId = "rbxasset://sounds/swoosh.wav"
- o157.Parent = o109
- o157.SoundId = "rbxasset://sounds/hit.wav"
- o158.Parent = o109
- o158.SoundId = "rbxasset://sounds/button.wav"
- o159.Parent = o109
- o159.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o159.Looped = true
- o160.Parent = o109
- o160.SoundId = "rbxasset://sounds/uuhhh.wav"
- o161.Parent = o109
- o161.SoundId = "rbxasset://sounds/splat.wav"
- o162.Parent = o109
- o162.SoundId = "rbxasset://sounds/swoosh.wav"
- o163.Parent = o109
- o163.SoundId = "rbxasset://sounds/hit.wav"
- o164.Parent = o109
- o164.SoundId = "rbxasset://sounds/button.wav"
- o165.Parent = o109
- o165.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o165.Looped = true
- o166.Parent = o109
- o166.SoundId = "rbxasset://sounds/uuhhh.wav"
- o167.Parent = o109
- o167.SoundId = "rbxasset://sounds/splat.wav"
- o168.Parent = o109
- o168.SoundId = "rbxasset://sounds/swoosh.wav"
- o169.Parent = o109
- o169.SoundId = "rbxasset://sounds/hit.wav"
- o170.Parent = o109
- o170.SoundId = "rbxasset://sounds/button.wav"
- o171.Parent = o109
- o171.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o171.Looped = true
- o172.Parent = o109
- o172.SoundId = "rbxasset://sounds/uuhhh.wav"
- o173.Parent = o109
- o173.SoundId = "rbxasset://sounds/splat.wav"
- o174.Parent = o109
- o174.SoundId = "rbxasset://sounds/swoosh.wav"
- o175.Parent = o109
- o175.SoundId = "rbxasset://sounds/hit.wav"
- o176.Parent = o109
- o176.SoundId = "rbxasset://sounds/button.wav"
- o177.Parent = o109
- o177.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o177.Looped = true
- o178.Parent = o109
- o178.SoundId = "rbxasset://sounds/uuhhh.wav"
- o179.Parent = o109
- o179.SoundId = "rbxasset://sounds/splat.wav"
- o180.Parent = o109
- o180.SoundId = "rbxasset://sounds/swoosh.wav"
- o181.Parent = o109
- o181.SoundId = "rbxasset://sounds/hit.wav"
- o182.Parent = o109
- o182.SoundId = "rbxasset://sounds/button.wav"
- o183.Parent = o109
- o183.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o183.Looped = true
- o184.Parent = o109
- o184.SoundId = "rbxasset://sounds/uuhhh.wav"
- o185.Parent = o109
- o185.SoundId = "rbxasset://sounds/splat.wav"
- o186.Parent = o109
- o186.SoundId = "rbxasset://sounds/swoosh.wav"
- o187.Parent = o109
- o187.SoundId = "rbxasset://sounds/hit.wav"
- o188.Parent = o109
- o188.SoundId = "rbxasset://sounds/button.wav"
- o189.Parent = o109
- o189.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o189.Looped = true
- o190.Parent = o109
- o190.SoundId = "rbxasset://sounds/uuhhh.wav"
- o191.Parent = o109
- o191.SoundId = "rbxasset://sounds/splat.wav"
- o192.Parent = o109
- o192.SoundId = "rbxasset://sounds/swoosh.wav"
- o193.Parent = o109
- o193.SoundId = "rbxasset://sounds/hit.wav"
- o194.Parent = o109
- o194.SoundId = "rbxasset://sounds/button.wav"
- o195.Parent = o109
- o195.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o195.Looped = true
- o196.Parent = o109
- o196.SoundId = "rbxasset://sounds/uuhhh.wav"
- o197.Parent = o109
- o197.SoundId = "rbxasset://sounds/splat.wav"
- o198.Parent = o109
- o198.SoundId = "rbxasset://sounds/swoosh.wav"
- o199.Parent = o109
- o199.SoundId = "rbxasset://sounds/hit.wav"
- o200.Parent = o109
- o200.SoundId = "rbxasset://sounds/button.wav"
- o201.Parent = o109
- o201.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o201.Looped = true
- o202.Parent = o109
- o202.SoundId = "rbxasset://sounds/uuhhh.wav"
- o203.Parent = o109
- o203.SoundId = "rbxasset://sounds/splat.wav"
- o204.Parent = o109
- o204.SoundId = "rbxasset://sounds/swoosh.wav"
- o205.Parent = o109
- o205.SoundId = "rbxasset://sounds/hit.wav"
- o206.Parent = o109
- o206.SoundId = "rbxasset://sounds/button.wav"
- o207.Parent = o109
- o207.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o207.Looped = true
- o208.Parent = o109
- o208.SoundId = "rbxasset://sounds/uuhhh.wav"
- o209.Parent = o109
- o209.SoundId = "rbxasset://sounds/splat.wav"
- o210.Parent = o109
- o210.SoundId = "rbxasset://sounds/swoosh.wav"
- o211.Parent = o109
- o211.SoundId = "rbxasset://sounds/hit.wav"
- o212.Parent = o109
- o212.SoundId = "rbxasset://sounds/button.wav"
- o213.Parent = o109
- o213.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o213.Looped = true
- o214.Parent = o109
- o214.SoundId = "rbxasset://sounds/uuhhh.wav"
- o215.Parent = o109
- o215.SoundId = "rbxasset://sounds/splat.wav"
- o216.Parent = o109
- o216.SoundId = "rbxasset://sounds/swoosh.wav"
- o217.Parent = o109
- o217.SoundId = "rbxasset://sounds/hit.wav"
- o218.Parent = o109
- o218.SoundId = "rbxasset://sounds/button.wav"
- o219.Parent = o109
- o219.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o219.Looped = true
- o220.Parent = o109
- o220.SoundId = "rbxasset://sounds/uuhhh.wav"
- o221.Parent = o109
- o221.SoundId = "rbxasset://sounds/splat.wav"
- o222.Parent = o109
- o222.SoundId = "rbxasset://sounds/swoosh.wav"
- o223.Parent = o109
- o223.SoundId = "rbxasset://sounds/hit.wav"
- o224.Parent = o109
- o224.SoundId = "rbxasset://sounds/button.wav"
- o225.Parent = o109
- o225.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o225.Looped = true
- o226.Parent = o109
- o226.SoundId = "rbxasset://sounds/uuhhh.wav"
- o227.Parent = o109
- o227.SoundId = "rbxasset://sounds/splat.wav"
- o228.Parent = o109
- o228.SoundId = "rbxasset://sounds/swoosh.wav"
- o229.Parent = o109
- o229.SoundId = "rbxasset://sounds/hit.wav"
- o230.Parent = o109
- o230.SoundId = "rbxasset://sounds/button.wav"
- o231.Parent = o109
- o231.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o231.Looped = true
- o232.Parent = o109
- o232.SoundId = "rbxasset://sounds/uuhhh.wav"
- o233.Parent = o109
- o233.SoundId = "rbxasset://sounds/splat.wav"
- o234.Parent = o109
- o234.SoundId = "rbxasset://sounds/swoosh.wav"
- o235.Parent = o109
- o235.SoundId = "rbxasset://sounds/hit.wav"
- o236.Parent = o109
- o236.SoundId = "rbxasset://sounds/button.wav"
- o237.Parent = o109
- o237.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o237.Looped = true
- o238.Parent = o109
- o238.SoundId = "rbxasset://sounds/uuhhh.wav"
- o239.Parent = o109
- o239.SoundId = "rbxasset://sounds/splat.wav"
- o240.Parent = o109
- o240.SoundId = "rbxasset://sounds/swoosh.wav"
- o241.Parent = o109
- o241.SoundId = "rbxasset://sounds/hit.wav"
- o242.Parent = o109
- o242.SoundId = "rbxasset://sounds/button.wav"
- o243.Parent = o109
- o243.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o243.Looped = true
- o244.Parent = o109
- o244.SoundId = "rbxasset://sounds/uuhhh.wav"
- o245.Parent = o109
- o245.SoundId = "rbxasset://sounds/splat.wav"
- o246.Parent = o109
- o246.SoundId = "rbxasset://sounds/swoosh.wav"
- o247.Parent = o109
- o247.SoundId = "rbxasset://sounds/hit.wav"
- o248.Parent = o109
- o248.SoundId = "rbxasset://sounds/button.wav"
- o249.Parent = o109
- o249.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o249.Looped = true
- o250.Parent = o109
- o250.SoundId = "rbxasset://sounds/uuhhh.wav"
- o251.Parent = o109
- o251.SoundId = "rbxasset://sounds/splat.wav"
- o252.Parent = o109
- o252.SoundId = "rbxasset://sounds/swoosh.wav"
- o253.Parent = o109
- o253.SoundId = "rbxasset://sounds/hit.wav"
- o254.Parent = o109
- o254.SoundId = "rbxasset://sounds/button.wav"
- o255.Parent = o109
- o255.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3"
- o255.Looped = true
- o256.Parent = o109
- o256.Texture = "http://www.roblox.com/asset/?id=66515927"
- o257.Name = "HeadWeld"
- o257.Parent = o109
- o257.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o257.C1 = CFrame.new(0, 0.379999995, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o257.Part0 = o109
- o257.Part1 = o101
- o258.Name = "HeadWeld"
- o258.Parent = o109
- o258.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o258.C1 = CFrame.new(0, 0.150000006, -0.0799999982, 1, 0, -0, 0, 0.995037138, 0.0995037258, 0, -0.0995037109, 0.995037258)
- o258.Part0 = o109
- o258.Part1 = o104
- o259.Name = "HeadWeld"
- o259.Parent = o109
- o259.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o259.C1 = CFrame.new(0, 0.150000006, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o259.Part0 = o109
- o259.Part1 = o107
- o260.Name = "HeadWeld"
- o260.Parent = o109
- o260.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o260.C1 = CFrame.new(0, 0.150000006, -0.0799999982, 1, 0, -0, 0, 0.995037138, 0.0995037258, 0, -0.0995037109, 0.995037258)
- o260.Part0 = o109
- o260.Part1 = o104
- o261.Name = "HeadWeld"
- o261.Parent = o109
- o261.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o261.C1 = CFrame.new(0, 0.150000006, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- o261.Part0 = o109
- o261.Part1 = o107
- o262.Name = "soldier spawn"
- o262.Parent = o1
- o262.BrickColor = BrickColor.new("Really black")
- o262.Position = Vector3.new(35.909977, 2.60001206, 26.7999935)
- o262.Rotation = Vector3.new(0, -90, 0)
- o262.Anchored = true
- o262.FormFactor = Enum.FormFactor.Plate
- o262.Size = Vector3.new(6, 1.20000005, 7)
- o262.CFrame = CFrame.new(35.909977, 2.60001206, 26.7999935, 0, 0, -1, 0, 1, -0, 1, 0, -0)
- o262.TopSurface = Enum.SurfaceType.Smooth
- o262.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o262.Position = Vector3.new(35.909977, 2.60001206, 26.7999935)
- o263.Parent = o262
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- name="soldier"
- wait(0.000000000000001)
- robo=game.Workspace:findFirstChild(name):clone()
- while true do
- wait(5)
- if game.Workspace:findFirstChild(name)==nil then
- robot=robo:clone()
- robot.Parent=game.Workspace
- end
- if game.Workspace:findFirstChild(name):findFirstChild("Humanoid")==nil then
- game.Workspace:findFirstChild(name):remove()
- robot=robo:clone()
- robot.Parent=game.Workspace
- end
- if game.Workspace:findFirstChild(name).Humanoid.Health<1 then
- game.Workspace:findFirstChild(name):remove()
- robot=robo:clone()
- robot.Parent=game.Workspace
- end
- end
- end,o263)
- end))
- o264.Parent = o262
- o264.Texture = "http://www.roblox.com/asset/?id=67553511"
- o264.Face = Enum.NormalId.Top
- o265.Parent = o262
- o265.Texture = "http://www.roblox.com/asset/?id=67553511"
- o265.Face = Enum.NormalId.Back
- o266.Parent = o262
- o266.Texture = "http://www.roblox.com/asset/?id=67553511"
- o266.Face = Enum.NormalId.Left
- o267.Parent = o262
- o267.Texture = "http://www.roblox.com/asset/?id=67553511"
- o268.Parent = o262
- o268.Texture = "http://www.roblox.com/asset/?id=67553511"
- o268.Face = Enum.NormalId.Right
- o269.Parent = o262
- o269.Texture = "http://www.roblox.com/asset/?id=67553511"
- o269.Face = Enum.NormalId.Bottom
- o270.Parent = o262
- o270.Texture = "http://www.roblox.com/asset/?id=20385823"
- o270.Face = Enum.NormalId.Top
- o271.Name = "Hurting"
- o271.Parent = o262
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onTouched(hit)
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- if (humanoid ~= nil) then
- humanoid.Health = humanoid.Health - .100000000000
- end
- end
- script.Parent.Touched:connect(onTouched)
- end,o271)
- end))
- o272.Parent = o262
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment