Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By Rufus14 y'know
- script.Parent = game.ServerScriptService
- stringd = "Rufus14 Admin Loaded"
- faggots = {"ttuleyb"}
- maps = {"SFOTH1", "Treehouse", "House Party"}
- bannedscriptsbois = {}
- admins = {game.Players.WinslowMau}
- local findsound = Instance.new("Sound", workspace)
- findsound.SoundId = "rbxassetid://130840811"
- findsound.Volume = 10
- local critical = Instance.new("Sound", workspace)
- critical.SoundId = "rbxassetid://263105619"
- critical.Volume = 10
- ohshit = Instance.new("Sound", workspace)
- ohshit.SoundId = "rbxassetid://1309384445"
- ohshit.Volume = 10
- ohshit.PlaybackSpeed = 12.1
- kabom = Instance.new("Sound", workspace)
- kabom.SoundId = "rbxassetid://926261373"
- kabom.Volume = 10
- fart = Instance.new("Sound", workspace)
- fart.SoundId = "rbxassetid://131314452"
- fart.Volume = 10
- local gta = Instance.new("Sound", workspace)
- gta.SoundId = "rbxassetid://154003946"
- gta.Volume = 10
- local distort = Instance.new("DistortionSoundEffect", gta)
- distort.Level = 0.6
- antiskid = false
- antitimestop = true
- function makeablock()
- if game.Players.LocalPlayer.Character:findFirstChild("Torso") then
- local model = Instance.new("Model", workspace)
- local humanoid = Instance.new("Humanoid", model)
- local model = Instance.new("Model", workspace)
- local humanoid = Instance.new("Humanoid", model)
- local block = Instance.new("Part", model)
- block.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
- block.CanCollide = false
- block.Material = "Neon"
- block.Name = "Head"
- block.Size = Vector3.new(1,1,1)
- block.BrickColor = BrickColor:random()
- local bodypos = Instance.new("BodyPosition", block)
- bodypos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bodypos.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-8,8),0,math.random(-8,8))
- block:BreakJoints()
- model.Name = stringd
- wait(math.random(3.5,4.5))
- model:destroy()
- end
- end
- makeablock()
- function command(msg)
- if string.sub(msg,1,4) == ";lag" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,6))
- if findplayer then
- local bckpck = findplayer:findFirstChildOfClass("Backpack")
- if bckpck then
- if findplayer.Name == "Rufus14" or findplayer.Name == "YourCuteNoob" or findplayer.Name == "dionspion009" or findplayer.Name == "Ahtoh13131423144235" or findplayer.Name == "alexion9581" then
- stringd = "You cant lag me/my friends dickhead"
- makeablock()
- else
- stringd = "Lagging "..findplayer.Name
- local hop = Instance.new("HopperBin", bckpck)
- hop.Name = "rekt"
- hop.TextureId = "http://www.roblox.com/asset/?id=177097900"
- hop.Name = "lol"
- makeablock()
- local dialup = Instance.new("Sound", findplayer.Character.Head)
- dialup.SoundId = "rbxassetid://334010877"
- dialup.Volume = 10
- dialup:Play()
- dialup.Looped = true
- for i = 1,90000 do
- local hopclone = hop:Clone()
- hopclone.Parent = bckpck
- end
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,9) == ";showmaps" then
- print("Maps:")
- for i,v in pairs(maps:GetChildren()) do
- print(v)
- end
- stringd = "Open output!"
- makeablock()
- end
- if string.sub(msg,1,12) == ";House Party" then
- print("Loading House Party, this can take a while...")
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Part2 = Instance.new("Part")
- Decal3 = Instance.new("Decal")
- Decal4 = Instance.new("Decal")
- Decal5 = Instance.new("Decal")
- Decal6 = Instance.new("Decal")
- Decal7 = Instance.new("Decal")
- Part8 = Instance.new("Part")
- Decal9 = Instance.new("Decal")
- Decal10 = Instance.new("Decal")
- Decal11 = Instance.new("Decal")
- Decal12 = Instance.new("Decal")
- Decal13 = Instance.new("Decal")
- Part14 = Instance.new("Part")
- WedgePart15 = Instance.new("WedgePart")
- PointLight16 = Instance.new("PointLight")
- Script17 = Instance.new("Script")
- Script18 = Instance.new("Script")
- Part19 = Instance.new("Part")
- Script20 = Instance.new("Script")
- Part21 = Instance.new("Part")
- PointLight22 = Instance.new("PointLight")
- Script23 = Instance.new("Script")
- Script24 = Instance.new("Script")
- WedgePart25 = Instance.new("WedgePart")
- Part26 = Instance.new("Part")
- Decal27 = Instance.new("Decal")
- Decal28 = Instance.new("Decal")
- Decal29 = Instance.new("Decal")
- Decal30 = Instance.new("Decal")
- Decal31 = Instance.new("Decal")
- Script32 = Instance.new("Script")
- Script33 = Instance.new("Script")
- Part34 = Instance.new("Part")
- Decal35 = Instance.new("Decal")
- Decal36 = Instance.new("Decal")
- Decal37 = Instance.new("Decal")
- Decal38 = Instance.new("Decal")
- Decal39 = Instance.new("Decal")
- Model40 = Instance.new("Model")
- Part41 = Instance.new("Part")
- PointLight42 = Instance.new("PointLight")
- Part43 = Instance.new("Part")
- Part44 = Instance.new("Part")
- Part45 = Instance.new("Part")
- Part46 = Instance.new("Part")
- CylinderMesh47 = Instance.new("CylinderMesh")
- Part48 = Instance.new("Part")
- CylinderMesh49 = Instance.new("CylinderMesh")
- Script50 = Instance.new("Script")
- Model51 = Instance.new("Model")
- Part52 = Instance.new("Part")
- PointLight53 = Instance.new("PointLight")
- Part54 = Instance.new("Part")
- Part55 = Instance.new("Part")
- Part56 = Instance.new("Part")
- Part57 = Instance.new("Part")
- CylinderMesh58 = Instance.new("CylinderMesh")
- Part59 = Instance.new("Part")
- CylinderMesh60 = Instance.new("CylinderMesh")
- Script61 = Instance.new("Script")
- Part62 = Instance.new("Part")
- Part63 = Instance.new("Part")
- Part64 = Instance.new("Part")
- Part65 = Instance.new("Part")
- PointLight66 = Instance.new("PointLight")
- Part67 = Instance.new("Part")
- Decal68 = Instance.new("Decal")
- Decal69 = Instance.new("Decal")
- Decal70 = Instance.new("Decal")
- Decal71 = Instance.new("Decal")
- Decal72 = Instance.new("Decal")
- Part73 = Instance.new("Part")
- Decal74 = Instance.new("Decal")
- Decal75 = Instance.new("Decal")
- Decal76 = Instance.new("Decal")
- Decal77 = Instance.new("Decal")
- Decal78 = Instance.new("Decal")
- Part79 = Instance.new("Part")
- Decal80 = Instance.new("Decal")
- Decal81 = Instance.new("Decal")
- Decal82 = Instance.new("Decal")
- Decal83 = Instance.new("Decal")
- Decal84 = Instance.new("Decal")
- Part85 = Instance.new("Part")
- Decal86 = Instance.new("Decal")
- Decal87 = Instance.new("Decal")
- Decal88 = Instance.new("Decal")
- Decal89 = Instance.new("Decal")
- Decal90 = Instance.new("Decal")
- Part91 = Instance.new("Part")
- Decal92 = Instance.new("Decal")
- Decal93 = Instance.new("Decal")
- Decal94 = Instance.new("Decal")
- Decal95 = Instance.new("Decal")
- Decal96 = Instance.new("Decal")
- Script97 = Instance.new("Script")
- Script98 = Instance.new("Script")
- Part99 = Instance.new("Part")
- Decal100 = Instance.new("Decal")
- Decal101 = Instance.new("Decal")
- Decal102 = Instance.new("Decal")
- Decal103 = Instance.new("Decal")
- Decal104 = Instance.new("Decal")
- Part105 = Instance.new("Part")
- Part106 = Instance.new("Part")
- Decal107 = Instance.new("Decal")
- Decal108 = Instance.new("Decal")
- Decal109 = Instance.new("Decal")
- Decal110 = Instance.new("Decal")
- Decal111 = Instance.new("Decal")
- Part112 = Instance.new("Part")
- PointLight113 = Instance.new("PointLight")
- Part114 = Instance.new("Part")
- Decal115 = Instance.new("Decal")
- Decal116 = Instance.new("Decal")
- Decal117 = Instance.new("Decal")
- Decal118 = Instance.new("Decal")
- Decal119 = Instance.new("Decal")
- Part120 = Instance.new("Part")
- PointLight121 = Instance.new("PointLight")
- Model122 = Instance.new("Model")
- Part123 = Instance.new("Part")
- Model124 = Instance.new("Model")
- Part125 = Instance.new("Part")
- PointLight126 = Instance.new("PointLight")
- Part127 = Instance.new("Part")
- Part128 = Instance.new("Part")
- Part129 = Instance.new("Part")
- Part130 = Instance.new("Part")
- Part131 = Instance.new("Part")
- Script132 = Instance.new("Script")
- Model133 = Instance.new("Model")
- Part134 = Instance.new("Part")
- Part135 = Instance.new("Part")
- Part136 = Instance.new("Part")
- Script137 = Instance.new("Script")
- Part138 = Instance.new("Part")
- Part139 = Instance.new("Part")
- Part140 = Instance.new("Part")
- Part141 = Instance.new("Part")
- PointLight142 = Instance.new("PointLight")
- Part143 = Instance.new("Part")
- PointLight144 = Instance.new("PointLight")
- Part145 = Instance.new("Part")
- PointLight146 = Instance.new("PointLight")
- Part147 = Instance.new("Part")
- PointLight148 = Instance.new("PointLight")
- Part149 = Instance.new("Part")
- Decal150 = Instance.new("Decal")
- Decal151 = Instance.new("Decal")
- Decal152 = Instance.new("Decal")
- Decal153 = Instance.new("Decal")
- Decal154 = Instance.new("Decal")
- Part155 = Instance.new("Part")
- Decal156 = Instance.new("Decal")
- Decal157 = Instance.new("Decal")
- Decal158 = Instance.new("Decal")
- Decal159 = Instance.new("Decal")
- Decal160 = Instance.new("Decal")
- Decal161 = Instance.new("Decal")
- Part162 = Instance.new("Part")
- Decal163 = Instance.new("Decal")
- Decal164 = Instance.new("Decal")
- Decal165 = Instance.new("Decal")
- Decal166 = Instance.new("Decal")
- Decal167 = Instance.new("Decal")
- Model168 = Instance.new("Model")
- Part169 = Instance.new("Part")
- PointLight170 = Instance.new("PointLight")
- Part171 = Instance.new("Part")
- Part172 = Instance.new("Part")
- Part173 = Instance.new("Part")
- Part174 = Instance.new("Part")
- CylinderMesh175 = Instance.new("CylinderMesh")
- Part176 = Instance.new("Part")
- CylinderMesh177 = Instance.new("CylinderMesh")
- Script178 = Instance.new("Script")
- Part179 = Instance.new("Part")
- Decal180 = Instance.new("Decal")
- Decal181 = Instance.new("Decal")
- Decal182 = Instance.new("Decal")
- Decal183 = Instance.new("Decal")
- Decal184 = Instance.new("Decal")
- Part185 = Instance.new("Part")
- Decal186 = Instance.new("Decal")
- Decal187 = Instance.new("Decal")
- Decal188 = Instance.new("Decal")
- Decal189 = Instance.new("Decal")
- Decal190 = Instance.new("Decal")
- Part191 = Instance.new("Part")
- PointLight192 = Instance.new("PointLight")
- Script193 = Instance.new("Script")
- Part194 = Instance.new("Part")
- Part195 = Instance.new("Part")
- Model196 = Instance.new("Model")
- Part197 = Instance.new("Part")
- PointLight198 = Instance.new("PointLight")
- Part199 = Instance.new("Part")
- Part200 = Instance.new("Part")
- Part201 = Instance.new("Part")
- Part202 = Instance.new("Part")
- CylinderMesh203 = Instance.new("CylinderMesh")
- Part204 = Instance.new("Part")
- CylinderMesh205 = Instance.new("CylinderMesh")
- Script206 = Instance.new("Script")
- Part207 = Instance.new("Part")
- PointLight208 = Instance.new("PointLight")
- Part209 = Instance.new("Part")
- Decal210 = Instance.new("Decal")
- Decal211 = Instance.new("Decal")
- Decal212 = Instance.new("Decal")
- Decal213 = Instance.new("Decal")
- Decal214 = Instance.new("Decal")
- Script215 = Instance.new("Script")
- Part216 = Instance.new("Part")
- Decal217 = Instance.new("Decal")
- Decal218 = Instance.new("Decal")
- Decal219 = Instance.new("Decal")
- Decal220 = Instance.new("Decal")
- Decal221 = Instance.new("Decal")
- Script222 = Instance.new("Script")
- Script223 = Instance.new("Script")
- Script224 = Instance.new("Script")
- Script225 = Instance.new("Script")
- Part226 = Instance.new("Part")
- PointLight227 = Instance.new("PointLight")
- Script228 = Instance.new("Script")
- Script229 = Instance.new("Script")
- Script230 = Instance.new("Script")
- Part231 = Instance.new("Part")
- Part232 = Instance.new("Part")
- Part233 = Instance.new("Part")
- Part234 = Instance.new("Part")
- Part235 = Instance.new("Part")
- Decal236 = Instance.new("Decal")
- Decal237 = Instance.new("Decal")
- Decal238 = Instance.new("Decal")
- Decal239 = Instance.new("Decal")
- Decal240 = Instance.new("Decal")
- Part241 = Instance.new("Part")
- Decal242 = Instance.new("Decal")
- Decal243 = Instance.new("Decal")
- Decal244 = Instance.new("Decal")
- Decal245 = Instance.new("Decal")
- Decal246 = Instance.new("Decal")
- Part247 = Instance.new("Part")
- Part248 = Instance.new("Part")
- Decal249 = Instance.new("Decal")
- Decal250 = Instance.new("Decal")
- Decal251 = Instance.new("Decal")
- Decal252 = Instance.new("Decal")
- Decal253 = Instance.new("Decal")
- Script254 = Instance.new("Script")
- Script255 = Instance.new("Script")
- Part256 = Instance.new("Part")
- Decal257 = Instance.new("Decal")
- Decal258 = Instance.new("Decal")
- Decal259 = Instance.new("Decal")
- Decal260 = Instance.new("Decal")
- Decal261 = Instance.new("Decal")
- Decal262 = Instance.new("Decal")
- Part263 = Instance.new("Part")
- Script264 = Instance.new("Script")
- Script265 = Instance.new("Script")
- Part266 = Instance.new("Part")
- PointLight267 = Instance.new("PointLight")
- Script268 = Instance.new("Script")
- Script269 = Instance.new("Script")
- Script270 = Instance.new("Script")
- Script271 = Instance.new("Script")
- Script272 = Instance.new("Script")
- Script273 = Instance.new("Script")
- Script274 = Instance.new("Script")
- Part275 = Instance.new("Part")
- PointLight276 = Instance.new("PointLight")
- Sound277 = Instance.new("Sound")
- Script278 = Instance.new("Script")
- WedgePart279 = Instance.new("WedgePart")
- Part280 = Instance.new("Part")
- Decal281 = Instance.new("Decal")
- Decal282 = Instance.new("Decal")
- Decal283 = Instance.new("Decal")
- Decal284 = Instance.new("Decal")
- Decal285 = Instance.new("Decal")
- WedgePart286 = Instance.new("WedgePart")
- Part287 = Instance.new("Part")
- Part288 = Instance.new("Part")
- Model289 = Instance.new("Model")
- Part290 = Instance.new("Part")
- Model291 = Instance.new("Model")
- Part292 = Instance.new("Part")
- PointLight293 = Instance.new("PointLight")
- Part294 = Instance.new("Part")
- Part295 = Instance.new("Part")
- Part296 = Instance.new("Part")
- Part297 = Instance.new("Part")
- Part298 = Instance.new("Part")
- Script299 = Instance.new("Script")
- Model300 = Instance.new("Model")
- Part301 = Instance.new("Part")
- Part302 = Instance.new("Part")
- Part303 = Instance.new("Part")
- Script304 = Instance.new("Script")
- Part305 = Instance.new("Part")
- Part306 = Instance.new("Part")
- Decal307 = Instance.new("Decal")
- Decal308 = Instance.new("Decal")
- Decal309 = Instance.new("Decal")
- Decal310 = Instance.new("Decal")
- Decal311 = Instance.new("Decal")
- Part312 = Instance.new("Part")
- Decal313 = Instance.new("Decal")
- Decal314 = Instance.new("Decal")
- Decal315 = Instance.new("Decal")
- Decal316 = Instance.new("Decal")
- Decal317 = Instance.new("Decal")
- Decal318 = Instance.new("Decal")
- Part319 = Instance.new("Part")
- Decal320 = Instance.new("Decal")
- Decal321 = Instance.new("Decal")
- Decal322 = Instance.new("Decal")
- Decal323 = Instance.new("Decal")
- Decal324 = Instance.new("Decal")
- Decal325 = Instance.new("Decal")
- WedgePart326 = Instance.new("WedgePart")
- Part327 = Instance.new("Part")
- PointLight328 = Instance.new("PointLight")
- WedgePart329 = Instance.new("WedgePart")
- Part330 = Instance.new("Part")
- PointLight331 = Instance.new("PointLight")
- Part332 = Instance.new("Part")
- PointLight333 = Instance.new("PointLight")
- Script334 = Instance.new("Script")
- Script335 = Instance.new("Script")
- Script336 = Instance.new("Script")
- Script337 = Instance.new("Script")
- Script338 = Instance.new("Script")
- Script339 = Instance.new("Script")
- Part340 = Instance.new("Part")
- Part341 = Instance.new("Part")
- Part342 = Instance.new("Part")
- PointLight343 = Instance.new("PointLight")
- Part344 = Instance.new("Part")
- PointLight345 = Instance.new("PointLight")
- Script346 = Instance.new("Script")
- Script347 = Instance.new("Script")
- Part348 = Instance.new("Part")
- WedgePart349 = Instance.new("WedgePart")
- Script350 = Instance.new("Script")
- Script351 = Instance.new("Script")
- Part352 = Instance.new("Part")
- Part353 = Instance.new("Part")
- Part354 = Instance.new("Part")
- Part355 = Instance.new("Part")
- PointLight356 = Instance.new("PointLight")
- Part357 = Instance.new("Part")
- Decal358 = Instance.new("Decal")
- Decal359 = Instance.new("Decal")
- Decal360 = Instance.new("Decal")
- Decal361 = Instance.new("Decal")
- Decal362 = Instance.new("Decal")
- Part363 = Instance.new("Part")
- Decal364 = Instance.new("Decal")
- Decal365 = Instance.new("Decal")
- Decal366 = Instance.new("Decal")
- Decal367 = Instance.new("Decal")
- Decal368 = Instance.new("Decal")
- WedgePart369 = Instance.new("WedgePart")
- Part370 = Instance.new("Part")
- Part371 = Instance.new("Part")
- Model372 = Instance.new("Model")
- Script373 = Instance.new("Script")
- PointLight374 = Instance.new("PointLight")
- Script375 = Instance.new("Script")
- Part376 = Instance.new("Part")
- Script377 = Instance.new("Script")
- Script378 = Instance.new("Script")
- Script379 = Instance.new("Script")
- Script380 = Instance.new("Script")
- Part381 = Instance.new("Part")
- Part382 = Instance.new("Part")
- Part383 = Instance.new("Part")
- Part384 = Instance.new("Part")
- Model385 = Instance.new("Model")
- Script386 = Instance.new("Script")
- PointLight387 = Instance.new("PointLight")
- Script388 = Instance.new("Script")
- Part389 = Instance.new("Part")
- Decal390 = Instance.new("Decal")
- Decal391 = Instance.new("Decal")
- Decal392 = Instance.new("Decal")
- Decal393 = Instance.new("Decal")
- Decal394 = Instance.new("Decal")
- Part395 = Instance.new("Part")
- Part396 = Instance.new("Part")
- Part397 = Instance.new("Part")
- Model398 = Instance.new("Model")
- PointLight399 = Instance.new("PointLight")
- Part400 = Instance.new("Part")
- CylinderMesh401 = Instance.new("CylinderMesh")
- Script402 = Instance.new("Script")
- Model403 = Instance.new("Model")
- PointLight404 = Instance.new("PointLight")
- Part405 = Instance.new("Part")
- CylinderMesh406 = Instance.new("CylinderMesh")
- Script407 = Instance.new("Script")
- Part408 = Instance.new("Part")
- Part409 = Instance.new("Part")
- Model410 = Instance.new("Model")
- PointLight411 = Instance.new("PointLight")
- Part412 = Instance.new("Part")
- CylinderMesh413 = Instance.new("CylinderMesh")
- Script414 = Instance.new("Script")
- Part415 = Instance.new("Part")
- Part416 = Instance.new("Part")
- Part417 = Instance.new("Part")
- Decal418 = Instance.new("Decal")
- Model419 = Instance.new("Model")
- PointLight420 = Instance.new("PointLight")
- Part421 = Instance.new("Part")
- CylinderMesh422 = Instance.new("CylinderMesh")
- Script423 = Instance.new("Script")
- Part424 = Instance.new("Part")
- Part425 = Instance.new("Part")
- Part426 = Instance.new("Part")
- Decal427 = Instance.new("Decal")
- Part428 = Instance.new("Part")
- Part429 = Instance.new("Part")
- Part430 = Instance.new("Part")
- Part431 = Instance.new("Part")
- Part432 = Instance.new("Part")
- Decal433 = Instance.new("Decal")
- Part434 = Instance.new("Part")
- Model0.Name = "House Party"
- Model0.Parent = mas
- Part1.Parent = Model0
- Part1.BrickColor = BrickColor.new("Medium blue")
- Part1.Anchored = true
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.Size = Vector3.new(1, 21, 4)
- Part1.CFrame = CFrame.new(58, 49.1000481, -101.399979, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part1.Position = Vector3.new(58, 49.1000481, -101.399979)
- Part1.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part2.Parent = Model0
- Part2.BrickColor = BrickColor.new("Camo")
- Part2.Transparency = 1
- Part2.Anchored = true
- Part2.FormFactor = Enum.FormFactor.Custom
- Part2.Size = Vector3.new(11.8000002, 20, 0.400000036)
- Part2.CFrame = CFrame.new(39.4000244, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part2.Position = Vector3.new(39.4000244, 29.0000134, -103.200027)
- Part2.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal3.Parent = Part2
- Decal3.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal4.Parent = Part2
- Decal4.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal4.Face = Enum.NormalId.Back
- Decal5.Parent = Part2
- Decal5.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal5.Face = Enum.NormalId.Left
- Decal6.Parent = Part2
- Decal6.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal6.Face = Enum.NormalId.Top
- Decal7.Parent = Part2
- Decal7.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal7.Face = Enum.NormalId.Right
- Part8.Parent = Model0
- Part8.BrickColor = BrickColor.new("Camo")
- Part8.Transparency = 1
- Part8.Anchored = true
- Part8.FormFactor = Enum.FormFactor.Custom
- Part8.Size = Vector3.new(13, 21, 0.400000036)
- Part8.CFrame = CFrame.new(51.7999268, 29.5000134, -103.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part8.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part8.Position = Vector3.new(51.7999268, 29.5000134, -103.599991)
- Part8.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal9.Parent = Part8
- Decal9.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal10.Parent = Part8
- Decal10.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal10.Face = Enum.NormalId.Back
- Decal11.Parent = Part8
- Decal11.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal11.Face = Enum.NormalId.Left
- Decal12.Parent = Part8
- Decal12.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal12.Face = Enum.NormalId.Top
- Decal13.Parent = Part8
- Decal13.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal13.Face = Enum.NormalId.Right
- Part14.Parent = Model0
- Part14.BrickColor = BrickColor.new("Medium blue")
- Part14.Anchored = true
- Part14.FormFactor = Enum.FormFactor.Symmetric
- Part14.Size = Vector3.new(52.6000023, 19.6000004, 1)
- Part14.CFrame = CFrame.new(32.1999474, 49.8000031, -103.899986, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part14.BottomSurface = Enum.SurfaceType.Smooth
- Part14.TopSurface = Enum.SurfaceType.Smooth
- Part14.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part14.Position = Vector3.new(32.1999474, 49.8000031, -103.899986)
- Part14.Color = Color3.new(0.431373, 0.6, 0.792157)
- WedgePart15.Parent = Model0
- WedgePart15.BrickColor = BrickColor.new("Bright green")
- WedgePart15.Rotation = Vector3.new(-101.610001, -89.9499969, 62.8099976)
- WedgePart15.Anchored = true
- WedgePart15.FormFactor = Enum.FormFactor.Symmetric
- WedgePart15.Size = Vector3.new(12.6000013, 20.3999996, 47.8000031)
- WedgePart15.CFrame = CFrame.new(34.3998985, 49.4000511, -97.0999908, 7.4505806e-08, -1.45007093e-07, -0.999999583, 3.07489444e-07, -0.999999702, 1.45007149e-07, -0.999999404, -3.22390775e-07, -2.98023224e-08)
- WedgePart15.BottomSurface = Enum.SurfaceType.Smooth
- WedgePart15.Color = Color3.new(0.294118, 0.592157, 0.294118)
- WedgePart15.Position = Vector3.new(34.3998985, 49.4000511, -97.0999908)
- WedgePart15.Orientation = Vector3.new(0, -90, 180)
- WedgePart15.Color = Color3.new(0.294118, 0.592157, 0.294118)
- PointLight16.Parent = WedgePart15
- PointLight16.Color = Color3.new(1, 0.333333, 1)
- PointLight16.Range = 40
- PointLight16.Color = Color3.new(1, 0.333333, 1)
- Script17.Parent = mas
- table.insert(cors,sandbox(Script17,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script18.Name = "Conveyor Script"
- Script18.Parent = mas
- table.insert(cors,sandbox(Script18,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Part19.Parent = Model0
- Part19.BrickColor = BrickColor.new("Medium blue")
- Part19.Anchored = true
- Part19.FormFactor = Enum.FormFactor.Symmetric
- Part19.Size = Vector3.new(1, 13.2000008, 12.6000004)
- Part19.CFrame = CFrame.new(58, 53.0000191, -97.0999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part19.BottomSurface = Enum.SurfaceType.Smooth
- Part19.TopSurface = Enum.SurfaceType.Smooth
- Part19.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part19.Position = Vector3.new(58, 53.0000191, -97.0999908)
- Part19.Color = Color3.new(0.431373, 0.6, 0.792157)
- Script20.Name = "Conveyor Script"
- Script20.Parent = mas
- table.insert(cors,sandbox(Script20,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Part21.Parent = Model0
- Part21.BrickColor = BrickColor.new("Camo")
- Part21.Anchored = true
- Part21.FormFactor = Enum.FormFactor.Symmetric
- Part21.Size = Vector3.new(39.4000015, 5, 13)
- Part21.CFrame = CFrame.new(25.5999756, 16.4998989, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part21.BottomSurface = Enum.SurfaceType.Smooth
- Part21.TopSurface = Enum.SurfaceType.Smooth
- Part21.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part21.Position = Vector3.new(25.5999756, 16.4998989, -96.8999786)
- Part21.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- PointLight22.Parent = Part21
- PointLight22.Color = Color3.new(0.333333, 1, 0)
- PointLight22.Range = 20
- PointLight22.Color = Color3.new(0.333333, 1, 0)
- Script23.Parent = mas
- table.insert(cors,sandbox(Script23,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script24.Name = "Conveyor Script"
- Script24.Parent = mas
- table.insert(cors,sandbox(Script24,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- WedgePart25.Parent = Model0
- WedgePart25.BrickColor = BrickColor.new("Bright green")
- WedgePart25.Rotation = Vector3.new(0, 89.9799957, 0)
- WedgePart25.Anchored = true
- WedgePart25.FormFactor = Enum.FormFactor.Symmetric
- WedgePart25.Size = Vector3.new(12.6000013, 20.3999996, 41.8000031)
- WedgePart25.CFrame = CFrame.new(37.3998985, 29.2000122, -97.0999908, 0, 0, 0.99999994, 0, 1, 0, -0.99999994, 0, 0)
- WedgePart25.BottomSurface = Enum.SurfaceType.Smooth
- WedgePart25.Color = Color3.new(0.294118, 0.592157, 0.294118)
- WedgePart25.Position = Vector3.new(37.3998985, 29.2000122, -97.0999908)
- WedgePart25.Orientation = Vector3.new(0, 90, 0)
- WedgePart25.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part26.Parent = Model0
- Part26.BrickColor = BrickColor.new("Camo")
- Part26.Transparency = 1
- Part26.Anchored = true
- Part26.FormFactor = Enum.FormFactor.Custom
- Part26.Size = Vector3.new(13.8000002, 20, 0.400000036)
- Part26.CFrame = CFrame.new(26.5999756, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part26.TopSurface = Enum.SurfaceType.Smooth
- Part26.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part26.Position = Vector3.new(26.5999756, 29.0000134, -103.200027)
- Part26.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal27.Parent = Part26
- Decal27.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal28.Parent = Part26
- Decal28.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal28.Face = Enum.NormalId.Back
- Decal29.Parent = Part26
- Decal29.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal29.Face = Enum.NormalId.Left
- Decal30.Parent = Part26
- Decal30.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal30.Face = Enum.NormalId.Top
- Decal31.Parent = Part26
- Decal31.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal31.Face = Enum.NormalId.Right
- Script32.Parent = mas
- table.insert(cors,sandbox(Script32,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script33.Name = "Conveyor Script"
- Script33.Parent = mas
- table.insert(cors,sandbox(Script33,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Part34.Parent = Model0
- Part34.BrickColor = BrickColor.new("Camo")
- Part34.Transparency = 1
- Part34.Anchored = true
- Part34.FormFactor = Enum.FormFactor.Custom
- Part34.Size = Vector3.new(13.8000002, 20, 0.400000036)
- Part34.CFrame = CFrame.new(12.7999268, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part34.TopSurface = Enum.SurfaceType.Smooth
- Part34.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part34.Position = Vector3.new(12.7999268, 29.0000134, -103.200027)
- Part34.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal35.Parent = Part34
- Decal35.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal36.Parent = Part34
- Decal36.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal36.Face = Enum.NormalId.Back
- Decal37.Parent = Part34
- Decal37.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal37.Face = Enum.NormalId.Left
- Decal38.Parent = Part34
- Decal38.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal38.Face = Enum.NormalId.Top
- Decal39.Parent = Part34
- Decal39.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal39.Face = Enum.NormalId.Right
- Model40.Parent = Model0
- Part41.Parent = Model40
- Part41.Material = Enum.Material.Fabric
- Part41.BrickColor = BrickColor.new("Toothpaste")
- Part41.Rotation = Vector3.new(-90, 0, 0)
- Part41.Anchored = true
- Part41.FormFactor = Enum.FormFactor.Symmetric
- Part41.Shape = Enum.PartType.Ball
- Part41.Size = Vector3.new(5, 5, 5)
- Part41.CFrame = CFrame.new(7.95996094, 22.9001751, -100.109573, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part41.BottomSurface = Enum.SurfaceType.Smooth
- Part41.TopSurface = Enum.SurfaceType.Smooth
- Part41.Color = Color3.new(0, 1, 1)
- Part41.Position = Vector3.new(7.95996094, 22.9001751, -100.109573)
- Part41.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part41.Color = Color3.new(0, 1, 1)
- PointLight42.Parent = Part41
- PointLight42.Color = Color3.new(0.333333, 1, 0)
- PointLight42.Range = 20
- PointLight42.Color = Color3.new(0.333333, 1, 0)
- Part43.Parent = Model40
- Part43.Material = Enum.Material.Fabric
- Part43.BrickColor = BrickColor.new("Really blue")
- Part43.Rotation = Vector3.new(-90, 0, 90)
- Part43.Anchored = true
- Part43.FormFactor = Enum.FormFactor.Symmetric
- Part43.Shape = Enum.PartType.Cylinder
- Part43.Size = Vector3.new(5, 5, 5)
- Part43.CFrame = CFrame.new(7.95996094, 22.9001751, -97.5097198, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
- Part43.BottomSurface = Enum.SurfaceType.Smooth
- Part43.TopSurface = Enum.SurfaceType.Smooth
- Part43.Color = Color3.new(0, 0, 1)
- Part43.Position = Vector3.new(7.95996094, 22.9001751, -97.5097198)
- Part43.Orientation = Vector3.new(-89.9599991, 180, 0)
- Part43.Color = Color3.new(0, 0, 1)
- Part44.Parent = Model40
- Part44.Material = Enum.Material.Fabric
- Part44.BrickColor = BrickColor.new("Really blue")
- Part44.Rotation = Vector3.new(-90, 0, 90)
- Part44.Anchored = true
- Part44.FormFactor = Enum.FormFactor.Symmetric
- Part44.Shape = Enum.PartType.Cylinder
- Part44.Size = Vector3.new(5, 5, 5)
- Part44.CFrame = CFrame.new(7.95996094, 22.9001751, -96.5098419, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
- Part44.BottomSurface = Enum.SurfaceType.Smooth
- Part44.TopSurface = Enum.SurfaceType.Smooth
- Part44.Color = Color3.new(0, 0, 1)
- Part44.Position = Vector3.new(7.95996094, 22.9001751, -96.5098419)
- Part44.Orientation = Vector3.new(-89.9599991, 180, 0)
- Part44.Color = Color3.new(0, 0, 1)
- Part45.Parent = Model40
- Part45.Material = Enum.Material.Fabric
- Part45.BrickColor = BrickColor.new("Toothpaste")
- Part45.Rotation = Vector3.new(-90, 0, 0)
- Part45.Anchored = true
- Part45.FormFactor = Enum.FormFactor.Symmetric
- Part45.Shape = Enum.PartType.Ball
- Part45.Size = Vector3.new(5, 5, 5)
- Part45.CFrame = CFrame.new(7.95996094, 22.9001751, -93.9098663, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part45.BottomSurface = Enum.SurfaceType.Smooth
- Part45.TopSurface = Enum.SurfaceType.Smooth
- Part45.Color = Color3.new(0, 1, 1)
- Part45.Position = Vector3.new(7.95996094, 22.9001751, -93.9098663)
- Part45.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part45.Color = Color3.new(0, 1, 1)
- Part46.Parent = Model40
- Part46.Material = Enum.Material.Fabric
- Part46.BrickColor = BrickColor.new("Dark orange")
- Part46.Rotation = Vector3.new(-90, 0, 0)
- Part46.Anchored = true
- Part46.CanCollide = false
- Part46.FormFactor = Enum.FormFactor.Symmetric
- Part46.Size = Vector3.new(2, 2.4000001, 2)
- Part46.CFrame = CFrame.new(7.95996094, 22.9001751, -92.010025, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part46.BottomSurface = Enum.SurfaceType.Hinge
- Part46.TopSurface = Enum.SurfaceType.Motor
- Part46.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part46.Position = Vector3.new(7.95996094, 22.9001751, -92.010025)
- Part46.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part46.Color = Color3.new(0.627451, 0.372549, 0.207843)
- CylinderMesh47.Parent = Part46
- Part48.Parent = Model40
- Part48.Material = Enum.Material.Fabric
- Part48.BrickColor = BrickColor.new("Dark orange")
- Part48.Rotation = Vector3.new(-90, 0, 0)
- Part48.Anchored = true
- Part48.CanCollide = false
- Part48.FormFactor = Enum.FormFactor.Symmetric
- Part48.Size = Vector3.new(2, 2.4000001, 2)
- Part48.CFrame = CFrame.new(7.95996094, 22.9001751, -102.210037, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part48.TopSurface = Enum.SurfaceType.Motor
- Part48.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part48.Position = Vector3.new(7.95996094, 22.9001751, -102.210037)
- Part48.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part48.Color = Color3.new(0.627451, 0.372549, 0.207843)
- CylinderMesh49.Parent = Part48
- Script50.Name = "qPerfectionWeld"
- Script50.Parent = Model40
- table.insert(cors,sandbox(Script50,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- Model51.Parent = Model0
- Part52.Parent = Model51
- Part52.Material = Enum.Material.Fabric
- Part52.BrickColor = BrickColor.new("Toothpaste")
- Part52.Rotation = Vector3.new(-90, 0, 0)
- Part52.Anchored = true
- Part52.FormFactor = Enum.FormFactor.Symmetric
- Part52.Shape = Enum.PartType.Ball
- Part52.Size = Vector3.new(5, 5, 5)
- Part52.CFrame = CFrame.new(7.95996094, 34.1002007, -100.109573, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part52.BottomSurface = Enum.SurfaceType.Smooth
- Part52.TopSurface = Enum.SurfaceType.Smooth
- Part52.Color = Color3.new(0, 1, 1)
- Part52.Position = Vector3.new(7.95996094, 34.1002007, -100.109573)
- Part52.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part52.Color = Color3.new(0, 1, 1)
- PointLight53.Parent = Part52
- PointLight53.Color = Color3.new(0.333333, 1, 0)
- PointLight53.Range = 20
- PointLight53.Color = Color3.new(0.333333, 1, 0)
- Part54.Parent = Model51
- Part54.Material = Enum.Material.Fabric
- Part54.BrickColor = BrickColor.new("Really blue")
- Part54.Rotation = Vector3.new(-90, 0, 90)
- Part54.Anchored = true
- Part54.FormFactor = Enum.FormFactor.Symmetric
- Part54.Shape = Enum.PartType.Cylinder
- Part54.Size = Vector3.new(5, 5, 5)
- Part54.CFrame = CFrame.new(7.95996094, 34.1002007, -97.5097198, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
- Part54.BottomSurface = Enum.SurfaceType.Smooth
- Part54.TopSurface = Enum.SurfaceType.Smooth
- Part54.Color = Color3.new(0, 0, 1)
- Part54.Position = Vector3.new(7.95996094, 34.1002007, -97.5097198)
- Part54.Orientation = Vector3.new(-89.9599991, 180, 0)
- Part54.Color = Color3.new(0, 0, 1)
- Part55.Parent = Model51
- Part55.Material = Enum.Material.Fabric
- Part55.BrickColor = BrickColor.new("Really blue")
- Part55.Rotation = Vector3.new(-90, 0, 90)
- Part55.Anchored = true
- Part55.FormFactor = Enum.FormFactor.Symmetric
- Part55.Shape = Enum.PartType.Cylinder
- Part55.Size = Vector3.new(5, 5, 5)
- Part55.CFrame = CFrame.new(7.95996094, 34.1002007, -96.5098419, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
- Part55.BottomSurface = Enum.SurfaceType.Smooth
- Part55.TopSurface = Enum.SurfaceType.Smooth
- Part55.Color = Color3.new(0, 0, 1)
- Part55.Position = Vector3.new(7.95996094, 34.1002007, -96.5098419)
- Part55.Orientation = Vector3.new(-89.9599991, 180, 0)
- Part55.Color = Color3.new(0, 0, 1)
- Part56.Parent = Model51
- Part56.Material = Enum.Material.Fabric
- Part56.BrickColor = BrickColor.new("Toothpaste")
- Part56.Rotation = Vector3.new(-90, 0, 0)
- Part56.Anchored = true
- Part56.FormFactor = Enum.FormFactor.Symmetric
- Part56.Shape = Enum.PartType.Ball
- Part56.Size = Vector3.new(5, 5, 5)
- Part56.CFrame = CFrame.new(7.95996094, 34.1002007, -93.9098663, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part56.BottomSurface = Enum.SurfaceType.Smooth
- Part56.TopSurface = Enum.SurfaceType.Smooth
- Part56.Color = Color3.new(0, 1, 1)
- Part56.Position = Vector3.new(7.95996094, 34.1002007, -93.9098663)
- Part56.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part56.Color = Color3.new(0, 1, 1)
- Part57.Parent = Model51
- Part57.Material = Enum.Material.Fabric
- Part57.BrickColor = BrickColor.new("Dark orange")
- Part57.Rotation = Vector3.new(-90, 0, 0)
- Part57.Anchored = true
- Part57.CanCollide = false
- Part57.FormFactor = Enum.FormFactor.Symmetric
- Part57.Size = Vector3.new(2, 2.4000001, 2)
- Part57.CFrame = CFrame.new(7.95996094, 34.1002007, -92.010025, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part57.BottomSurface = Enum.SurfaceType.Hinge
- Part57.TopSurface = Enum.SurfaceType.Motor
- Part57.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part57.Position = Vector3.new(7.95996094, 34.1002007, -92.010025)
- Part57.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part57.Color = Color3.new(0.627451, 0.372549, 0.207843)
- CylinderMesh58.Parent = Part57
- Part59.Parent = Model51
- Part59.Material = Enum.Material.Fabric
- Part59.BrickColor = BrickColor.new("Dark orange")
- Part59.Rotation = Vector3.new(-90, 0, 0)
- Part59.Anchored = true
- Part59.CanCollide = false
- Part59.FormFactor = Enum.FormFactor.Symmetric
- Part59.Size = Vector3.new(2, 2.4000001, 2)
- Part59.CFrame = CFrame.new(7.95996094, 34.1002007, -102.210037, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part59.TopSurface = Enum.SurfaceType.Motor
- Part59.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part59.Position = Vector3.new(7.95996094, 34.1002007, -102.210037)
- Part59.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part59.Color = Color3.new(0.627451, 0.372549, 0.207843)
- CylinderMesh60.Parent = Part59
- Script61.Name = "qPerfectionWeld"
- Script61.Parent = Model51
- table.insert(cors,sandbox(Script61,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- Part62.Parent = Model0
- Part62.BrickColor = BrickColor.new("Medium blue")
- Part62.Anchored = true
- Part62.FormFactor = Enum.FormFactor.Symmetric
- Part62.Size = Vector3.new(4.60000229, 1, 14.000001)
- Part62.CFrame = CFrame.new(8.19995117, 39.5000458, -97.3999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part62.BottomSurface = Enum.SurfaceType.Smooth
- Part62.TopSurface = Enum.SurfaceType.Smooth
- Part62.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part62.Position = Vector3.new(8.19995117, 39.5000458, -97.3999786)
- Part62.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part63.Parent = Model0
- Part63.BrickColor = BrickColor.new("Medium blue")
- Part63.Anchored = true
- Part63.FormFactor = Enum.FormFactor.Symmetric
- Part63.Size = Vector3.new(1, 21, 3.4000001)
- Part63.CFrame = CFrame.new(58, 49.1000481, -92.5000153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part63.BottomSurface = Enum.SurfaceType.Smooth
- Part63.TopSurface = Enum.SurfaceType.Smooth
- Part63.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part63.Position = Vector3.new(58, 49.1000481, -92.5000153)
- Part63.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part64.Parent = Model0
- Part64.BrickColor = BrickColor.new("Medium blue")
- Part64.Anchored = true
- Part64.FormFactor = Enum.FormFactor.Symmetric
- Part64.Size = Vector3.new(4.60000229, 19.6000004, 12.6000004)
- Part64.CFrame = CFrame.new(8.19995117, 49.8000031, -97.0999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part64.BottomSurface = Enum.SurfaceType.Smooth
- Part64.TopSurface = Enum.SurfaceType.Smooth
- Part64.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part64.Position = Vector3.new(8.19995117, 49.8000031, -97.0999908)
- Part64.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part65.Parent = Model0
- Part65.BrickColor = BrickColor.new("Lime green")
- Part65.Anchored = true
- Part65.FormFactor = Enum.FormFactor.Symmetric
- Part65.Size = Vector3.new(13.8000002, 5, 13)
- Part65.CFrame = CFrame.new(-1, 16.4998989, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part65.BottomSurface = Enum.SurfaceType.Smooth
- Part65.TopSurface = Enum.SurfaceType.Smooth
- Part65.Color = Color3.new(0, 1, 0)
- Part65.Position = Vector3.new(-1, 16.4998989, -96.8999786)
- Part65.Color = Color3.new(0, 1, 0)
- PointLight66.Parent = Part65
- PointLight66.Color = Color3.new(0.333333, 1, 0)
- PointLight66.Range = 20
- PointLight66.Color = Color3.new(0.333333, 1, 0)
- Part67.Parent = Model0
- Part67.BrickColor = BrickColor.new("Camo")
- Part67.Transparency = 1
- Part67.Anchored = true
- Part67.FormFactor = Enum.FormFactor.Custom
- Part67.Size = Vector3.new(13.8000002, 20, 0.400000036)
- Part67.CFrame = CFrame.new(-1, 29.0000134, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part67.TopSurface = Enum.SurfaceType.Smooth
- Part67.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part67.Position = Vector3.new(-1, 29.0000134, -90.5999908)
- Part67.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal68.Parent = Part67
- Decal68.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal69.Parent = Part67
- Decal69.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal69.Face = Enum.NormalId.Back
- Decal70.Parent = Part67
- Decal70.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal70.Face = Enum.NormalId.Left
- Decal71.Parent = Part67
- Decal71.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal71.Face = Enum.NormalId.Top
- Decal72.Parent = Part67
- Decal72.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal72.Face = Enum.NormalId.Right
- Part73.Parent = Model0
- Part73.BrickColor = BrickColor.new("Camo")
- Part73.Transparency = 1
- Part73.Anchored = true
- Part73.FormFactor = Enum.FormFactor.Custom
- Part73.Size = Vector3.new(13.8000002, 20, 0.400000036)
- Part73.CFrame = CFrame.new(-1, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part73.TopSurface = Enum.SurfaceType.Smooth
- Part73.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part73.Position = Vector3.new(-1, 29.0000134, -103.200027)
- Part73.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal74.Parent = Part73
- Decal74.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal75.Parent = Part73
- Decal75.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal75.Face = Enum.NormalId.Back
- Decal76.Parent = Part73
- Decal76.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal76.Face = Enum.NormalId.Left
- Decal77.Parent = Part73
- Decal77.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal77.Face = Enum.NormalId.Top
- Decal78.Parent = Part73
- Decal78.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal78.Face = Enum.NormalId.Right
- Part79.Parent = Model0
- Part79.BrickColor = BrickColor.new("Camo")
- Part79.Transparency = 1
- Part79.Anchored = true
- Part79.FormFactor = Enum.FormFactor.Custom
- Part79.Size = Vector3.new(11.8000002, 20, 0.400000036)
- Part79.CFrame = CFrame.new(39.4000244, 29.0000134, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part79.TopSurface = Enum.SurfaceType.Smooth
- Part79.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part79.Position = Vector3.new(39.4000244, 29.0000134, -90.5999908)
- Part79.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal80.Parent = Part79
- Decal80.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal81.Parent = Part79
- Decal81.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal81.Face = Enum.NormalId.Back
- Decal82.Parent = Part79
- Decal82.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal82.Face = Enum.NormalId.Left
- Decal83.Parent = Part79
- Decal83.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal83.Face = Enum.NormalId.Top
- Decal84.Parent = Part79
- Decal84.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal84.Face = Enum.NormalId.Right
- Part85.Parent = Model0
- Part85.BrickColor = BrickColor.new("Camo")
- Part85.Transparency = 1
- Part85.Anchored = true
- Part85.FormFactor = Enum.FormFactor.Custom
- Part85.Size = Vector3.new(13, 21, 0.400000036)
- Part85.CFrame = CFrame.new(51.7999268, 29.5000134, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part85.TopSurface = Enum.SurfaceType.Smooth
- Part85.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part85.Position = Vector3.new(51.7999268, 29.5000134, -90.5999908)
- Part85.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal86.Parent = Part85
- Decal86.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal87.Parent = Part85
- Decal87.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal87.Face = Enum.NormalId.Back
- Decal88.Parent = Part85
- Decal88.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal88.Face = Enum.NormalId.Left
- Decal89.Parent = Part85
- Decal89.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal89.Face = Enum.NormalId.Top
- Decal90.Parent = Part85
- Decal90.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal90.Face = Enum.NormalId.Right
- Part91.Parent = Model0
- Part91.BrickColor = BrickColor.new("Camo")
- Part91.Transparency = 1
- Part91.Anchored = true
- Part91.FormFactor = Enum.FormFactor.Custom
- Part91.Size = Vector3.new(3.40000057, 12.6000004, 0.400000036)
- Part91.CFrame = CFrame.new(7.60009766, 25.300005, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part91.TopSurface = Enum.SurfaceType.Smooth
- Part91.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part91.Position = Vector3.new(7.60009766, 25.300005, -90.5999908)
- Part91.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal92.Parent = Part91
- Decal92.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal93.Parent = Part91
- Decal93.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal93.Face = Enum.NormalId.Back
- Decal94.Parent = Part91
- Decal94.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal94.Face = Enum.NormalId.Left
- Decal95.Parent = Part91
- Decal95.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal95.Face = Enum.NormalId.Top
- Decal96.Parent = Part91
- Decal96.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal96.Face = Enum.NormalId.Right
- Script97.Parent = mas
- table.insert(cors,sandbox(Script97,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script98.Name = "Conveyor Script"
- Script98.Parent = mas
- table.insert(cors,sandbox(Script98,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Part99.Parent = Model0
- Part99.BrickColor = BrickColor.new("Camo")
- Part99.Transparency = 1
- Part99.Anchored = true
- Part99.FormFactor = Enum.FormFactor.Custom
- Part99.Size = Vector3.new(13.8000002, 7.39999962, 0.400000036)
- Part99.CFrame = CFrame.new(12.7999268, 35.3000298, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part99.TopSurface = Enum.SurfaceType.Smooth
- Part99.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part99.Position = Vector3.new(12.7999268, 35.3000298, -90.5999908)
- Part99.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal100.Parent = Part99
- Decal100.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal100.Face = Enum.NormalId.Back
- Decal101.Parent = Part99
- Decal101.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal101.Face = Enum.NormalId.Left
- Decal102.Parent = Part99
- Decal102.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal102.Face = Enum.NormalId.Top
- Decal103.Parent = Part99
- Decal103.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal103.Face = Enum.NormalId.Right
- Decal104.Parent = Part99
- Decal104.Texture = "http://www.roblox.com/asset/?id=190845890"
- Part105.Parent = Model0
- Part105.BrickColor = BrickColor.new("Medium blue")
- Part105.Anchored = true
- Part105.FormFactor = Enum.FormFactor.Symmetric
- Part105.Size = Vector3.new(52.4000015, 19.6000004, 1)
- Part105.CFrame = CFrame.new(32.0999718, 49.8000031, -90.3000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part105.BottomSurface = Enum.SurfaceType.Smooth
- Part105.TopSurface = Enum.SurfaceType.Smooth
- Part105.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part105.Position = Vector3.new(32.0999718, 49.8000031, -90.3000031)
- Part105.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part106.Parent = Model0
- Part106.BrickColor = BrickColor.new("Camo")
- Part106.Transparency = 1
- Part106.Anchored = true
- Part106.FormFactor = Enum.FormFactor.Custom
- Part106.Size = Vector3.new(13.8000002, 20, 0.400000036)
- Part106.CFrame = CFrame.new(26.5999756, 29.0000134, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part106.TopSurface = Enum.SurfaceType.Smooth
- Part106.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part106.Position = Vector3.new(26.5999756, 29.0000134, -90.5999908)
- Part106.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal107.Parent = Part106
- Decal107.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal108.Parent = Part106
- Decal108.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal108.Face = Enum.NormalId.Back
- Decal109.Parent = Part106
- Decal109.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal109.Face = Enum.NormalId.Left
- Decal110.Parent = Part106
- Decal110.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal110.Face = Enum.NormalId.Top
- Decal111.Parent = Part106
- Decal111.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal111.Face = Enum.NormalId.Right
- Part112.Parent = Model0
- Part112.BrickColor = BrickColor.new("Camo")
- Part112.Anchored = true
- Part112.FormFactor = Enum.FormFactor.Symmetric
- Part112.Size = Vector3.new(13.8000002, 5, 13)
- Part112.CFrame = CFrame.new(-14.8000488, 16.4998989, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part112.BottomSurface = Enum.SurfaceType.Smooth
- Part112.TopSurface = Enum.SurfaceType.Smooth
- Part112.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part112.Position = Vector3.new(-14.8000488, 16.4998989, -96.8999786)
- Part112.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- PointLight113.Parent = Part112
- PointLight113.Color = Color3.new(0.333333, 1, 0)
- PointLight113.Range = 20
- PointLight113.Color = Color3.new(0.333333, 1, 0)
- Part114.Parent = Model0
- Part114.BrickColor = BrickColor.new("Camo")
- Part114.Transparency = 1
- Part114.Anchored = true
- Part114.FormFactor = Enum.FormFactor.Custom
- Part114.Size = Vector3.new(13.8000002, 20, 0.400000036)
- Part114.CFrame = CFrame.new(-14.8000488, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part114.TopSurface = Enum.SurfaceType.Smooth
- Part114.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part114.Position = Vector3.new(-14.8000488, 29.0000134, -103.200027)
- Part114.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal115.Parent = Part114
- Decal115.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal116.Parent = Part114
- Decal116.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal116.Face = Enum.NormalId.Back
- Decal117.Parent = Part114
- Decal117.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal117.Face = Enum.NormalId.Left
- Decal118.Parent = Part114
- Decal118.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal118.Face = Enum.NormalId.Top
- Decal119.Parent = Part114
- Decal119.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal119.Face = Enum.NormalId.Right
- Part120.Parent = Model0
- Part120.BrickColor = BrickColor.new("Lime green")
- Part120.Anchored = true
- Part120.FormFactor = Enum.FormFactor.Symmetric
- Part120.Size = Vector3.new(1.88000011, 1.60000038, 26.7999992)
- Part120.CFrame = CFrame.new(-5.96008301, 3.8000145, -90.0000153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part120.BottomSurface = Enum.SurfaceType.Smooth
- Part120.TopSurface = Enum.SurfaceType.Smooth
- Part120.Color = Color3.new(0, 1, 0)
- Part120.Position = Vector3.new(-5.96008301, 3.8000145, -90.0000153)
- Part120.Color = Color3.new(0, 1, 0)
- PointLight121.Parent = Part120
- PointLight121.Color = Color3.new(0.333333, 1, 0)
- PointLight121.Range = 20
- PointLight121.Color = Color3.new(0.333333, 1, 0)
- Model122.Parent = Model0
- Part123.Parent = Model122
- Part123.Material = Enum.Material.Fabric
- Part123.BrickColor = BrickColor.new("Dark orange")
- Part123.Rotation = Vector3.new(0, -90, 0)
- Part123.Anchored = true
- Part123.CanCollide = false
- Part123.FormFactor = Enum.FormFactor.Symmetric
- Part123.Size = Vector3.new(1, 2.80000019, 2)
- Part123.CFrame = CFrame.new(-8.09997559, 37.8003578, -95.3000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part123.BottomSurface = Enum.SurfaceType.Smooth
- Part123.TopSurface = Enum.SurfaceType.Smooth
- Part123.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part123.Position = Vector3.new(-8.09997559, 37.8003578, -95.3000031)
- Part123.Orientation = Vector3.new(0, -90, 0)
- Part123.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Model124.Parent = Model122
- Part125.Parent = Model124
- Part125.Material = Enum.Material.Fabric
- Part125.BrickColor = BrickColor.new("Lime green")
- Part125.Anchored = true
- Part125.FormFactor = Enum.FormFactor.Symmetric
- Part125.Shape = Enum.PartType.Ball
- Part125.Size = Vector3.new(5, 5, 5)
- Part125.CFrame = CFrame.new(-8.09997559, 31.4998074, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part125.BottomSurface = Enum.SurfaceType.Smooth
- Part125.TopSurface = Enum.SurfaceType.Smooth
- Part125.Color = Color3.new(0, 1, 0)
- Part125.Position = Vector3.new(-8.09997559, 31.4998074, -96.8000031)
- Part125.Color = Color3.new(0, 1, 0)
- PointLight126.Parent = Part125
- PointLight126.Color = Color3.new(0.333333, 1, 0)
- PointLight126.Range = 20
- PointLight126.Color = Color3.new(0.333333, 1, 0)
- Part127.Parent = Model124
- Part127.Material = Enum.Material.Fabric
- Part127.BrickColor = BrickColor.new("Bright green")
- Part127.Rotation = Vector3.new(0, 0, 90)
- Part127.Anchored = true
- Part127.FormFactor = Enum.FormFactor.Symmetric
- Part127.Shape = Enum.PartType.Cylinder
- Part127.Size = Vector3.new(5, 5, 5)
- Part127.CFrame = CFrame.new(-8.09997559, 28.8999023, -96.8000031, 0, -0.99999994, 0, 0.99999994, 0, 0, 0, 0, 1)
- Part127.BottomSurface = Enum.SurfaceType.Smooth
- Part127.TopSurface = Enum.SurfaceType.Smooth
- Part127.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part127.Position = Vector3.new(-8.09997559, 28.8999023, -96.8000031)
- Part127.Orientation = Vector3.new(0, 0, 90)
- Part127.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part128.Parent = Model124
- Part128.Material = Enum.Material.Fabric
- Part128.BrickColor = BrickColor.new("Dark orange")
- Part128.Anchored = true
- Part128.FormFactor = Enum.FormFactor.Symmetric
- Part128.Size = Vector3.new(2, 1, 2)
- Part128.CFrame = CFrame.new(-8.09997559, 35.3002014, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part128.LeftSurface = Enum.SurfaceType.Hinge
- Part128.RightSurface = Enum.SurfaceType.Hinge
- Part128.TopSurface = Enum.SurfaceType.Smooth
- Part128.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part128.Position = Vector3.new(-8.09997559, 35.3002014, -96.8000031)
- Part128.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part129.Parent = Model124
- Part129.Material = Enum.Material.Fabric
- Part129.BrickColor = BrickColor.new("Bright green")
- Part129.Rotation = Vector3.new(0, 0, 90)
- Part129.Anchored = true
- Part129.FormFactor = Enum.FormFactor.Symmetric
- Part129.Shape = Enum.PartType.Cylinder
- Part129.Size = Vector3.new(5, 5, 5)
- Part129.CFrame = CFrame.new(-8.09997559, 26.1000137, -96.8000031, 0, -0.99999994, 0, 0.99999994, 0, 0, 0, 0, 1)
- Part129.BottomSurface = Enum.SurfaceType.Smooth
- Part129.TopSurface = Enum.SurfaceType.Smooth
- Part129.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part129.Position = Vector3.new(-8.09997559, 26.1000137, -96.8000031)
- Part129.Orientation = Vector3.new(0, 0, 90)
- Part129.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part130.Parent = Model124
- Part130.Material = Enum.Material.Fabric
- Part130.BrickColor = BrickColor.new("Lime green")
- Part130.Anchored = true
- Part130.FormFactor = Enum.FormFactor.Symmetric
- Part130.Shape = Enum.PartType.Ball
- Part130.Size = Vector3.new(5, 5, 5)
- Part130.CFrame = CFrame.new(-8.09997559, 23.5000687, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part130.BottomSurface = Enum.SurfaceType.Smooth
- Part130.TopSurface = Enum.SurfaceType.Smooth
- Part130.Color = Color3.new(0, 1, 0)
- Part130.Position = Vector3.new(-8.09997559, 23.5000687, -96.8000031)
- Part130.Color = Color3.new(0, 1, 0)
- Part131.Parent = Model124
- Part131.Material = Enum.Material.Fabric
- Part131.BrickColor = BrickColor.new("Dark orange")
- Part131.Anchored = true
- Part131.FormFactor = Enum.FormFactor.Symmetric
- Part131.Size = Vector3.new(2, 2.4000001, 2)
- Part131.CFrame = CFrame.new(-8.09997559, 33.6002426, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part131.TopSurface = Enum.SurfaceType.Smooth
- Part131.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part131.Position = Vector3.new(-8.09997559, 33.6002426, -96.8000031)
- Part131.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Script132.Name = "qPerfectionWeld"
- Script132.Parent = Model124
- table.insert(cors,sandbox(Script132,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- Model133.Parent = Model122
- Part134.Parent = Model133
- Part134.Material = Enum.Material.Fabric
- Part134.BrickColor = BrickColor.new("Dark orange")
- Part134.Rotation = Vector3.new(0, -90, 0)
- Part134.Anchored = true
- Part134.FormFactor = Enum.FormFactor.Symmetric
- Part134.Size = Vector3.new(2, 2.5999999, 1)
- Part134.CFrame = CFrame.new(-6.60009766, 36.1002007, -96.8000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part134.BottomSurface = Enum.SurfaceType.Smooth
- Part134.TopSurface = Enum.SurfaceType.Smooth
- Part134.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part134.Position = Vector3.new(-6.60009766, 36.1002007, -96.8000031)
- Part134.Orientation = Vector3.new(0, -90, 0)
- Part134.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part135.Parent = Model133
- Part135.Material = Enum.Material.Fabric
- Part135.BrickColor = BrickColor.new("Dark orange")
- Part135.Rotation = Vector3.new(0, -90, 0)
- Part135.Anchored = true
- Part135.FormFactor = Enum.FormFactor.Symmetric
- Part135.Size = Vector3.new(2, 1, 2)
- Part135.CFrame = CFrame.new(-8.09997559, 36.9003601, -96.8000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part135.LeftSurface = Enum.SurfaceType.Hinge
- Part135.RightSurface = Enum.SurfaceType.Hinge
- Part135.TopSurface = Enum.SurfaceType.Smooth
- Part135.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part135.Position = Vector3.new(-8.09997559, 36.9003601, -96.8000031)
- Part135.Orientation = Vector3.new(0, -90, 0)
- Part135.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part136.Parent = Model133
- Part136.Material = Enum.Material.Fabric
- Part136.BrickColor = BrickColor.new("Dark orange")
- Part136.Rotation = Vector3.new(0, -90, 0)
- Part136.Anchored = true
- Part136.FormFactor = Enum.FormFactor.Symmetric
- Part136.Size = Vector3.new(2, 2.5999999, 1)
- Part136.CFrame = CFrame.new(-9.60009766, 36.1002007, -96.8000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part136.BottomSurface = Enum.SurfaceType.Smooth
- Part136.TopSurface = Enum.SurfaceType.Smooth
- Part136.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part136.Position = Vector3.new(-9.60009766, 36.1002007, -96.8000031)
- Part136.Orientation = Vector3.new(0, -90, 0)
- Part136.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Script137.Name = "qPerfectionWeld"
- Script137.Parent = Model133
- table.insert(cors,sandbox(Script137,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- Part138.Parent = Model122
- Part138.Material = Enum.Material.Fabric
- Part138.BrickColor = BrickColor.new("Dark orange")
- Part138.Rotation = Vector3.new(0, -90, 0)
- Part138.Anchored = true
- Part138.CanCollide = false
- Part138.FormFactor = Enum.FormFactor.Symmetric
- Part138.Size = Vector3.new(1, 2.80000019, 2)
- Part138.CFrame = CFrame.new(-8.09997559, 37.8003578, -98.3000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part138.BottomSurface = Enum.SurfaceType.Smooth
- Part138.TopSurface = Enum.SurfaceType.Smooth
- Part138.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part138.Position = Vector3.new(-8.09997559, 37.8003578, -98.3000031)
- Part138.Orientation = Vector3.new(0, -90, 0)
- Part138.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part139.Parent = Model0
- Part139.BrickColor = BrickColor.new("Really red")
- Part139.Anchored = true
- Part139.FormFactor = Enum.FormFactor.Symmetric
- Part139.Size = Vector3.new(3.60000014, 21, 9.39999771)
- Part139.CFrame = CFrame.new(47.0999756, 29.5000134, -85.7000809, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part139.TopSurface = Enum.SurfaceType.Smooth
- Part139.Color = Color3.new(1, 0, 0)
- Part139.Position = Vector3.new(47.0999756, 29.5000134, -85.7000809)
- Part139.Color = Color3.new(1, 0, 0)
- Part140.Parent = Model0
- Part140.BrickColor = BrickColor.new("Really red")
- Part140.Anchored = true
- Part140.FormFactor = Enum.FormFactor.Symmetric
- Part140.Size = Vector3.new(109.400002, 37, 1)
- Part140.CFrame = CFrame.new(-9.40002441, 21.5000134, -103.899986, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part140.TopSurface = Enum.SurfaceType.Smooth
- Part140.Color = Color3.new(1, 0, 0)
- Part140.Position = Vector3.new(-9.40002441, 21.5000134, -103.899986)
- Part140.Color = Color3.new(1, 0, 0)
- Part141.Parent = Model0
- Part141.BrickColor = BrickColor.new("Lime green")
- Part141.Anchored = true
- Part141.FormFactor = Enum.FormFactor.Symmetric
- Part141.Size = Vector3.new(1.88000011, 6.80000067, 18.8000011)
- Part141.CFrame = CFrame.new(-5.96008301, 7.99996567, -94.0000153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part141.BottomSurface = Enum.SurfaceType.Smooth
- Part141.TopSurface = Enum.SurfaceType.Smooth
- Part141.Color = Color3.new(0, 1, 0)
- Part141.Position = Vector3.new(-5.96008301, 7.99996567, -94.0000153)
- Part141.Color = Color3.new(0, 1, 0)
- PointLight142.Parent = Part141
- PointLight142.Color = Color3.new(0.333333, 1, 0)
- PointLight142.Range = 20
- PointLight142.Color = Color3.new(0.333333, 1, 0)
- Part143.Parent = Model0
- Part143.BrickColor = BrickColor.new("Lime green")
- Part143.Anchored = true
- Part143.FormFactor = Enum.FormFactor.Symmetric
- Part143.Size = Vector3.new(1.88000011, 2.60000038, 12.999999)
- Part143.CFrame = CFrame.new(-5.96008301, 12.6999187, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part143.BottomSurface = Enum.SurfaceType.Smooth
- Part143.TopSurface = Enum.SurfaceType.Smooth
- Part143.Color = Color3.new(0, 1, 0)
- Part143.Position = Vector3.new(-5.96008301, 12.6999187, -96.8999786)
- Part143.Color = Color3.new(0, 1, 0)
- PointLight144.Parent = Part143
- PointLight144.Color = Color3.new(0.333333, 1, 0)
- PointLight144.Range = 20
- PointLight144.Color = Color3.new(0.333333, 1, 0)
- Part145.Parent = Model0
- Part145.BrickColor = BrickColor.new("Really red")
- Part145.Anchored = true
- Part145.FormFactor = Enum.FormFactor.Symmetric
- Part145.Size = Vector3.new(25.6800003, 11.000001, 1)
- Part145.CFrame = CFrame.new(-19.6600342, 8.49991989, -85.899971, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part145.BottomSurface = Enum.SurfaceType.Smooth
- Part145.TopSurface = Enum.SurfaceType.Smooth
- Part145.Color = Color3.new(1, 0, 0)
- Part145.Position = Vector3.new(-19.6600342, 8.49991989, -85.899971)
- Part145.Color = Color3.new(1, 0, 0)
- PointLight146.Parent = Part145
- PointLight146.Color = Color3.new(0.333333, 1, 0)
- PointLight146.Range = 20
- PointLight146.Color = Color3.new(0.333333, 1, 0)
- Part147.Parent = Model0
- Part147.BrickColor = BrickColor.new("Lime green")
- Part147.Anchored = true
- Part147.FormFactor = Enum.FormFactor.Symmetric
- Part147.Size = Vector3.new(13.8000011, 1, 18.7999992)
- Part147.CFrame = CFrame.new(12.7999268, 18.5000057, -81, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part147.BottomSurface = Enum.SurfaceType.Smooth
- Part147.TopSurface = Enum.SurfaceType.Smooth
- Part147.Color = Color3.new(0, 1, 0)
- Part147.Position = Vector3.new(12.7999268, 18.5000057, -81)
- Part147.Color = Color3.new(0, 1, 0)
- PointLight148.Parent = Part147
- PointLight148.Color = Color3.new(0.333333, 1, 0)
- PointLight148.Range = 20
- PointLight148.Color = Color3.new(0.333333, 1, 0)
- Part149.Parent = Model0
- Part149.BrickColor = BrickColor.new("Camo")
- Part149.Transparency = 1
- Part149.Rotation = Vector3.new(0, -89.9599991, 0)
- Part149.Anchored = true
- Part149.FormFactor = Enum.FormFactor.Custom
- Part149.Size = Vector3.new(13.8000002, 20, 0.400000036)
- Part149.CFrame = CFrame.new(-22.3000488, 29.0000134, -83.5, 0, 0, -0.999999702, 0, 1, 0, 0.999999702, 0, 0)
- Part149.TopSurface = Enum.SurfaceType.Smooth
- Part149.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part149.Position = Vector3.new(-22.3000488, 29.0000134, -83.5)
- Part149.Orientation = Vector3.new(0, -90, 0)
- Part149.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal150.Parent = Part149
- Decal150.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal151.Parent = Part149
- Decal151.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal151.Face = Enum.NormalId.Back
- Decal152.Parent = Part149
- Decal152.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal152.Face = Enum.NormalId.Left
- Decal153.Parent = Part149
- Decal153.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal153.Face = Enum.NormalId.Top
- Decal154.Parent = Part149
- Decal154.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal154.Face = Enum.NormalId.Right
- Part155.Parent = Model0
- Part155.BrickColor = BrickColor.new("Camo")
- Part155.Transparency = 1
- Part155.Anchored = true
- Part155.FormFactor = Enum.FormFactor.Custom
- Part155.Size = Vector3.new(14.5999994, 9.39999962, 14.1999998)
- Part155.CFrame = CFrame.new(-14.8000488, 34.3000298, -83.7000732, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part155.TopSurface = Enum.SurfaceType.Smooth
- Part155.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part155.Position = Vector3.new(-14.8000488, 34.3000298, -83.7000732)
- Part155.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal156.Parent = Part155
- Decal156.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal156.Face = Enum.NormalId.Back
- Decal157.Parent = Part155
- Decal157.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal157.Face = Enum.NormalId.Left
- Decal158.Parent = Part155
- Decal158.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal158.Face = Enum.NormalId.Top
- Decal159.Parent = Part155
- Decal159.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal159.Face = Enum.NormalId.Right
- Decal160.Parent = Part155
- Decal160.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal160.Face = Enum.NormalId.Bottom
- Decal161.Parent = Part155
- Decal161.Texture = "http://www.roblox.com/asset/?id=50449800"
- Part162.Parent = Model0
- Part162.BrickColor = BrickColor.new("Camo")
- Part162.Transparency = 1
- Part162.Rotation = Vector3.new(0, -89.9599991, 0)
- Part162.Anchored = true
- Part162.FormFactor = Enum.FormFactor.Custom
- Part162.Size = Vector3.new(13.8000002, 20, 0.400000036)
- Part162.CFrame = CFrame.new(-7.30004883, 29.0000134, -83.5, 0, 0, -0.999999702, 0, 1, 0, 0.999999702, 0, 0)
- Part162.TopSurface = Enum.SurfaceType.Smooth
- Part162.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part162.Position = Vector3.new(-7.30004883, 29.0000134, -83.5)
- Part162.Orientation = Vector3.new(0, -90, 0)
- Part162.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal163.Parent = Part162
- Decal163.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal164.Parent = Part162
- Decal164.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal164.Face = Enum.NormalId.Back
- Decal165.Parent = Part162
- Decal165.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal165.Face = Enum.NormalId.Left
- Decal166.Parent = Part162
- Decal166.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal166.Face = Enum.NormalId.Top
- Decal167.Parent = Part162
- Decal167.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal167.Face = Enum.NormalId.Right
- Model168.Parent = Model0
- Part169.Parent = Model168
- Part169.Material = Enum.Material.Fabric
- Part169.BrickColor = BrickColor.new("Toothpaste")
- Part169.Rotation = Vector3.new(-90, 0, 0)
- Part169.Anchored = true
- Part169.FormFactor = Enum.FormFactor.Symmetric
- Part169.Shape = Enum.PartType.Ball
- Part169.Size = Vector3.new(5, 5, 5)
- Part169.CFrame = CFrame.new(-27.0400391, 34.1002007, -100.109573, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part169.BottomSurface = Enum.SurfaceType.Smooth
- Part169.TopSurface = Enum.SurfaceType.Smooth
- Part169.Color = Color3.new(0, 1, 1)
- Part169.Position = Vector3.new(-27.0400391, 34.1002007, -100.109573)
- Part169.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part169.Color = Color3.new(0, 1, 1)
- PointLight170.Parent = Part169
- PointLight170.Color = Color3.new(0.333333, 1, 0)
- PointLight170.Range = 20
- PointLight170.Color = Color3.new(0.333333, 1, 0)
- Part171.Parent = Model168
- Part171.Material = Enum.Material.Fabric
- Part171.BrickColor = BrickColor.new("Really blue")
- Part171.Rotation = Vector3.new(-90, 0, 90)
- Part171.Anchored = true
- Part171.FormFactor = Enum.FormFactor.Symmetric
- Part171.Shape = Enum.PartType.Cylinder
- Part171.Size = Vector3.new(5, 5, 5)
- Part171.CFrame = CFrame.new(-27.0400391, 34.1002007, -97.5097198, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
- Part171.BottomSurface = Enum.SurfaceType.Smooth
- Part171.TopSurface = Enum.SurfaceType.Smooth
- Part171.Color = Color3.new(0, 0, 1)
- Part171.Position = Vector3.new(-27.0400391, 34.1002007, -97.5097198)
- Part171.Orientation = Vector3.new(-89.9599991, 180, 0)
- Part171.Color = Color3.new(0, 0, 1)
- Part172.Parent = Model168
- Part172.Material = Enum.Material.Fabric
- Part172.BrickColor = BrickColor.new("Really blue")
- Part172.Rotation = Vector3.new(-90, 0, 90)
- Part172.Anchored = true
- Part172.FormFactor = Enum.FormFactor.Symmetric
- Part172.Shape = Enum.PartType.Cylinder
- Part172.Size = Vector3.new(5, 5, 5)
- Part172.CFrame = CFrame.new(-27.0400391, 34.1002007, -96.5098419, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
- Part172.BottomSurface = Enum.SurfaceType.Smooth
- Part172.TopSurface = Enum.SurfaceType.Smooth
- Part172.Color = Color3.new(0, 0, 1)
- Part172.Position = Vector3.new(-27.0400391, 34.1002007, -96.5098419)
- Part172.Orientation = Vector3.new(-89.9599991, 180, 0)
- Part172.Color = Color3.new(0, 0, 1)
- Part173.Parent = Model168
- Part173.Material = Enum.Material.Fabric
- Part173.BrickColor = BrickColor.new("Toothpaste")
- Part173.Rotation = Vector3.new(-90, 0, 0)
- Part173.Anchored = true
- Part173.FormFactor = Enum.FormFactor.Symmetric
- Part173.Shape = Enum.PartType.Ball
- Part173.Size = Vector3.new(5, 5, 5)
- Part173.CFrame = CFrame.new(-27.0400391, 34.1002007, -93.9098663, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part173.BottomSurface = Enum.SurfaceType.Smooth
- Part173.TopSurface = Enum.SurfaceType.Smooth
- Part173.Color = Color3.new(0, 1, 1)
- Part173.Position = Vector3.new(-27.0400391, 34.1002007, -93.9098663)
- Part173.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part173.Color = Color3.new(0, 1, 1)
- Part174.Parent = Model168
- Part174.Material = Enum.Material.Fabric
- Part174.BrickColor = BrickColor.new("Dark orange")
- Part174.Rotation = Vector3.new(-90, 0, 0)
- Part174.Anchored = true
- Part174.CanCollide = false
- Part174.FormFactor = Enum.FormFactor.Symmetric
- Part174.Size = Vector3.new(2, 2.4000001, 2)
- Part174.CFrame = CFrame.new(-27.0400391, 34.1002007, -92.010025, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part174.BottomSurface = Enum.SurfaceType.Hinge
- Part174.TopSurface = Enum.SurfaceType.Motor
- Part174.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part174.Position = Vector3.new(-27.0400391, 34.1002007, -92.010025)
- Part174.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part174.Color = Color3.new(0.627451, 0.372549, 0.207843)
- CylinderMesh175.Parent = Part174
- Part176.Parent = Model168
- Part176.Material = Enum.Material.Fabric
- Part176.BrickColor = BrickColor.new("Dark orange")
- Part176.Rotation = Vector3.new(-90, 0, 0)
- Part176.Anchored = true
- Part176.CanCollide = false
- Part176.FormFactor = Enum.FormFactor.Symmetric
- Part176.Size = Vector3.new(2, 2.4000001, 2)
- Part176.CFrame = CFrame.new(-27.0400391, 34.1002007, -102.210037, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part176.TopSurface = Enum.SurfaceType.Motor
- Part176.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part176.Position = Vector3.new(-27.0400391, 34.1002007, -102.210037)
- Part176.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part176.Color = Color3.new(0.627451, 0.372549, 0.207843)
- CylinderMesh177.Parent = Part176
- Script178.Name = "qPerfectionWeld"
- Script178.Parent = Model168
- table.insert(cors,sandbox(Script178,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- Part179.Parent = Model0
- Part179.BrickColor = BrickColor.new("Camo")
- Part179.Transparency = 1
- Part179.Anchored = true
- Part179.FormFactor = Enum.FormFactor.Custom
- Part179.Size = Vector3.new(13.8000002, 20, 0.400000036)
- Part179.CFrame = CFrame.new(-28.6000977, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part179.TopSurface = Enum.SurfaceType.Smooth
- Part179.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part179.Position = Vector3.new(-28.6000977, 29.0000134, -103.200027)
- Part179.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal180.Parent = Part179
- Decal180.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal181.Parent = Part179
- Decal181.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal181.Face = Enum.NormalId.Back
- Decal182.Parent = Part179
- Decal182.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal182.Face = Enum.NormalId.Left
- Decal183.Parent = Part179
- Decal183.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal183.Face = Enum.NormalId.Top
- Decal184.Parent = Part179
- Decal184.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal184.Face = Enum.NormalId.Right
- Part185.Parent = Model0
- Part185.BrickColor = BrickColor.new("Camo")
- Part185.Transparency = 1
- Part185.Anchored = true
- Part185.FormFactor = Enum.FormFactor.Custom
- Part185.Size = Vector3.new(13.8000002, 20, 0.400000036)
- Part185.CFrame = CFrame.new(-28.6000977, 29.0000134, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part185.TopSurface = Enum.SurfaceType.Smooth
- Part185.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part185.Position = Vector3.new(-28.6000977, 29.0000134, -90.5999908)
- Part185.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal186.Parent = Part185
- Decal186.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal187.Parent = Part185
- Decal187.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal187.Face = Enum.NormalId.Back
- Decal188.Parent = Part185
- Decal188.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal188.Face = Enum.NormalId.Left
- Decal189.Parent = Part185
- Decal189.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal189.Face = Enum.NormalId.Top
- Decal190.Parent = Part185
- Decal190.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal190.Face = Enum.NormalId.Right
- Part191.Parent = Model0
- Part191.BrickColor = BrickColor.new("Lime green")
- Part191.Anchored = true
- Part191.FormFactor = Enum.FormFactor.Symmetric
- Part191.Size = Vector3.new(15.8000002, 5, 13.8000002)
- Part191.CFrame = CFrame.new(-14.8000488, 16.4998989, -83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part191.BottomSurface = Enum.SurfaceType.Smooth
- Part191.TopSurface = Enum.SurfaceType.Smooth
- Part191.Color = Color3.new(0, 1, 0)
- Part191.Position = Vector3.new(-14.8000488, 16.4998989, -83.5)
- Part191.Color = Color3.new(0, 1, 0)
- PointLight192.Parent = Part191
- PointLight192.Color = Color3.new(0.333333, 1, 0)
- PointLight192.Range = 20
- PointLight192.Color = Color3.new(0.333333, 1, 0)
- Script193.Name = "Conveyor Script"
- Script193.Parent = mas
- table.insert(cors,sandbox(Script193,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *60
- wait(1)
- end
- end))
- Part194.Parent = Model0
- Part194.BrickColor = BrickColor.new("Really red")
- Part194.Anchored = true
- Part194.FormFactor = Enum.FormFactor.Symmetric
- Part194.Size = Vector3.new(1, 5, 30)
- Part194.CFrame = CFrame.new(-33, 5.4999752, -88.3999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part194.TopSurface = Enum.SurfaceType.Smooth
- Part194.Color = Color3.new(1, 0, 0)
- Part194.Position = Vector3.new(-33, 5.4999752, -88.3999786)
- Part194.Color = Color3.new(1, 0, 0)
- Part195.Parent = Model0
- Part195.BrickColor = BrickColor.new("Really red")
- Part195.Anchored = true
- Part195.FormFactor = Enum.FormFactor.Symmetric
- Part195.Size = Vector3.new(1, 31, 18)
- Part195.CFrame = CFrame.new(-33, 23.5000134, -82.3999634, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part195.TopSurface = Enum.SurfaceType.Smooth
- Part195.Color = Color3.new(1, 0, 0)
- Part195.Position = Vector3.new(-33, 23.5000134, -82.3999634)
- Part195.Color = Color3.new(1, 0, 0)
- Model196.Parent = Model0
- Part197.Parent = Model196
- Part197.Material = Enum.Material.Fabric
- Part197.BrickColor = BrickColor.new("Toothpaste")
- Part197.Rotation = Vector3.new(-90, 0, 0)
- Part197.Anchored = true
- Part197.FormFactor = Enum.FormFactor.Symmetric
- Part197.Shape = Enum.PartType.Ball
- Part197.Size = Vector3.new(5, 5, 5)
- Part197.CFrame = CFrame.new(-27.0400391, 22.9001751, -100.109573, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part197.BottomSurface = Enum.SurfaceType.Smooth
- Part197.TopSurface = Enum.SurfaceType.Smooth
- Part197.Color = Color3.new(0, 1, 1)
- Part197.Position = Vector3.new(-27.0400391, 22.9001751, -100.109573)
- Part197.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part197.Color = Color3.new(0, 1, 1)
- PointLight198.Parent = Part197
- PointLight198.Color = Color3.new(0.333333, 1, 0)
- PointLight198.Range = 20
- PointLight198.Color = Color3.new(0.333333, 1, 0)
- Part199.Parent = Model196
- Part199.Material = Enum.Material.Fabric
- Part199.BrickColor = BrickColor.new("Really blue")
- Part199.Rotation = Vector3.new(-90, 0, 90)
- Part199.Anchored = true
- Part199.FormFactor = Enum.FormFactor.Symmetric
- Part199.Shape = Enum.PartType.Cylinder
- Part199.Size = Vector3.new(5, 5, 5)
- Part199.CFrame = CFrame.new(-27.0400391, 22.9001751, -97.5097198, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
- Part199.BottomSurface = Enum.SurfaceType.Smooth
- Part199.TopSurface = Enum.SurfaceType.Smooth
- Part199.Color = Color3.new(0, 0, 1)
- Part199.Position = Vector3.new(-27.0400391, 22.9001751, -97.5097198)
- Part199.Orientation = Vector3.new(-89.9599991, 180, 0)
- Part199.Color = Color3.new(0, 0, 1)
- Part200.Parent = Model196
- Part200.Material = Enum.Material.Fabric
- Part200.BrickColor = BrickColor.new("Really blue")
- Part200.Rotation = Vector3.new(-90, 0, 90)
- Part200.Anchored = true
- Part200.FormFactor = Enum.FormFactor.Symmetric
- Part200.Shape = Enum.PartType.Cylinder
- Part200.Size = Vector3.new(5, 5, 5)
- Part200.CFrame = CFrame.new(-27.0400391, 22.9001751, -96.5098419, 0, -0.99999994, 0, 0, 0, 0.999999762, -0.999999702, 0, -1.49011612e-08)
- Part200.BottomSurface = Enum.SurfaceType.Smooth
- Part200.TopSurface = Enum.SurfaceType.Smooth
- Part200.Color = Color3.new(0, 0, 1)
- Part200.Position = Vector3.new(-27.0400391, 22.9001751, -96.5098419)
- Part200.Orientation = Vector3.new(-89.9599991, 180, 0)
- Part200.Color = Color3.new(0, 0, 1)
- Part201.Parent = Model196
- Part201.Material = Enum.Material.Fabric
- Part201.BrickColor = BrickColor.new("Toothpaste")
- Part201.Rotation = Vector3.new(-90, 0, 0)
- Part201.Anchored = true
- Part201.FormFactor = Enum.FormFactor.Symmetric
- Part201.Shape = Enum.PartType.Ball
- Part201.Size = Vector3.new(5, 5, 5)
- Part201.CFrame = CFrame.new(-27.0400391, 22.9001751, -93.9098663, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part201.BottomSurface = Enum.SurfaceType.Smooth
- Part201.TopSurface = Enum.SurfaceType.Smooth
- Part201.Color = Color3.new(0, 1, 1)
- Part201.Position = Vector3.new(-27.0400391, 22.9001751, -93.9098663)
- Part201.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part201.Color = Color3.new(0, 1, 1)
- Part202.Parent = Model196
- Part202.Material = Enum.Material.Fabric
- Part202.BrickColor = BrickColor.new("Dark orange")
- Part202.Rotation = Vector3.new(-90, 0, 0)
- Part202.Anchored = true
- Part202.CanCollide = false
- Part202.FormFactor = Enum.FormFactor.Symmetric
- Part202.Size = Vector3.new(2, 2.4000001, 2)
- Part202.CFrame = CFrame.new(-27.0400391, 22.9001751, -92.010025, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part202.BottomSurface = Enum.SurfaceType.Hinge
- Part202.TopSurface = Enum.SurfaceType.Motor
- Part202.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part202.Position = Vector3.new(-27.0400391, 22.9001751, -92.010025)
- Part202.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part202.Color = Color3.new(0.627451, 0.372549, 0.207843)
- CylinderMesh203.Parent = Part202
- Part204.Parent = Model196
- Part204.Material = Enum.Material.Fabric
- Part204.BrickColor = BrickColor.new("Dark orange")
- Part204.Rotation = Vector3.new(-90, 0, 0)
- Part204.Anchored = true
- Part204.CanCollide = false
- Part204.FormFactor = Enum.FormFactor.Symmetric
- Part204.Size = Vector3.new(2, 2.4000001, 2)
- Part204.CFrame = CFrame.new(-27.0400391, 22.9001751, -102.210037, 1, 0, 0, 0, -1.49011612e-08, 0.999999762, 0, -0.999999762, -1.49011612e-08)
- Part204.TopSurface = Enum.SurfaceType.Motor
- Part204.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part204.Position = Vector3.new(-27.0400391, 22.9001751, -102.210037)
- Part204.Orientation = Vector3.new(-89.9599991, 180, 180)
- Part204.Color = Color3.new(0.627451, 0.372549, 0.207843)
- CylinderMesh205.Parent = Part204
- Script206.Name = "qPerfectionWeld"
- Script206.Parent = Model196
- table.insert(cors,sandbox(Script206,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- Part207.Parent = Model0
- Part207.BrickColor = BrickColor.new("Lime green")
- Part207.Anchored = true
- Part207.FormFactor = Enum.FormFactor.Symmetric
- Part207.Size = Vector3.new(13.8000002, 5, 13)
- Part207.CFrame = CFrame.new(-28.6000977, 16.4998989, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part207.BottomSurface = Enum.SurfaceType.Smooth
- Part207.TopSurface = Enum.SurfaceType.Smooth
- Part207.Color = Color3.new(0, 1, 0)
- Part207.Position = Vector3.new(-28.6000977, 16.4998989, -96.8999786)
- Part207.Color = Color3.new(0, 1, 0)
- PointLight208.Parent = Part207
- PointLight208.Color = Color3.new(0.333333, 1, 0)
- PointLight208.Range = 20
- PointLight208.Color = Color3.new(0.333333, 1, 0)
- Part209.Parent = Model0
- Part209.BrickColor = BrickColor.new("Camo")
- Part209.Transparency = 1
- Part209.Rotation = Vector3.new(-180, -89.9700012, -180)
- Part209.Anchored = true
- Part209.FormFactor = Enum.FormFactor.Custom
- Part209.Size = Vector3.new(18.7999992, 20, 0.400000036)
- Part209.CFrame = CFrame.new(19.499876, 29.0000134, -81, -8.94069672e-08, 0, -0.999999821, 0, 1, 0, 0.999999821, 0, -8.94069672e-08)
- Part209.TopSurface = Enum.SurfaceType.Smooth
- Part209.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part209.Position = Vector3.new(19.499876, 29.0000134, -81)
- Part209.Orientation = Vector3.new(0, -90, 0)
- Part209.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal210.Parent = Part209
- Decal210.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal211.Parent = Part209
- Decal211.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal211.Face = Enum.NormalId.Back
- Decal212.Parent = Part209
- Decal212.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal212.Face = Enum.NormalId.Left
- Decal213.Parent = Part209
- Decal213.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal213.Face = Enum.NormalId.Top
- Decal214.Parent = Part209
- Decal214.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal214.Face = Enum.NormalId.Right
- Script215.Name = "Conveyor Script"
- Script215.Parent = mas
- table.insert(cors,sandbox(Script215,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *60
- wait(1)
- end
- end))
- Part216.Parent = Model0
- Part216.BrickColor = BrickColor.new("Camo")
- Part216.Transparency = 1
- Part216.Rotation = Vector3.new(-180, -89.9700012, -180)
- Part216.Anchored = true
- Part216.FormFactor = Enum.FormFactor.Custom
- Part216.Size = Vector3.new(18.7999992, 20, 0.400000036)
- Part216.CFrame = CFrame.new(6.09997559, 29.0000134, -81, -8.94069672e-08, 0, -0.999999821, 0, 1, 0, 0.999999821, 0, -8.94069672e-08)
- Part216.TopSurface = Enum.SurfaceType.Smooth
- Part216.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part216.Position = Vector3.new(6.09997559, 29.0000134, -81)
- Part216.Orientation = Vector3.new(0, -90, 0)
- Part216.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal217.Parent = Part216
- Decal217.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal218.Parent = Part216
- Decal218.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal218.Face = Enum.NormalId.Back
- Decal219.Parent = Part216
- Decal219.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal219.Face = Enum.NormalId.Left
- Decal220.Parent = Part216
- Decal220.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal220.Face = Enum.NormalId.Top
- Decal221.Parent = Part216
- Decal221.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal221.Face = Enum.NormalId.Right
- Script222.Parent = mas
- table.insert(cors,sandbox(Script222,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script223.Name = "Conveyor Script"
- Script223.Parent = mas
- table.insert(cors,sandbox(Script223,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *60
- wait(1)
- end
- end))
- Script224.Parent = mas
- table.insert(cors,sandbox(Script224,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script225.Name = "Conveyor Script"
- Script225.Parent = mas
- table.insert(cors,sandbox(Script225,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *60
- wait(1)
- end
- end))
- Part226.Parent = Model0
- Part226.BrickColor = BrickColor.new("Lime green")
- Part226.Anchored = true
- Part226.FormFactor = Enum.FormFactor.Symmetric
- Part226.Size = Vector3.new(1.88000011, 7.60000038, 13.8000002)
- Part226.CFrame = CFrame.new(-5.96008301, 15.1999102, -83.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part226.BottomSurface = Enum.SurfaceType.Smooth
- Part226.TopSurface = Enum.SurfaceType.Smooth
- Part226.Color = Color3.new(0, 1, 0)
- Part226.Position = Vector3.new(-5.96008301, 15.1999102, -83.5)
- Part226.Color = Color3.new(0, 1, 0)
- PointLight227.Parent = Part226
- PointLight227.Color = Color3.new(0.333333, 1, 0)
- PointLight227.Range = 20
- PointLight227.Color = Color3.new(0.333333, 1, 0)
- Script228.Name = "Conveyor Script"
- Script228.Parent = mas
- table.insert(cors,sandbox(Script228,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Script229.Parent = mas
- table.insert(cors,sandbox(Script229,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script230.Name = "Conveyor Script"
- Script230.Parent = mas
- table.insert(cors,sandbox(Script230,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Part231.Parent = Model0
- Part231.BrickColor = BrickColor.new("Really red")
- Part231.Anchored = true
- Part231.FormFactor = Enum.FormFactor.Symmetric
- Part231.Size = Vector3.new(1, 6, 12)
- Part231.CFrame = CFrame.new(-33, 10.9999199, -97.3999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part231.TopSurface = Enum.SurfaceType.Smooth
- Part231.Color = Color3.new(1, 0, 0)
- Part231.Position = Vector3.new(-33, 10.9999199, -97.3999786)
- Part231.Color = Color3.new(1, 0, 0)
- Part232.Parent = Model0
- Part232.BrickColor = BrickColor.new("Really red")
- Part232.Anchored = true
- Part232.FormFactor = Enum.FormFactor.Symmetric
- Part232.Size = Vector3.new(1, 5, 49.2000008)
- Part232.CFrame = CFrame.new(-63.5999756, 5.4999752, -78.7999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part232.TopSurface = Enum.SurfaceType.Smooth
- Part232.Color = Color3.new(1, 0, 0)
- Part232.Position = Vector3.new(-63.5999756, 5.4999752, -78.7999878)
- Part232.Color = Color3.new(1, 0, 0)
- Part233.Parent = Model0
- Part233.BrickColor = BrickColor.new("Really red")
- Part233.Anchored = true
- Part233.FormFactor = Enum.FormFactor.Symmetric
- Part233.Size = Vector3.new(1, 5, 49.2000008)
- Part233.CFrame = CFrame.new(-48.8000565, 5.4999752, -78.7999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part233.TopSurface = Enum.SurfaceType.Smooth
- Part233.Color = Color3.new(1, 0, 0)
- Part233.Position = Vector3.new(-48.8000565, 5.4999752, -78.7999878)
- Part233.Color = Color3.new(1, 0, 0)
- Part234.Parent = Model0
- Part234.BrickColor = BrickColor.new("Really red")
- Part234.Anchored = true
- Part234.FormFactor = Enum.FormFactor.Symmetric
- Part234.Size = Vector3.new(3.60000014, 16, 66.1999969)
- Part234.CFrame = CFrame.new(47.0999756, 10.9999199, -71.2999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part234.TopSurface = Enum.SurfaceType.Smooth
- Part234.Color = Color3.new(1, 0, 0)
- Part234.Position = Vector3.new(47.0999756, 10.9999199, -71.2999878)
- Part234.Color = Color3.new(1, 0, 0)
- Part235.Parent = Model0
- Part235.BrickColor = BrickColor.new("Camo")
- Part235.Transparency = 1
- Part235.Anchored = true
- Part235.FormFactor = Enum.FormFactor.Custom
- Part235.Size = Vector3.new(13.8000002, 20, 0.400000036)
- Part235.CFrame = CFrame.new(-56.2000732, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part235.TopSurface = Enum.SurfaceType.Smooth
- Part235.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part235.Position = Vector3.new(-56.2000732, 29.0000134, -103.200027)
- Part235.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal236.Parent = Part235
- Decal236.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal237.Parent = Part235
- Decal237.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal237.Face = Enum.NormalId.Back
- Decal238.Parent = Part235
- Decal238.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal238.Face = Enum.NormalId.Left
- Decal239.Parent = Part235
- Decal239.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal239.Face = Enum.NormalId.Top
- Decal240.Parent = Part235
- Decal240.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal240.Face = Enum.NormalId.Right
- Part241.Parent = Model0
- Part241.BrickColor = BrickColor.new("Camo")
- Part241.Transparency = 1
- Part241.Anchored = true
- Part241.FormFactor = Enum.FormFactor.Custom
- Part241.Size = Vector3.new(13.8000002, 20, 0.400000036)
- Part241.CFrame = CFrame.new(-42.39991, 29.0000134, -103.200027, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part241.TopSurface = Enum.SurfaceType.Smooth
- Part241.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part241.Position = Vector3.new(-42.39991, 29.0000134, -103.200027)
- Part241.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal242.Parent = Part241
- Decal242.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal243.Parent = Part241
- Decal243.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal243.Face = Enum.NormalId.Back
- Decal244.Parent = Part241
- Decal244.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal244.Face = Enum.NormalId.Left
- Decal245.Parent = Part241
- Decal245.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal245.Face = Enum.NormalId.Top
- Decal246.Parent = Part241
- Decal246.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal246.Face = Enum.NormalId.Right
- Part247.Parent = Model0
- Part247.BrickColor = BrickColor.new("Really red")
- Part247.Anchored = true
- Part247.FormFactor = Enum.FormFactor.Symmetric
- Part247.Size = Vector3.new(3.60000014, 10.3999996, 6.79999638)
- Part247.CFrame = CFrame.new(47.0999756, 34.8000298, -77.5999756, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part247.TopSurface = Enum.SurfaceType.Smooth
- Part247.Color = Color3.new(1, 0, 0)
- Part247.Position = Vector3.new(47.0999756, 34.8000298, -77.5999756)
- Part247.Color = Color3.new(1, 0, 0)
- Part248.Parent = Model0
- Part248.BrickColor = BrickColor.new("Camo")
- Part248.Transparency = 1
- Part248.Anchored = true
- Part248.FormFactor = Enum.FormFactor.Custom
- Part248.Size = Vector3.new(13.8000002, 10, 0.400000036)
- Part248.CFrame = CFrame.new(-42.39991, 34.0000191, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part248.TopSurface = Enum.SurfaceType.Smooth
- Part248.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part248.Position = Vector3.new(-42.39991, 34.0000191, -90.5999908)
- Part248.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal249.Parent = Part248
- Decal249.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal250.Parent = Part248
- Decal250.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal250.Face = Enum.NormalId.Back
- Decal251.Parent = Part248
- Decal251.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal251.Face = Enum.NormalId.Left
- Decal252.Parent = Part248
- Decal252.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal252.Face = Enum.NormalId.Top
- Decal253.Parent = Part248
- Decal253.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal253.Face = Enum.NormalId.Right
- Script254.Parent = mas
- table.insert(cors,sandbox(Script254,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script255.Name = "Conveyor Script"
- Script255.Parent = mas
- table.insert(cors,sandbox(Script255,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Part256.Parent = Model0
- Part256.BrickColor = BrickColor.new("Camo")
- Part256.Transparency = 1
- Part256.Anchored = true
- Part256.FormFactor = Enum.FormFactor.Custom
- Part256.Size = Vector3.new(7.79999924, 4.59999895, 0.200000003)
- Part256.CFrame = CFrame.new(-14.6000977, 27.3000202, -76.7000732, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part256.TopSurface = Enum.SurfaceType.Smooth
- Part256.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part256.Position = Vector3.new(-14.6000977, 27.3000202, -76.7000732)
- Part256.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal257.Parent = Part256
- Decal257.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal257.Face = Enum.NormalId.Back
- Decal258.Parent = Part256
- Decal258.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal258.Face = Enum.NormalId.Left
- Decal259.Parent = Part256
- Decal259.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal259.Face = Enum.NormalId.Top
- Decal260.Parent = Part256
- Decal260.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal260.Face = Enum.NormalId.Right
- Decal261.Parent = Part256
- Decal261.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal261.Face = Enum.NormalId.Bottom
- Decal262.Parent = Part256
- Decal262.Texture = "http://www.roblox.com/asset/?id=190846189"
- Part263.Parent = Model0
- Part263.BrickColor = BrickColor.new("Really red")
- Part263.Anchored = true
- Part263.FormFactor = Enum.FormFactor.Symmetric
- Part263.Size = Vector3.new(1, 5.80000019, 13)
- Part263.CFrame = CFrame.new(-48.8000565, 10.8999233, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part263.TopSurface = Enum.SurfaceType.Smooth
- Part263.Color = Color3.new(1, 0, 0)
- Part263.Position = Vector3.new(-48.8000565, 10.8999233, -96.8999786)
- Part263.Color = Color3.new(1, 0, 0)
- Script264.Name = "Conveyor Script"
- Script264.Parent = mas
- table.insert(cors,sandbox(Script264,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Script265.Parent = mas
- table.insert(cors,sandbox(Script265,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Part266.Parent = Model0
- Part266.BrickColor = BrickColor.new("Lime green")
- Part266.Anchored = true
- Part266.FormFactor = Enum.FormFactor.Symmetric
- Part266.Size = Vector3.new(1.88000011, 6.80000067, 2.60000038)
- Part266.CFrame = CFrame.new(-5.96008301, 7.99996567, -77.8999634, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part266.BottomSurface = Enum.SurfaceType.Smooth
- Part266.TopSurface = Enum.SurfaceType.Smooth
- Part266.Color = Color3.new(0, 1, 0)
- Part266.Position = Vector3.new(-5.96008301, 7.99996567, -77.8999634)
- Part266.Color = Color3.new(0, 1, 0)
- PointLight267.Parent = Part266
- PointLight267.Color = Color3.new(0.333333, 1, 0)
- PointLight267.Range = 20
- PointLight267.Color = Color3.new(0.333333, 1, 0)
- Script268.Parent = mas
- table.insert(cors,sandbox(Script268,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script269.Name = "Conveyor Script"
- Script269.Parent = mas
- table.insert(cors,sandbox(Script269,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *60
- wait(1)
- end
- end))
- Script270.Parent = mas
- table.insert(cors,sandbox(Script270,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script271.Name = "Conveyor Script"
- Script271.Parent = mas
- table.insert(cors,sandbox(Script271,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Script272.Parent = mas
- table.insert(cors,sandbox(Script272,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script273.Name = "Conveyor Script"
- Script273.Parent = mas
- table.insert(cors,sandbox(Script273,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Script274.Parent = mas
- table.insert(cors,sandbox(Script274,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Part275.Parent = Model0
- Part275.BrickColor = BrickColor.new("Toothpaste")
- Part275.Anchored = true
- Part275.FormFactor = Enum.FormFactor.Symmetric
- Part275.Size = Vector3.new(11.2000008, 1.60000134, 26.7999992)
- Part275.CFrame = CFrame.new(-27.7000809, 14.7999182, -77, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part275.BottomSurface = Enum.SurfaceType.Smooth
- Part275.TopSurface = Enum.SurfaceType.Smooth
- Part275.Color = Color3.new(0, 1, 1)
- Part275.Position = Vector3.new(-27.7000809, 14.7999182, -77)
- Part275.Color = Color3.new(0, 1, 1)
- PointLight276.Parent = Part275
- PointLight276.Color = Color3.new(0.333333, 1, 0)
- PointLight276.Range = 20
- PointLight276.Color = Color3.new(0.333333, 1, 0)
- Sound277.Parent = Part275
- Sound277.SoundId = "rbxassetid://168979856"
- Sound277.Volume = 1
- Sound277.Looped = true
- Script278.Parent = Sound277
- table.insert(cors,sandbox(Script278,function()
- script.Parent:Play()
- end))
- WedgePart279.Parent = Model0
- WedgePart279.BrickColor = BrickColor.new("Bright green")
- WedgePart279.Rotation = Vector3.new(0, 0, 180)
- WedgePart279.Anchored = true
- WedgePart279.FormFactor = Enum.FormFactor.Symmetric
- WedgePart279.Size = Vector3.new(13.8000011, 16, 30.0000038)
- WedgePart279.CFrame = CFrame.new(-40.3999023, 31.0000134, -76.3999634, -0.999999642, -2.63450062e-07, -2.38418579e-07, 2.63450289e-07, -0.999999881, -3.85644199e-07, -2.38418579e-07, -3.85644171e-07, 0.999999642)
- WedgePart279.Color = Color3.new(0.294118, 0.592157, 0.294118)
- WedgePart279.Position = Vector3.new(-40.3999023, 31.0000134, -76.3999634)
- WedgePart279.Orientation = Vector3.new(0, 0, 180)
- WedgePart279.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part280.Parent = Model0
- Part280.BrickColor = BrickColor.new("Camo")
- Part280.Transparency = 1
- Part280.Anchored = true
- Part280.FormFactor = Enum.FormFactor.Custom
- Part280.Size = Vector3.new(4.60000038, 10, 0.400000036)
- Part280.CFrame = CFrame.new(-47.0000076, 24.0000134, -90.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part280.TopSurface = Enum.SurfaceType.Smooth
- Part280.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part280.Position = Vector3.new(-47.0000076, 24.0000134, -90.5999908)
- Part280.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal281.Parent = Part280
- Decal281.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal282.Parent = Part280
- Decal282.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal282.Face = Enum.NormalId.Back
- Decal283.Parent = Part280
- Decal283.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal283.Face = Enum.NormalId.Left
- Decal284.Parent = Part280
- Decal284.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal284.Face = Enum.NormalId.Top
- Decal285.Parent = Part280
- Decal285.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal285.Face = Enum.NormalId.Right
- WedgePart286.Parent = Model0
- WedgePart286.BrickColor = BrickColor.new("Bright green")
- WedgePart286.Rotation = Vector3.new(-180, 0, -180)
- WedgePart286.Anchored = true
- WedgePart286.FormFactor = Enum.FormFactor.Symmetric
- WedgePart286.Size = Vector3.new(13.8000011, 16, 28.0000038)
- WedgePart286.CFrame = CFrame.new(-40.3999023, 10.9999199, -77.3999634, -0.999999642, 0, 2.5331974e-07, 0, 1, 0, -2.5331974e-07, 0, -0.999999642)
- WedgePart286.Color = Color3.new(0.294118, 0.592157, 0.294118)
- WedgePart286.Position = Vector3.new(-40.3999023, 10.9999199, -77.3999634)
- WedgePart286.Orientation = Vector3.new(0, 180, 0)
- WedgePart286.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part287.Parent = Model0
- Part287.BrickColor = BrickColor.new("Really red")
- Part287.Anchored = true
- Part287.FormFactor = Enum.FormFactor.Symmetric
- Part287.Size = Vector3.new(1, 5, 49.2000008)
- Part287.CFrame = CFrame.new(-47.8000565, 5.4999752, -78.7999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part287.TopSurface = Enum.SurfaceType.Smooth
- Part287.Color = Color3.new(1, 0, 0)
- Part287.Position = Vector3.new(-47.8000565, 5.4999752, -78.7999878)
- Part287.Color = Color3.new(1, 0, 0)
- Part288.Parent = Model0
- Part288.BrickColor = BrickColor.new("Toothpaste")
- Part288.Anchored = true
- Part288.FormFactor = Enum.FormFactor.Symmetric
- Part288.Size = Vector3.new(1, 31, 12)
- Part288.CFrame = CFrame.new(-63.5999756, 23.5000134, -97.3999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part288.TopSurface = Enum.SurfaceType.Smooth
- Part288.Color = Color3.new(0, 1, 1)
- Part288.Position = Vector3.new(-63.5999756, 23.5000134, -97.3999786)
- Part288.Color = Color3.new(0, 1, 1)
- Model289.Parent = Model0
- Part290.Parent = Model289
- Part290.Material = Enum.Material.Fabric
- Part290.BrickColor = BrickColor.new("Dark orange")
- Part290.Rotation = Vector3.new(0, -90, 0)
- Part290.Anchored = true
- Part290.CanCollide = false
- Part290.FormFactor = Enum.FormFactor.Symmetric
- Part290.Size = Vector3.new(1, 2.80000019, 2)
- Part290.CFrame = CFrame.new(-42.3000565, 37.8003578, -95.3000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part290.BottomSurface = Enum.SurfaceType.Smooth
- Part290.TopSurface = Enum.SurfaceType.Smooth
- Part290.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part290.Position = Vector3.new(-42.3000565, 37.8003578, -95.3000031)
- Part290.Orientation = Vector3.new(0, -90, 0)
- Part290.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Model291.Parent = Model289
- Part292.Parent = Model291
- Part292.Material = Enum.Material.Fabric
- Part292.BrickColor = BrickColor.new("Lime green")
- Part292.Anchored = true
- Part292.FormFactor = Enum.FormFactor.Symmetric
- Part292.Shape = Enum.PartType.Ball
- Part292.Size = Vector3.new(5, 5, 5)
- Part292.CFrame = CFrame.new(-42.3000565, 31.4998074, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part292.BottomSurface = Enum.SurfaceType.Smooth
- Part292.TopSurface = Enum.SurfaceType.Smooth
- Part292.Color = Color3.new(0, 1, 0)
- Part292.Position = Vector3.new(-42.3000565, 31.4998074, -96.8000031)
- Part292.Color = Color3.new(0, 1, 0)
- PointLight293.Parent = Part292
- PointLight293.Color = Color3.new(0.333333, 1, 0)
- PointLight293.Range = 20
- PointLight293.Color = Color3.new(0.333333, 1, 0)
- Part294.Parent = Model291
- Part294.Material = Enum.Material.Fabric
- Part294.BrickColor = BrickColor.new("Bright green")
- Part294.Rotation = Vector3.new(0, 0, 90)
- Part294.Anchored = true
- Part294.FormFactor = Enum.FormFactor.Symmetric
- Part294.Shape = Enum.PartType.Cylinder
- Part294.Size = Vector3.new(5, 5, 5)
- Part294.CFrame = CFrame.new(-42.3000565, 28.8999023, -96.8000031, 0, -0.99999994, 0, 0.99999994, 0, 0, 0, 0, 1)
- Part294.BottomSurface = Enum.SurfaceType.Smooth
- Part294.TopSurface = Enum.SurfaceType.Smooth
- Part294.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part294.Position = Vector3.new(-42.3000565, 28.8999023, -96.8000031)
- Part294.Orientation = Vector3.new(0, 0, 90)
- Part294.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part295.Parent = Model291
- Part295.Material = Enum.Material.Fabric
- Part295.BrickColor = BrickColor.new("Dark orange")
- Part295.Anchored = true
- Part295.FormFactor = Enum.FormFactor.Symmetric
- Part295.Size = Vector3.new(2, 1, 2)
- Part295.CFrame = CFrame.new(-42.3000565, 35.3002014, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part295.LeftSurface = Enum.SurfaceType.Hinge
- Part295.RightSurface = Enum.SurfaceType.Hinge
- Part295.TopSurface = Enum.SurfaceType.Smooth
- Part295.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part295.Position = Vector3.new(-42.3000565, 35.3002014, -96.8000031)
- Part295.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part296.Parent = Model291
- Part296.Material = Enum.Material.Fabric
- Part296.BrickColor = BrickColor.new("Bright green")
- Part296.Rotation = Vector3.new(0, 0, 90)
- Part296.Anchored = true
- Part296.FormFactor = Enum.FormFactor.Symmetric
- Part296.Shape = Enum.PartType.Cylinder
- Part296.Size = Vector3.new(5, 5, 5)
- Part296.CFrame = CFrame.new(-42.3000565, 26.1000137, -96.8000031, 0, -0.99999994, 0, 0.99999994, 0, 0, 0, 0, 1)
- Part296.BottomSurface = Enum.SurfaceType.Smooth
- Part296.TopSurface = Enum.SurfaceType.Smooth
- Part296.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part296.Position = Vector3.new(-42.3000565, 26.1000137, -96.8000031)
- Part296.Orientation = Vector3.new(0, 0, 90)
- Part296.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part297.Parent = Model291
- Part297.Material = Enum.Material.Fabric
- Part297.BrickColor = BrickColor.new("Lime green")
- Part297.Anchored = true
- Part297.FormFactor = Enum.FormFactor.Symmetric
- Part297.Shape = Enum.PartType.Ball
- Part297.Size = Vector3.new(5, 5, 5)
- Part297.CFrame = CFrame.new(-42.3000565, 23.5000687, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part297.BottomSurface = Enum.SurfaceType.Smooth
- Part297.TopSurface = Enum.SurfaceType.Smooth
- Part297.Color = Color3.new(0, 1, 0)
- Part297.Position = Vector3.new(-42.3000565, 23.5000687, -96.8000031)
- Part297.Color = Color3.new(0, 1, 0)
- Part298.Parent = Model291
- Part298.Material = Enum.Material.Fabric
- Part298.BrickColor = BrickColor.new("Dark orange")
- Part298.Anchored = true
- Part298.FormFactor = Enum.FormFactor.Symmetric
- Part298.Size = Vector3.new(2, 2.4000001, 2)
- Part298.CFrame = CFrame.new(-42.3000565, 33.6002426, -96.8000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part298.TopSurface = Enum.SurfaceType.Smooth
- Part298.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part298.Position = Vector3.new(-42.3000565, 33.6002426, -96.8000031)
- Part298.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Script299.Name = "qPerfectionWeld"
- Script299.Parent = Model291
- table.insert(cors,sandbox(Script299,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- Model300.Parent = Model289
- Part301.Parent = Model300
- Part301.Material = Enum.Material.Fabric
- Part301.BrickColor = BrickColor.new("Dark orange")
- Part301.Rotation = Vector3.new(0, -90, 0)
- Part301.Anchored = true
- Part301.FormFactor = Enum.FormFactor.Symmetric
- Part301.Size = Vector3.new(2, 2.5999999, 1)
- Part301.CFrame = CFrame.new(-40.8000565, 36.1002007, -96.8000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part301.BottomSurface = Enum.SurfaceType.Smooth
- Part301.TopSurface = Enum.SurfaceType.Smooth
- Part301.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part301.Position = Vector3.new(-40.8000565, 36.1002007, -96.8000031)
- Part301.Orientation = Vector3.new(0, -90, 0)
- Part301.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part302.Parent = Model300
- Part302.Material = Enum.Material.Fabric
- Part302.BrickColor = BrickColor.new("Dark orange")
- Part302.Rotation = Vector3.new(0, -90, 0)
- Part302.Anchored = true
- Part302.FormFactor = Enum.FormFactor.Symmetric
- Part302.Size = Vector3.new(2, 1, 2)
- Part302.CFrame = CFrame.new(-42.3000565, 36.9003601, -96.8000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part302.LeftSurface = Enum.SurfaceType.Hinge
- Part302.RightSurface = Enum.SurfaceType.Hinge
- Part302.TopSurface = Enum.SurfaceType.Smooth
- Part302.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part302.Position = Vector3.new(-42.3000565, 36.9003601, -96.8000031)
- Part302.Orientation = Vector3.new(0, -90, 0)
- Part302.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part303.Parent = Model300
- Part303.Material = Enum.Material.Fabric
- Part303.BrickColor = BrickColor.new("Dark orange")
- Part303.Rotation = Vector3.new(0, -90, 0)
- Part303.Anchored = true
- Part303.FormFactor = Enum.FormFactor.Symmetric
- Part303.Size = Vector3.new(2, 2.5999999, 1)
- Part303.CFrame = CFrame.new(-43.8000565, 36.1002007, -96.8000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part303.BottomSurface = Enum.SurfaceType.Smooth
- Part303.TopSurface = Enum.SurfaceType.Smooth
- Part303.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part303.Position = Vector3.new(-43.8000565, 36.1002007, -96.8000031)
- Part303.Orientation = Vector3.new(0, -90, 0)
- Part303.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Script304.Name = "qPerfectionWeld"
- Script304.Parent = Model300
- table.insert(cors,sandbox(Script304,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- Part305.Parent = Model289
- Part305.Material = Enum.Material.Fabric
- Part305.BrickColor = BrickColor.new("Dark orange")
- Part305.Rotation = Vector3.new(0, -90, 0)
- Part305.Anchored = true
- Part305.CanCollide = false
- Part305.FormFactor = Enum.FormFactor.Symmetric
- Part305.Size = Vector3.new(1, 2.80000019, 2)
- Part305.CFrame = CFrame.new(-42.3000565, 37.8003578, -98.3000031, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part305.BottomSurface = Enum.SurfaceType.Smooth
- Part305.TopSurface = Enum.SurfaceType.Smooth
- Part305.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part305.Position = Vector3.new(-42.3000565, 37.8003578, -98.3000031)
- Part305.Orientation = Vector3.new(0, -90, 0)
- Part305.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part306.Parent = Model0
- Part306.BrickColor = BrickColor.new("Camo")
- Part306.Transparency = 1
- Part306.Anchored = true
- Part306.FormFactor = Enum.FormFactor.Custom
- Part306.Size = Vector3.new(25.7999992, 36, 0.600000024)
- Part306.CFrame = CFrame.new(32.4999962, 21.0000134, -71.2000122, 0.999999642, -2.05148183e-08, -1.63912773e-07, 2.05148041e-08, 1, -1.35738858e-07, 1.63912773e-07, 1.35738887e-07, 0.999999642)
- Part306.TopSurface = Enum.SurfaceType.Smooth
- Part306.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part306.Position = Vector3.new(32.4999962, 21.0000134, -71.2000122)
- Part306.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal307.Parent = Part306
- Decal307.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal308.Parent = Part306
- Decal308.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal308.Face = Enum.NormalId.Back
- Decal309.Parent = Part306
- Decal309.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal309.Face = Enum.NormalId.Left
- Decal310.Parent = Part306
- Decal310.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal310.Face = Enum.NormalId.Top
- Decal311.Parent = Part306
- Decal311.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal311.Face = Enum.NormalId.Right
- Part312.Parent = Model0
- Part312.BrickColor = BrickColor.new("Camo")
- Part312.Transparency = 1
- Part312.Anchored = true
- Part312.FormFactor = Enum.FormFactor.Custom
- Part312.Size = Vector3.new(3.39999962, 10.5999994, 0.200000003)
- Part312.CFrame = CFrame.new(-9.20007324, 24.300005, -76.7000732, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part312.TopSurface = Enum.SurfaceType.Smooth
- Part312.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part312.Position = Vector3.new(-9.20007324, 24.300005, -76.7000732)
- Part312.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal313.Parent = Part312
- Decal313.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal314.Parent = Part312
- Decal314.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal314.Face = Enum.NormalId.Back
- Decal315.Parent = Part312
- Decal315.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal315.Face = Enum.NormalId.Left
- Decal316.Parent = Part312
- Decal316.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal316.Face = Enum.NormalId.Top
- Decal317.Parent = Part312
- Decal317.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal317.Face = Enum.NormalId.Right
- Decal318.Parent = Part312
- Decal318.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal318.Face = Enum.NormalId.Bottom
- Part319.Parent = Model0
- Part319.BrickColor = BrickColor.new("Camo")
- Part319.Transparency = 1
- Part319.Anchored = true
- Part319.FormFactor = Enum.FormFactor.Custom
- Part319.Size = Vector3.new(3.39999962, 10.5999994, 0.200000003)
- Part319.CFrame = CFrame.new(-20.2000809, 24.300005, -76.7000732, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part319.TopSurface = Enum.SurfaceType.Smooth
- Part319.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part319.Position = Vector3.new(-20.2000809, 24.300005, -76.7000732)
- Part319.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal320.Parent = Part319
- Decal320.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal321.Parent = Part319
- Decal321.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal321.Face = Enum.NormalId.Back
- Decal322.Parent = Part319
- Decal322.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal322.Face = Enum.NormalId.Left
- Decal323.Parent = Part319
- Decal323.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal323.Face = Enum.NormalId.Top
- Decal324.Parent = Part319
- Decal324.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal324.Face = Enum.NormalId.Right
- Decal325.Parent = Part319
- Decal325.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal325.Face = Enum.NormalId.Bottom
- WedgePart326.Parent = Model0
- WedgePart326.BrickColor = BrickColor.new("Toothpaste")
- WedgePart326.Rotation = Vector3.new(-180, 0, -180)
- WedgePart326.Anchored = true
- WedgePart326.FormFactor = Enum.FormFactor.Symmetric
- WedgePart326.Size = Vector3.new(1, 16, 30.0000038)
- WedgePart326.CFrame = CFrame.new(-48.8000565, 15.9999142, -75.3999634, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- WedgePart326.Color = Color3.new(0, 1, 1)
- WedgePart326.Position = Vector3.new(-48.8000565, 15.9999142, -75.3999634)
- WedgePart326.Orientation = Vector3.new(0, 180, 0)
- WedgePart326.Color = Color3.new(0, 1, 1)
- Part327.Parent = Model0
- Part327.BrickColor = BrickColor.new("Camo")
- Part327.Anchored = true
- Part327.FormFactor = Enum.FormFactor.Symmetric
- Part327.Size = Vector3.new(13.8000002, 5, 13)
- Part327.CFrame = CFrame.new(-42.39991, 16.4998989, -96.8999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part327.BottomSurface = Enum.SurfaceType.Smooth
- Part327.TopSurface = Enum.SurfaceType.Smooth
- Part327.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part327.Position = Vector3.new(-42.39991, 16.4998989, -96.8999786)
- Part327.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- PointLight328.Parent = Part327
- PointLight328.Color = Color3.new(0.333333, 1, 0)
- PointLight328.Range = 20
- PointLight328.Color = Color3.new(0.333333, 1, 0)
- WedgePart329.Parent = Model0
- WedgePart329.BrickColor = BrickColor.new("Bright green")
- WedgePart329.Rotation = Vector3.new(-180, 0, -180)
- WedgePart329.Anchored = true
- WedgePart329.FormFactor = Enum.FormFactor.Symmetric
- WedgePart329.Size = Vector3.new(13.8000011, 16, 31.0000038)
- WedgePart329.CFrame = CFrame.new(-56.2000732, 10.9999199, -75.8999634, -0.999999642, 0, 2.5331974e-07, 0, 1, 0, -2.5331974e-07, 0, -0.999999642)
- WedgePart329.Color = Color3.new(0.294118, 0.592157, 0.294118)
- WedgePart329.Position = Vector3.new(-56.2000732, 10.9999199, -75.8999634)
- WedgePart329.Orientation = Vector3.new(0, 180, 0)
- WedgePart329.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part330.Parent = Model0
- Part330.BrickColor = BrickColor.new("Lime green")
- Part330.Anchored = true
- Part330.FormFactor = Enum.FormFactor.Symmetric
- Part330.Size = Vector3.new(13.8000002, 5, 12)
- Part330.CFrame = CFrame.new(-56.2000732, 16.4998989, -97.3999786, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part330.TopSurface = Enum.SurfaceType.Smooth
- Part330.Color = Color3.new(0, 1, 0)
- Part330.Position = Vector3.new(-56.2000732, 16.4998989, -97.3999786)
- Part330.Color = Color3.new(0, 1, 0)
- PointLight331.Parent = Part330
- PointLight331.Color = Color3.new(0.333333, 1, 0)
- PointLight331.Range = 20
- PointLight331.Color = Color3.new(0.333333, 1, 0)
- Part332.Parent = Model0
- Part332.BrickColor = BrickColor.new("Toothpaste")
- Part332.Anchored = true
- Part332.FormFactor = Enum.FormFactor.Symmetric
- Part332.Size = Vector3.new(15.8800001, 11.000001, 1)
- Part332.CFrame = CFrame.new(-14.7600098, 8.49991989, -77.0999756, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part332.BottomSurface = Enum.SurfaceType.Smooth
- Part332.TopSurface = Enum.SurfaceType.Smooth
- Part332.Color = Color3.new(0, 1, 1)
- Part332.Position = Vector3.new(-14.7600098, 8.49991989, -77.0999756)
- Part332.Color = Color3.new(0, 1, 1)
- PointLight333.Parent = Part332
- PointLight333.Color = Color3.new(0.333333, 1, 0)
- PointLight333.Range = 20
- PointLight333.Color = Color3.new(0.333333, 1, 0)
- Script334.Parent = mas
- table.insert(cors,sandbox(Script334,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script335.Name = "Conveyor Script"
- Script335.Parent = mas
- table.insert(cors,sandbox(Script335,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Script336.Parent = mas
- table.insert(cors,sandbox(Script336,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script337.Name = "Conveyor Script"
- Script337.Parent = mas
- table.insert(cors,sandbox(Script337,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Script338.Name = "Conveyor Script"
- Script338.Parent = mas
- table.insert(cors,sandbox(Script338,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Script339.Name = "Conveyor Script"
- Script339.Parent = mas
- table.insert(cors,sandbox(Script339,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Part340.Parent = Model0
- Part340.BrickColor = BrickColor.new("Really red")
- Part340.Anchored = true
- Part340.FormFactor = Enum.FormFactor.Symmetric
- Part340.Size = Vector3.new(1, 31, 2.59999895)
- Part340.CFrame = CFrame.new(-33, 23.5000134, -62.7000771, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part340.TopSurface = Enum.SurfaceType.Smooth
- Part340.Color = Color3.new(1, 0, 0)
- Part340.Position = Vector3.new(-33, 23.5000134, -62.7000771)
- Part340.Color = Color3.new(1, 0, 0)
- Part341.Parent = Model0
- Part341.BrickColor = BrickColor.new("Really red")
- Part341.Anchored = true
- Part341.FormFactor = Enum.FormFactor.Symmetric
- Part341.Size = Vector3.new(1, 25.2000008, 9.79999924)
- Part341.CFrame = CFrame.new(-33, 26.4000053, -68.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part341.BottomSurface = Enum.SurfaceType.Smooth
- Part341.TopSurface = Enum.SurfaceType.Smooth
- Part341.Color = Color3.new(1, 0, 0)
- Part341.Position = Vector3.new(-33, 26.4000053, -68.5)
- Part341.Color = Color3.new(1, 0, 0)
- Part342.Parent = Model0
- Part342.BrickColor = BrickColor.new("New Yeller")
- Part342.Anchored = true
- Part342.FormFactor = Enum.FormFactor.Symmetric
- Part342.Size = Vector3.new(9.80000019, 11.000001, 1)
- Part342.CFrame = CFrame.new(-27.6000977, 8.49991989, -63.5000038, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part342.BottomSurface = Enum.SurfaceType.Smooth
- Part342.TopSurface = Enum.SurfaceType.Smooth
- Part342.Color = Color3.new(1, 1, 0)
- Part342.Position = Vector3.new(-27.6000977, 8.49991989, -63.5000038)
- Part342.Color = Color3.new(1, 1, 0)
- PointLight343.Parent = Part342
- PointLight343.Color = Color3.new(0.333333, 1, 0)
- PointLight343.Range = 20
- PointLight343.Color = Color3.new(0.333333, 1, 0)
- Part344.Parent = Model0
- Part344.BrickColor = BrickColor.new("Toothpaste")
- Part344.Anchored = true
- Part344.FormFactor = Enum.FormFactor.Symmetric
- Part344.Size = Vector3.new(1, 11.000001, 13.6000004)
- Part344.CFrame = CFrame.new(-22.2000809, 8.49991989, -69.7999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part344.BottomSurface = Enum.SurfaceType.Smooth
- Part344.TopSurface = Enum.SurfaceType.Smooth
- Part344.Color = Color3.new(0, 1, 1)
- Part344.Position = Vector3.new(-22.2000809, 8.49991989, -69.7999878)
- Part344.Color = Color3.new(0, 1, 1)
- PointLight345.Parent = Part344
- PointLight345.Color = Color3.new(0.333333, 1, 0)
- PointLight345.Range = 20
- PointLight345.Color = Color3.new(0.333333, 1, 0)
- Script346.Parent = mas
- table.insert(cors,sandbox(Script346,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script347.Name = "Conveyor Script"
- Script347.Parent = mas
- table.insert(cors,sandbox(Script347,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Part348.Parent = Model0
- Part348.BrickColor = BrickColor.new("Medium blue")
- Part348.Anchored = true
- Part348.FormFactor = Enum.FormFactor.Symmetric
- Part348.Size = Vector3.new(70, 1.20000005, 66)
- Part348.CFrame = CFrame.new(-29.0999756, 39.600029, -71.3999634, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part348.BottomSurface = Enum.SurfaceType.Smooth
- Part348.TopSurface = Enum.SurfaceType.Smooth
- Part348.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part348.Position = Vector3.new(-29.0999756, 39.600029, -71.3999634)
- Part348.Color = Color3.new(0.431373, 0.6, 0.792157)
- WedgePart349.Parent = Model0
- WedgePart349.BrickColor = BrickColor.new("Camo")
- WedgePart349.Rotation = Vector3.new(0, 0, 180)
- WedgePart349.Anchored = true
- WedgePart349.FormFactor = Enum.FormFactor.Symmetric
- WedgePart349.Size = Vector3.new(13.8000002, 16, 18.8000011)
- WedgePart349.CFrame = CFrame.new(12.7999268, 31.0000362, -62.200016, -0.999999166, -5.81145287e-07, -8.97239616e-09, 6.70552254e-07, -0.999999762, 1.72907178e-07, -8.97253827e-09, 1.72907221e-07, 0.999999404)
- WedgePart349.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- WedgePart349.Position = Vector3.new(12.7999268, 31.0000362, -62.200016)
- WedgePart349.Orientation = Vector3.new(0, 0, 180)
- WedgePart349.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Script350.Parent = mas
- table.insert(cors,sandbox(Script350,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script351.Name = "Conveyor Script"
- Script351.Parent = mas
- table.insert(cors,sandbox(Script351,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *60
- wait(1)
- end
- end))
- Part352.Parent = Model0
- Part352.BrickColor = BrickColor.new("Really red")
- Part352.Anchored = true
- Part352.FormFactor = Enum.FormFactor.Symmetric
- Part352.Size = Vector3.new(1, 31, 38)
- Part352.CFrame = CFrame.new(-47.8000565, 23.5000134, -72.3999634, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part352.TopSurface = Enum.SurfaceType.Smooth
- Part352.Color = Color3.new(1, 0, 0)
- Part352.Position = Vector3.new(-47.8000565, 23.5000134, -72.3999634)
- Part352.Color = Color3.new(1, 0, 0)
- Part353.Parent = Model0
- Part353.BrickColor = BrickColor.new("Medium blue")
- Part353.Anchored = true
- Part353.FormFactor = Enum.FormFactor.Symmetric
- Part353.Size = Vector3.new(43.2000008, 1.20000005, 51.7999992)
- Part353.CFrame = CFrame.new(27.4999962, 39.600029, -64.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part353.BottomSurface = Enum.SurfaceType.Smooth
- Part353.TopSurface = Enum.SurfaceType.Smooth
- Part353.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part353.Position = Vector3.new(27.4999962, 39.600029, -64.5)
- Part353.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part354.Parent = Model0
- Part354.Anchored = true
- Part354.FormFactor = Enum.FormFactor.Symmetric
- Part354.Size = Vector3.new(113, 3, 80)
- Part354.CFrame = CFrame.new(-7.60009766, 1.50001526, -64.3999634, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part354.TopSurface = Enum.SurfaceType.Smooth
- Part354.Position = Vector3.new(-7.60009766, 1.50001526, -64.3999634)
- Part355.Parent = Model0
- Part355.BrickColor = BrickColor.new("Camo")
- Part355.Anchored = true
- Part355.FormFactor = Enum.FormFactor.Symmetric
- Part355.Size = Vector3.new(25.2000008, 1, 18.6000004)
- Part355.CFrame = CFrame.new(32.4998703, 18.5000057, -62.2999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part355.BottomSurface = Enum.SurfaceType.Smooth
- Part355.TopSurface = Enum.SurfaceType.Smooth
- Part355.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part355.Position = Vector3.new(32.4998703, 18.5000057, -62.2999878)
- Part355.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- PointLight356.Parent = Part355
- PointLight356.Color = Color3.new(1, 0.333333, 1)
- PointLight356.Range = 50
- PointLight356.Color = Color3.new(1, 0.333333, 1)
- Part357.Parent = Model0
- Part357.BrickColor = BrickColor.new("Camo")
- Part357.Transparency = 1
- Part357.Rotation = Vector3.new(-180, -89.9700012, 180)
- Part357.Anchored = true
- Part357.FormFactor = Enum.FormFactor.Custom
- Part357.Size = Vector3.new(18.7999992, 36, 0.600000024)
- Part357.CFrame = CFrame.new(19.5999756, 21.0000134, -62.1999626, -8.94069601e-08, -1.0658141e-14, -0.999999821, -2.08616257e-07, 1, 7.10542736e-15, 0.999999821, 2.08616257e-07, -8.94069672e-08)
- Part357.TopSurface = Enum.SurfaceType.Smooth
- Part357.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part357.Position = Vector3.new(19.5999756, 21.0000134, -62.1999626)
- Part357.Orientation = Vector3.new(0, -90, 0)
- Part357.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal358.Parent = Part357
- Decal358.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal359.Parent = Part357
- Decal359.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal359.Face = Enum.NormalId.Back
- Decal360.Parent = Part357
- Decal360.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal360.Face = Enum.NormalId.Left
- Decal361.Parent = Part357
- Decal361.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal361.Face = Enum.NormalId.Top
- Decal362.Parent = Part357
- Decal362.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal362.Face = Enum.NormalId.Right
- Part363.Parent = Model0
- Part363.BrickColor = BrickColor.new("Camo")
- Part363.Transparency = 1
- Part363.Rotation = Vector3.new(-180, -89.9700012, 180)
- Part363.Anchored = true
- Part363.FormFactor = Enum.FormFactor.Custom
- Part363.Size = Vector3.new(18.7999992, 36, 0.600000024)
- Part363.CFrame = CFrame.new(45.4000244, 21.0000134, -62.1999626, -8.94069601e-08, -1.0658141e-14, -0.999999821, -2.08616257e-07, 1, 7.10542736e-15, 0.999999821, 2.08616257e-07, -8.94069672e-08)
- Part363.TopSurface = Enum.SurfaceType.Smooth
- Part363.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part363.Position = Vector3.new(45.4000244, 21.0000134, -62.1999626)
- Part363.Orientation = Vector3.new(0, -90, 0)
- Part363.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal364.Parent = Part363
- Decal364.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal365.Parent = Part363
- Decal365.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal365.Face = Enum.NormalId.Back
- Decal366.Parent = Part363
- Decal366.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal366.Face = Enum.NormalId.Left
- Decal367.Parent = Part363
- Decal367.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal367.Face = Enum.NormalId.Top
- Decal368.Parent = Part363
- Decal368.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal368.Face = Enum.NormalId.Right
- WedgePart369.Parent = Model0
- WedgePart369.BrickColor = BrickColor.new("Camo")
- WedgePart369.Rotation = Vector3.new(180, 0, -180)
- WedgePart369.Anchored = true
- WedgePart369.FormFactor = Enum.FormFactor.Symmetric
- WedgePart369.Size = Vector3.new(13.8000002, 16, 18.8000011)
- WedgePart369.CFrame = CFrame.new(12.7999268, 10.9999256, -62.200016, -0.999999702, 2.64897668e-08, 5.96046448e-08, 2.64897437e-08, 1, -2.74862572e-07, -5.96046448e-08, -2.74862543e-07, -0.999999702)
- WedgePart369.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- WedgePart369.Position = Vector3.new(12.7999268, 10.9999256, -62.200016)
- WedgePart369.Orientation = Vector3.new(0, 180, 0)
- WedgePart369.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part370.Parent = Model0
- Part370.BrickColor = BrickColor.new("Really red")
- Part370.Anchored = true
- Part370.FormFactor = Enum.FormFactor.Symmetric
- Part370.Size = Vector3.new(1, 5, 3.60000086)
- Part370.CFrame = CFrame.new(-33, 5.4999752, -62.200016, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part370.TopSurface = Enum.SurfaceType.Smooth
- Part370.Color = Color3.new(1, 0, 0)
- Part370.Position = Vector3.new(-33, 5.4999752, -62.200016)
- Part370.Color = Color3.new(1, 0, 0)
- Part371.Parent = Model0
- Part371.BrickColor = BrickColor.new("Really red")
- Part371.Anchored = true
- Part371.FormFactor = Enum.FormFactor.Symmetric
- Part371.Size = Vector3.new(1, 31, 37.2000008)
- Part371.CFrame = CFrame.new(-63.5999756, 23.5000134, -72.7999878, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part371.TopSurface = Enum.SurfaceType.Smooth
- Part371.Color = Color3.new(1, 0, 0)
- Part371.Position = Vector3.new(-63.5999756, 23.5000134, -72.7999878)
- Part371.Color = Color3.new(1, 0, 0)
- Model372.Parent = Model0
- Script373.Name = "FX"
- Script373.Parent = mas
- table.insert(cors,sandbox(Script373,function()
- --Lilblitz56--
- --Where it says 0.5, you can change that to increase or decrease the spin rate :3--
- local X
- local Y
- local Z
- X=
- 4
- Y=
- 0
- Z=
- 0
- function start()
- while (true) do
- script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(X),math.rad(Y),math.rad(Z))
- wait()
- end
- end
- start()
- --Lilblitz56 is your king! Bow down!! xD--
- end))
- PointLight374.Parent = mas
- PointLight374.Color = Color3.new(1, 0.666667, 0)
- PointLight374.Brightness = 500
- PointLight374.Range = 10
- PointLight374.Color = Color3.new(1, 0.666667, 0)
- Script375.Name = "Conveyor Script"
- Script375.Parent = mas
- table.insert(cors,sandbox(Script375,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Part376.Parent = Model0
- Part376.BrickColor = BrickColor.new("Camo")
- Part376.Anchored = true
- Part376.FormFactor = Enum.FormFactor.Symmetric
- Part376.Size = Vector3.new(24, 5.4000001, 13.6000004)
- Part376.CFrame = CFrame.new(17.6999512, 20.7000122, -46.1999969, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part376.BottomSurface = Enum.SurfaceType.Smooth
- Part376.TopSurface = Enum.SurfaceType.Smooth
- Part376.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part376.Position = Vector3.new(17.6999512, 20.7000122, -46.1999969)
- Part376.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Script377.Parent = mas
- table.insert(cors,sandbox(Script377,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script378.Name = "Conveyor Script"
- Script378.Parent = mas
- table.insert(cors,sandbox(Script378,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Script379.Parent = mas
- table.insert(cors,sandbox(Script379,function()
- local FF = script.Parent
- local function steppedOn(part)
- local parent = part.Parent
- if game.Players:GetPlayerFromCharacter(parent) then
- parent.Humanoid.Sit = true
- end
- end
- FF.Touched:connect(steppedOn)
- end))
- Script380.Name = "Conveyor Script"
- Script380.Parent = mas
- table.insert(cors,sandbox(Script380,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Part381.Parent = Model0
- Part381.BrickColor = BrickColor.new("Really red")
- Part381.Anchored = true
- Part381.FormFactor = Enum.FormFactor.Symmetric
- Part381.Size = Vector3.new(4, 8, 1)
- Part381.CFrame = CFrame.new(-34.5, 6.99996567, -60.8999672, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part381.TopSurface = Enum.SurfaceType.Smooth
- Part381.Color = Color3.new(1, 0, 0)
- Part381.Position = Vector3.new(-34.5, 6.99996567, -60.8999672)
- Part381.Color = Color3.new(1, 0, 0)
- Part382.Parent = Model0
- Part382.BrickColor = BrickColor.new("Really red")
- Part382.Anchored = true
- Part382.FormFactor = Enum.FormFactor.Symmetric
- Part382.Size = Vector3.new(7, 1, 1)
- Part382.CFrame = CFrame.new(-40, 10.4999199, -60.8999672, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part382.TopSurface = Enum.SurfaceType.Smooth
- Part382.Color = Color3.new(1, 0, 0)
- Part382.Position = Vector3.new(-40, 10.4999199, -60.8999672)
- Part382.Color = Color3.new(1, 0, 0)
- Part383.Parent = Model0
- Part383.BrickColor = BrickColor.new("Really red")
- Part383.Anchored = true
- Part383.FormFactor = Enum.FormFactor.Symmetric
- Part383.Size = Vector3.new(15, 28, 1)
- Part383.CFrame = CFrame.new(-40, 25.0000134, -60.8999672, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part383.TopSurface = Enum.SurfaceType.Smooth
- Part383.Color = Color3.new(1, 0, 0)
- Part383.Position = Vector3.new(-40, 25.0000134, -60.8999672)
- Part383.Color = Color3.new(1, 0, 0)
- Part384.Parent = Model0
- Part384.BrickColor = BrickColor.new("Really red")
- Part384.Anchored = true
- Part384.FormFactor = Enum.FormFactor.Symmetric
- Part384.Size = Vector3.new(4, 8, 1)
- Part384.CFrame = CFrame.new(-45.5000076, 6.99996567, -60.8999672, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part384.TopSurface = Enum.SurfaceType.Smooth
- Part384.Color = Color3.new(1, 0, 0)
- Part384.Position = Vector3.new(-45.5000076, 6.99996567, -60.8999672)
- Part384.Color = Color3.new(1, 0, 0)
- Model385.Parent = Model0
- Script386.Name = "FX"
- Script386.Parent = mas
- table.insert(cors,sandbox(Script386,function()
- --Lilblitz56--
- --Where it says 0.5, you can change that to increase or decrease the spin rate :3--
- local X
- local Y
- local Z
- X=
- 4
- Y=
- 0
- Z=
- 0
- function start()
- while (true) do
- script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(X),math.rad(Y),math.rad(Z))
- wait()
- end
- end
- start()
- --Lilblitz56 is your king! Bow down!! xD--
- end))
- PointLight387.Parent = mas
- PointLight387.Color = Color3.new(1, 0.666667, 0)
- PointLight387.Brightness = 500
- PointLight387.Range = 10
- PointLight387.Color = Color3.new(1, 0.666667, 0)
- Script388.Name = "Conveyor Script"
- Script388.Parent = mas
- table.insert(cors,sandbox(Script388,function()
- -- I swordfish690 thank Kingline90 for this script
- while true do
- script.Parent.Velocity = script.Parent.CFrame.lookVector *script.Parent.Speed.Value
- wait(1)
- end
- end))
- Part389.Parent = Model0
- Part389.BrickColor = BrickColor.new("Camo")
- Part389.Transparency = 1
- Part389.Rotation = Vector3.new(-180, -89.9700012, 180)
- Part389.Anchored = true
- Part389.FormFactor = Enum.FormFactor.Custom
- Part389.Size = Vector3.new(32.2000008, 36, 0.600000024)
- Part389.CFrame = CFrame.new(6.19995117, 21.0000134, -55.4999962, -8.94069601e-08, -1.0658141e-14, -0.999999821, -2.08616257e-07, 1, 7.10542736e-15, 0.999999821, 2.08616257e-07, -8.94069672e-08)
- Part389.TopSurface = Enum.SurfaceType.Smooth
- Part389.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part389.Position = Vector3.new(6.19995117, 21.0000134, -55.4999962)
- Part389.Orientation = Vector3.new(0, -90, 0)
- Part389.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal390.Parent = Part389
- Decal390.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal391.Parent = Part389
- Decal391.Texture = "http://www.roblox.com/asset/?id=50449800"
- Decal391.Face = Enum.NormalId.Back
- Decal392.Parent = Part389
- Decal392.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal392.Face = Enum.NormalId.Left
- Decal393.Parent = Part389
- Decal393.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal393.Face = Enum.NormalId.Top
- Decal394.Parent = Part389
- Decal394.Texture = "http://www.roblox.com/asset/?id=27017316"
- Decal394.Face = Enum.NormalId.Right
- Part395.Parent = Model0
- Part395.BrickColor = BrickColor.new("Really red")
- Part395.Anchored = true
- Part395.FormFactor = Enum.FormFactor.Symmetric
- Part395.Size = Vector3.new(3.60000014, 21, 35.9999962)
- Part395.CFrame = CFrame.new(47.0999756, 29.5000134, -56.2000084, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part395.TopSurface = Enum.SurfaceType.Smooth
- Part395.Color = Color3.new(1, 0, 0)
- Part395.Position = Vector3.new(47.0999756, 29.5000134, -56.2000084)
- Part395.Color = Color3.new(1, 0, 0)
- Part396.Parent = Model0
- Part396.BrickColor = BrickColor.new("Really red")
- Part396.Anchored = true
- Part396.FormFactor = Enum.FormFactor.Symmetric
- Part396.Size = Vector3.new(16.7999992, 20, 1)
- Part396.CFrame = CFrame.new(-55.7000732, 29.0000134, -53.8999634, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part396.TopSurface = Enum.SurfaceType.Smooth
- Part396.Color = Color3.new(1, 0, 0)
- Part396.Position = Vector3.new(-55.7000732, 29.0000134, -53.8999634)
- Part396.Color = Color3.new(1, 0, 0)
- Part397.Parent = Model0
- Part397.BrickColor = BrickColor.new("Bright bluish green")
- Part397.Anchored = true
- Part397.FormFactor = Enum.FormFactor.Symmetric
- Part397.Size = Vector3.new(15.9999924, 20.2000008, 1)
- Part397.CFrame = CFrame.new(37.2999191, 28.9000053, -38.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part397.TopSurface = Enum.SurfaceType.Smooth
- Part397.Color = Color3.new(0, 0.560784, 0.611765)
- Part397.Position = Vector3.new(37.2999191, 28.9000053, -38.8999557)
- Part397.Color = Color3.new(0, 0.560784, 0.611765)
- Model398.Parent = Model0
- PointLight399.Parent = mas
- PointLight399.Color = Color3.new(1, 0.666667, 0)
- PointLight399.Brightness = 500
- PointLight399.Range = 10
- PointLight399.Color = Color3.new(1, 0.666667, 0)
- Part400.Parent = Model398
- Part400.Material = Enum.Material.Slate
- Part400.BrickColor = BrickColor.new("Black")
- Part400.Anchored = true
- Part400.CanCollide = false
- Part400.FormFactor = Enum.FormFactor.Custom
- Part400.Size = Vector3.new(4, 0.399999976, 4)
- Part400.CFrame = CFrame.new(24.4998741, 3.28976631, -32.3999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part400.BottomSurface = Enum.SurfaceType.Motor
- Part400.TopSurface = Enum.SurfaceType.Smooth
- Part400.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part400.Position = Vector3.new(24.4998741, 3.28976631, -32.3999557)
- Part400.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh401.Parent = Part400
- Script402.Name = "qPerfectionWeld"
- Script402.Parent = Model398
- table.insert(cors,sandbox(Script402,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- Model403.Parent = Model0
- PointLight404.Parent = mas
- PointLight404.Color = Color3.new(1, 0.666667, 0)
- PointLight404.Brightness = 500
- PointLight404.Range = 10
- PointLight404.Color = Color3.new(1, 0.666667, 0)
- Part405.Parent = Model403
- Part405.Material = Enum.Material.Slate
- Part405.BrickColor = BrickColor.new("Black")
- Part405.Anchored = true
- Part405.CanCollide = false
- Part405.FormFactor = Enum.FormFactor.Custom
- Part405.Size = Vector3.new(4, 0.399999976, 4)
- Part405.CFrame = CFrame.new(-57.1000977, 3.18976021, -35.3999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part405.BottomSurface = Enum.SurfaceType.Motor
- Part405.TopSurface = Enum.SurfaceType.Smooth
- Part405.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part405.Position = Vector3.new(-57.1000977, 3.18976021, -35.3999557)
- Part405.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh406.Parent = Part405
- Script407.Name = "qPerfectionWeld"
- Script407.Parent = Model403
- table.insert(cors,sandbox(Script407,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- Part408.Parent = Model0
- Part408.BrickColor = BrickColor.new("Really red")
- Part408.Anchored = true
- Part408.FormFactor = Enum.FormFactor.Symmetric
- Part408.Size = Vector3.new(1, 5, 14)
- Part408.CFrame = CFrame.new(28.5999756, 5.4999752, -32.3999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part408.TopSurface = Enum.SurfaceType.Smooth
- Part408.Color = Color3.new(1, 0, 0)
- Part408.Position = Vector3.new(28.5999756, 5.4999752, -32.3999557)
- Part408.Color = Color3.new(1, 0, 0)
- Part409.Parent = Model0
- Part409.BrickColor = BrickColor.new("Really red")
- Part409.Anchored = true
- Part409.FormFactor = Enum.FormFactor.Symmetric
- Part409.Size = Vector3.new(83, 5, 1)
- Part409.CFrame = CFrame.new(-21.6000977, 5.4999752, -31.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part409.TopSurface = Enum.SurfaceType.Smooth
- Part409.Color = Color3.new(1, 0, 0)
- Part409.Position = Vector3.new(-21.6000977, 5.4999752, -31.8999557)
- Part409.Color = Color3.new(1, 0, 0)
- Model410.Parent = Model0
- PointLight411.Parent = mas
- PointLight411.Color = Color3.new(1, 0.666667, 0)
- PointLight411.Brightness = 500
- PointLight411.Range = 10
- PointLight411.Color = Color3.new(1, 0.666667, 0)
- Part412.Parent = Model410
- Part412.Material = Enum.Material.Slate
- Part412.BrickColor = BrickColor.new("Black")
- Part412.Anchored = true
- Part412.CanCollide = false
- Part412.FormFactor = Enum.FormFactor.Custom
- Part412.Size = Vector3.new(4, 0.399999976, 4)
- Part412.CFrame = CFrame.new(-25.1000977, 3.18976021, -28.3999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part412.BottomSurface = Enum.SurfaceType.Motor
- Part412.TopSurface = Enum.SurfaceType.Smooth
- Part412.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part412.Position = Vector3.new(-25.1000977, 3.18976021, -28.3999557)
- Part412.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh413.Parent = Part412
- Script414.Name = "qPerfectionWeld"
- Script414.Parent = Model410
- table.insert(cors,sandbox(Script414,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- Part415.Parent = Model0
- Part415.BrickColor = BrickColor.new("Really red")
- Part415.Anchored = true
- Part415.FormFactor = Enum.FormFactor.Symmetric
- Part415.Size = Vector3.new(1, 5, 15)
- Part415.CFrame = CFrame.new(44.7999229, 5.4999752, -31.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part415.TopSurface = Enum.SurfaceType.Smooth
- Part415.Color = Color3.new(1, 0, 0)
- Part415.Position = Vector3.new(44.7999229, 5.4999752, -31.8999557)
- Part415.Color = Color3.new(1, 0, 0)
- Part416.Parent = Model0
- Part416.BrickColor = BrickColor.new("Really red")
- Part416.Anchored = true
- Part416.FormFactor = Enum.FormFactor.Symmetric
- Part416.Size = Vector3.new(1, 5, 15)
- Part416.CFrame = CFrame.new(-63.6000977, 5.4999752, -31.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part416.TopSurface = Enum.SurfaceType.Smooth
- Part416.Color = Color3.new(1, 0, 0)
- Part416.Position = Vector3.new(-63.6000977, 5.4999752, -31.8999557)
- Part416.Color = Color3.new(1, 0, 0)
- Part417.Parent = Model0
- Part417.BrickColor = BrickColor.new("Lime green")
- Part417.Anchored = true
- Part417.FormFactor = Enum.FormFactor.Symmetric
- Part417.Size = Vector3.new(78.3999939, 36, 1)
- Part417.CFrame = CFrame.new(-9.90002441, 21.0000134, -38.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part417.TopSurface = Enum.SurfaceType.Smooth
- Part417.Color = Color3.new(0, 1, 0)
- Part417.Position = Vector3.new(-9.90002441, 21.0000134, -38.8999557)
- Part417.Color = Color3.new(0, 1, 0)
- Decal418.Parent = Part417
- Decal418.Texture = "http://www.roblox.com/asset/?id=122689700"
- Decal418.Face = Enum.NormalId.Back
- Model419.Parent = Model0
- PointLight420.Parent = mas
- PointLight420.Color = Color3.new(1, 0.666667, 0)
- PointLight420.Brightness = 500
- PointLight420.Range = 10
- PointLight420.Color = Color3.new(1, 0.666667, 0)
- Part421.Parent = Model419
- Part421.Material = Enum.Material.Slate
- Part421.BrickColor = BrickColor.new("Black")
- Part421.Anchored = true
- Part421.CanCollide = false
- Part421.FormFactor = Enum.FormFactor.Custom
- Part421.Size = Vector3.new(4, 0.399999976, 4)
- Part421.CFrame = CFrame.new(-51.1001053, 3.18976021, -28.3999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part421.BottomSurface = Enum.SurfaceType.Motor
- Part421.TopSurface = Enum.SurfaceType.Smooth
- Part421.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part421.Position = Vector3.new(-51.1001053, 3.18976021, -28.3999557)
- Part421.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh422.Parent = Part421
- Script423.Name = "qPerfectionWeld"
- Script423.Parent = Model419
- table.insert(cors,sandbox(Script423,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- Part424.Parent = Model0
- Part424.BrickColor = BrickColor.new("Bright bluish green")
- Part424.Anchored = true
- Part424.FormFactor = Enum.FormFactor.Symmetric
- Part424.Size = Vector3.new(1, 20, 15.1999998)
- Part424.CFrame = CFrame.new(-63.6000977, 29.0000134, -45.9999847, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part424.TopSurface = Enum.SurfaceType.Smooth
- Part424.Color = Color3.new(0, 0.560784, 0.611765)
- Part424.Position = Vector3.new(-63.6000977, 29.0000134, -45.9999847)
- Part424.Color = Color3.new(0, 0.560784, 0.611765)
- Part425.Parent = Model0
- Part425.BrickColor = BrickColor.new("Bright bluish green")
- Part425.Anchored = true
- Part425.FormFactor = Enum.FormFactor.Symmetric
- Part425.Size = Vector3.new(14.5999994, 20, 1)
- Part425.CFrame = CFrame.new(-56.2000732, 29.0000134, -38.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part425.TopSurface = Enum.SurfaceType.Smooth
- Part425.Color = Color3.new(0, 0.560784, 0.611765)
- Part425.Position = Vector3.new(-56.2000732, 29.0000134, -38.8999557)
- Part425.Color = Color3.new(0, 0.560784, 0.611765)
- Part426.Parent = Model0
- Part426.BrickColor = BrickColor.new("Institutional white")
- Part426.Anchored = true
- Part426.FormFactor = Enum.FormFactor.Symmetric
- Part426.Size = Vector3.new(10, 6.19999981, 1)
- Part426.CFrame = CFrame.new(-58.1000977, 13.8999138, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part426.TopSurface = Enum.SurfaceType.Smooth
- Part426.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part426.Position = Vector3.new(-58.1000977, 13.8999138, -24.8999557)
- Part426.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Decal427.Parent = Part426
- Decal427.Texture = "http://www.roblox.com/asset/?id=122689700"
- Decal427.Face = Enum.NormalId.Back
- Part428.Parent = Model0
- Part428.BrickColor = BrickColor.new("Bright bluish green")
- Part428.Anchored = true
- Part428.FormFactor = Enum.FormFactor.Symmetric
- Part428.Size = Vector3.new(1, 9, 1)
- Part428.CFrame = CFrame.new(-63.6000977, 12.4999142, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part428.TopSurface = Enum.SurfaceType.Smooth
- Part428.Color = Color3.new(0, 0.560784, 0.611765)
- Part428.Position = Vector3.new(-63.6000977, 12.4999142, -24.8999557)
- Part428.Color = Color3.new(0, 0.560784, 0.611765)
- Part429.Parent = Model0
- Part429.BrickColor = BrickColor.new("Bright bluish green")
- Part429.Anchored = true
- Part429.FormFactor = Enum.FormFactor.Symmetric
- Part429.Size = Vector3.new(1, 9, 1)
- Part429.CFrame = CFrame.new(-52.6000977, 12.4999142, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part429.TopSurface = Enum.SurfaceType.Smooth
- Part429.Color = Color3.new(0, 0.560784, 0.611765)
- Part429.Position = Vector3.new(-52.6000977, 12.4999142, -24.8999557)
- Part429.Color = Color3.new(0, 0.560784, 0.611765)
- Part430.Parent = Model0
- Part430.BrickColor = BrickColor.new("Bright bluish green")
- Part430.Anchored = true
- Part430.FormFactor = Enum.FormFactor.Symmetric
- Part430.Size = Vector3.new(82.1999969, 5, 1)
- Part430.CFrame = CFrame.new(-12, 5.4999752, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part430.TopSurface = Enum.SurfaceType.Smooth
- Part430.Color = Color3.new(0, 0.560784, 0.611765)
- Part430.Position = Vector3.new(-12, 5.4999752, -24.8999557)
- Part430.Color = Color3.new(0, 0.560784, 0.611765)
- Part431.Parent = Model0
- Part431.BrickColor = BrickColor.new("Bright bluish green")
- Part431.Anchored = true
- Part431.FormFactor = Enum.FormFactor.Symmetric
- Part431.Size = Vector3.new(1, 9, 1)
- Part431.CFrame = CFrame.new(44.7999229, 12.4999142, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part431.TopSurface = Enum.SurfaceType.Smooth
- Part431.Color = Color3.new(0, 0.560784, 0.611765)
- Part431.Position = Vector3.new(44.7999229, 12.4999142, -24.8999557)
- Part431.Color = Color3.new(0, 0.560784, 0.611765)
- Part432.Parent = Model0
- Part432.BrickColor = BrickColor.new("Bright bluish green")
- Part432.Anchored = true
- Part432.FormFactor = Enum.FormFactor.Symmetric
- Part432.Size = Vector3.new(15.2000008, 6.19999981, 1)
- Part432.CFrame = CFrame.new(36.6999474, 13.8999138, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part432.TopSurface = Enum.SurfaceType.Smooth
- Part432.Color = Color3.new(0, 0.560784, 0.611765)
- Part432.Position = Vector3.new(36.6999474, 13.8999138, -24.8999557)
- Part432.Color = Color3.new(0, 0.560784, 0.611765)
- Decal433.Parent = Part432
- Decal433.Texture = "http://www.roblox.com/asset/?id=190845890"
- Decal433.Face = Enum.NormalId.Back
- Part434.Parent = Model0
- Part434.BrickColor = BrickColor.new("Bright bluish green")
- Part434.Anchored = true
- Part434.FormFactor = Enum.FormFactor.Symmetric
- Part434.Size = Vector3.new(1, 9, 1)
- Part434.CFrame = CFrame.new(28.5999756, 12.4999142, -24.8999557, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part434.TopSurface = Enum.SurfaceType.Smooth
- Part434.Color = Color3.new(0, 0.560784, 0.611765)
- Part434.Position = Vector3.new(28.5999756, 12.4999142, -24.8999557)
- Part434.Color = Color3.new(0, 0.560784, 0.611765)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- end
- if string.sub(msg,1,7) == ";SFOTH1" then
- print("Loading Sword Fights On The Heights, this can take a while...")
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Model2 = Instance.new("Model")
- Part3 = Instance.new("Part")
- Part4 = Instance.new("Part")
- Part5 = Instance.new("Part")
- Part6 = Instance.new("Part")
- Part7 = Instance.new("Part")
- Part8 = Instance.new("Part")
- Part9 = Instance.new("Part")
- Part10 = Instance.new("Part")
- Part11 = Instance.new("Part")
- Part12 = Instance.new("Part")
- Part13 = Instance.new("Part")
- Part14 = Instance.new("Part")
- Part15 = Instance.new("Part")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- Part19 = Instance.new("Part")
- Part20 = Instance.new("Part")
- Part21 = Instance.new("Part")
- Part22 = Instance.new("Part")
- Part23 = Instance.new("Part")
- Model24 = Instance.new("Model")
- Part25 = Instance.new("Part")
- Part26 = Instance.new("Part")
- Part27 = Instance.new("Part")
- Part28 = Instance.new("Part")
- Part29 = Instance.new("Part")
- Part30 = Instance.new("Part")
- Part31 = Instance.new("Part")
- Part32 = Instance.new("Part")
- Part33 = Instance.new("Part")
- Part34 = Instance.new("Part")
- Part35 = Instance.new("Part")
- Part36 = Instance.new("Part")
- Part37 = Instance.new("Part")
- Part38 = Instance.new("Part")
- Part39 = Instance.new("Part")
- Part40 = Instance.new("Part")
- Part41 = Instance.new("Part")
- Part42 = Instance.new("Part")
- Part43 = Instance.new("Part")
- Part44 = Instance.new("Part")
- Part45 = Instance.new("Part")
- Part46 = Instance.new("Part")
- BodyPosition47 = Instance.new("BodyPosition")
- Script48 = Instance.new("Script")
- BodyGyro49 = Instance.new("BodyGyro")
- Part50 = Instance.new("Part")
- BodyPosition51 = Instance.new("BodyPosition")
- Script52 = Instance.new("Script")
- BodyGyro53 = Instance.new("BodyGyro")
- Part54 = Instance.new("Part")
- Part55 = Instance.new("Part")
- Part56 = Instance.new("Part")
- Part57 = Instance.new("Part")
- Part58 = Instance.new("Part")
- Part59 = Instance.new("Part")
- Part60 = Instance.new("Part")
- Part61 = Instance.new("Part")
- Part62 = Instance.new("Part")
- Part63 = Instance.new("Part")
- Part64 = Instance.new("Part")
- SpawnLocation65 = Instance.new("SpawnLocation")
- Decal66 = Instance.new("Decal")
- Script67 = Instance.new("Script")
- Part68 = Instance.new("Part")
- Script69 = Instance.new("Script")
- Part70 = Instance.new("Part")
- Model71 = Instance.new("Model")
- Part72 = Instance.new("Part")
- Part73 = Instance.new("Part")
- Part74 = Instance.new("Part")
- Part75 = Instance.new("Part")
- Part76 = Instance.new("Part")
- Part77 = Instance.new("Part")
- Part78 = Instance.new("Part")
- Part79 = Instance.new("Part")
- Part80 = Instance.new("Part")
- Part81 = Instance.new("Part")
- Part82 = Instance.new("Part")
- Part83 = Instance.new("Part")
- Part84 = Instance.new("Part")
- Part85 = Instance.new("Part")
- Part86 = Instance.new("Part")
- Part87 = Instance.new("Part")
- Part88 = Instance.new("Part")
- Model89 = Instance.new("Model")
- Part90 = Instance.new("Part")
- Part91 = Instance.new("Part")
- Part92 = Instance.new("Part")
- Part93 = Instance.new("Part")
- Part94 = Instance.new("Part")
- Part95 = Instance.new("Part")
- Part96 = Instance.new("Part")
- Part97 = Instance.new("Part")
- Part98 = Instance.new("Part")
- Part99 = Instance.new("Part")
- Part100 = Instance.new("Part")
- Part101 = Instance.new("Part")
- Part102 = Instance.new("Part")
- Part103 = Instance.new("Part")
- Part104 = Instance.new("Part")
- Part105 = Instance.new("Part")
- Part106 = Instance.new("Part")
- Part107 = Instance.new("Part")
- Part108 = Instance.new("Part")
- BodyPosition109 = Instance.new("BodyPosition")
- Script110 = Instance.new("Script")
- BodyGyro111 = Instance.new("BodyGyro")
- Part112 = Instance.new("Part")
- Part113 = Instance.new("Part")
- Part114 = Instance.new("Part")
- Part115 = Instance.new("Part")
- SpawnLocation116 = Instance.new("SpawnLocation")
- Decal117 = Instance.new("Decal")
- Script118 = Instance.new("Script")
- SpawnLocation119 = Instance.new("SpawnLocation")
- Decal120 = Instance.new("Decal")
- Script121 = Instance.new("Script")
- SpawnLocation122 = Instance.new("SpawnLocation")
- Decal123 = Instance.new("Decal")
- Script124 = Instance.new("Script")
- Model125 = Instance.new("Model")
- Part126 = Instance.new("Part")
- Part127 = Instance.new("Part")
- Part128 = Instance.new("Part")
- Part129 = Instance.new("Part")
- Part130 = Instance.new("Part")
- Part131 = Instance.new("Part")
- Part132 = Instance.new("Part")
- Part133 = Instance.new("Part")
- Part134 = Instance.new("Part")
- Part135 = Instance.new("Part")
- Part136 = Instance.new("Part")
- Part137 = Instance.new("Part")
- Part138 = Instance.new("Part")
- Part139 = Instance.new("Part")
- Part140 = Instance.new("Part")
- Part141 = Instance.new("Part")
- Part142 = Instance.new("Part")
- Part143 = Instance.new("Part")
- Part144 = Instance.new("Part")
- Part145 = Instance.new("Part")
- Part146 = Instance.new("Part")
- Part147 = Instance.new("Part")
- Part148 = Instance.new("Part")
- Script149 = Instance.new("Script")
- Part150 = Instance.new("Part")
- Script151 = Instance.new("Script")
- Part152 = Instance.new("Part")
- Script153 = Instance.new("Script")
- Part154 = Instance.new("Part")
- Part155 = Instance.new("Part")
- Part156 = Instance.new("Part")
- Script157 = Instance.new("Script")
- Part158 = Instance.new("Part")
- Script159 = Instance.new("Script")
- Part160 = Instance.new("Part")
- Script161 = Instance.new("Script")
- Part162 = Instance.new("Part")
- Script163 = Instance.new("Script")
- Part164 = Instance.new("Part")
- Part165 = Instance.new("Part")
- Part166 = Instance.new("Part")
- Part167 = Instance.new("Part")
- Script168 = Instance.new("Script")
- Part169 = Instance.new("Part")
- Script170 = Instance.new("Script")
- Part171 = Instance.new("Part")
- Script172 = Instance.new("Script")
- Part173 = Instance.new("Part")
- Part174 = Instance.new("Part")
- Part175 = Instance.new("Part")
- Part176 = Instance.new("Part")
- Part177 = Instance.new("Part")
- Script178 = Instance.new("Script")
- Part179 = Instance.new("Part")
- Script180 = Instance.new("Script")
- Part181 = Instance.new("Part")
- Script182 = Instance.new("Script")
- Part183 = Instance.new("Part")
- Part184 = Instance.new("Part")
- Part185 = Instance.new("Part")
- Part186 = Instance.new("Part")
- Part187 = Instance.new("Part")
- Script188 = Instance.new("Script")
- Part189 = Instance.new("Part")
- Script190 = Instance.new("Script")
- Part191 = Instance.new("Part")
- Script192 = Instance.new("Script")
- Part193 = Instance.new("Part")
- Part194 = Instance.new("Part")
- Script195 = Instance.new("Script")
- Part196 = Instance.new("Part")
- Script197 = Instance.new("Script")
- Part198 = Instance.new("Part")
- Script199 = Instance.new("Script")
- Part200 = Instance.new("Part")
- Script201 = Instance.new("Script")
- Part202 = Instance.new("Part")
- Script203 = Instance.new("Script")
- Part204 = Instance.new("Part")
- Script205 = Instance.new("Script")
- Part206 = Instance.new("Part")
- Script207 = Instance.new("Script")
- SpawnLocation208 = Instance.new("SpawnLocation")
- Decal209 = Instance.new("Decal")
- Script210 = Instance.new("Script")
- Part211 = Instance.new("Part")
- Script212 = Instance.new("Script")
- Part213 = Instance.new("Part")
- Script214 = Instance.new("Script")
- Part215 = Instance.new("Part")
- Script216 = Instance.new("Script")
- SpawnLocation217 = Instance.new("SpawnLocation")
- Decal218 = Instance.new("Decal")
- Script219 = Instance.new("Script")
- Model220 = Instance.new("Model")
- Part221 = Instance.new("Part")
- Part222 = Instance.new("Part")
- Script223 = Instance.new("Script")
- Part224 = Instance.new("Part")
- Part225 = Instance.new("Part")
- Part226 = Instance.new("Part")
- Model0.Name = "SFOTH"
- Model0.Parent = mas
- Part1.Name = "Floor"
- Part1.Parent = Model0
- Part1.BrickColor = BrickColor.new("Black")
- Part1.Transparency = 1
- Part1.Rotation = Vector3.new(-180, 0, -180)
- Part1.Anchored = true
- Part1.CanCollide = false
- Part1.Size = Vector3.new(512, 1.20000005, 512)
- Part1.CFrame = CFrame.new(54.3499908, 5.77932739, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part1.Position = Vector3.new(54.3499908, 5.77932739, -100.249992)
- Part1.Orientation = Vector3.new(0, 180, 0)
- Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Model2.Parent = Model0
- Part3.Name = "Smooth Block Model"
- Part3.Parent = Model2
- Part3.BrickColor = BrickColor.new("Reddish brown")
- Part3.Rotation = Vector3.new(-180, 0, -180)
- Part3.Size = Vector3.new(12, 1.20000005, 10)
- Part3.CFrame = CFrame.new(101.349991, 246.179306, -195.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part3.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part3.Position = Vector3.new(101.349991, 246.179306, -195.25)
- Part3.Orientation = Vector3.new(0, 180, 0)
- Part3.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part4.Name = "Smooth Block Model"
- Part4.Parent = Model2
- Part4.BrickColor = BrickColor.new("Reddish brown")
- Part4.Rotation = Vector3.new(-180, 0, -180)
- Part4.Size = Vector3.new(12, 1.20000005, 10)
- Part4.CFrame = CFrame.new(101.349991, 247.379288, -203.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part4.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part4.Position = Vector3.new(101.349991, 247.379288, -203.25)
- Part4.Orientation = Vector3.new(0, 180, 0)
- Part4.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part5.Name = "Smooth Block Model"
- Part5.Parent = Model2
- Part5.BrickColor = BrickColor.new("Reddish brown")
- Part5.Rotation = Vector3.new(-180, 0, -180)
- Part5.Size = Vector3.new(12, 1.20000005, 10)
- Part5.CFrame = CFrame.new(100.349991, 248.5793, -209.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part5.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part5.Position = Vector3.new(100.349991, 248.5793, -209.25)
- Part5.Orientation = Vector3.new(0, 180, 0)
- Part5.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part6.Name = "Smooth Block Model"
- Part6.Parent = Model2
- Part6.BrickColor = BrickColor.new("Reddish brown")
- Part6.Rotation = Vector3.new(-180, 0, -180)
- Part6.Size = Vector3.new(15, 1.20000005, 18)
- Part6.CFrame = CFrame.new(97.8499908, 249.779282, -218.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part6.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part6.Position = Vector3.new(97.8499908, 249.779282, -218.25)
- Part6.Orientation = Vector3.new(0, 180, 0)
- Part6.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part7.Name = "Smooth Block Model"
- Part7.Parent = Model2
- Part7.BrickColor = BrickColor.new("Reddish brown")
- Part7.Rotation = Vector3.new(-180, 0, -180)
- Part7.Size = Vector3.new(54, 243.600006, 51)
- Part7.CFrame = CFrame.new(63.3499908, 128.179352, -222.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part7.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part7.Position = Vector3.new(63.3499908, 128.179352, -222.75)
- Part7.Orientation = Vector3.new(0, 180, 0)
- Part7.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part8.Name = "Smooth Block Model"
- Part8.Parent = Model2
- Part8.BrickColor = BrickColor.new("Reddish brown")
- Part8.Rotation = Vector3.new(-180, 0, -180)
- Part8.Size = Vector3.new(11, 36, 7)
- Part8.CFrame = CFrame.new(75.8499908, 267.979309, -237.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part8.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part8.Position = Vector3.new(75.8499908, 267.979309, -237.75)
- Part8.Orientation = Vector3.new(0, 180, 0)
- Part8.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part9.Name = "Smooth Block Model"
- Part9.Parent = Model2
- Part9.BrickColor = BrickColor.new("Reddish brown")
- Part9.Rotation = Vector3.new(-180, 0, -180)
- Part9.Size = Vector3.new(11, 34.8000031, 2)
- Part9.CFrame = CFrame.new(75.8499908, 267.379333, -233.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part9.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part9.Position = Vector3.new(75.8499908, 267.379333, -233.25)
- Part9.Orientation = Vector3.new(0, 180, 0)
- Part9.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part10.Name = "Smooth Block Model"
- Part10.Parent = Model2
- Part10.BrickColor = BrickColor.new("Reddish brown")
- Part10.Rotation = Vector3.new(-180, 0, -180)
- Part10.Size = Vector3.new(11, 33.6000023, 2)
- Part10.CFrame = CFrame.new(75.8499908, 266.779358, -231.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part10.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part10.Position = Vector3.new(75.8499908, 266.779358, -231.25)
- Part10.Orientation = Vector3.new(0, 180, 0)
- Part10.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part11.Name = "Smooth Block Model"
- Part11.Parent = Model2
- Part11.BrickColor = BrickColor.new("Reddish brown")
- Part11.Rotation = Vector3.new(-180, 0, -180)
- Part11.Size = Vector3.new(11, 31.2000008, 5)
- Part11.CFrame = CFrame.new(75.8499908, 265.579346, -227.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part11.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part11.Position = Vector3.new(75.8499908, 265.579346, -227.75)
- Part11.Orientation = Vector3.new(0, 180, 0)
- Part11.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part12.Name = "Smooth Block Model"
- Part12.Parent = Model2
- Part12.BrickColor = BrickColor.new("Reddish brown")
- Part12.Rotation = Vector3.new(-180, 0, -180)
- Part12.Size = Vector3.new(10, 30.0000019, 3)
- Part12.CFrame = CFrame.new(75.3499908, 264.979309, -223.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part12.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part12.Position = Vector3.new(75.3499908, 264.979309, -223.75)
- Part12.Orientation = Vector3.new(0, 180, 0)
- Part12.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part13.Name = "Smooth Block Model"
- Part13.Parent = Model2
- Part13.BrickColor = BrickColor.new("Reddish brown")
- Part13.Rotation = Vector3.new(-180, 0, -180)
- Part13.Size = Vector3.new(10, 27.6000004, 3)
- Part13.CFrame = CFrame.new(75.3499908, 263.779358, -220.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part13.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part13.Position = Vector3.new(75.3499908, 263.779358, -220.75)
- Part13.Orientation = Vector3.new(0, 180, 0)
- Part13.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part14.Name = "Smooth Block Model"
- Part14.Parent = Model2
- Part14.BrickColor = BrickColor.new("Reddish brown")
- Part14.Rotation = Vector3.new(-180, 0, -180)
- Part14.Size = Vector3.new(10, 26.4000015, 2)
- Part14.CFrame = CFrame.new(75.3499908, 263.179321, -218.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part14.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part14.Position = Vector3.new(75.3499908, 263.179321, -218.25)
- Part14.Orientation = Vector3.new(0, 180, 0)
- Part14.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part15.Name = "Smooth Block Model"
- Part15.Parent = Model2
- Part15.BrickColor = BrickColor.new("Reddish brown")
- Part15.Rotation = Vector3.new(-180, 0, -180)
- Part15.Size = Vector3.new(12, 26.4000015, 8)
- Part15.CFrame = CFrame.new(73.3499908, 263.179321, -213.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part15.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part15.Position = Vector3.new(73.3499908, 263.179321, -213.25)
- Part15.Orientation = Vector3.new(0, 180, 0)
- Part15.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part16.Name = "Smooth Block Model"
- Part16.Parent = Model2
- Part16.BrickColor = BrickColor.new("Reddish brown")
- Part16.Rotation = Vector3.new(-180, 0, -180)
- Part16.Size = Vector3.new(12, 1.20000005, 10)
- Part16.CFrame = CFrame.new(71.3499908, 236.579361, -152.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part16.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part16.Position = Vector3.new(71.3499908, 236.579361, -152.25)
- Part16.Orientation = Vector3.new(0, 180, 0)
- Part16.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part17.Name = "Smooth Block Model"
- Part17.Parent = Model2
- Part17.BrickColor = BrickColor.new("Reddish brown")
- Part17.Rotation = Vector3.new(-180, 0, -180)
- Part17.Size = Vector3.new(12, 1.20000005, 10)
- Part17.CFrame = CFrame.new(75.3499908, 237.779312, -157.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part17.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part17.Position = Vector3.new(75.3499908, 237.779312, -157.25)
- Part17.Orientation = Vector3.new(0, 180, 0)
- Part17.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part18.Name = "Smooth Block Model"
- Part18.Parent = Model2
- Part18.BrickColor = BrickColor.new("Reddish brown")
- Part18.Rotation = Vector3.new(-180, 0, -180)
- Part18.Size = Vector3.new(12, 1.20000005, 10)
- Part18.CFrame = CFrame.new(80.3499908, 238.979324, -163.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part18.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part18.Position = Vector3.new(80.3499908, 238.979324, -163.25)
- Part18.Orientation = Vector3.new(0, 180, 0)
- Part18.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part19.Name = "Smooth Block Model"
- Part19.Parent = Model2
- Part19.BrickColor = BrickColor.new("Reddish brown")
- Part19.Rotation = Vector3.new(-180, 0, -180)
- Part19.Size = Vector3.new(12, 1.20000005, 10)
- Part19.CFrame = CFrame.new(84.3499908, 240.179306, -169.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part19.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part19.Position = Vector3.new(84.3499908, 240.179306, -169.25)
- Part19.Orientation = Vector3.new(0, 180, 0)
- Part19.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part20.Name = "Smooth Block Model"
- Part20.Parent = Model2
- Part20.BrickColor = BrickColor.new("Reddish brown")
- Part20.Rotation = Vector3.new(-180, 0, -180)
- Part20.Size = Vector3.new(12, 1.20000005, 10)
- Part20.CFrame = CFrame.new(88.3499908, 241.379318, -175.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part20.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part20.Position = Vector3.new(88.3499908, 241.379318, -175.25)
- Part20.Orientation = Vector3.new(0, 180, 0)
- Part20.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part21.Name = "Smooth Block Model"
- Part21.Parent = Model2
- Part21.BrickColor = BrickColor.new("Reddish brown")
- Part21.Rotation = Vector3.new(-180, 0, -180)
- Part21.Size = Vector3.new(12, 1.20000005, 10)
- Part21.CFrame = CFrame.new(93.3499908, 242.5793, -179.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part21.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part21.Position = Vector3.new(93.3499908, 242.5793, -179.25)
- Part21.Orientation = Vector3.new(0, 180, 0)
- Part21.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part22.Name = "Smooth Block Model"
- Part22.Parent = Model2
- Part22.BrickColor = BrickColor.new("Reddish brown")
- Part22.Rotation = Vector3.new(-180, 0, -180)
- Part22.Size = Vector3.new(12, 1.20000005, 10)
- Part22.CFrame = CFrame.new(96.3499908, 243.779312, -184.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part22.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part22.Position = Vector3.new(96.3499908, 243.779312, -184.25)
- Part22.Orientation = Vector3.new(0, 180, 0)
- Part22.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part23.Name = "Smooth Block Model"
- Part23.Parent = Model2
- Part23.BrickColor = BrickColor.new("Reddish brown")
- Part23.Rotation = Vector3.new(-180, 0, -180)
- Part23.Size = Vector3.new(12, 1.20000005, 10)
- Part23.CFrame = CFrame.new(98.3499908, 244.979294, -190.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part23.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part23.Position = Vector3.new(98.3499908, 244.979294, -190.25)
- Part23.Orientation = Vector3.new(0, 180, 0)
- Part23.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Model24.Parent = Model2
- Model24.PrimaryPart = Part29
- Part25.Name = "Smooth Block Model"
- Part25.Parent = Model24
- Part25.BrickColor = BrickColor.new("Bright red")
- Part25.Rotation = Vector3.new(-180, 0, -180)
- Part25.Size = Vector3.new(1, 2.4000001, 1)
- Part25.CFrame = CFrame.new(85.8499908, 251.579361, -131.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part25.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part25.Position = Vector3.new(85.8499908, 251.579361, -131.75)
- Part25.Orientation = Vector3.new(0, 180, 0)
- Part25.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part26.Name = "Smooth Block Model"
- Part26.Parent = Model24
- Part26.BrickColor = BrickColor.new("Bright red")
- Part26.Rotation = Vector3.new(-180, 0, -180)
- Part26.Size = Vector3.new(1, 2.4000001, 1)
- Part26.CFrame = CFrame.new(85.8499908, 251.579361, -128.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part26.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part26.Position = Vector3.new(85.8499908, 251.579361, -128.75)
- Part26.Orientation = Vector3.new(0, 180, 0)
- Part26.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part27.Name = "Smooth Block Model"
- Part27.Parent = Model24
- Part27.BrickColor = BrickColor.new("Bright red")
- Part27.Rotation = Vector3.new(0, -90, 0)
- Part27.Size = Vector3.new(1, 2.4000001, 1)
- Part27.CFrame = CFrame.new(79.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part27.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part27.Position = Vector3.new(79.8499908, 251.579361, -131.75)
- Part27.Orientation = Vector3.new(0, -90, 0)
- Part27.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part28.Name = "Smooth Block Model"
- Part28.Parent = Model24
- Part28.BrickColor = BrickColor.new("Bright red")
- Part28.Rotation = Vector3.new(0, -90, 0)
- Part28.Size = Vector3.new(1, 2.4000001, 1)
- Part28.CFrame = CFrame.new(82.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part28.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part28.Position = Vector3.new(82.8499908, 251.579361, -131.75)
- Part28.Orientation = Vector3.new(0, -90, 0)
- Part28.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part29.Name = "Smooth Block Model"
- Part29.Parent = Model24
- Part29.BrickColor = BrickColor.new("Black")
- Part29.Rotation = Vector3.new(-180, 0, -180)
- Part29.FormFactor = Enum.FormFactor.Plate
- Part29.Size = Vector3.new(22, 0.800000012, 1)
- Part29.CFrame = CFrame.new(75.3499908, 253.179337, -131.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part29.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part29.Position = Vector3.new(75.3499908, 253.179337, -131.75)
- Part29.Orientation = Vector3.new(0, 180, 0)
- Part29.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part30.Name = "Smooth Block Model"
- Part30.Parent = Model24
- Part30.BrickColor = BrickColor.new("Bright red")
- Part30.Rotation = Vector3.new(-180, 0, -180)
- Part30.Size = Vector3.new(1, 2.4000001, 1)
- Part30.CFrame = CFrame.new(85.8499908, 251.579361, -125.749992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part30.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part30.Position = Vector3.new(85.8499908, 251.579361, -125.749992)
- Part30.Orientation = Vector3.new(0, 180, 0)
- Part30.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part31.Name = "Smooth Block Model"
- Part31.Parent = Model24
- Part31.BrickColor = BrickColor.new("Bright red")
- Part31.Rotation = Vector3.new(-180, 0, -180)
- Part31.Size = Vector3.new(1, 2.4000001, 1)
- Part31.CFrame = CFrame.new(85.8499908, 251.579361, -122.749992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part31.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part31.Position = Vector3.new(85.8499908, 251.579361, -122.749992)
- Part31.Orientation = Vector3.new(0, 180, 0)
- Part31.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part32.Name = "Smooth Block Model"
- Part32.Parent = Model24
- Part32.BrickColor = BrickColor.new("Bright red")
- Part32.Rotation = Vector3.new(0, -90, 0)
- Part32.Size = Vector3.new(1, 2.4000001, 1)
- Part32.CFrame = CFrame.new(73.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part32.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part32.Position = Vector3.new(73.8499908, 251.579361, -131.75)
- Part32.Orientation = Vector3.new(0, -90, 0)
- Part32.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part33.Name = "Smooth Block Model"
- Part33.Parent = Model24
- Part33.BrickColor = BrickColor.new("Bright red")
- Part33.Rotation = Vector3.new(0, -90, 0)
- Part33.Size = Vector3.new(1, 2.4000001, 1)
- Part33.CFrame = CFrame.new(76.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part33.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part33.Position = Vector3.new(76.8499908, 251.579361, -131.75)
- Part33.Orientation = Vector3.new(0, -90, 0)
- Part33.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part34.Name = "Smooth Block Model"
- Part34.Parent = Model24
- Part34.BrickColor = BrickColor.new("Bright red")
- Part34.Rotation = Vector3.new(0, -90, 0)
- Part34.Size = Vector3.new(1, 2.4000001, 1)
- Part34.CFrame = CFrame.new(70.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part34.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part34.Position = Vector3.new(70.8499908, 251.579361, -131.75)
- Part34.Orientation = Vector3.new(0, -90, 0)
- Part34.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part35.Name = "Smooth Block Model"
- Part35.Parent = Model24
- Part35.BrickColor = BrickColor.new("Bright red")
- Part35.Rotation = Vector3.new(0, -90, 0)
- Part35.Size = Vector3.new(1, 2.4000001, 1)
- Part35.CFrame = CFrame.new(67.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part35.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part35.Position = Vector3.new(67.8499908, 251.579361, -131.75)
- Part35.Orientation = Vector3.new(0, -90, 0)
- Part35.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part36.Name = "Smooth Block Model"
- Part36.Parent = Model24
- Part36.BrickColor = BrickColor.new("Black")
- Part36.Rotation = Vector3.new(0, -90, 0)
- Part36.FormFactor = Enum.FormFactor.Plate
- Part36.Size = Vector3.new(21, 0.800000012, 1)
- Part36.CFrame = CFrame.new(85.8499908, 253.179337, -120.749992, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part36.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part36.Position = Vector3.new(85.8499908, 253.179337, -120.749992)
- Part36.Orientation = Vector3.new(0, -90, 0)
- Part36.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part37.Name = "Smooth Block Model"
- Part37.Parent = Model24
- Part37.BrickColor = BrickColor.new("Bright red")
- Part37.Rotation = Vector3.new(-180, 0, -180)
- Part37.Size = Vector3.new(1, 2.4000001, 1)
- Part37.CFrame = CFrame.new(85.8499908, 251.579361, -119.749992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part37.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part37.Position = Vector3.new(85.8499908, 251.579361, -119.749992)
- Part37.Orientation = Vector3.new(0, 180, 0)
- Part37.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part38.Name = "Smooth Block Model"
- Part38.Parent = Model24
- Part38.BrickColor = BrickColor.new("Bright red")
- Part38.Rotation = Vector3.new(0, -90, 0)
- Part38.Size = Vector3.new(1, 2.4000001, 1)
- Part38.CFrame = CFrame.new(64.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part38.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part38.Position = Vector3.new(64.8499908, 251.579361, -131.75)
- Part38.Orientation = Vector3.new(0, -90, 0)
- Part38.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part39.Name = "Smooth Block Model"
- Part39.Parent = Model24
- Part39.BrickColor = BrickColor.new("Bright red")
- Part39.Rotation = Vector3.new(-180, 0, -180)
- Part39.Size = Vector3.new(1, 2.4000001, 1)
- Part39.CFrame = CFrame.new(85.8499908, 251.579361, -116.749992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part39.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part39.Position = Vector3.new(85.8499908, 251.579361, -116.749992)
- Part39.Orientation = Vector3.new(0, 180, 0)
- Part39.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part40.Name = "Smooth Block Model"
- Part40.Parent = Model24
- Part40.BrickColor = BrickColor.new("Bright red")
- Part40.Rotation = Vector3.new(-180, 0, -180)
- Part40.Size = Vector3.new(1, 2.4000001, 1)
- Part40.CFrame = CFrame.new(85.8499908, 251.579361, -113.749992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part40.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part40.Position = Vector3.new(85.8499908, 251.579361, -113.749992)
- Part40.Orientation = Vector3.new(0, 180, 0)
- Part40.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part41.Name = "Smooth Block Model"
- Part41.Parent = Model24
- Part41.BrickColor = BrickColor.new("Bright red")
- Part41.Rotation = Vector3.new(-180, 0, -180)
- Part41.Size = Vector3.new(1, 2.4000001, 1)
- Part41.CFrame = CFrame.new(85.8499908, 251.579361, -110.749992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part41.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part41.Position = Vector3.new(85.8499908, 251.579361, -110.749992)
- Part41.Orientation = Vector3.new(0, 180, 0)
- Part41.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part42.Name = "Smooth Block Model"
- Part42.Parent = Model2
- Part42.BrickColor = BrickColor.new("Reddish brown")
- Part42.Rotation = Vector3.new(-180, 0, -180)
- Part42.Size = Vector3.new(5, 25.2000008, 10)
- Part42.CFrame = CFrame.new(64.8499908, 262.579346, -212.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part42.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part42.Position = Vector3.new(64.8499908, 262.579346, -212.25)
- Part42.Orientation = Vector3.new(0, 180, 0)
- Part42.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part43.Name = "Smooth Block Model"
- Part43.Parent = Model2
- Part43.BrickColor = BrickColor.new("Reddish brown")
- Part43.Rotation = Vector3.new(-180, 0, -180)
- Part43.Size = Vector3.new(3, 4.80000019, 10)
- Part43.CFrame = CFrame.new(65.8499908, 252.379349, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part43.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part43.Position = Vector3.new(65.8499908, 252.379349, -202.25)
- Part43.Orientation = Vector3.new(0, 180, 0)
- Part43.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part44.Name = "Smooth Block Model"
- Part44.Parent = Model2
- Part44.BrickColor = BrickColor.new("Reddish brown")
- Part44.Rotation = Vector3.new(-180, 0, -180)
- Part44.Size = Vector3.new(3, 2.4000001, 12)
- Part44.CFrame = CFrame.new(68.8499908, 251.179337, -203.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part44.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part44.Position = Vector3.new(68.8499908, 251.179337, -203.25)
- Part44.Orientation = Vector3.new(0, 180, 0)
- Part44.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part45.Name = "Smooth Block Model"
- Part45.Parent = Model2
- Part45.BrickColor = BrickColor.new("Reddish brown")
- Part45.Rotation = Vector3.new(-180, 0, -180)
- Part45.Size = Vector3.new(12, 1.20000005, 10)
- Part45.CFrame = CFrame.new(69.3499908, 235.379318, -147.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part45.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part45.Position = Vector3.new(69.3499908, 235.379318, -147.25)
- Part45.Orientation = Vector3.new(0, 180, 0)
- Part45.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part46.Name = "Wobbly"
- Part46.Parent = Model2
- Part46.BrickColor = BrickColor.new("Bright orange")
- Part46.Rotation = Vector3.new(-180, 0, 180)
- Part46.RotVelocity = Vector3.new(-1.84176933e-24, 1.21307984e-20, -1.84176933e-24)
- Part46.Velocity = Vector3.new(-0.103950754, 0.0255294144, -0.11278569)
- Part46.Size = Vector3.new(18, 1.20000005, 18)
- Part46.CFrame = CFrame.new(133.469498, 250.74501, -100.119301, -1, -1.29652079e-20, -1.04116951e-17, -1.29652079e-20, 1, 1.29652079e-20, 1.04116951e-17, 1.29652079e-20, -1)
- Part46.Color = Color3.new(0.854902, 0.521569, 0.254902)
- Part46.Position = Vector3.new(133.469498, 250.74501, -100.119301)
- Part46.Orientation = Vector3.new(0, -180, 0)
- Part46.Color = Color3.new(0.854902, 0.521569, 0.254902)
- BodyPosition47.Parent = Part46
- BodyPosition47.P = 100000
- BodyPosition47.D = 125000
- BodyPosition47.position = Vector3.new(79.1194916, 245.60498, 0.130693749)
- BodyPosition47.Position = Vector3.new(79.1194916, 245.60498, 0.130693749)
- Script48.Parent = Part46
- table.insert(cors,sandbox(Script48,function()
- script.Parent.BodyPosition.position = script.Parent.Position
- end))
- BodyGyro49.Parent = Part46
- BodyGyro49.P = 1
- BodyGyro49.D = 2
- Part50.Name = "Wobbly"
- Part50.Parent = Model2
- Part50.BrickColor = BrickColor.new("Bright orange")
- Part50.Rotation = Vector3.new(-180, 0, 180)
- Part50.RotVelocity = Vector3.new(-1.84176933e-24, 1.21307984e-20, -1.84176933e-24)
- Part50.Velocity = Vector3.new(-0.103950754, 0.0255294144, -0.11278569)
- Part50.Size = Vector3.new(18, 1.20000005, 18)
- Part50.CFrame = CFrame.new(153.469498, 250.74501, -100.119301, -1, -1.29652079e-20, -1.04116951e-17, -1.29652079e-20, 1, 1.29652079e-20, 1.04116951e-17, 1.29652079e-20, -1)
- Part50.Color = Color3.new(0.854902, 0.521569, 0.254902)
- Part50.Position = Vector3.new(153.469498, 250.74501, -100.119301)
- Part50.Orientation = Vector3.new(0, -180, 0)
- Part50.Color = Color3.new(0.854902, 0.521569, 0.254902)
- BodyPosition51.Parent = Part50
- BodyPosition51.P = 100000
- BodyPosition51.D = 125000
- BodyPosition51.position = Vector3.new(99.1194916, 245.60498, 0.130693749)
- BodyPosition51.Position = Vector3.new(99.1194916, 245.60498, 0.130693749)
- Script52.Parent = Part50
- table.insert(cors,sandbox(Script52,function()
- script.Parent.BodyPosition.position = script.Parent.Position
- end))
- BodyGyro53.Parent = Part50
- BodyGyro53.P = 1
- BodyGyro53.D = 2
- Part54.Name = "Smooth Block Model"
- Part54.Parent = Model2
- Part54.BrickColor = BrickColor.new("Reddish brown")
- Part54.Rotation = Vector3.new(-180, 0, -180)
- Part54.Size = Vector3.new(32, 37.2000008, 24)
- Part54.CFrame = CFrame.new(54.3499908, 268.579346, -229.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part54.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part54.Position = Vector3.new(54.3499908, 268.579346, -229.25)
- Part54.Orientation = Vector3.new(0, 180, 0)
- Part54.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part55.Name = "Smooth Block Model"
- Part55.Parent = Model2
- Part55.BrickColor = BrickColor.new("Reddish brown")
- Part55.Rotation = Vector3.new(-180, 0, -180)
- Part55.Size = Vector3.new(2, 22.8000011, 10)
- Part55.CFrame = CFrame.new(61.3499908, 261.379333, -212.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part55.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part55.Position = Vector3.new(61.3499908, 261.379333, -212.25)
- Part55.Orientation = Vector3.new(0, 180, 0)
- Part55.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part56.Name = "Smooth Block Model"
- Part56.Parent = Model2
- Part56.BrickColor = BrickColor.new("Reddish brown")
- Part56.Rotation = Vector3.new(-180, 0, -180)
- Part56.Size = Vector3.new(3, 21.6000004, 10)
- Part56.CFrame = CFrame.new(58.8499908, 260.779358, -212.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part56.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part56.Position = Vector3.new(58.8499908, 260.779358, -212.25)
- Part56.Orientation = Vector3.new(0, 180, 0)
- Part56.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part57.Name = "Smooth Block Model"
- Part57.Parent = Model2
- Part57.BrickColor = BrickColor.new("Reddish brown")
- Part57.Rotation = Vector3.new(-180, 0, -180)
- Part57.Size = Vector3.new(5, 20.4000015, 10)
- Part57.CFrame = CFrame.new(54.8499908, 260.179321, -212.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part57.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part57.Position = Vector3.new(54.8499908, 260.179321, -212.25)
- Part57.Orientation = Vector3.new(0, 180, 0)
- Part57.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part58.Name = "Smooth Block Model"
- Part58.Parent = Model2
- Part58.BrickColor = BrickColor.new("Reddish brown")
- Part58.Rotation = Vector3.new(-180, 0, -180)
- Part58.Size = Vector3.new(5, 18, 10)
- Part58.CFrame = CFrame.new(49.8499908, 258.979309, -212.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part58.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part58.Position = Vector3.new(49.8499908, 258.979309, -212.25)
- Part58.Orientation = Vector3.new(0, 180, 0)
- Part58.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part59.Name = "Smooth Block Model"
- Part59.Parent = Model2
- Part59.BrickColor = BrickColor.new("Reddish brown")
- Part59.Rotation = Vector3.new(-180, 0, -180)
- Part59.Size = Vector3.new(2, 12, 10)
- Part59.CFrame = CFrame.new(51.3499908, 255.979324, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part59.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part59.Position = Vector3.new(51.3499908, 255.979324, -202.25)
- Part59.Orientation = Vector3.new(0, 180, 0)
- Part59.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part60.Name = "Smooth Block Model"
- Part60.Parent = Model2
- Part60.BrickColor = BrickColor.new("Reddish brown")
- Part60.Rotation = Vector3.new(-180, 0, -180)
- Part60.Size = Vector3.new(2, 9.60000038, 10)
- Part60.CFrame = CFrame.new(53.3499908, 254.779343, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part60.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part60.Position = Vector3.new(53.3499908, 254.779343, -202.25)
- Part60.Orientation = Vector3.new(0, 180, 0)
- Part60.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part61.Name = "Smooth Block Model"
- Part61.Parent = Model2
- Part61.BrickColor = BrickColor.new("Reddish brown")
- Part61.Rotation = Vector3.new(-180, 0, -180)
- Part61.Size = Vector3.new(2, 8.40000057, 10)
- Part61.CFrame = CFrame.new(55.3499908, 254.179337, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part61.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part61.Position = Vector3.new(55.3499908, 254.179337, -202.25)
- Part61.Orientation = Vector3.new(0, 180, 0)
- Part61.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part62.Name = "Smooth Block Model"
- Part62.Parent = Model2
- Part62.BrickColor = BrickColor.new("Reddish brown")
- Part62.Rotation = Vector3.new(-180, 0, -180)
- Part62.Size = Vector3.new(4, 7.20000029, 10)
- Part62.CFrame = CFrame.new(58.3499908, 253.579361, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part62.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part62.Position = Vector3.new(58.3499908, 253.579361, -202.25)
- Part62.Orientation = Vector3.new(0, 180, 0)
- Part62.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part63.Name = "Smooth Block Model"
- Part63.Parent = Model2
- Part63.BrickColor = BrickColor.new("Reddish brown")
- Part63.Rotation = Vector3.new(-180, 0, -180)
- Part63.Size = Vector3.new(4, 6, 10)
- Part63.CFrame = CFrame.new(62.3499908, 252.979324, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part63.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part63.Position = Vector3.new(62.3499908, 252.979324, -202.25)
- Part63.Orientation = Vector3.new(0, 180, 0)
- Part63.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part64.Name = "Smooth Block Model"
- Part64.Parent = Model2
- Part64.BrickColor = BrickColor.new("Reddish brown")
- Part64.Rotation = Vector3.new(-180, 0, -180)
- Part64.Size = Vector3.new(42, 20.4000015, 12)
- Part64.CFrame = CFrame.new(55.3499908, 224.579361, -138.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part64.FrontSurface = Enum.SurfaceType.Weld
- Part64.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part64.Position = Vector3.new(55.3499908, 224.579361, -138.25)
- Part64.Orientation = Vector3.new(0, 180, 0)
- Part64.Color = Color3.new(0.411765, 0.25098, 0.156863)
- SpawnLocation65.Parent = Model2
- SpawnLocation65.BrickColor = BrickColor.new("Bright yellow")
- SpawnLocation65.Rotation = Vector3.new(-180, 0, -180)
- SpawnLocation65.Anchored = true
- SpawnLocation65.Size = Vector3.new(6, 1.20000005, 6)
- SpawnLocation65.CFrame = CFrame.new(80.3499908, 250.979324, -126.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- SpawnLocation65.BackSurface = Enum.SurfaceType.Weld
- SpawnLocation65.BottomSurface = Enum.SurfaceType.Weld
- SpawnLocation65.FrontSurface = Enum.SurfaceType.Weld
- SpawnLocation65.LeftSurface = Enum.SurfaceType.Weld
- SpawnLocation65.RightSurface = Enum.SurfaceType.Weld
- SpawnLocation65.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation65.Duration = 3
- SpawnLocation65.Color = Color3.new(0.960784, 0.803922, 0.188235)
- SpawnLocation65.Position = Vector3.new(80.3499908, 250.979324, -126.249992)
- SpawnLocation65.Orientation = Vector3.new(0, 180, 0)
- SpawnLocation65.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Decal66.Parent = SpawnLocation65
- Decal66.Texture = "rbxasset://Textures/SpawnLocation.png"
- Decal66.Face = Enum.NormalId.Top
- Script67.Parent = SpawnLocation65
- table.insert(cors,sandbox(Script67,function()
- function onTouch(part) --Finding Humanoid is useless...
- part.Parent:findFirstChild("Head").CanCollide = true
- part.Parent:findFirstChild("Torso").CanCollide = true
- part.Parent:findFirstChild("Left Arm").CanCollide = true
- part.Parent:findFirstChild("Right Arm").CanCollide = true
- part.Parent:findFirstChild("Left Leg").CanCollide = true
- part.Parent:findFirstChild("Right Leg").CanCollide = true
- end
- script.Parent.Touched:connect(onTouch)
- end))
- Part68.Name = "Smooth Block Model"
- Part68.Parent = Model2
- Part68.BrickColor = BrickColor.new("Reddish brown")
- Part68.Rotation = Vector3.new(-180, 0, -180)
- Part68.Anchored = true
- Part68.Size = Vector3.new(64, 244, 64)
- Part68.CFrame = CFrame.new(54.3499908, 128.379333, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part68.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part68.Position = Vector3.new(54.3499908, 128.379333, -100.249992)
- Part68.Orientation = Vector3.new(0, 180, 0)
- Part68.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Script69.Parent = Part68
- table.insert(cors,sandbox(Script69,function()
- function onTouch(part) --Finding Humanoid is useless...
- part.Parent:findFirstChild("Head").CanCollide = true
- part.Parent:findFirstChild("Torso").CanCollide = true
- part.Parent:findFirstChild("Left Arm").CanCollide = true
- part.Parent:findFirstChild("Right Arm").CanCollide = true
- part.Parent:findFirstChild("Left Leg").CanCollide = true
- part.Parent:findFirstChild("Right Leg").CanCollide = true
- end
- script.Parent.Touched:connect(onTouch)
- end))
- Part70.Name = "Smooth Block Model"
- Part70.Parent = Model2
- Part70.BrickColor = BrickColor.new("Reddish brown")
- Part70.Rotation = Vector3.new(-180, 0, -180)
- Part70.Size = Vector3.new(32, 244.800003, 32)
- Part70.CFrame = CFrame.new(180.349991, 128.779343, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part70.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part70.Position = Vector3.new(180.349991, 128.779343, -100.249992)
- Part70.Orientation = Vector3.new(0, 180, 0)
- Part70.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Model71.Parent = Model2
- Model71.PrimaryPart = Part76
- Part72.Name = "Smooth Block Model"
- Part72.Parent = Model71
- Part72.BrickColor = BrickColor.new("Bright red")
- Part72.Rotation = Vector3.new(0, 90, 0)
- Part72.Size = Vector3.new(1, 2.4000001, 1)
- Part72.CFrame = CFrame.new(85.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part72.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part72.Position = Vector3.new(85.8499908, 251.579361, -68.75)
- Part72.Orientation = Vector3.new(0, 90, 0)
- Part72.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part73.Name = "Smooth Block Model"
- Part73.Parent = Model71
- Part73.BrickColor = BrickColor.new("Bright red")
- Part73.Rotation = Vector3.new(0, 90, 0)
- Part73.Size = Vector3.new(1, 2.4000001, 1)
- Part73.CFrame = CFrame.new(82.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part73.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part73.Position = Vector3.new(82.8499908, 251.579361, -68.75)
- Part73.Orientation = Vector3.new(0, 90, 0)
- Part73.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part74.Name = "Smooth Block Model"
- Part74.Parent = Model71
- Part74.BrickColor = BrickColor.new("Bright red")
- Part74.Rotation = Vector3.new(-180, 0, -180)
- Part74.Size = Vector3.new(1, 2.4000001, 1)
- Part74.CFrame = CFrame.new(85.8499908, 251.579361, -74.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part74.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part74.Position = Vector3.new(85.8499908, 251.579361, -74.75)
- Part74.Orientation = Vector3.new(0, 180, 0)
- Part74.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part75.Name = "Smooth Block Model"
- Part75.Parent = Model71
- Part75.BrickColor = BrickColor.new("Bright red")
- Part75.Rotation = Vector3.new(-180, 0, -180)
- Part75.Size = Vector3.new(1, 2.4000001, 1)
- Part75.CFrame = CFrame.new(85.8499908, 251.579361, -71.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part75.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part75.Position = Vector3.new(85.8499908, 251.579361, -71.75)
- Part75.Orientation = Vector3.new(0, 180, 0)
- Part75.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part76.Name = "Smooth Block Model"
- Part76.Parent = Model71
- Part76.BrickColor = BrickColor.new("Black")
- Part76.Rotation = Vector3.new(0, 90, 0)
- Part76.FormFactor = Enum.FormFactor.Plate
- Part76.Size = Vector3.new(22, 0.800000012, 1)
- Part76.CFrame = CFrame.new(85.8499908, 253.179337, -79.25, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part76.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part76.Position = Vector3.new(85.8499908, 253.179337, -79.25)
- Part76.Orientation = Vector3.new(0, 90, 0)
- Part76.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part77.Name = "Smooth Block Model"
- Part77.Parent = Model71
- Part77.BrickColor = BrickColor.new("Bright red")
- Part77.Rotation = Vector3.new(0, 90, 0)
- Part77.Size = Vector3.new(1, 2.4000001, 1)
- Part77.CFrame = CFrame.new(79.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part77.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part77.Position = Vector3.new(79.8499908, 251.579361, -68.75)
- Part77.Orientation = Vector3.new(0, 90, 0)
- Part77.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part78.Name = "Smooth Block Model"
- Part78.Parent = Model71
- Part78.BrickColor = BrickColor.new("Bright red")
- Part78.Rotation = Vector3.new(0, 90, 0)
- Part78.Size = Vector3.new(1, 2.4000001, 1)
- Part78.CFrame = CFrame.new(76.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part78.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part78.Position = Vector3.new(76.8499908, 251.579361, -68.75)
- Part78.Orientation = Vector3.new(0, 90, 0)
- Part78.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part79.Name = "Smooth Block Model"
- Part79.Parent = Model71
- Part79.BrickColor = BrickColor.new("Bright red")
- Part79.Rotation = Vector3.new(-180, 0, -180)
- Part79.Size = Vector3.new(1, 2.4000001, 1)
- Part79.CFrame = CFrame.new(85.8499908, 251.579361, -80.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part79.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part79.Position = Vector3.new(85.8499908, 251.579361, -80.75)
- Part79.Orientation = Vector3.new(0, 180, 0)
- Part79.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part80.Name = "Smooth Block Model"
- Part80.Parent = Model71
- Part80.BrickColor = BrickColor.new("Bright red")
- Part80.Rotation = Vector3.new(-180, 0, -180)
- Part80.Size = Vector3.new(1, 2.4000001, 1)
- Part80.CFrame = CFrame.new(85.8499908, 251.579361, -77.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part80.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part80.Position = Vector3.new(85.8499908, 251.579361, -77.75)
- Part80.Orientation = Vector3.new(0, 180, 0)
- Part80.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part81.Name = "Smooth Block Model"
- Part81.Parent = Model71
- Part81.BrickColor = BrickColor.new("Bright red")
- Part81.Rotation = Vector3.new(-180, 0, -180)
- Part81.Size = Vector3.new(1, 2.4000001, 1)
- Part81.CFrame = CFrame.new(85.8499908, 251.579361, -83.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part81.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part81.Position = Vector3.new(85.8499908, 251.579361, -83.75)
- Part81.Orientation = Vector3.new(0, 180, 0)
- Part81.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part82.Name = "Smooth Block Model"
- Part82.Parent = Model71
- Part82.BrickColor = BrickColor.new("Bright red")
- Part82.Rotation = Vector3.new(-180, 0, -180)
- Part82.Size = Vector3.new(1, 2.4000001, 1)
- Part82.CFrame = CFrame.new(85.8499908, 251.579361, -86.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part82.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part82.Position = Vector3.new(85.8499908, 251.579361, -86.75)
- Part82.Orientation = Vector3.new(0, 180, 0)
- Part82.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part83.Name = "Smooth Block Model"
- Part83.Parent = Model71
- Part83.BrickColor = BrickColor.new("Black")
- Part83.Rotation = Vector3.new(-180, 0, -180)
- Part83.FormFactor = Enum.FormFactor.Plate
- Part83.Size = Vector3.new(21, 0.800000012, 1)
- Part83.CFrame = CFrame.new(74.8499908, 253.179337, -68.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part83.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part83.Position = Vector3.new(74.8499908, 253.179337, -68.75)
- Part83.Orientation = Vector3.new(0, 180, 0)
- Part83.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part84.Name = "Smooth Block Model"
- Part84.Parent = Model71
- Part84.BrickColor = BrickColor.new("Bright red")
- Part84.Rotation = Vector3.new(0, 90, 0)
- Part84.Size = Vector3.new(1, 2.4000001, 1)
- Part84.CFrame = CFrame.new(73.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part84.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part84.Position = Vector3.new(73.8499908, 251.579361, -68.75)
- Part84.Orientation = Vector3.new(0, 90, 0)
- Part84.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part85.Name = "Smooth Block Model"
- Part85.Parent = Model71
- Part85.BrickColor = BrickColor.new("Bright red")
- Part85.Rotation = Vector3.new(-180, 0, -180)
- Part85.Size = Vector3.new(1, 2.4000001, 1)
- Part85.CFrame = CFrame.new(85.8499908, 251.579361, -89.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part85.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part85.Position = Vector3.new(85.8499908, 251.579361, -89.75)
- Part85.Orientation = Vector3.new(0, 180, 0)
- Part85.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part86.Name = "Smooth Block Model"
- Part86.Parent = Model71
- Part86.BrickColor = BrickColor.new("Bright red")
- Part86.Rotation = Vector3.new(0, 90, 0)
- Part86.Size = Vector3.new(1, 2.4000001, 1)
- Part86.CFrame = CFrame.new(70.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part86.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part86.Position = Vector3.new(70.8499908, 251.579361, -68.75)
- Part86.Orientation = Vector3.new(0, 90, 0)
- Part86.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part87.Name = "Smooth Block Model"
- Part87.Parent = Model71
- Part87.BrickColor = BrickColor.new("Bright red")
- Part87.Rotation = Vector3.new(0, 90, 0)
- Part87.Size = Vector3.new(1, 2.4000001, 1)
- Part87.CFrame = CFrame.new(67.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part87.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part87.Position = Vector3.new(67.8499908, 251.579361, -68.75)
- Part87.Orientation = Vector3.new(0, 90, 0)
- Part87.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part88.Name = "Smooth Block Model"
- Part88.Parent = Model71
- Part88.BrickColor = BrickColor.new("Bright red")
- Part88.Rotation = Vector3.new(0, 90, 0)
- Part88.Size = Vector3.new(1, 2.4000001, 1)
- Part88.CFrame = CFrame.new(64.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part88.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part88.Position = Vector3.new(64.8499908, 251.579361, -68.75)
- Part88.Orientation = Vector3.new(0, 90, 0)
- Part88.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Model89.Parent = Model2
- Model89.PrimaryPart = Part94
- Part90.Name = "Smooth Block Model"
- Part90.Parent = Model89
- Part90.BrickColor = BrickColor.new("Bright red")
- Part90.Size = Vector3.new(1, 2.4000001, 1)
- Part90.CFrame = CFrame.new(22.8499908, 251.579361, -68.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part90.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part90.Position = Vector3.new(22.8499908, 251.579361, -68.75)
- Part90.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part91.Name = "Smooth Block Model"
- Part91.Parent = Model89
- Part91.BrickColor = BrickColor.new("Bright red")
- Part91.Size = Vector3.new(1, 2.4000001, 1)
- Part91.CFrame = CFrame.new(22.8499908, 251.579361, -71.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part91.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part91.Position = Vector3.new(22.8499908, 251.579361, -71.75)
- Part91.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part92.Name = "Smooth Block Model"
- Part92.Parent = Model89
- Part92.BrickColor = BrickColor.new("Bright red")
- Part92.Rotation = Vector3.new(0, 90, 0)
- Part92.Size = Vector3.new(1, 2.4000001, 1)
- Part92.CFrame = CFrame.new(28.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part92.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part92.Position = Vector3.new(28.8499908, 251.579361, -68.75)
- Part92.Orientation = Vector3.new(0, 90, 0)
- Part92.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part93.Name = "Smooth Block Model"
- Part93.Parent = Model89
- Part93.BrickColor = BrickColor.new("Bright red")
- Part93.Rotation = Vector3.new(0, 90, 0)
- Part93.Size = Vector3.new(1, 2.4000001, 1)
- Part93.CFrame = CFrame.new(25.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part93.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part93.Position = Vector3.new(25.8499908, 251.579361, -68.75)
- Part93.Orientation = Vector3.new(0, 90, 0)
- Part93.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part94.Name = "Smooth Block Model"
- Part94.Parent = Model89
- Part94.BrickColor = BrickColor.new("Black")
- Part94.FormFactor = Enum.FormFactor.Plate
- Part94.Size = Vector3.new(22, 0.800000012, 1)
- Part94.CFrame = CFrame.new(33.3499908, 253.179337, -68.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part94.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part94.Position = Vector3.new(33.3499908, 253.179337, -68.75)
- Part94.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part95.Name = "Smooth Block Model"
- Part95.Parent = Model89
- Part95.BrickColor = BrickColor.new("Bright red")
- Part95.Size = Vector3.new(1, 2.4000001, 1)
- Part95.CFrame = CFrame.new(22.8499908, 251.579361, -74.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part95.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part95.Position = Vector3.new(22.8499908, 251.579361, -74.75)
- Part95.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part96.Name = "Smooth Block Model"
- Part96.Parent = Model89
- Part96.BrickColor = BrickColor.new("Bright red")
- Part96.Size = Vector3.new(1, 2.4000001, 1)
- Part96.CFrame = CFrame.new(22.8499908, 251.579361, -77.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part96.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part96.Position = Vector3.new(22.8499908, 251.579361, -77.75)
- Part96.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part97.Name = "Smooth Block Model"
- Part97.Parent = Model89
- Part97.BrickColor = BrickColor.new("Bright red")
- Part97.Rotation = Vector3.new(0, 90, 0)
- Part97.Size = Vector3.new(1, 2.4000001, 1)
- Part97.CFrame = CFrame.new(34.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part97.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part97.Position = Vector3.new(34.8499908, 251.579361, -68.75)
- Part97.Orientation = Vector3.new(0, 90, 0)
- Part97.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part98.Name = "Smooth Block Model"
- Part98.Parent = Model89
- Part98.BrickColor = BrickColor.new("Bright red")
- Part98.Rotation = Vector3.new(0, 90, 0)
- Part98.Size = Vector3.new(1, 2.4000001, 1)
- Part98.CFrame = CFrame.new(31.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part98.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part98.Position = Vector3.new(31.8499908, 251.579361, -68.75)
- Part98.Orientation = Vector3.new(0, 90, 0)
- Part98.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part99.Name = "Smooth Block Model"
- Part99.Parent = Model89
- Part99.BrickColor = BrickColor.new("Bright red")
- Part99.Rotation = Vector3.new(0, 90, 0)
- Part99.Size = Vector3.new(1, 2.4000001, 1)
- Part99.CFrame = CFrame.new(37.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part99.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part99.Position = Vector3.new(37.8499908, 251.579361, -68.75)
- Part99.Orientation = Vector3.new(0, 90, 0)
- Part99.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part100.Name = "Smooth Block Model"
- Part100.Parent = Model89
- Part100.BrickColor = BrickColor.new("Bright red")
- Part100.Rotation = Vector3.new(0, 90, 0)
- Part100.Size = Vector3.new(1, 2.4000001, 1)
- Part100.CFrame = CFrame.new(40.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part100.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part100.Position = Vector3.new(40.8499908, 251.579361, -68.75)
- Part100.Orientation = Vector3.new(0, 90, 0)
- Part100.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part101.Name = "Smooth Block Model"
- Part101.Parent = Model89
- Part101.BrickColor = BrickColor.new("Black")
- Part101.Rotation = Vector3.new(0, 90, 0)
- Part101.FormFactor = Enum.FormFactor.Plate
- Part101.Size = Vector3.new(21, 0.800000012, 1)
- Part101.CFrame = CFrame.new(22.8499908, 253.179337, -79.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part101.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part101.Position = Vector3.new(22.8499908, 253.179337, -79.75)
- Part101.Orientation = Vector3.new(0, 90, 0)
- Part101.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part102.Name = "Smooth Block Model"
- Part102.Parent = Model89
- Part102.BrickColor = BrickColor.new("Bright red")
- Part102.Size = Vector3.new(1, 2.4000001, 1)
- Part102.CFrame = CFrame.new(22.8499908, 251.579361, -80.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part102.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part102.Position = Vector3.new(22.8499908, 251.579361, -80.75)
- Part102.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part103.Name = "Smooth Block Model"
- Part103.Parent = Model89
- Part103.BrickColor = BrickColor.new("Bright red")
- Part103.Rotation = Vector3.new(0, 90, 0)
- Part103.Size = Vector3.new(1, 2.4000001, 1)
- Part103.CFrame = CFrame.new(43.8499908, 251.579361, -68.75, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part103.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part103.Position = Vector3.new(43.8499908, 251.579361, -68.75)
- Part103.Orientation = Vector3.new(0, 90, 0)
- Part103.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part104.Name = "Smooth Block Model"
- Part104.Parent = Model89
- Part104.BrickColor = BrickColor.new("Bright red")
- Part104.Size = Vector3.new(1, 2.4000001, 1)
- Part104.CFrame = CFrame.new(22.8499908, 251.579361, -83.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part104.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part104.Position = Vector3.new(22.8499908, 251.579361, -83.75)
- Part104.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part105.Name = "Smooth Block Model"
- Part105.Parent = Model89
- Part105.BrickColor = BrickColor.new("Bright red")
- Part105.Size = Vector3.new(1, 2.4000001, 1)
- Part105.CFrame = CFrame.new(22.8499908, 251.579361, -86.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part105.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part105.Position = Vector3.new(22.8499908, 251.579361, -86.75)
- Part105.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part106.Name = "Smooth Block Model"
- Part106.Parent = Model89
- Part106.BrickColor = BrickColor.new("Bright red")
- Part106.Size = Vector3.new(1, 2.4000001, 1)
- Part106.CFrame = CFrame.new(22.8499908, 251.579361, -89.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part106.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part106.Position = Vector3.new(22.8499908, 251.579361, -89.75)
- Part106.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part107.Name = "Smooth Block Model"
- Part107.Parent = Model2
- Part107.BrickColor = BrickColor.new("Reddish brown")
- Part107.Rotation = Vector3.new(-180, 0, -180)
- Part107.Size = Vector3.new(17, 1.20000005, 18)
- Part107.CFrame = CFrame.new(93.8499908, 250.979324, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part107.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part107.Position = Vector3.new(93.8499908, 250.979324, -100.249992)
- Part107.Orientation = Vector3.new(0, 180, 0)
- Part107.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part108.Name = "Wobbly"
- Part108.Parent = Model2
- Part108.BrickColor = BrickColor.new("Bright orange")
- Part108.Rotation = Vector3.new(-180, 0, 180)
- Part108.RotVelocity = Vector3.new(-1.84176933e-24, 1.21307984e-20, -1.84176933e-24)
- Part108.Velocity = Vector3.new(-0.112569086, 0.0255294144, -0.11278569)
- Part108.Size = Vector3.new(18, 1.20000005, 18)
- Part108.CFrame = CFrame.new(113.480362, 250.74501, -100.119301, -1, -1.29652079e-20, -1.04116951e-17, -1.29652079e-20, 1, 1.29652079e-20, 1.04116951e-17, 1.29652079e-20, -1)
- Part108.Color = Color3.new(0.854902, 0.521569, 0.254902)
- Part108.Position = Vector3.new(113.480362, 250.74501, -100.119301)
- Part108.Orientation = Vector3.new(0, -180, 0)
- Part108.Color = Color3.new(0.854902, 0.521569, 0.254902)
- BodyPosition109.Parent = Part108
- BodyPosition109.P = 100000
- BodyPosition109.D = 125000
- BodyPosition109.position = Vector3.new(59.1303711, 245.60498, 0.130693749)
- BodyPosition109.Position = Vector3.new(59.1303711, 245.60498, 0.130693749)
- Script110.Parent = Part108
- table.insert(cors,sandbox(Script110,function()
- script.Parent.BodyPosition.position = script.Parent.Position
- end))
- BodyGyro111.Parent = Part108
- BodyGyro111.P = 1
- BodyGyro111.D = 2
- Part112.Name = "Smooth Block Model"
- Part112.Parent = Model2
- Part112.BrickColor = BrickColor.new("Reddish brown")
- Part112.Rotation = Vector3.new(-180, 0, -180)
- Part112.Size = Vector3.new(8, 16.8000011, 10)
- Part112.CFrame = CFrame.new(43.3499908, 258.379333, -212.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part112.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part112.Position = Vector3.new(43.3499908, 258.379333, -212.25)
- Part112.Orientation = Vector3.new(0, 180, 0)
- Part112.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part113.Name = "Smooth Block Model"
- Part113.Parent = Model2
- Part113.BrickColor = BrickColor.new("Reddish brown")
- Part113.Rotation = Vector3.new(-180, 0, -180)
- Part113.Size = Vector3.new(8, 14.4000006, 10)
- Part113.CFrame = CFrame.new(43.3499908, 257.179321, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part113.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part113.Position = Vector3.new(43.3499908, 257.179321, -202.25)
- Part113.Orientation = Vector3.new(0, 180, 0)
- Part113.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part114.Name = "Smooth Block Model"
- Part114.Parent = Model2
- Part114.BrickColor = BrickColor.new("Reddish brown")
- Part114.Rotation = Vector3.new(-180, 0, -180)
- Part114.Size = Vector3.new(3, 13.2000008, 10)
- Part114.CFrame = CFrame.new(48.8499908, 256.579346, -202.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part114.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part114.Position = Vector3.new(48.8499908, 256.579346, -202.25)
- Part114.Orientation = Vector3.new(0, 180, 0)
- Part114.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part115.Name = "Smooth Block Model"
- Part115.Parent = Model2
- Part115.BrickColor = BrickColor.new("Reddish brown")
- Part115.Rotation = Vector3.new(0, -90, 0)
- Part115.Size = Vector3.new(17, 13.2000008, 7)
- Part115.CFrame = CFrame.new(34.8499908, 280.579376, -231.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part115.FrontSurface = Enum.SurfaceType.Weld
- Part115.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part115.Position = Vector3.new(34.8499908, 280.579376, -231.75)
- Part115.Orientation = Vector3.new(0, -90, 0)
- Part115.Color = Color3.new(0.411765, 0.25098, 0.156863)
- SpawnLocation116.Parent = Model2
- SpawnLocation116.BrickColor = BrickColor.new("Bright yellow")
- SpawnLocation116.Rotation = Vector3.new(-180, 0, -180)
- SpawnLocation116.Anchored = true
- SpawnLocation116.Size = Vector3.new(6, 1.20000005, 6)
- SpawnLocation116.CFrame = CFrame.new(80.3499908, 250.979324, -74.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- SpawnLocation116.BackSurface = Enum.SurfaceType.Weld
- SpawnLocation116.BottomSurface = Enum.SurfaceType.Weld
- SpawnLocation116.FrontSurface = Enum.SurfaceType.Weld
- SpawnLocation116.LeftSurface = Enum.SurfaceType.Weld
- SpawnLocation116.RightSurface = Enum.SurfaceType.Weld
- SpawnLocation116.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation116.Duration = 3
- SpawnLocation116.Color = Color3.new(0.960784, 0.803922, 0.188235)
- SpawnLocation116.Position = Vector3.new(80.3499908, 250.979324, -74.25)
- SpawnLocation116.Orientation = Vector3.new(0, 180, 0)
- SpawnLocation116.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Decal117.Parent = SpawnLocation116
- Decal117.Texture = "rbxasset://Textures/SpawnLocation.png"
- Decal117.Face = Enum.NormalId.Top
- Script118.Parent = SpawnLocation116
- table.insert(cors,sandbox(Script118,function()
- function onTouch(part) --Finding Humanoid is useless...
- part.Parent:findFirstChild("Head").CanCollide = true
- part.Parent:findFirstChild("Torso").CanCollide = true
- part.Parent:findFirstChild("Left Arm").CanCollide = true
- part.Parent:findFirstChild("Right Arm").CanCollide = true
- part.Parent:findFirstChild("Left Leg").CanCollide = true
- part.Parent:findFirstChild("Right Leg").CanCollide = true
- end
- script.Parent.Touched:connect(onTouch)
- end))
- SpawnLocation119.Parent = Model2
- SpawnLocation119.BrickColor = BrickColor.new("Bright yellow")
- SpawnLocation119.Rotation = Vector3.new(-180, 0, -180)
- SpawnLocation119.Anchored = true
- SpawnLocation119.Size = Vector3.new(6, 1.20000005, 6)
- SpawnLocation119.CFrame = CFrame.new(28.3499908, 250.979324, -74.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- SpawnLocation119.BackSurface = Enum.SurfaceType.Weld
- SpawnLocation119.BottomSurface = Enum.SurfaceType.Weld
- SpawnLocation119.FrontSurface = Enum.SurfaceType.Weld
- SpawnLocation119.LeftSurface = Enum.SurfaceType.Weld
- SpawnLocation119.RightSurface = Enum.SurfaceType.Weld
- SpawnLocation119.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation119.Duration = 3
- SpawnLocation119.Color = Color3.new(0.960784, 0.803922, 0.188235)
- SpawnLocation119.Position = Vector3.new(28.3499908, 250.979324, -74.25)
- SpawnLocation119.Orientation = Vector3.new(0, 180, 0)
- SpawnLocation119.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Decal120.Parent = SpawnLocation119
- Decal120.Texture = "rbxasset://Textures/SpawnLocation.png"
- Decal120.Face = Enum.NormalId.Top
- Script121.Parent = SpawnLocation119
- table.insert(cors,sandbox(Script121,function()
- function onTouch(part) --Finding Humanoid is useless...
- part.Parent:findFirstChild("Head").CanCollide = true
- part.Parent:findFirstChild("Torso").CanCollide = true
- part.Parent:findFirstChild("Left Arm").CanCollide = true
- part.Parent:findFirstChild("Right Arm").CanCollide = true
- part.Parent:findFirstChild("Left Leg").CanCollide = true
- part.Parent:findFirstChild("Right Leg").CanCollide = true
- end
- script.Parent.Touched:connect(onTouch)
- end))
- SpawnLocation122.Parent = Model2
- SpawnLocation122.BrickColor = BrickColor.new("Bright yellow")
- SpawnLocation122.Rotation = Vector3.new(-180, 0, -180)
- SpawnLocation122.Anchored = true
- SpawnLocation122.Size = Vector3.new(6, 1.20000005, 6)
- SpawnLocation122.CFrame = CFrame.new(28.3499908, 250.979324, -126.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- SpawnLocation122.BackSurface = Enum.SurfaceType.Weld
- SpawnLocation122.BottomSurface = Enum.SurfaceType.Weld
- SpawnLocation122.FrontSurface = Enum.SurfaceType.Weld
- SpawnLocation122.LeftSurface = Enum.SurfaceType.Weld
- SpawnLocation122.RightSurface = Enum.SurfaceType.Weld
- SpawnLocation122.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation122.Duration = 3
- SpawnLocation122.Color = Color3.new(0.960784, 0.803922, 0.188235)
- SpawnLocation122.Position = Vector3.new(28.3499908, 250.979324, -126.249992)
- SpawnLocation122.Orientation = Vector3.new(0, 180, 0)
- SpawnLocation122.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Decal123.Parent = SpawnLocation122
- Decal123.Texture = "rbxasset://Textures/SpawnLocation.png"
- Decal123.Face = Enum.NormalId.Top
- Script124.Parent = SpawnLocation122
- table.insert(cors,sandbox(Script124,function()
- function onTouch(part) --Finding Humanoid is useless...
- part.Parent:findFirstChild("Head").CanCollide = true
- part.Parent:findFirstChild("Torso").CanCollide = true
- part.Parent:findFirstChild("Left Arm").CanCollide = true
- part.Parent:findFirstChild("Right Arm").CanCollide = true
- part.Parent:findFirstChild("Left Leg").CanCollide = true
- part.Parent:findFirstChild("Right Leg").CanCollide = true
- end
- script.Parent.Touched:connect(onTouch)
- end))
- Model125.Parent = Model2
- Model125.PrimaryPart = Part130
- Part126.Name = "Smooth Block Model"
- Part126.Parent = Model125
- Part126.BrickColor = BrickColor.new("Bright red")
- Part126.Rotation = Vector3.new(0, -90, 0)
- Part126.Size = Vector3.new(1, 2.4000001, 1)
- Part126.CFrame = CFrame.new(22.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part126.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part126.Position = Vector3.new(22.8499908, 251.579361, -131.75)
- Part126.Orientation = Vector3.new(0, -90, 0)
- Part126.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part127.Name = "Smooth Block Model"
- Part127.Parent = Model125
- Part127.BrickColor = BrickColor.new("Bright red")
- Part127.Rotation = Vector3.new(0, -90, 0)
- Part127.Size = Vector3.new(1, 2.4000001, 1)
- Part127.CFrame = CFrame.new(25.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part127.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part127.Position = Vector3.new(25.8499908, 251.579361, -131.75)
- Part127.Orientation = Vector3.new(0, -90, 0)
- Part127.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part128.Name = "Smooth Block Model"
- Part128.Parent = Model125
- Part128.BrickColor = BrickColor.new("Bright red")
- Part128.Size = Vector3.new(1, 2.4000001, 1)
- Part128.CFrame = CFrame.new(22.8499908, 251.579361, -125.749992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part128.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part128.Position = Vector3.new(22.8499908, 251.579361, -125.749992)
- Part128.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part129.Name = "Smooth Block Model"
- Part129.Parent = Model125
- Part129.BrickColor = BrickColor.new("Bright red")
- Part129.Size = Vector3.new(1, 2.4000001, 1)
- Part129.CFrame = CFrame.new(22.8499908, 251.579361, -128.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part129.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part129.Position = Vector3.new(22.8499908, 251.579361, -128.75)
- Part129.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part130.Name = "Smooth Block Model"
- Part130.Parent = Model125
- Part130.BrickColor = BrickColor.new("Black")
- Part130.Rotation = Vector3.new(0, -90, 0)
- Part130.FormFactor = Enum.FormFactor.Plate
- Part130.Size = Vector3.new(22, 0.800000012, 1)
- Part130.CFrame = CFrame.new(22.8499908, 253.179337, -121.249992, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part130.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part130.Position = Vector3.new(22.8499908, 253.179337, -121.249992)
- Part130.Orientation = Vector3.new(0, -90, 0)
- Part130.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part131.Name = "Smooth Block Model"
- Part131.Parent = Model125
- Part131.BrickColor = BrickColor.new("Bright red")
- Part131.Rotation = Vector3.new(0, -90, 0)
- Part131.Size = Vector3.new(1, 2.4000001, 1)
- Part131.CFrame = CFrame.new(28.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part131.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part131.Position = Vector3.new(28.8499908, 251.579361, -131.75)
- Part131.Orientation = Vector3.new(0, -90, 0)
- Part131.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part132.Name = "Smooth Block Model"
- Part132.Parent = Model125
- Part132.BrickColor = BrickColor.new("Bright red")
- Part132.Rotation = Vector3.new(0, -90, 0)
- Part132.Size = Vector3.new(1, 2.4000001, 1)
- Part132.CFrame = CFrame.new(31.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part132.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part132.Position = Vector3.new(31.8499908, 251.579361, -131.75)
- Part132.Orientation = Vector3.new(0, -90, 0)
- Part132.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part133.Name = "Smooth Block Model"
- Part133.Parent = Model125
- Part133.BrickColor = BrickColor.new("Bright red")
- Part133.Size = Vector3.new(1, 2.4000001, 1)
- Part133.CFrame = CFrame.new(22.8499908, 251.579361, -119.749992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part133.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part133.Position = Vector3.new(22.8499908, 251.579361, -119.749992)
- Part133.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part134.Name = "Smooth Block Model"
- Part134.Parent = Model125
- Part134.BrickColor = BrickColor.new("Bright red")
- Part134.Size = Vector3.new(1, 2.4000001, 1)
- Part134.CFrame = CFrame.new(22.8499908, 251.579361, -122.749992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part134.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part134.Position = Vector3.new(22.8499908, 251.579361, -122.749992)
- Part134.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part135.Name = "Smooth Block Model"
- Part135.Parent = Model125
- Part135.BrickColor = BrickColor.new("Bright red")
- Part135.Size = Vector3.new(1, 2.4000001, 1)
- Part135.CFrame = CFrame.new(22.8499908, 251.579361, -116.749992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part135.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part135.Position = Vector3.new(22.8499908, 251.579361, -116.749992)
- Part135.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part136.Name = "Smooth Block Model"
- Part136.Parent = Model125
- Part136.BrickColor = BrickColor.new("Bright red")
- Part136.Size = Vector3.new(1, 2.4000001, 1)
- Part136.CFrame = CFrame.new(22.8499908, 251.579361, -113.749992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part136.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part136.Position = Vector3.new(22.8499908, 251.579361, -113.749992)
- Part136.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part137.Name = "Smooth Block Model"
- Part137.Parent = Model125
- Part137.BrickColor = BrickColor.new("Black")
- Part137.FormFactor = Enum.FormFactor.Plate
- Part137.Size = Vector3.new(21, 0.800000012, 1)
- Part137.CFrame = CFrame.new(33.8499908, 253.179337, -131.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part137.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part137.Position = Vector3.new(33.8499908, 253.179337, -131.75)
- Part137.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part138.Name = "Smooth Block Model"
- Part138.Parent = Model125
- Part138.BrickColor = BrickColor.new("Bright red")
- Part138.Rotation = Vector3.new(0, -90, 0)
- Part138.Size = Vector3.new(1, 2.4000001, 1)
- Part138.CFrame = CFrame.new(34.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part138.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part138.Position = Vector3.new(34.8499908, 251.579361, -131.75)
- Part138.Orientation = Vector3.new(0, -90, 0)
- Part138.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part139.Name = "Smooth Block Model"
- Part139.Parent = Model125
- Part139.BrickColor = BrickColor.new("Bright red")
- Part139.Size = Vector3.new(1, 2.4000001, 1)
- Part139.CFrame = CFrame.new(22.8499908, 251.579361, -110.749992, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part139.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part139.Position = Vector3.new(22.8499908, 251.579361, -110.749992)
- Part139.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part140.Name = "Smooth Block Model"
- Part140.Parent = Model125
- Part140.BrickColor = BrickColor.new("Bright red")
- Part140.Rotation = Vector3.new(0, -90, 0)
- Part140.Size = Vector3.new(1, 2.4000001, 1)
- Part140.CFrame = CFrame.new(37.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part140.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part140.Position = Vector3.new(37.8499908, 251.579361, -131.75)
- Part140.Orientation = Vector3.new(0, -90, 0)
- Part140.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part141.Name = "Smooth Block Model"
- Part141.Parent = Model125
- Part141.BrickColor = BrickColor.new("Bright red")
- Part141.Rotation = Vector3.new(0, -90, 0)
- Part141.Size = Vector3.new(1, 2.4000001, 1)
- Part141.CFrame = CFrame.new(40.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part141.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part141.Position = Vector3.new(40.8499908, 251.579361, -131.75)
- Part141.Orientation = Vector3.new(0, -90, 0)
- Part141.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part142.Name = "Smooth Block Model"
- Part142.Parent = Model125
- Part142.BrickColor = BrickColor.new("Bright red")
- Part142.Rotation = Vector3.new(0, -90, 0)
- Part142.Size = Vector3.new(1, 2.4000001, 1)
- Part142.CFrame = CFrame.new(43.8499908, 251.579361, -131.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part142.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part142.Position = Vector3.new(43.8499908, 251.579361, -131.75)
- Part142.Orientation = Vector3.new(0, -90, 0)
- Part142.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part143.Name = "Smooth Block Model"
- Part143.Parent = Model2
- Part143.BrickColor = BrickColor.new("Reddish brown")
- Part143.Rotation = Vector3.new(-180, 0, -180)
- Part143.Size = Vector3.new(4, 1.20000005, 18)
- Part143.CFrame = CFrame.new(21.3499908, 250.979324, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part143.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part143.Position = Vector3.new(21.3499908, 250.979324, -100.249992)
- Part143.Orientation = Vector3.new(0, 180, 0)
- Part143.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part144.Name = "Smooth Block Model"
- Part144.Parent = Model2
- Part144.BrickColor = BrickColor.new("Reddish brown")
- Part144.Rotation = Vector3.new(-180, 0, -180)
- Part144.Size = Vector3.new(18, 1.20000005, 18)
- Part144.CFrame = CFrame.new(54.3499908, 249.779358, -59.2499962, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part144.BackSurface = Enum.SurfaceType.Weld
- Part144.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part144.Position = Vector3.new(54.3499908, 249.779358, -59.2499962)
- Part144.Orientation = Vector3.new(0, 180, 0)
- Part144.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part145.Name = "Smooth Block Model"
- Part145.Parent = Model2
- Part145.BrickColor = BrickColor.new("Reddish brown")
- Part145.Rotation = Vector3.new(-180, 0, -180)
- Part145.Size = Vector3.new(4, 1.20000005, 16)
- Part145.CFrame = CFrame.new(19.3499908, 252.179306, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part145.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part145.Position = Vector3.new(19.3499908, 252.179306, -100.249992)
- Part145.Orientation = Vector3.new(0, 180, 0)
- Part145.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part146.Name = "Smooth Block Model"
- Part146.Parent = Model2
- Part146.BrickColor = BrickColor.new("Reddish brown")
- Part146.Rotation = Vector3.new(-180, 0, -180)
- Part146.Size = Vector3.new(4, 1.20000005, 14)
- Part146.CFrame = CFrame.new(17.3499908, 253.379318, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part146.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part146.Position = Vector3.new(17.3499908, 253.379318, -100.249992)
- Part146.Orientation = Vector3.new(0, 180, 0)
- Part146.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part147.Name = "Smooth Block Model"
- Part147.Parent = Model2
- Part147.BrickColor = BrickColor.new("Reddish brown")
- Part147.Rotation = Vector3.new(0, -90, 0)
- Part147.Size = Vector3.new(13, 4.80000019, 5)
- Part147.CFrame = CFrame.new(28.8499908, 284.779388, -231.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part147.FrontSurface = Enum.SurfaceType.Weld
- Part147.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part147.Position = Vector3.new(28.8499908, 284.779388, -231.75)
- Part147.Orientation = Vector3.new(0, -90, 0)
- Part147.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part148.Name = "PhantomPlate"
- Part148.Parent = Model2
- Part148.BrickColor = BrickColor.new("Bright red")
- Part148.Rotation = Vector3.new(0, -90, 0)
- Part148.Anchored = true
- Part148.Size = Vector3.new(16, 1.20000005, 16)
- Part148.CFrame = CFrame.new(37.3499908, 249.779358, -41.2499962, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part148.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part148.Position = Vector3.new(37.3499908, 249.779358, -41.2499962)
- Part148.Orientation = Vector3.new(0, -90, 0)
- Part148.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script149.Name = "PlateScript"
- Script149.Parent = Part148
- table.insert(cors,sandbox(Script149,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part150.Name = "PhantomPlate"
- Part150.Parent = Model2
- Part150.BrickColor = BrickColor.new("Dark stone grey")
- Part150.Rotation = Vector3.new(-180, 0, -180)
- Part150.Anchored = true
- Part150.Size = Vector3.new(16, 1.20000005, 16)
- Part150.CFrame = CFrame.new(54.3499908, 249.779358, -41.2499962, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part150.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part150.Position = Vector3.new(54.3499908, 249.779358, -41.2499962)
- Part150.Orientation = Vector3.new(0, 180, 0)
- Part150.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script151.Name = "PlateScript"
- Script151.Parent = Part150
- table.insert(cors,sandbox(Script151,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part152.Name = "PhantomPlate"
- Part152.Parent = Model2
- Part152.BrickColor = BrickColor.new("Bright red")
- Part152.Rotation = Vector3.new(-180, 0, -180)
- Part152.Anchored = true
- Part152.Size = Vector3.new(16, 1.20000005, 16)
- Part152.CFrame = CFrame.new(71.3499908, 249.779358, -41.2499962, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part152.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part152.Position = Vector3.new(71.3499908, 249.779358, -41.2499962)
- Part152.Orientation = Vector3.new(0, 180, 0)
- Part152.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script153.Name = "PlateScript"
- Script153.Parent = Part152
- table.insert(cors,sandbox(Script153,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part154.Name = "Smooth Block Model"
- Part154.Parent = Model2
- Part154.BrickColor = BrickColor.new("Reddish brown")
- Part154.Rotation = Vector3.new(-180, 0, -180)
- Part154.Size = Vector3.new(4, 1.20000005, 12)
- Part154.CFrame = CFrame.new(15.3499908, 254.5793, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part154.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part154.Position = Vector3.new(15.3499908, 254.5793, -100.249992)
- Part154.Orientation = Vector3.new(0, 180, 0)
- Part154.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part155.Name = "Smooth Block Model"
- Part155.Parent = Model2
- Part155.BrickColor = BrickColor.new("Reddish brown")
- Part155.Rotation = Vector3.new(-180, 0, -180)
- Part155.Size = Vector3.new(4, 1.20000005, 10)
- Part155.CFrame = CFrame.new(13.3499908, 255.779312, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part155.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part155.Position = Vector3.new(13.3499908, 255.779312, -100.249992)
- Part155.Orientation = Vector3.new(0, 180, 0)
- Part155.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part156.Name = "PhantomPlate"
- Part156.Parent = Model2
- Part156.BrickColor = BrickColor.new("Dark stone grey")
- Part156.Rotation = Vector3.new(0, -90, 0)
- Part156.Anchored = true
- Part156.Size = Vector3.new(16, 1.20000005, 16)
- Part156.CFrame = CFrame.new(37.3499908, 249.779358, -24.25, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part156.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part156.Position = Vector3.new(37.3499908, 249.779358, -24.25)
- Part156.Orientation = Vector3.new(0, -90, 0)
- Part156.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script157.Name = "PlateScript"
- Script157.Parent = Part156
- table.insert(cors,sandbox(Script157,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part158.Name = "PhantomPlate"
- Part158.Parent = Model2
- Part158.BrickColor = BrickColor.new("Bright red")
- Part158.Rotation = Vector3.new(-180, 0, -180)
- Part158.Anchored = true
- Part158.Size = Vector3.new(16, 1.20000005, 16)
- Part158.CFrame = CFrame.new(54.3499908, 249.779358, -24.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part158.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part158.Position = Vector3.new(54.3499908, 249.779358, -24.25)
- Part158.Orientation = Vector3.new(0, 180, 0)
- Part158.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script159.Name = "PlateScript"
- Script159.Parent = Part158
- table.insert(cors,sandbox(Script159,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part160.Name = "PhantomPlate"
- Part160.Parent = Model2
- Part160.BrickColor = BrickColor.new("Black")
- Part160.Transparency = 1
- Part160.Rotation = Vector3.new(-180, 0, -180)
- Part160.Anchored = true
- Part160.CanCollide = false
- Part160.Size = Vector3.new(16, 1.20000005, 16)
- Part160.CFrame = CFrame.new(71.3499908, 249.779358, -24.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part160.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part160.Position = Vector3.new(71.3499908, 249.779358, -24.25)
- Part160.Orientation = Vector3.new(0, 180, 0)
- Part160.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Script161.Name = "PlateScript"
- Script161.Parent = Part160
- table.insert(cors,sandbox(Script161,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part162.Name = "Smooth Block Model"
- Part162.Parent = Model2
- Part162.BrickColor = BrickColor.new("Reddish brown")
- Part162.Rotation = Vector3.new(-180, 0, -180)
- Part162.Size = Vector3.new(34, 283.200012, 32)
- Part162.CFrame = CFrame.new(-19.6500092, 147.979385, -23.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part162.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part162.Position = Vector3.new(-19.6500092, 147.979385, -23.25)
- Part162.Orientation = Vector3.new(0, 180, 0)
- Part162.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Script163.Parent = Part162
- table.insert(cors,sandbox(Script163,function()
- function onTouch(part) --Finding Humanoid is useless...
- part.Parent:findFirstChild("Head").CanCollide = true
- part.Parent:findFirstChild("Torso").CanCollide = true
- part.Parent:findFirstChild("Left Arm").CanCollide = true
- part.Parent:findFirstChild("Right Arm").CanCollide = true
- part.Parent:findFirstChild("Left Leg").CanCollide = true
- part.Parent:findFirstChild("Right Leg").CanCollide = true
- end
- script.Parent.Touched:connect(onTouch)
- end))
- Part164.Name = "Smooth Block Model"
- Part164.Parent = Model2
- Part164.BrickColor = BrickColor.new("Reddish brown")
- Part164.Rotation = Vector3.new(-180, 0, -180)
- Part164.Size = Vector3.new(4, 1.20000005, 8)
- Part164.CFrame = CFrame.new(11.3499908, 256.979279, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part164.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part164.Position = Vector3.new(11.3499908, 256.979279, -100.249992)
- Part164.Orientation = Vector3.new(0, 180, 0)
- Part164.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part165.Name = "Smooth Block Model"
- Part165.Parent = Model2
- Part165.BrickColor = BrickColor.new("Reddish brown")
- Part165.Rotation = Vector3.new(-180, 0, -180)
- Part165.Size = Vector3.new(4, 1.20000005, 6)
- Part165.CFrame = CFrame.new(9.34999084, 258.179291, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part165.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part165.Position = Vector3.new(9.34999084, 258.179291, -100.249992)
- Part165.Orientation = Vector3.new(0, 180, 0)
- Part165.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part166.Name = "Smooth Block Model"
- Part166.Parent = Model2
- Part166.BrickColor = BrickColor.new("Reddish brown")
- Part166.Rotation = Vector3.new(-180, 0, -180)
- Part166.Size = Vector3.new(4, 1.20000005, 4)
- Part166.CFrame = CFrame.new(7.34999084, 259.379272, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part166.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part166.Position = Vector3.new(7.34999084, 259.379272, -100.249992)
- Part166.Orientation = Vector3.new(0, 180, 0)
- Part166.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part167.Name = "PhantomPlate"
- Part167.Parent = Model2
- Part167.BrickColor = BrickColor.new("Bright red")
- Part167.Rotation = Vector3.new(0, -90, 0)
- Part167.Anchored = true
- Part167.Size = Vector3.new(16, 1.20000005, 16)
- Part167.CFrame = CFrame.new(37.3499908, 249.779358, -7.25, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part167.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part167.Position = Vector3.new(37.3499908, 249.779358, -7.25)
- Part167.Orientation = Vector3.new(0, -90, 0)
- Part167.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script168.Name = "PlateScript"
- Script168.Parent = Part167
- table.insert(cors,sandbox(Script168,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part169.Name = "PhantomPlate"
- Part169.Parent = Model2
- Part169.BrickColor = BrickColor.new("Dark stone grey")
- Part169.Rotation = Vector3.new(-180, 0, -180)
- Part169.Anchored = true
- Part169.Size = Vector3.new(16, 1.20000005, 16)
- Part169.CFrame = CFrame.new(54.3499908, 249.779358, -7.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part169.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part169.Position = Vector3.new(54.3499908, 249.779358, -7.25)
- Part169.Orientation = Vector3.new(0, 180, 0)
- Part169.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script170.Name = "PlateScript"
- Script170.Parent = Part169
- table.insert(cors,sandbox(Script170,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part171.Name = "PhantomPlate"
- Part171.Parent = Model2
- Part171.BrickColor = BrickColor.new("Bright red")
- Part171.Rotation = Vector3.new(-180, 0, -180)
- Part171.Anchored = true
- Part171.Size = Vector3.new(16, 1.20000005, 16)
- Part171.CFrame = CFrame.new(71.3499908, 249.779358, -7.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part171.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part171.Position = Vector3.new(71.3499908, 249.779358, -7.25)
- Part171.Orientation = Vector3.new(0, 180, 0)
- Part171.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script172.Name = "PlateScript"
- Script172.Parent = Part171
- table.insert(cors,sandbox(Script172,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part173.Name = "Smooth Block Model"
- Part173.Parent = Model2
- Part173.BrickColor = BrickColor.new("Reddish brown")
- Part173.Rotation = Vector3.new(-180, 0, -180)
- Part173.Size = Vector3.new(8, 253.200012, 8)
- Part173.CFrame = CFrame.new(-37.6500092, 132.97934, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part173.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part173.Position = Vector3.new(-37.6500092, 132.97934, -100.249992)
- Part173.Orientation = Vector3.new(0, 180, 0)
- Part173.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part174.Name = "Smooth Block Model"
- Part174.Parent = Model2
- Part174.BrickColor = BrickColor.new("Reddish brown")
- Part174.Rotation = Vector3.new(0, -90, 0)
- Part174.Size = Vector3.new(2, 1.20000005, 31)
- Part174.CFrame = CFrame.new(12.849987, 287.779388, -231.25, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part174.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part174.Position = Vector3.new(12.849987, 287.779388, -231.25)
- Part174.Orientation = Vector3.new(0, -90, 0)
- Part174.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part175.Name = "Smooth Block Model"
- Part175.Parent = Model2
- Part175.BrickColor = BrickColor.new("Reddish brown")
- Part175.Rotation = Vector3.new(0, 90, 0)
- Part175.Size = Vector3.new(2, 1.20000005, 107)
- Part175.CFrame = CFrame.new(47.8499908, 290.179382, -12.249999, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part175.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part175.Position = Vector3.new(47.8499908, 290.179382, -12.249999)
- Part175.Orientation = Vector3.new(0, 90, 0)
- Part175.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part176.Name = "Smooth Block Model"
- Part176.Parent = Model2
- Part176.BrickColor = BrickColor.new("Reddish brown")
- Part176.Rotation = Vector3.new(-180, 0, -180)
- Part176.Size = Vector3.new(10, 253.200012, 15)
- Part176.CFrame = CFrame.new(-46.6500092, 132.97934, -98.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part176.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part176.Position = Vector3.new(-46.6500092, 132.97934, -98.75)
- Part176.Orientation = Vector3.new(0, 180, 0)
- Part176.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part177.Name = "PhantomPlate"
- Part177.Parent = Model2
- Part177.BrickColor = BrickColor.new("Dark stone grey")
- Part177.Rotation = Vector3.new(0, -90, 0)
- Part177.Anchored = true
- Part177.Size = Vector3.new(16, 1.20000005, 16)
- Part177.CFrame = CFrame.new(37.3499908, 249.779358, 9.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part177.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part177.Position = Vector3.new(37.3499908, 249.779358, 9.75)
- Part177.Orientation = Vector3.new(0, -90, 0)
- Part177.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script178.Name = "PlateScript"
- Script178.Parent = Part177
- table.insert(cors,sandbox(Script178,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part179.Name = "PhantomPlate"
- Part179.Parent = Model2
- Part179.BrickColor = BrickColor.new("Black")
- Part179.Transparency = 1
- Part179.Rotation = Vector3.new(-180, 0, -180)
- Part179.Anchored = true
- Part179.CanCollide = false
- Part179.Size = Vector3.new(16, 1.20000005, 16)
- Part179.CFrame = CFrame.new(54.3499908, 249.779358, 9.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part179.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part179.Position = Vector3.new(54.3499908, 249.779358, 9.75)
- Part179.Orientation = Vector3.new(0, 180, 0)
- Part179.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Script180.Name = "PlateScript"
- Script180.Parent = Part179
- table.insert(cors,sandbox(Script180,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part181.Name = "PhantomPlate"
- Part181.Parent = Model2
- Part181.BrickColor = BrickColor.new("Dark stone grey")
- Part181.Rotation = Vector3.new(-180, 0, -180)
- Part181.Anchored = true
- Part181.Size = Vector3.new(16, 1.20000005, 16)
- Part181.CFrame = CFrame.new(71.3499908, 249.779358, 9.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part181.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part181.Position = Vector3.new(71.3499908, 249.779358, 9.75)
- Part181.Orientation = Vector3.new(0, 180, 0)
- Part181.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script182.Name = "PlateScript"
- Script182.Parent = Part181
- table.insert(cors,sandbox(Script182,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part183.Name = "Smooth Block Model"
- Part183.Parent = Model2
- Part183.BrickColor = BrickColor.new("Reddish brown")
- Part183.Rotation = Vector3.new(-180, 0, -180)
- Part183.Size = Vector3.new(32, 243.600006, 32)
- Part183.CFrame = CFrame.new(-64.6500092, 128.179352, -233.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part183.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part183.Position = Vector3.new(-64.6500092, 128.179352, -233.25)
- Part183.Orientation = Vector3.new(0, 180, 0)
- Part183.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part184.Name = "Smooth Block Model"
- Part184.Parent = Model2
- Part184.BrickColor = BrickColor.new("Reddish brown")
- Part184.Rotation = Vector3.new(-180, 0, -180)
- Part184.Size = Vector3.new(43, 1.20000005, 2)
- Part184.CFrame = CFrame.new(-14.1500092, 260.579285, -100.249992, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part184.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part184.Position = Vector3.new(-14.1500092, 260.579285, -100.249992)
- Part184.Orientation = Vector3.new(0, 180, 0)
- Part184.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part185.Name = "Smooth Block Model"
- Part185.Parent = Model2
- Part185.BrickColor = BrickColor.new("Reddish brown")
- Part185.Rotation = Vector3.new(-180, 0, -180)
- Part185.Size = Vector3.new(20, 253.200012, 29)
- Part185.CFrame = CFrame.new(-61.6500092, 132.97934, -96.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part185.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part185.Position = Vector3.new(-61.6500092, 132.97934, -96.75)
- Part185.Orientation = Vector3.new(0, 180, 0)
- Part185.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part186.Name = "Smooth Block Model"
- Part186.Parent = Model2
- Part186.BrickColor = BrickColor.new("Reddish brown")
- Part186.Size = Vector3.new(2, 1.20000005, 200)
- Part186.CFrame = CFrame.new(-1.65001297, 288.979401, -132.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part186.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part186.Position = Vector3.new(-1.65001297, 288.979401, -132.25)
- Part186.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part187.Name = "PhantomPlate"
- Part187.Parent = Model2
- Part187.BrickColor = BrickColor.new("Black")
- Part187.Transparency = 1
- Part187.Rotation = Vector3.new(0, -90, 0)
- Part187.Anchored = true
- Part187.CanCollide = false
- Part187.Size = Vector3.new(16, 1.20000005, 16)
- Part187.CFrame = CFrame.new(37.3499908, 249.779358, 26.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part187.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part187.Position = Vector3.new(37.3499908, 249.779358, 26.75)
- Part187.Orientation = Vector3.new(0, -90, 0)
- Part187.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Script188.Name = "PlateScript"
- Script188.Parent = Part187
- table.insert(cors,sandbox(Script188,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part189.Name = "PhantomPlate"
- Part189.Parent = Model2
- Part189.BrickColor = BrickColor.new("Dark stone grey")
- Part189.Rotation = Vector3.new(-180, 0, -180)
- Part189.Anchored = true
- Part189.Size = Vector3.new(16, 1.20000005, 16)
- Part189.CFrame = CFrame.new(54.3499908, 249.779358, 26.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part189.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part189.Position = Vector3.new(54.3499908, 249.779358, 26.75)
- Part189.Orientation = Vector3.new(0, 180, 0)
- Part189.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script190.Name = "PlateScript"
- Script190.Parent = Part189
- table.insert(cors,sandbox(Script190,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part191.Name = "PhantomPlate"
- Part191.Parent = Model2
- Part191.BrickColor = BrickColor.new("Bright red")
- Part191.Rotation = Vector3.new(-180, 0, -180)
- Part191.Anchored = true
- Part191.Size = Vector3.new(16, 1.20000005, 16)
- Part191.CFrame = CFrame.new(71.3499908, 249.779358, 26.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part191.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part191.Position = Vector3.new(71.3499908, 249.779358, 26.75)
- Part191.Orientation = Vector3.new(0, 180, 0)
- Part191.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script192.Name = "PlateScript"
- Script192.Parent = Part191
- table.insert(cors,sandbox(Script192,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part193.Name = "Smooth Block Model"
- Part193.Parent = Model2
- Part193.BrickColor = BrickColor.new("Reddish brown")
- Part193.Rotation = Vector3.new(-180, 0, -180)
- Part193.Size = Vector3.new(4, 253.200012, 18)
- Part193.CFrame = CFrame.new(-73.6500092, 132.97934, -97.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part193.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part193.Position = Vector3.new(-73.6500092, 132.97934, -97.25)
- Part193.Orientation = Vector3.new(0, 180, 0)
- Part193.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part194.Name = "PhantomPlate"
- Part194.Parent = Model2
- Part194.BrickColor = BrickColor.new("Dark stone grey")
- Part194.Rotation = Vector3.new(0, -90, 0)
- Part194.Anchored = true
- Part194.Size = Vector3.new(16, 1.20000005, 16)
- Part194.CFrame = CFrame.new(37.3499908, 249.779358, 43.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part194.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part194.Position = Vector3.new(37.3499908, 249.779358, 43.75)
- Part194.Orientation = Vector3.new(0, -90, 0)
- Part194.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script195.Name = "PlateScript"
- Script195.Parent = Part194
- table.insert(cors,sandbox(Script195,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part196.Name = "PhantomPlate"
- Part196.Parent = Model2
- Part196.BrickColor = BrickColor.new("Black")
- Part196.Transparency = 1
- Part196.Rotation = Vector3.new(-180, 0, -180)
- Part196.Anchored = true
- Part196.Size = Vector3.new(16, 1.20000005, 16)
- Part196.CFrame = CFrame.new(54.3499908, 249.779358, 43.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part196.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part196.Position = Vector3.new(54.3499908, 249.779358, 43.75)
- Part196.Orientation = Vector3.new(0, 180, 0)
- Part196.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Script197.Name = "PlateScript"
- Script197.Parent = Part196
- table.insert(cors,sandbox(Script197,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part198.Name = "PhantomPlate"
- Part198.Parent = Model2
- Part198.BrickColor = BrickColor.new("Black")
- Part198.Transparency = 1
- Part198.Rotation = Vector3.new(-180, 0, -180)
- Part198.Anchored = true
- Part198.CanCollide = false
- Part198.Size = Vector3.new(16, 1.20000005, 16)
- Part198.CFrame = CFrame.new(71.3499908, 249.779358, 43.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part198.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part198.Position = Vector3.new(71.3499908, 249.779358, 43.75)
- Part198.Orientation = Vector3.new(0, 180, 0)
- Part198.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Script199.Name = "PlateScript"
- Script199.Parent = Part198
- table.insert(cors,sandbox(Script199,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part200.Name = "Smooth Block Model"
- Part200.Parent = Model2
- Part200.BrickColor = BrickColor.new("Reddish brown")
- Part200.Rotation = Vector3.new(-180, 0, -180)
- Part200.Size = Vector3.new(16, 243.600006, 22)
- Part200.CFrame = CFrame.new(54.3499908, 128.179352, 97.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part200.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part200.Position = Vector3.new(54.3499908, 128.179352, 97.75)
- Part200.Orientation = Vector3.new(0, 180, 0)
- Part200.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Script201.Parent = Part200
- table.insert(cors,sandbox(Script201,function()
- function onTouch(part) --Finding Humanoid is useless...
- part.Parent:findFirstChild("Head").CanCollide = true
- part.Parent:findFirstChild("Torso").CanCollide = true
- part.Parent:findFirstChild("Left Arm").CanCollide = true
- part.Parent:findFirstChild("Right Arm").CanCollide = true
- part.Parent:findFirstChild("Left Leg").CanCollide = true
- part.Parent:findFirstChild("Right Leg").CanCollide = true
- end
- script.Parent.Touched:connect(onTouch)
- end))
- Part202.Name = "PhantomPlate"
- Part202.Parent = Model2
- Part202.BrickColor = BrickColor.new("Bright red")
- Part202.Rotation = Vector3.new(0, -90, 0)
- Part202.Anchored = true
- Part202.Size = Vector3.new(16, 1.20000005, 16)
- Part202.CFrame = CFrame.new(37.3499908, 249.779358, 60.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part202.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part202.Position = Vector3.new(37.3499908, 249.779358, 60.75)
- Part202.Orientation = Vector3.new(0, -90, 0)
- Part202.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script203.Name = "PlateScript"
- Script203.Parent = Part202
- table.insert(cors,sandbox(Script203,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part204.Name = "PhantomPlate"
- Part204.Parent = Model2
- Part204.BrickColor = BrickColor.new("Dark stone grey")
- Part204.Rotation = Vector3.new(-180, 0, -180)
- Part204.Anchored = true
- Part204.Size = Vector3.new(16, 1.20000005, 16)
- Part204.CFrame = CFrame.new(54.3499908, 249.779358, 60.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part204.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part204.Position = Vector3.new(54.3499908, 249.779358, 60.75)
- Part204.Orientation = Vector3.new(0, 180, 0)
- Part204.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script205.Name = "PlateScript"
- Script205.Parent = Part204
- table.insert(cors,sandbox(Script205,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part206.Name = "PhantomPlate"
- Part206.Parent = Model2
- Part206.BrickColor = BrickColor.new("Bright red")
- Part206.Rotation = Vector3.new(-180, 0, -180)
- Part206.Anchored = true
- Part206.Size = Vector3.new(16, 1.20000005, 16)
- Part206.CFrame = CFrame.new(71.3499908, 249.779358, 60.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part206.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part206.Position = Vector3.new(71.3499908, 249.779358, 60.75)
- Part206.Orientation = Vector3.new(0, 180, 0)
- Part206.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script207.Name = "PlateScript"
- Script207.Parent = Part206
- table.insert(cors,sandbox(Script207,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- SpawnLocation208.Parent = Model2
- SpawnLocation208.BrickColor = BrickColor.new("Bright yellow")
- SpawnLocation208.Rotation = Vector3.new(-180, 0, -180)
- SpawnLocation208.Anchored = true
- SpawnLocation208.Size = Vector3.new(6, 1.20000005, 6)
- SpawnLocation208.CFrame = CFrame.new(-28.6500092, 290.179443, -22.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- SpawnLocation208.BackSurface = Enum.SurfaceType.Weld
- SpawnLocation208.BottomSurface = Enum.SurfaceType.Weld
- SpawnLocation208.FrontSurface = Enum.SurfaceType.Weld
- SpawnLocation208.LeftSurface = Enum.SurfaceType.Weld
- SpawnLocation208.RightSurface = Enum.SurfaceType.Weld
- SpawnLocation208.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation208.Duration = 3
- SpawnLocation208.Color = Color3.new(0.960784, 0.803922, 0.188235)
- SpawnLocation208.Position = Vector3.new(-28.6500092, 290.179443, -22.25)
- SpawnLocation208.Orientation = Vector3.new(0, 180, 0)
- SpawnLocation208.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Decal209.Parent = SpawnLocation208
- Decal209.Texture = "rbxasset://Textures/SpawnLocation.png"
- Decal209.Face = Enum.NormalId.Top
- Script210.Parent = SpawnLocation208
- table.insert(cors,sandbox(Script210,function()
- function onTouch(part) --Finding Humanoid is useless...
- part.Parent:findFirstChild("Head").CanCollide = true
- part.Parent:findFirstChild("Torso").CanCollide = true
- part.Parent:findFirstChild("Left Arm").CanCollide = true
- part.Parent:findFirstChild("Right Arm").CanCollide = true
- part.Parent:findFirstChild("Left Leg").CanCollide = true
- part.Parent:findFirstChild("Right Leg").CanCollide = true
- end
- script.Parent.Touched:connect(onTouch)
- end))
- Part211.Name = "PhantomPlate"
- Part211.Parent = Model2
- Part211.BrickColor = BrickColor.new("Dark stone grey")
- Part211.Rotation = Vector3.new(0, -90, 0)
- Part211.Anchored = true
- Part211.Size = Vector3.new(16, 1.20000005, 16)
- Part211.CFrame = CFrame.new(37.3499908, 249.779358, 77.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part211.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part211.Position = Vector3.new(37.3499908, 249.779358, 77.75)
- Part211.Orientation = Vector3.new(0, -90, 0)
- Part211.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script212.Name = "PlateScript"
- Script212.Parent = Part211
- table.insert(cors,sandbox(Script212,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part213.Name = "PhantomPlate"
- Part213.Parent = Model2
- Part213.BrickColor = BrickColor.new("Bright red")
- Part213.Rotation = Vector3.new(-180, 0, -180)
- Part213.Anchored = true
- Part213.Size = Vector3.new(16, 1.20000005, 16)
- Part213.CFrame = CFrame.new(54.3499908, 249.779358, 77.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part213.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part213.Position = Vector3.new(54.3499908, 249.779358, 77.75)
- Part213.Orientation = Vector3.new(0, 180, 0)
- Part213.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script214.Name = "PlateScript"
- Script214.Parent = Part213
- table.insert(cors,sandbox(Script214,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- Part215.Name = "PhantomPlate"
- Part215.Parent = Model2
- Part215.BrickColor = BrickColor.new("Dark stone grey")
- Part215.Rotation = Vector3.new(-180, 0, -180)
- Part215.Anchored = true
- Part215.Size = Vector3.new(16, 1.20000005, 16)
- Part215.CFrame = CFrame.new(71.3499908, 249.779358, 77.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part215.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part215.Position = Vector3.new(71.3499908, 249.779358, 77.75)
- Part215.Orientation = Vector3.new(0, 180, 0)
- Part215.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script216.Name = "PlateScript"
- Script216.Parent = Part215
- table.insert(cors,sandbox(Script216,function()
- local plate = script.Parent
- local color = plate.BrickColor
- function disappear()
- plate.BrickColor = BrickColor.new(26)
- wait(.5)
- for i=1,5 do
- plate.Transparency = (i / 5)
- wait(.2)
- end
- plate.CanCollide = false
- wait(5)
- plate.CanCollide = true
- plate.Transparency = 0
- plate.BrickColor = color
- end
- while true do
- if (math.random(1,10) == 5) then disappear() end
- wait(2)
- end
- end))
- SpawnLocation217.Parent = Model2
- SpawnLocation217.BrickColor = BrickColor.new("Bright yellow")
- SpawnLocation217.Rotation = Vector3.new(-180, 0, -180)
- SpawnLocation217.Anchored = true
- SpawnLocation217.Size = Vector3.new(6, 1.20000005, 6)
- SpawnLocation217.CFrame = CFrame.new(54.3499908, 250.579361, 97.75, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- SpawnLocation217.BackSurface = Enum.SurfaceType.Weld
- SpawnLocation217.BottomSurface = Enum.SurfaceType.Weld
- SpawnLocation217.FrontSurface = Enum.SurfaceType.Weld
- SpawnLocation217.LeftSurface = Enum.SurfaceType.Weld
- SpawnLocation217.RightSurface = Enum.SurfaceType.Weld
- SpawnLocation217.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation217.Duration = 3
- SpawnLocation217.Color = Color3.new(0.960784, 0.803922, 0.188235)
- SpawnLocation217.Position = Vector3.new(54.3499908, 250.579361, 97.75)
- SpawnLocation217.Orientation = Vector3.new(0, 180, 0)
- SpawnLocation217.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Decal218.Parent = SpawnLocation217
- Decal218.Texture = "rbxasset://Textures/SpawnLocation.png"
- Decal218.Face = Enum.NormalId.Top
- Script219.Parent = SpawnLocation217
- table.insert(cors,sandbox(Script219,function()
- function onTouch(part) --Finding Humanoid is useless...
- part.Parent:findFirstChild("Head").CanCollide = true
- part.Parent:findFirstChild("Torso").CanCollide = true
- part.Parent:findFirstChild("Left Arm").CanCollide = true
- part.Parent:findFirstChild("Right Arm").CanCollide = true
- part.Parent:findFirstChild("Left Leg").CanCollide = true
- part.Parent:findFirstChild("Right Leg").CanCollide = true
- end
- script.Parent.Touched:connect(onTouch)
- end))
- Model220.Name = "HealPad"
- Model220.Parent = Model2
- Model220.PrimaryPart = Part221
- Part221.Name = "Smooth Block Model"
- Part221.Parent = Model220
- Part221.BrickColor = BrickColor.new("Black")
- Part221.Rotation = Vector3.new(-180, 0, -180)
- Part221.FormFactor = Enum.FormFactor.Plate
- Part221.Size = Vector3.new(8, 0.400000006, 8)
- Part221.CFrame = CFrame.new(-69.6500092, 259.779327, -96.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part221.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part221.Position = Vector3.new(-69.6500092, 259.779327, -96.25)
- Part221.Orientation = Vector3.new(0, 180, 0)
- Part221.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part222.Name = "Pad"
- Part222.Parent = Model220
- Part222.BrickColor = BrickColor.new("Bright green")
- Part222.Rotation = Vector3.new(-180, 0, -180)
- Part222.FormFactor = Enum.FormFactor.Plate
- Part222.Size = Vector3.new(6, 0.400000006, 6)
- Part222.CFrame = CFrame.new(-69.6500092, 260.179321, -96.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part222.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part222.Position = Vector3.new(-69.6500092, 260.179321, -96.25)
- Part222.Orientation = Vector3.new(0, 180, 0)
- Part222.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Script223.Name = "HealPadScript"
- Script223.Parent = Model220
- table.insert(cors,sandbox(Script223,function()
- local onColor = BrickColor.new(37)
- local offColor = BrickColor.new(21)
- local cooldown = 30
- local connection = nil
- local isOn = true
- function turnOff()
- script.Parent.Pad.BrickColor = offColor
- isOn = false
- end
- function turnOn()
- script.Parent.Pad.BrickColor = onColor
- isOn = true
- end
- function onTouch(hit)
- if (isOn == false) then return end
- local human = hit.Parent:findFirstChild("Humanoid")
- if (human ~= nil) then
- human.Health = human.MaxHealth
- turnOff()
- end
- end
- connection = script.Parent.Pad.Touched:connect(onTouch)
- while true do
- wait(cooldown)
- if (isOn == false) then turnOn() end
- end
- end))
- Part224.Name = "Smooth Block Model"
- Part224.Parent = Model2
- Part224.BrickColor = BrickColor.new("Reddish brown")
- Part224.Rotation = Vector3.new(-180, 0, -180)
- Part224.Size = Vector3.new(33, 244.800003, 32)
- Part224.CFrame = CFrame.new(55.8499908, 127.579353, 226.749985, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part224.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part224.Position = Vector3.new(55.8499908, 127.579353, 226.749985)
- Part224.Orientation = Vector3.new(0, 180, 0)
- Part224.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part225.Name = "Smooth Block Model"
- Part225.Parent = Model2
- Part225.BrickColor = BrickColor.new("Dark stone grey")
- Part225.Rotation = Vector3.new(-180, 0, -180)
- Part225.Size = Vector3.new(5, 1.20000005, 105)
- Part225.CFrame = CFrame.new(54.8499908, 250.579361, 160.25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part225.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part225.Position = Vector3.new(54.8499908, 250.579361, 160.25)
- Part225.Orientation = Vector3.new(0, 180, 0)
- Part225.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part226.Name = "Smooth Block Model"
- Part226.Parent = Model2
- Part226.BrickColor = BrickColor.new("Reddish brown")
- Part226.Rotation = Vector3.new(0, -90, 0)
- Part226.Size = Vector3.new(29, 1.20000005, 2)
- Part226.CFrame = CFrame.new(-62.6500092, 260.179352, -123.75, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part226.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part226.Position = Vector3.new(-62.6500092, 260.179352, -123.75)
- Part226.Orientation = Vector3.new(0, -90, 0)
- Part226.Color = Color3.new(0.411765, 0.25098, 0.156863)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Character then
- local torso = v.Character:findFirstChild("Torso")
- if torso then
- torso.CFrame = SpawnLocation116.CFrame * CFrame.new(0,math.random(1,45),0)
- end
- end
- end
- stringd = "Finished!"
- makeablock()
- end
- if string.sub(msg,1,6) == ";admin" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,8))
- if findplayer then
- local function makeablock()
- if findplayer.Character:findFirstChild("Torso") then
- local model = Instance.new("Model", workspace)
- local humanoid = Instance.new("Humanoid", model)
- local model = Instance.new("Model", workspace)
- local humanoid = Instance.new("Humanoid", model)
- local block = Instance.new("Part", model)
- block.CFrame = findplayer.Character.Torso.CFrame
- block.CanCollide = false
- block.Material = "Neon"
- block.Name = "Head"
- block.Size = Vector3.new(1,1,1)
- block.BrickColor = BrickColor:random()
- local bodypos = Instance.new("BodyPosition", block)
- bodypos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bodypos.Position = findplayer.Character.Torso.Position + Vector3.new(math.random(-8,8),0,math.random(-8,8))
- block:BreakJoints()
- model.Name = stringd
- wait(math.random(3.5,4.5))
- model:destroy()
- end
- end
- findplayer.Chatted:connect(command)
- stringd = game.Players.LocalPlayer.Name.." gave you admin!"
- makeablock()
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,9) == ";antiskid" then
- if string.sub(msg,11) == "on" then
- antiskid = true
- stringd = "Anti-Skid activated"
- makeablock()
- end
- if string.sub(msg,11) == "off" then
- antiskid = false
- stringd = "Anti-Skid deactivated"
- makeablock()
- end
- end
- if string.sub(msg,1,13) == ";antitimestop" then
- if string.sub(msg,15) == "on" then
- antitimestop = true
- stringd = "Anti-Time Stop activated"
- makeablock()
- end
- if string.sub(msg,15) == "off" then
- antitimestop = false
- stringd = "Anti-Time Stop deactivated"
- makeablock()
- end
- end
- if string.sub(msg,1,4) == ";ban" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,6))
- if findplayer then
- local bckpck = findplayer:findFirstChildOfClass("Backpack")
- if bckpck then
- if findplayer.Name == "Rufus14" or findplayer.Name == "YourCuteNoob" or findplayer.Name == "dionspion009" or findplayer.Name == "Ahtoh13131423144235" or findplayer.Name == "alexion9581" then
- stringd = "You cant ban me/my friends dickhead"
- makeablock()
- else
- table.insert(faggots, findplayer.Name)
- stringd = findplayer.Name.." GOT BEANED"
- local hop = Instance.new("HopperBin", bckpck)
- hop.Name = "NIGGA U JUST GOT BEANED"
- hop.TextureId = "http://www.roblox.com/asset/?id=519614281"
- hop.Name = "lol"
- local dialup = Instance.new("Sound", findplayer.Character.Head)
- dialup.SoundId = "rbxassetid://334010877"
- dialup.Volume = 10
- dialup:Play()
- dialup.Looped = true
- for i = 1,#faggots do
- print(faggots[i])
- end
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,6) == ";unban" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,8))
- if findplayer then
- for i,v in pairs(faggots) do
- if v == findplayer.Name then
- table.remove(faggots, i)
- stringd = "Unbanned "..findplayer.Name
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,5) == ";kill" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,7))
- if findplayer then
- stringd = "Killed "..findplayer.Name
- if findplayer.Character then
- findplayer.Character:BreakJoints()
- end
- makeablock()
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,3) == ";tp" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,5))
- if findplayer then
- stringd = "Teleported "..findplayer.Name
- if findplayer.Character then
- findplayer.Character:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
- end
- makeablock()
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,8) == ";explode" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,10))
- if findplayer then
- if findplayer.Character then
- stringd = "Exploded "..findplayer.Name
- findplayer.Character:BreakJoints()
- local boom = Instance.new("Explosion", workspace)
- boom.Position = findplayer.Character.Torso.Position
- boom.BlastRadius = 1
- local hitoof = Instance.new("Sound", findplayer.Character.Head)
- hitoof.SoundId = "rbxassetid://771324077"
- hitoof.Volume = 3
- hitoof.TimePosition = 5.1
- hitoof:Play()
- local explosion = Instance.new("Sound", findplayer.Character.Head)
- explosion.SoundId = "rbxassetid://130803364"
- explosion.Volume = 10
- explosion:Play()
- wait(1.5)
- explosion:Stop()
- hitoof:Stop()
- makeablock()
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,6) == ";music" then
- stringd = "Playing "..string.sub(msg,8)
- local hitoof = Instance.new("Sound", game.Players.LocalPlayer.Character)
- hitoof.SoundId = "rbxassetid://"..string.sub(msg,8)
- hitoof.Volume = 10
- hitoof.Name = "MusicAdmin"
- hitoof.Looped = true
- hitoof:Play()
- makeablock()
- end
- if string.sub(msg,1,6) == ";stop" then
- if game.Players.LocalPlayer.Character:findFirstChild("MusicAdmin") then
- game.Players.LocalPlayer.Character.MusicAdmin:destroy()
- stringd = "Stopping"
- makeablock()
- else
- stringd = "You not playing any music with now."
- makeablock()
- end
- end
- if string.sub(msg,1,4) == ";god" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,6))
- if findplayer then
- if findplayer.Character then
- local humanoid = findplayer.Character:findFirstChild("Humanoid")
- if humanoid then
- stringd = "Godded "..findplayer.Name
- findplayer.Character.Humanoid.MaxHealth = math.huge
- findplayer.Character.Humanoid.Health = math.huge
- makeablock()
- else
- stringd = findplayer.Name.." dosent have Humanoid!"
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,10) == ";touchkill" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,12))
- if findplayer then
- if findplayer.Character then
- local humanoid = findplayer.Character:findFirstChild("Torso")
- if humanoid then
- stringd = "Given Touchkill to "..findplayer.Name
- local function killtouch(part)
- local humn = part.Parent:findFirstChildOfClass("Humanoid")
- if humn then
- humn.Health = 0
- end
- end
- humanoid.Parent.Torso.Touched:connect(killtouch)
- makeablock()
- else
- stringd = findplayer.Name.." dosent have Torso!"
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,9) == ";touchdmg" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,11))
- if findplayer then
- if findplayer.Character then
- local humanoid = findplayer.Character:findFirstChild("Torso")
- if humanoid then
- stringd = "Given Touchdmg to "..findplayer.Name
- local function killtouch(part)
- local humn = part.Parent:findFirstChildOfClass("Humanoid")
- if humn then
- humn.Health = humn.Health - 4
- end
- end
- humanoid.Parent.Torso.Touched:connect(killtouch)
- makeablock()
- else
- stringd = findplayer.Name.." dosent have Torso!"
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,11) == ";customchat" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,13))
- if findplayer then
- if findplayer.Character then
- local humanoid = findplayer.Character:findFirstChild("Torso")
- local humanoid1 = findplayer.Character:findFirstChild("UpperTorso")
- if humanoid or humanoid1 then
- stringd = "Given Custom Chat to "..findplayer.Name
- local txtfag = Instance.new("BillboardGui", findplayer.Character.Head)
- txtfag.Adornee = suckadick
- txtfag.Name = "kys nigga"
- txtfag.Size = UDim2.new(2, 0, 1.2, 0)
- txtfag.StudsOffset = Vector3.new(-5, 3, 0)
- local textfag = Instance.new("TextLabel", txtfag)
- textfag.Size = UDim2.new(6, 0, 1, 0)
- textfag.FontSize = "Size8"
- textfag.TextScaled = true
- textfag.TextTransparency = 0
- textfag.BackgroundTransparency = 1
- textfag.TextTransparency = 0
- textfag.TextStrokeTransparency = 0
- textfag.Font = "SourceSans"
- textfag.TextStrokeColor3 = Color3.new(0, 1, 0)
- textfag.Text = game.Players.LocalPlayer.Name.." gave you custom chat"
- v = Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent = part
- v.FormFactor = "Symmetric"
- v.Anchored = true
- v.CanCollide = false
- v.BottomSurface = "Smooth"
- v.TopSurface = "Smooth"
- v.Size = Vector3.new(10, 5, 3)
- v.Transparency = 0.7
- if humanoid then
- v.BrickColor = humanoid.BrickColor
- end
- if humanoid1 then
- v.BrickColor = humanoid1.BrickColor
- end
- v.Transparency = 1
- textfag.TextColor3 = v.BrickColor.Color
- textfag.TextStrokeColor3 = Color3.new(0, 0, 0)
- v.Shape = "Block"
- local function chatt(msg)
- textfag.Text = msg
- wait(5)
- textfag.Text = " "
- end
- findplayer.Chatted:connect(chatt)
- makeablock()
- else
- stringd = findplayer.Name.." dosent have Torso/UpperTorso!"
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,5) == ";meme" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,7))
- if findplayer then
- if findplayer.Character then
- local humanoid = findplayer.Character:findFirstChild("Head")
- if humanoid then
- for i,v in pairs(humanoid.Parent:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v:destroy()
- end
- end
- stringd = "Meme'd "..findplayer.Name
- humanoid.Mesh.MeshId = "rbxassetid://431000837"
- humanoid.Mesh.Scale = Vector3.new(0.04, 0.04, 0.04)
- makeablock()
- else
- stringd = findplayer.Name.." dosent have Head!"
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,9) == ";michealp" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,11))
- if findplayer then
- if findplayer.Character then
- local humanoid = findplayer.Character:findFirstChild("Head")
- if humanoid then
- stringd = "now "..findplayer.Name.." is Micheal P"
- makeablock()
- local hitoof = Instance.new("Sound", game.Players.LocalPlayer.Character)
- hitoof.SoundId = "rbxassetid://626777433"
- hitoof.Volume = 10
- hitoof:Play()
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- TrussPart0 = Instance.new("TrussPart")
- TrussPart0.Parent = mas
- TrussPart0.Anchored = true
- TrussPart0.BrickColor = BrickColor.new("Institutional white")
- TrussPart0.Reflectance = 0.80000001192093
- TrussPart0.Rotation = Vector3.new(-90, 0, 90)
- TrussPart0.Size = Vector3.new(2, 26.3200092, 2)
- TrussPart0.CFrame = CFrame.new(61.7600098, 32.5079803, -89.8649826, 0, -1, 0, 0, 0, 1, -1, 0, 0)
- TrussPart0.Color = Color3.new(0.972549, 0.972549, 0.972549)
- TrussPart0.Position = Vector3.new(61.7600098, 32.5079803, -89.8649826)
- TrussPart0.Orientation = Vector3.new(-90, 90, 0)
- TrussPart0.Color = Color3.new(0.972549, 0.972549, 0.972549)
- TrussPart0:BreakJoints()
- TrussPart0.CFrame = humanoid.CFrame * CFrame.new(0,math.random(200,300),0) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- humanoid.Parent.Torso.CFrame = TrussPart0.CFrame * CFrame.new(0,0,-3)
- humanoid.Parent.Humanoid.WalkSpeed = 0
- humanoid.Parent.Humanoid.JumpPower = 0
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = humanoid.Parent
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- wait(2)
- humanoid.Parent.Humanoid.PlatformStand = true
- local vl = Instance.new("BodyVelocity", humanoid.Parent.Torso)
- vl.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- vl.Velocity = humanoid.Parent.Torso.CFrame.rightVector * math.random(60,70)
- wait()
- vl:destroy()
- wait(4)
- humanoid.Parent:BreakJoints()
- else
- stringd = findplayer.Name.." dosent have Head!"
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,10) == ";deepclean" then
- for i,v in pairs(workspace:GetChildren()) do
- if v.ClassName == "Part" then
- v:destroy()
- end
- if v.ClassName == "Script" or v.ClassName == "LocalScript" then
- v:Remove()
- end
- if v.ClassName == "Model" then
- local humanoid = v:findFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid.Parent:BreakJoints()
- else
- v:destroy()
- end
- end
- end
- local lighting = game:FindFirstChildOfClass("Lighting")
- if lighting then
- for i,v in pairs(game.Lighting:GetChildren()) do
- v:destroy()
- end
- end
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- local Model0 = Instance.new("Model")
- local SpawnLocation1 = Instance.new("SpawnLocation")
- local Decal2 = Instance.new("Decal")
- local Part3 = Instance.new("Part")
- local Script4 = Instance.new("Script")
- Model0.Name = "Base"
- Model0.Parent = mas
- SpawnLocation1.Parent = Model0
- SpawnLocation1.Anchored = true
- SpawnLocation1.Size = Vector3.new(6, 1, 6)
- SpawnLocation1.CFrame = CFrame.new(-74.1300049, 0.5, -47.2900085, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation1.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation1.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation1.Position = Vector3.new(-74.1300049, 0.5, -47.2900085)
- Decal2.Parent = SpawnLocation1
- Decal2.Texture = "rbxasset://textures/SpawnLocation.png"
- Decal2.Face = Enum.NormalId.Top
- Part3.Parent = Model0
- Part3.Anchored = true
- Part3.Size = Vector3.new(307.48999, 1, 318.369995)
- Part3.CFrame = CFrame.new(-48.4250145, 0.500003994, -74.155014, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.Position = Vector3.new(-48.4250145, 0.500003994, -74.155014)
- Script4.Parent = Model0
- table.insert(cors,sandbox(Script4,function()
- while true do
- workspace.Base.Part.Anchored = true
- wait()
- end
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- end
- if string.sub(msg,1,8) == ";seizure" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,10))
- if findplayer then
- if findplayer.Character then
- local humanoid = findplayer.Character:findFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid.PlatformStand = true
- local SEIZURETIME = Instance.new("Sound", findplayer.Character.Torso)
- SEIZURETIME.SoundId = "rbxassetid://171914461"
- SEIZURETIME.Looped = true
- SEIZURETIME:Play()
- SEIZURETIME.Volume = 50
- game.Chat:Chat(findplayer.Character.Head,"SEIZURE TIME!!!","Red")
- local velocity = Instance.new("BodyVelocity", findplayer.Character.Torso)
- velocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- velocity.Velocity = findplayer.Character.Torso.CFrame.lookVector
- velocity:destroy()
- findplayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.Angles(-90, 0, 0)
- print(findplayer.Character.Head.Parent.Name)
- while true do
- wait()
- humanoid.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
- game.Chat:Chat(findplayer.Character.Head,"SEIZURE TIME!!!","Red")
- humanoid.Health = math.random(1,100)
- findplayer.Character.Torso.Neck.C0 = findplayer.Character.Torso.Neck.C0 * CFrame.Angles(math.random(-1,1),0,0)
- findplayer.Character.Torso["Left Hip"].C0 = findplayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,math.random(-1,1))
- findplayer.Character.Torso["Right Hip"].C0 = findplayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,math.random(-1,1))
- findplayer.Character.Torso["Left Shoulder"].C0 = findplayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
- findplayer.Character.Torso["Right Shoulder"].C0 = findplayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,math.random(-1,1))
- end
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,8) == ";suicide" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,10))
- if findplayer then
- if findplayer.Character then
- local humanoid = findplayer.Character:findFirstChild("Humanoid")
- if humanoid then
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Part0 = Instance.new("Part")
- SpecialMesh1 = Instance.new("SpecialMesh")
- Part0.Name = "Gun"
- Part0.Parent = mas
- Part0.CanCollide = false
- Part0.Size = Vector3.new(0.970000505, 2.46999931, 0.380000055)
- Part0.CFrame = CFrame.new(-211.74501, 2.6168952, 37.920002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part0.Position = Vector3.new(-211.74501, 2.6168952, 37.920002)
- SpecialMesh1.Parent = Part0
- SpecialMesh1.MeshId = "rbxassetid://505563629"
- SpecialMesh1.Scale = Vector3.new(0.00499999989, 0.00499999989, 0.00499999989)
- SpecialMesh1.TextureId = "rbxassetid://505563636"
- SpecialMesh1.MeshType = Enum.MeshType.FileMesh
- SpecialMesh1.Scale = Vector3.new(0.00499999989, 0.00499999989, 0.00499999989)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = humanoid.Parent
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- local cankys = true
- weld = Instance.new("Weld", Part0)
- weld.Part0 = findplayer.Character["Left Arm"]
- weld.Part1 = Part0
- weld.C0 = CFrame.new(0.158004761, -1.63815379, -1.00455856, -5.79879307e-22, 9.29214533e-23, 1, -0.587791622, -0.809012473, -2.65673535e-22, 0.809012473, -0.587791622, 5.23747954e-22)
- if cankys then
- cankys = false
- if findplayer.Character.Head:findFirstChild("face") then
- findplayer.Character.Head.face.Texture = "rbxassetid://1148787155"
- end
- local rhandweld = Instance.new("Weld", findplayer.Character.Torso)
- rhandweld.Part0 = findplayer.Character.Torso
- rhandweld.Part1 = findplayer.Character["Right Arm"]
- rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local lhandweld = Instance.new("Weld", findplayer.Character.Torso)
- lhandweld.Part0 = findplayer.Character.Torso
- lhandweld.Part1 = findplayer.Character["Left Arm"]
- lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- for i = 0,2 , 0.02 do
- weld.C0 = weld.C0:lerp(CFrame.new(0.720336914, -0.258590698, -0.514060974, 0.409927189, 0.572569966, -0.710018694, 0.0567400455, 0.760912359, 0.646370947, 0.910354853, -0.305250764, 0.279430419),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.832244873, 0.405325174, -1.44667816, 0.719340205, -0.634600103, -0.28254649, -0.214658037, 0.183768019, -0.959245205, 0.660660148, 0.750674427, -0.00403028121),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.921920776, 0.294008493, -1.1861496, 0.88295126, 0.469464868, 6.12843053e-07, -0.0490720123, 0.0922940373, -0.994521856, -0.466893107, 0.878114343, 0.104528703),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- function ragdoll()
- findplayer.Character.Archivable = true
- clone = findplayer.Character:Clone()
- clone.Parent = workspace
- for i,v in pairs(clone:GetChildren()) do
- if v.ClassName == "Script" or v.ClassName == "LocalScript" then
- v:destroy()
- end
- for i,p in pairs(v:GetChildren()) do
- if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
- p:destroy()
- end
- end
- end
- for i,t in pairs(findplayer.Character:GetChildren()) do
- if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
- t:destroy()
- end
- end
- vel = Instance.new("BodyVelocity", clone.Torso)
- vel.Velocity = clone.Torso.CFrame.lookVector * -5
- vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- clone.Head.face.Texture = "http://www.roblox.com/asset/?id=305296807"
- using = false
- hit = Instance.new("Sound", clone.Torso)
- hit.SoundId = "rbxassetid://260430060"
- hit.Volume = 0
- hit1 = Instance.new("Sound", clone.Torso)
- hit1.SoundId = "rbxassetid://138087186"
- hit1.Volume = 0
- hit2 = Instance.new("Sound", clone.Torso)
- hit2.SoundId = "rbxassetid://131237241"
- hit2.Volume = 0
- hit3 = Instance.new("Sound", clone.Torso)
- hit3.SoundId = "rbxassetid://278062209"
- hit3.Volume = 0
- hit3.TimePosition = 0.33
- ded = Instance.new("Sound", clone.Torso)
- ded.SoundId = "rbxassetid://304679846"
- ded.Volume = 10
- local leftarm = clone:findFirstChild("Left Arm")
- local rightrm = clone:findFirstChild("Right Arm")
- local leftleg = clone:findFirstChild("Left Leg")
- local rightleg = clone:findFirstChild("Right Leg")
- local head = clone:findFirstChild("Head")
- for i, g in pairs(findplayer.Character:GetChildren()) do
- if g.ClassName == "Part" then
- g:destroy()
- end
- end
- for i, h in pairs(findplayer.Character:GetChildren()) do
- if h.ClassName == "Accesory" then
- h:destroy()
- end
- end
- if head then
- local attachment = Instance.new("Attachment", clone.Head)
- attachment.Position = Vector3.new(0, -0.5, 0)
- attachment.Name = "lol"
- attachment.Visible = false
- clone.Torso.NeckAttachment.Visible = false
- clone.Torso.NeckAttachment.Position = clone.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
- local ball = Instance.new("BallSocketConstraint", clone)
- ball.Attachment0 = clone.Torso.NeckAttachment
- ball.Attachment1 = attachment
- ball.LimitsEnabled = true
- ball.TwistLimitsEnabled = true
- ball.UpperAngle = 90
- ball.Restitution = 0.5
- ball.TwistUpperAngle = 90
- ball.TwistLowerAngle = -90
- local collidepartofleftleg = Instance.new("Part", clone.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = collidepartofleftleg
- weeld.Part1 = clone["Head"]
- end
- if leftleg ~= nil then
- local glue = Instance.new("Glue", clone.Torso)
- glue.Part0 = clone.Torso
- glue.Part1 = leftleg
- glue.Name = "Left leg"
- local collider = Instance.new("Part", leftleg)
- collider.Position = Vector3.new(0,999,0)
- collider.Size = Vector3.new(1.5, 1, 1)
- collider.Shape = "Cylinder"
- local weld = Instance.new("Weld", collider)
- weld.Part0 = leftleg
- weld.Part1 = collider
- weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
- collider.TopSurface = "Smooth"
- collider.BottomSurface = "Smooth"
- collider.formFactor = "Symmetric"
- glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- collider.Transparency = 1
- end
- ------------
- if rightleg ~= nil then
- local glue1 = Instance.new("Glue", clone.Torso)
- glue1.Part0 = clone.Torso
- glue1.Part1 = rightleg
- glue1.Name = "Right leg"
- local collider1 = Instance.new("Part", rightleg)
- collider1.Position = Vector3.new(0,999,0)
- collider1.Size = Vector3.new(1.5, 1, 1)
- collider1.Shape = "Cylinder"
- local weld1 = Instance.new("Weld", collider1)
- weld1.Part0 = rightleg
- weld1.Part1 = collider1
- weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
- collider1.TopSurface = "Smooth"
- collider1.BottomSurface = "Smooth"
- collider1.formFactor = "Symmetric"
- glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- collider1.Transparency = 1
- end
- ------------
- if rightrm ~= nil then
- local glue11 = Instance.new("Glue", clone.Torso)
- glue11.Part0 = clone.Torso
- glue11.Part1 = rightrm
- glue11.Name = "Right shoulder"
- local collider11 = Instance.new("Part", rightrm)
- collider11.Position = Vector3.new(0,9999,0)
- collider11.Size = Vector3.new(1.5,1,1)
- collider11.Shape = "Cylinder"
- local weld11 = Instance.new("Weld", collider11)
- weld11.Part0 = rightrm
- weld11.Part1 = collider11
- weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
- collider11.TopSurface = "Smooth"
- collider11.BottomSurface = "Smooth"
- collider11.formFactor = "Symmetric"
- glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- collider11.Transparency = 1
- end
- ------------
- if leftarm ~= nil then
- local glue111 = Instance.new("Glue", clone.Torso)
- glue111.Part0 = clone.Torso
- glue111.Part1 = leftarm
- glue111.Name = "Left shoulder"
- local collider111 = Instance.new("Part", leftarm)
- collider111.Position = Vector3.new(0,9999,0)
- collider111.Size = Vector3.new(1.5,1,1)
- collider111.Shape = "Cylinder"
- local weld111 = Instance.new("Weld", collider111)
- weld111.Part0 = leftarm
- weld111.Part1 = collider111
- weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
- collider111.TopSurface = "Smooth"
- collider111.BottomSurface = "Smooth"
- collider111.formFactor = "Symmetric"
- glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- collider111.Transparency = 1
- ----------------
- sensoring = Instance.new("Part", clone.Torso)
- sensoring.Size = Vector3.new(1.2,1.1,0.8)
- sensoring.CanCollide = false
- sensoring.Position = clone.Torso.Position
- local welder = Instance.new("Weld", sensoring)
- welder.Part0 = clone.Torso
- welder.Part1 = sensoring
- welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
- sensoring.Transparency = 1
- -----------------
- sensoring1 = Instance.new("Part", clone.Torso)
- sensoring1.Size = Vector3.new(1.2,1.1,0.8)
- sensoring1.CanCollide = false
- sensoring1.Position = clone.Torso.Position
- local welder1 = Instance.new("Weld", sensoring)
- welder1.Part0 = clone.Torso
- welder1.Part1 = sensoring1
- welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
- sensoring1.Transparency = 1
- end
- clone.Name = findplayer.Character.Name.." (Suicide)"
- ded:Play()
- vel:destroy()
- wait(0.5)
- local function touch()
- if not using then
- using = true
- local Math = math.random(1,4)
- if Math == 1 then
- hit:Play()
- end
- if Math == 2 then
- hit1:Play()
- end
- if Math == 3 then
- hit2:Play()
- end
- if Math == 4 then
- hit3:Play()
- end
- wait(0.1)
- using = false
- end
- end
- while true do
- clone.Head.CanCollide = false
- game:GetService("RunService").Stepped:wait()
- end
- end
- humanoid.Died:connect(ragdoll)
- --di ent
- humanoid.Health = 0
- end
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,7) == ";bleach" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,9))
- if findplayer then
- if findplayer.Character then
- local humanoid = findplayer.Character:findFirstChild("Head")
- if humanoid then
- stringd = findplayer.Name.." can't handle the cancer"
- makeablock()
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- local Part0 = Instance.new("Part")
- local SpecialMesh1 = Instance.new("SpecialMesh")
- Part0.Name = "Cure For The Depression"
- Part0.Parent = mas
- Part0.Rotation = Vector3.new(-179.800003, -49.2700005, -122.189995)
- Part0.CanCollide = false
- Part0.Size = Vector3.new(1.41000021, 2.4199996, 0.870000362)
- Part0.CFrame = CFrame.new(-1.96438241, 1.24650455, -0.335119545, -0.347542852, 0.552192509, -0.757824063, 0.844899595, 0.534919918, 0.00229596253, 0.406643033, -0.639487326, -0.652454853)
- Part0.Position = Vector3.new(-1.96438241, 1.24650455, -0.335119545)
- Part0.Orientation = Vector3.new(-0.129999995, -130.729996, 57.6599998)
- SpecialMesh1.Parent = Part0
- SpecialMesh1.MeshId = "http://roblox.com/asset?id=483388971"
- SpecialMesh1.Scale = Vector3.new(0.00499999989, 0.00499999989, 0.00499999989)
- SpecialMesh1.TextureId = "http://roblox.com/asset?id=520016684"
- SpecialMesh1.MeshType = Enum.MeshType.FileMesh
- SpecialMesh1.Scale = Vector3.new(0.00499999989, 0.00499999989, 0.00499999989)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = humanoid.Parent
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- local weld = Instance.new("Weld", humanoid.Parent)
- weld.Part0 = humanoid.Parent["Left Arm"]
- weld.Part1 = Part0
- weld.C0 = CFrame.new(0.064994812, -1.72440648, 0.548736572, 9.42936094e-06, 5.48029857e-06, -1, 0.809019446, 0.58778286, 1.08497516e-05, 0.587782323, -0.809020102, 1.10874794e-06)
- local rhandweld = Instance.new("Weld", humanoid.Parent)
- rhandweld.Part0 = humanoid.Parent.Torso
- rhandweld.Part1 = humanoid.Parent["Right Arm"]
- rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- local lhandweld = Instance.new("Weld", humanoid.Parent)
- lhandweld.Part0 = humanoid.Parent.Torso
- lhandweld.Part1 = humanoid.Parent["Left Arm"]
- lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- for i = 0,0.8 , 0.005 do
- weld.C0 = weld.C0:lerp(CFrame.new(0.310897827, -1.21376991, -0.211528778, -0.295896947, 0.29797709, -0.907554209, -0.0399678387, 0.945405662, 0.323435843, 0.954383314, 0.131976664, -0.267833143),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.624217987, 0.421169281, -1.02943993, 0.907554209, -0.323435843, 0.267833143, 0.285320103, 0.00695120543, -0.958414614, 0.308123887, 0.946231425, 0.09859135),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- for i = 0,1 , 0.002 do
- weld.C0 = weld.C0:lerp(CFrame.new(0.310897827, -1.21376991, -0.211528778, -0.295896947, 0.29797709, -0.907554209, -0.0399678387, 0.945405662, 0.323435843, 0.954383314, 0.131976664, -0.267833143),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.624217987, 0.739395142, -1.1837616, 0.907554209, -0.323435843, 0.267833143, 0.149117827, -0.348017156, -0.925552845, 0.392567515, 0.879928172, -0.267614394),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- humanoid.Parent:BreakJoints()
- else
- stringd = findplayer.Name.." dosent have Head!"
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,6) == ";invis" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,8))
- if findplayer then
- if findplayer.Character then
- local humanoid = findplayer.Character:findFirstChild("Head")
- if humanoid then
- for i,v in pairs(humanoid.Parent:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = 1
- end
- if v.ClassName == "Part" then
- v.Transparency = 1
- end
- end
- if humanoid:findFirstChild("face") then
- humanoid.face.Transparency = 1
- end
- stringd = findplayer.Name.." is now invisible!"
- makeablock()
- else
- stringd = findplayer.Name.." dosent have Head!"
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,8) == ";uninvis" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,10))
- if findplayer then
- if findplayer.Character then
- local humanoid = findplayer.Character:findFirstChild("Head")
- if humanoid then
- for i,v in pairs(humanoid.Parent:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "Accessory" then
- v.Handle.Transparency = 0
- end
- if v.ClassName == "Part" then
- v.Transparency = 0
- end
- end
- if humanoid:findFirstChild("face") then
- humanoid.face.Transparency = 0
- end
- stringd = findplayer.Name.." is now visible!"
- makeablock()
- else
- stringd = findplayer.Name.." dosent have Head!"
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,9) == ";showbans" then
- for i = 1,#faggots do
- stringd = faggots[i]
- makeablock()
- end
- end
- if string.sub(msg,1,8) == ";blocksc" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,10))
- if findplayer then
- if findplayer.Character then
- table.insert(bannedscriptsbois,findplayer.Name)
- stringd = "Added "..findplayer.Name.." to a block table!"
- for i = 1,#bannedscriptsbois do
- print("In the table: "..bannedscriptsbois[i])
- end
- makeablock()
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,10) == ";unblocksc" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,12))
- if findplayer then
- if findplayer.Character then
- for i,v in pairs(bannedscriptsbois) do
- if v == findplayer.Name then
- table.remove(bannedscriptsbois, i)
- stringd = "Removed "..findplayer.Name.." from a block table!"
- makeablock()
- end
- print("In the table: "..v)
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,4) == ";nil" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,6))
- if findplayer then
- if findplayer.Character then
- findplayer.Character.Parent = nil
- stringd = "Niled "..findplayer.Name.."!"
- makeablock()
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,6) == ";unnil" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,8))
- if findplayer then
- if findplayer.Character then
- findplayer.Character.Parent = workspace
- stringd = "Unniled "..findplayer.Name.."!"
- makeablock()
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,10) == ";renamehum" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,12))
- if findplayer then
- if findplayer.Character then
- local humanoid = findplayer.Character:findFirstChildOfClass("Humanoid")
- if humanoid then
- local humanoidmat = math.random(1,6)
- if humanoidmat == 1 then
- stringd = findplayer.Name.."'s humanoid renamed to 'boi'!"
- humanoid.Name = "boi"
- makeablock()
- end
- if humanoidmat == 2 then
- stringd = findplayer.Name.."'s humanoid renamed to 'memes'!"
- humanoid.Name = "memes"
- makeablock()
- end
- if humanoidmat == 3 then
- stringd = findplayer.Name.."'s humanoid renamed to 'michealp'!"
- humanoid.Name = "michealp"
- makeablock()
- end
- if humanoidmat == 4 then
- stringd = findplayer.Name.."'s humanoid renamed to 'yourmom'!"
- humanoid.Name = "yourmom"
- makeablock()
- end
- if humanoidmat == 5 then
- stringd = findplayer.Name.."'s humanoid renamed to 'hehe'!"
- humanoid.Name = "hehe"
- makeablock()
- end
- if humanoidmat == 6 then
- stringd = findplayer.Name.."'s humanoid renamed to 'lenny'!"
- humanoid.Name = "lenny"
- makeablock()
- end
- else
- stringd = findplayer.Name.." dosent have Humanoid!"
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,5) == ";nuke" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,7))
- if findplayer then
- if findplayer.Character then
- if findplayer.Character:findFirstChild("Head") then
- ohshit:Play()
- stringd = "Nuked "..findplayer.Name.."!"
- for i,v in pairs(findplayer.Character:GetChildren()) do
- if v.ClassName == "Script" or v.ClassName == "LocalScript" then
- v:Remove()
- end
- end
- wait(1.5)
- fart:Play()
- findplayer.Character.Head.Transparency = 1
- if findplayer.Character.Head:findFirstChild("face") then
- findplayer.Character.Head.face:destroy()
- end
- for i,v in pairs(findplayer.Character:GetChildren()) do
- if v.ClassName == "Accessory" or v.ClassName == "Hat" then
- v:destroy()
- end
- end
- -- Objects
- local BillboardGui = Instance.new("BillboardGui")
- local ImageLabel = Instance.new("ImageLabel")
- -- Properties
- BillboardGui.Parent = findplayer.Character.Head
- BillboardGui.Size = UDim2.new(0, 100, 0, 50)
- ImageLabel.Parent = BillboardGui
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.BackgroundTransparency = 1
- ImageLabel.Position = UDim2.new(-0.7, 0,-3, 0)
- ImageLabel.Size = UDim2.new(0, 301,0, 301)
- ImageLabel.Image = "rbxassetid://1287525387"
- wait(0.6)
- kabom:Play()
- findplayer.Character:BreakJoints()
- gta:Play()
- local boom = Instance.new("Part", findplayer.Character.Head)
- boom.Anchored = true
- boom.CanCollide = false
- boom.Position = findplayer.Character.Head.Position
- local mesh1 = Instance.new("SpecialMesh", boom)
- mesh1.MeshId = "http://www.roblox.com/asset/?id=3270017"
- boom.BrickColor = BrickColor.new("Bright yellow")
- boom.Rotation = Vector3.new(90,0,0)
- boom.Transparency = 0.5
- for i = 1,400 do
- boom.Rotation = boom.Rotation + Vector3.new(0,0,1)
- mesh1.Scale = mesh1.Scale - Vector3.new(3,3,4.5)
- game:GetService("RunService").RenderStepped:wait()
- end
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,7) == ";tigerw" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,9))
- if findplayer then
- if findplayer.Character then
- if findplayer.Character:findFirstChild("Head") then
- findplayer.Character.Head.Transparency = 1
- if findplayer.Character.Head:findFirstChild("face") then
- findplayer.Character.Head.face:destroy()
- end
- for i,v in pairs(findplayer.Character:GetChildren()) do
- if v.ClassName == "Accessory" or v.ClassName == "Hat" then
- v:destroy()
- end
- end
- -- Objects
- local BillboardGui = Instance.new("BillboardGui")
- local ImageLabel = Instance.new("ImageLabel")
- -- Properties
- BillboardGui.Parent = findplayer.Character.Head
- BillboardGui.Size = UDim2.new(0, 100, 0, 50)
- ImageLabel.Parent = BillboardGui
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.BackgroundTransparency = 1
- ImageLabel.Position = UDim2.new(-0.7, 0,-3, 0)
- ImageLabel.Size = UDim2.new(0, 301,0, 301)
- ImageLabel.Image = "rbxassetid://1287525387"
- stringd = "Tiger Woodsed "..findplayer.Name.."!"
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,5) == ";hang" then
- local findplayer = game.Players:findFirstChild(string.sub(msg,7))
- if findplayer then
- if findplayer.Character then
- local humanoid = findplayer.Character:findFirstChildOfClass("Humanoid")
- if humanoid then
- stringd = "Hung "..humanoid.Parent.Name.."!"
- for i,v in pairs(humanoid.Parent:GetChildren()) do
- if v.ClassName == "LocalScript" or v.ClassName == "Script" then
- v:Remove()
- end
- end
- --By Rufus14 lolol
- --Converted with ttyyuu12345's model to script plugin v4
- humanoid.WalkSpeed = 0
- humanoid.JumpPower = 0
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- local Part0 = Instance.new("Part")
- local Sound1 = Instance.new("Sound")
- local Attachment2 = Instance.new("Attachment")
- local RopeConstraint3 = Instance.new("RopeConstraint")
- local Part4 = Instance.new("Part")
- local SpecialMesh5 = Instance.new("SpecialMesh")
- local Attachment6 = Instance.new("Attachment")
- local RopeConstraint7 = Instance.new("RopeConstraint")
- local RopeConstraint8 = Instance.new("RopeConstraint")
- Part0.Parent = mas
- Part0.BrickColor = BrickColor.new("Pearl")
- Part0.Anchored = true
- Part0.Size = Vector3.new(9.97000027, 0.720000267, 7.03999949)
- Part0.CFrame = CFrame.new(16.7149887, 13.7606668, 36.7299957, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part0.Color = Color3.new(0.905882, 0.905882, 0.92549)
- Part0.Position = Vector3.new(16.7149887, 13.7606668, 36.7299957)
- Part0.Color = Color3.new(0.905882, 0.905882, 0.92549)
- Sound1.Parent = Part0
- Sound1.SoundId = "rbxassetid://1205183071"
- Attachment6.Parent = Part0
- Attachment6.Visible = true
- RopeConstraint8.Parent = Attachment6
- RopeConstraint8.Color = BrickColor.new("Maroon")
- RopeConstraint8.Visible = true
- RopeConstraint8.Attachment0 = nil
- RopeConstraint8.Attachment1 = Attachment6
- RopeConstraint8.Color = BrickColor.new("Maroon")
- RopeConstraint8.Length = 7.5
- RopeConstraint8.Thickness = 0.20000000298023
- RopeConstraint8.Restitution = 0.10000000149012
- Part4.Parent = mas
- Part4.Size = Vector3.new(3.6299994, 2.9199996, 2.94999957)
- Part4.CFrame = CFrame.new(16.4487038, 1.47368073, 36.9643707, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.Position = Vector3.new(16.4487038, 1.47368073, 36.9643707)
- SpecialMesh5.Parent = Part4
- SpecialMesh5.MeshId = "http://www.roblox.com/asset/?id=112335925"
- SpecialMesh5.Scale = Vector3.new(3, 3, 3)
- SpecialMesh5.TextureId = "http://www.roblox.com/asset/?id=112335881"
- SpecialMesh5.MeshType = Enum.MeshType.FileMesh
- SpecialMesh5.Scale = Vector3.new(3, 3, 3)
- Attachment6.Parent = Part0
- Attachment6.Visible = true
- RopeConstraint8.Parent = Attachment6
- RopeConstraint8.Color = BrickColor.new("Maroon")
- RopeConstraint8.Visible = true
- RopeConstraint8.Length = 7.5
- RopeConstraint8.Thickness = 0.20000000298023
- RopeConstraint8.Restitution = 0
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = humanoid.Parent
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- Part0.CFrame = humanoid.Parent.Head.CFrame * CFrame.new(0,7.5,0)
- humanoid.Parent.Torso.CFrame = humanoid.Parent.Torso.CFrame * CFrame.new(0,2,0)
- Part4.CFrame = humanoid.Parent.Torso.CFrame * CFrame.new(0,-3,0)
- RopeConstraint8.Attachment0 = humanoid.Parent.Torso.NeckAttachment
- RopeConstraint8.Attachment1 = Attachment6
- RopeConstraint8.Visible = true
- humanoid.Parent.Humanoid.WalkSpeed = 0
- humanoid.Parent.Humanoid.JumpPower = 0
- makeablock()
- local bodyvel = Instance.new("BodyVelocity", Part4)
- bodyvel.Velocity = humanoid.Parent.Torso.CFrame.lookVector * 45
- local death = Instance.new("Sound", humanoid.Parent.Head)
- death.Volume = 10
- death.SoundId = "rbxassetid://12222242"
- wait(0.2)
- death:Play()
- bodyvel:destroy()
- humanoid.Parent.Humanoid.PlatformStand = true
- if humanoid.Parent:findFirstChild("Torso") then
- humanoid.Parent.Torso.Velocity = humanoid.Parent.Torso.CFrame.lookVector * 10
- for i,v in pairs(humanoid.Parent.Torso:GetChildren()) do
- if v.ClassName == "Motor6D" then
- if v.Name == "Neck" then
- else
- v:destroy()
- end
- end
- end
- end
- if humanoid.Parent:findFirstChild("Right Arm") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
- attachment.Position = Vector3.new(1, 1, 0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment
- ball.Attachment1 = attachment
- local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = humanoid.Parent["Right Arm"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if humanoid.Parent:findFirstChild("Left Arm") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
- attachment.Position = Vector3.new(-1, 1, 0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = attachment
- ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment
- local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = humanoid.Parent["Left Arm"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if humanoid.Parent:findFirstChild("Right Leg") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
- attachment.Position = Vector3.new(0.5, -1, 0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent["Right Leg"].RightFootAttachment
- ball.Attachment1 = attachment
- humanoid.Parent["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
- local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = humanoid.Parent["Right Leg"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if humanoid.Parent:findFirstChild("Left Leg") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
- attachment.Position = Vector3.new(-0.5, -1, 0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent["Left Leg"].LeftFootAttachment
- ball.Attachment1 = attachment
- humanoid.Parent["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
- local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = humanoid.Parent["Left Leg"]
- weeld.Part1 = collidepartofleftleg
- weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
- end
- if humanoid.Parent:findFirstChild("Head") then
- local attachment = Instance.new("Attachment", humanoid.Parent.Head)
- attachment.Position = Vector3.new(0, -0.5, 0)
- attachment.Name = "lol"
- attachment.Visible = false
- humanoid.Parent.Torso.NeckAttachment.Visible = false
- humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
- local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
- ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
- ball.Attachment1 = attachment
- ball.LimitsEnabled = true
- ball.TwistLimitsEnabled = true
- ball.UpperAngle = 90
- ball.Restitution = 0.5
- ball.TwistUpperAngle = 180
- ball.TwistLowerAngle = -180
- local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
- collidepartofleftleg.Name = "Bone"
- collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
- collidepartofleftleg.Transparency = 1
- collidepartofleftleg:BreakJoints()
- local weeld = Instance.new("Weld", collidepartofleftleg)
- weeld.Part0 = collidepartofleftleg
- weeld.Part1 = humanoid.Parent["Head"]
- if humanoid.Parent.Torso:findFirstChild("Neck") then
- humanoid.Parent.Torso.Neck:destroy()
- end
- if humanoid.Parent.Head:findFirstChild("face") then
- humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
- end
- end
- humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
- humanoid.Health = 0.1
- humanoid.WalkSpeed = 0
- humanoid.JumpPower = 0
- local dead = Instance.new("Sound", humanoid.Parent.Head)
- dead.Volume = 10
- dead.SoundId = "rbxassetid://1248405065"
- dead:Play()
- dead.Looped = true
- else
- stringd = findplayer.Name.." dosent have Humanoid!"
- makeablock()
- end
- end
- else
- stringd = "Can't find player '"..findplayer.Name.."'"
- makeablock()
- end
- end
- if string.sub(msg,1,5) == ";cmds" then
- stringd = ";lag plrname - Lags out a player"
- print(stringd)
- stringd = ";kill plrname - Kills a player"
- print(stringd)
- stringd = ";tp plrname - Teleports a player to you"
- print(stringd)
- stringd = ";explode plrname - Explodes a player"
- print(stringd)
- stringd = ";music id - Plays music"
- print(stringd)
- stringd = ";stop - Stops music playing right now"
- print(stringd)
- stringd = ";touchkill plrname - Gives touchkill to a player"
- print(stringd)
- stringd = ";touchdmg plrname - Gives touchdmg a player"
- print(stringd)
- stringd = ";god plrname - Gods player"
- print(stringd)
- stringd = ";customchat plrname - Adds custom chat to player, bypasses censoring system"
- print(stringd)
- stringd = ";meme plrname - Just try"
- print(stringd)
- stringd = ";michealp plrname - drops player from truss"
- print(stringd)
- stringd = ";bleach plrname - makes player kys"
- print(stringd)
- stringd = ";ban plrname - MAKES PLAYER BEANED"
- print(stringd)
- stringd = ";invis plrname - Makes player invisible"
- print(stringd)
- stringd = ";uninvis plrname - Makes player visible"
- print(stringd)
- stringd = ";hang plrname - SAYONARA BOIZ"
- print(stringd)
- stringd = ";renamehum plrname - Renames humanoid, making sometime invicible to some scripts"
- print(stringd)
- stringd = ";blocksc plrname - Loop deletes player's scripts"
- print(stringd)
- stringd = ";unblocksc plrname - Unblocks player from executing scripts"
- print(stringd)
- stringd = ";unban plrname - Unbans player"
- print(stringd)
- stringd = ";nil plrname - Nils player"
- print(stringd)
- stringd = ";tigerw plrname - I FEEL GOOD"
- print(stringd)
- stringd = ";suicide plrname - Makes player shoot himself"
- print(stringd)
- stringd = ";seizure plrname - Makes player have seizure like in that Pivot animations from 2008-2009"
- print(stringd)
- stringd = ";deepclean - Deep cleans the server"
- print(stringd)
- stringd = ";admin - Admins player"
- print(stringd)
- stringd = ";antiskid (on/off) - Runs little Rufus14's Anti Skid"
- print(stringd)
- stringd = ";antitimestop (on/off) - Runs anti time stop"
- print(stringd)
- stringd = ";nuke plr - Nukes the player without killing anyone"
- print(stringd)
- end
- end
- game.Players.LocalPlayer.Chatted:connect(command)
- function renders()
- for i,v in pairs(game.Players:GetChildren()) do
- for i = 1,#bannedscriptsbois do
- if v.Name == bannedscriptsbois[i] then
- if v.Character then
- for q,w in pairs(v.Character:GetChildren()) do
- if w.ClassName == "Script" or w.ClassName == "LocalScript" then
- if w.Name == "Animate" or w.Name == "Health" or w.Name == "Sound" then
- else
- w:Remove()
- print("Removed "..w.ClassName.." from "..v.Name)
- end
- end
- end
- end
- end
- end
- end
- end
- game:GetService("RunService").RenderStepped:connect(renders)
- while true do
- wait(1)
- for i,v in pairs(game.Players:GetChildren()) do
- for i = 1,#bannedscriptsbois do
- if v.Name == bannedscriptsbois[i] then
- if v.Character then
- for q,w in pairs(v.Character:GetChildren()) do
- if w.ClassName == "Script" or w.ClassName == "LocalScript" then
- if w.Name == "Animate" or w.Name == "Health" or w.Name == "Sound" then
- else
- w:Remove()
- print("Removed "..w.ClassName.." from "..v.Name)
- end
- end
- end
- end
- end
- end
- end
- if findsound.Parent == nil then
- findsound.Parent = workspace
- end
- if critical.Parent == nil then
- critical.Parent = workspace
- end
- if antiskid then
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Character then
- local hat = v.Character:findFirstChild("Hat")
- if hat then
- local skidzawarudo = hat:findFirstChild("Part")
- if skidzawarudo then
- local mesh = skidzawarudo:findFirstChild("Mesh")
- if mesh.MeshId == "rbxassetid://439736904" then
- if mesh.TextureId == "" then
- v.Character:BreakJoints()
- stringd = v.Name.." has probaly used Platinum Star script"
- makeablock()
- end
- end
- end
- end
- local Zawarudo = v.Character:findFirstChild("Za Warudo")
- if Zawarudo then
- local skidzawarudo = Zawarudo:findFirstChild("Heart Piece2")
- if skidzawarudo then
- v.Character:BreakJoints()
- stringd = v.Name.." has probaly used Za Warudo script"
- makeablock()
- end
- end
- local hahanope = v.Character:findFirstChild("haha nope")
- if hahanope then
- v.Character:BreakJoints()
- stringd = v.Name.." has probaly used Ultra Instinct script"
- makeablock()
- end
- local lel = v.Character:findFirstChild("le")
- if lel then
- v.Character:BreakJoints()
- stringd = v.Name.." has probaly used God Slayer script"
- makeablock()
- end
- local nintentdopowrglov = v.Character:findFirstChild("PowerGlow")
- if nintentdopowrglov then
- v.Character:BreakJoints()
- stringd = v.Name.." has probaly used leaked Ruin III script"
- makeablock()
- end
- end
- end
- end
- if antitimestop then
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Character then
- for q,w in pairs(v.Character:GetChildren()) do
- if w.ClassName == "Part" then
- if w.Anchored == true then
- w.Anchored = false
- end
- end
- end
- end
- end
- end
- if gta.Parent == nil then
- gta.Parent = workspace
- end
- if findsound.Parent == nil then
- findsound.Parent = workspace
- end
- if critical.Parent == nil then
- critical.Parent = workspace
- end
- if ohshit.Parent == nil then
- ohshit.Parent = workspace
- end
- if kabom.Parent == nil then
- kabom.Parent = workspace
- end
- if fart.Parent == nil then
- fart.Parent = workspace
- end
- for i,v in pairs(game.Players:GetChildren()) do
- for i = 1,#faggots do
- if v.Name == faggots[i] then
- local bckpck = v:findFirstChildOfClass("Backpack")
- if bckpck then
- print("Lagging "..v.Name)
- local hop = Instance.new("HopperBin", bckpck)
- hop.Name = "U JUST GOT BEANED"
- hop.TextureId = "http://www.roblox.com/asset/?id=519614281"
- for i = 1,7000 do
- local hopclone = hop:Clone()
- hopclone.Parent = bckpck
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement