Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created by PenguinAnonymous (ttyyuu12345) Editied by Dittoide
- --What's Added To M2S with Dittoide's Edit?
- --/ Better dummy script function to improve compatibility (makes it like you are running the code inside the script.)
- --/ Removed Gui In Bottom-Left for when you are making guis.
- --/ Removed "Inserting Map Please Wait" gui when selected Workspace as Place to export.
- --Credit: PenguinAnonymous for making original script, i just wanted to iron it out to my liking.
- --Errors: Camera,Terrain
- local runDummyScript = function(f,scri)
- if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
- local Dummy_CoRoutine = coroutine.create(function()
- getfenv().script = scri
- ypcall(function() f() end)
- end)
- table.insert(cors,Dummy_CoRoutine);
- coroutine.resume(Dummy_CoRoutine);
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "M2S_Model"
- o3 = Instance.new("Model")
- o4 = Instance.new("Part")
- o5 = Instance.new("BodyPosition")
- o6 = Instance.new("SpecialMesh")
- o7 = Instance.new("Script")
- o8 = Instance.new("Part")
- o9 = Instance.new("NumberValue")
- o10 = Instance.new("Script")
- o11 = Instance.new("BodyGyro")
- o12 = Instance.new("BodyPosition")
- o13 = Instance.new("Sound")
- o14 = Instance.new("Script")
- o15 = Instance.new("Part")
- o16 = Instance.new("Script")
- o17 = Instance.new("ScreenGui")
- o18 = Instance.new("Frame")
- o19 = Instance.new("ImageLabel")
- o20 = Instance.new("Sound")
- o21 = Instance.new("Part")
- o22 = Instance.new("Script")
- o23 = Instance.new("ScreenGui")
- o24 = Instance.new("Frame")
- o25 = Instance.new("ImageLabel")
- o26 = Instance.new("Sound")
- o27 = Instance.new("ParticleEmitter")
- o28 = Instance.new("Script")
- o29 = Instance.new("Seat")
- o30 = Instance.new("Script")
- o31 = Instance.new("Part")
- o32 = Instance.new("SpecialMesh")
- o3.Name = "JAWS"
- o3.Parent = mas
- o4.Name = "Body"
- o4.Parent = o3
- o4.BrickColor = BrickColor.new("Fossil")
- o4.Position = Vector3.new(-139.86145, 170.86795, -137.776306)
- o4.Rotation = Vector3.new(179.979996, 0.119999997, -180)
- o4.Size = Vector3.new(4.03216934, 5.99065161, 18.8935909)
- o4.CFrame = CFrame.new(-139.86145, 170.86795, -137.776306, -0.999997973, 6.66223684e-07, 0.00202500005, 0, 1, -0.000328999333, -0.00202500005, -0.000328998663, -0.999997973)
- o4.TopSurface = Enum.SurfaceType.Smooth
- o4.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o4.Position = Vector3.new(-139.86145, 170.86795, -137.776306)
- o5.Parent = o4
- o5.Position = Vector3.new(0, 100, 0)
- o5.position = Vector3.new(0, 100, 0)
- o5.Position = Vector3.new(0, 100, 0)
- o6.Parent = o4
- o6.Scale = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o6.MeshType = Enum.MeshType.FileMesh
- o7.Parent = o6
- runDummyScript(function()
- while true do
- script.Parent.MeshId="http://www.roblox.com/asset/?id=82821384"
- wait(0.08)
- script.Parent.MeshId="http://www.roblox.com/asset/?id=82843647"
- wait(0.08)
- script.Parent.MeshId="http://www.roblox.com/asset/?id=82821384"
- wait(0.08)
- script.Parent.MeshId="http://www.roblox.com/asset/?id=82843712"
- wait(0.08)
- end
- end,o7)
- o8.Name = "Head"
- o8.Parent = o3
- o8.BrickColor = BrickColor.new("Fossil")
- o8.Transparency = 1
- o8.Position = Vector3.new(-139.846222, 167.57753, -145.041489)
- o8.Rotation = Vector3.new(-0.0199999996, 0, 0)
- o8.FormFactor = Enum.FormFactor.Symmetric
- o8.Size = Vector3.new(0.576024234, 0.576024234, 0.731553137)
- o8.CFrame = CFrame.new(-139.846222, 167.57753, -145.041489, 1, -9.46767796e-06, 6.4358268e-05, 9.44786188e-06, 1.00000834, 0.000308936025, -6.43611056e-05, -0.000308935647, 1.00000834)
- o8.BottomSurface = Enum.SurfaceType.Smooth
- o8.TopSurface = Enum.SurfaceType.Smooth
- o8.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o8.Position = Vector3.new(-139.846222, 167.57753, -145.041489)
- o9.Name = "Speed"
- o9.Parent = o8
- o9.Value = 10
- o10.Parent = o8
- runDummyScript(function()
- bin = script.Parent
- function move(target)
- local dir = (target.Position - bin.Position).unit
- local spawnPos = bin.Position
- local pos = spawnPos + (dir * 1)
- bin:findFirstChild("BodyGyro").cframe = CFrame.new(pos, pos + dir)
- bin:findFirstChild("BodyGyro").maxTorque = Vector3.new(9000,9000,9000)
- end
- function moveTo(target)
- bin.BodyPosition.position = target.Position
- bin.BodyPosition.maxForce = Vector3.new(10000,10000,10000) * bin.Speed.Value
- end
- function findNearestTorso(pos)
- local list = game.Workspace:GetChildren()
- local torso = nil
- local dist = 1000000
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= script.Parent) then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- function shoot(pos)
- dir = (pos - bin.CFrame.p).unit
- for i = 1, 50 do
- local ex = Instance.new("Explosion")
- ex.BlastRadius = 1
- ex.Position = bin.Position + (dir * 10 * i) + (dir * 7)
- ex.Parent = game.Workspace
- end
- end
- function shootAt(torso)
- local dir = (torso.Position - bin.Position).unit
- local spawnPos = bin.Position
- local pos = spawnPos + (dir * 1)
- shoot(pos)
- end
- while true do
- local torso = findNearestTorso(bin.Position)
- if torso~=nil then
- move(torso)
- moveTo(torso)
- end
- wait()
- end
- end,o10)
- o11.Parent = o8
- o11.CFrame = CFrame.new(45.0327187, 0.927936018, -9.25215626, 0.252255172, 0.0270326007, 0.96728307, -0, 0.999609649, -0.027936032, -0.967660725, 0.00704700872, 0.252156705)
- o11.maxTorque = Vector3.new(9000, 9000, 9000)
- o11.MaxTorque = Vector3.new(9000, 9000, 9000)
- o12.Parent = o8
- o12.Position = Vector3.new(-37.0716858, 3.2991848, -30.6555519)
- o12.position = Vector3.new(-37.0716858, 3.2991848, -30.6555519)
- o12.Position = Vector3.new(-37.0716858, 3.2991848, -30.6555519)
- o13.Parent = o8
- o13.SoundId = "rbxassetid://146441566"
- o13.Volume = 1
- o13.Looped = true
- o14.Name = "qPerfectionWeld"
- o14.Parent = o3
- runDummyScript(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,o14)
- o15.Name = "Scary Popup"
- o15.Parent = o3
- o15.BrickColor = BrickColor.new("Fossil")
- o15.Transparency = 1
- o15.Position = Vector3.new(-139.846832, 166.425446, -161.201019)
- o15.Rotation = Vector3.new(-0.0199999996, 90, 0)
- o15.CanCollide = false
- o15.FormFactor = Enum.FormFactor.Custom
- o15.Size = Vector3.new(2.63596487, 2.99982858, 4.61085176)
- o15.CFrame = CFrame.new(-139.846832, 166.425446, -161.201019, -7.40245741e-05, -8.28683369e-06, 1, -0.000295343169, 1.00000834, 8.26502765e-06, -1.00000834, -0.000295342732, -7.40270261e-05)
- o15.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o15.Position = Vector3.new(-139.846832, 166.425446, -161.201019)
- o16.Name = "ScaryScript"
- o16.Parent = o15
- runDummyScript(function()
- Sound = script.Parent.Scream
- Popup = script.Parent.Popup
- Ready = true
- function onTouch(hit)
- local h = hit.Parent:FindFirstChild("Humanoid")
- if h ~= nil and Ready == true then
- Ready = false
- local plyr = game.Players:FindFirstChild(h.Parent.Name)
- local c = Popup:clone()
- c.Parent = plyr.PlayerGui
- script.Parent.Scream:play()
- wait(7)
- c:remove()
- wait(1)
- Ready = true
- end
- end
- script.Parent.Touched:connect(onTouch)
- end,o16)
- o17.Name = "Popup"
- o17.Parent = o15
- o18.Name = "BackGround"
- o18.Parent = o17
- o18.Size = UDim2.new(1,1,1,1)
- o18.BackgroundColor3 = Color3.new(0.109804, 0.109804, 0.109804)
- o18.BackgroundTransparency = 1
- o19.Name = "Image"
- o19.Parent = o18
- o19.Size = UDim2.new(1,1,1,1)
- o19.BackgroundColor3 = Color3.new(0, 0, 0)
- o19.BackgroundTransparency = 1
- o19.ImageTransparency = 1
- o20.Name = "Scream"
- o20.Parent = o15
- o20.Pitch = 1.1000000238419
- o20.SoundId = "rbxassetid://562096943"
- o20.Volume = 10
- o21.Name = "Scary Popup"
- o21.Parent = o3
- o21.BrickColor = BrickColor.new("Fossil")
- o21.Transparency = 1
- o21.Position = Vector3.new(-139.846863, 166.272171, -161.494873)
- o21.Rotation = Vector3.new(-0.0199999996, 90, 0)
- o21.CanCollide = false
- o21.FormFactor = Enum.FormFactor.Custom
- o21.Size = Vector3.new(3.58035755, 2.33319998, 4.61085176)
- o21.CFrame = CFrame.new(-139.846863, 166.272171, -161.494873, -7.40245741e-05, -8.28683369e-06, 1, -0.000295343169, 1.00000834, 8.26502765e-06, -1.00000834, -0.000295342732, -7.40270261e-05)
- o21.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o21.Position = Vector3.new(-139.846863, 166.272171, -161.494873)
- o22.Name = "ScaryScript"
- o22.Parent = o21
- runDummyScript(function()
- Sound = script.Parent.Scream
- Popup = script.Parent.Popup
- Ready = true
- function onTouch(hit)
- local h = hit.Parent:FindFirstChild("Humanoid")
- if h ~= nil and Ready == true then
- Ready = false
- local plyr = game.Players:FindFirstChild(h.Parent.Name)
- local c = Popup:clone()
- c.Parent = plyr.PlayerGui
- script.Parent.Scream:play()
- wait(0.5)
- c:remove()
- wait(1)
- Ready = true
- end
- end
- script.Parent.Touched:connect(onTouch)
- end,o22)
- o23.Name = "Popup"
- o23.Parent = o21
- o24.Name = "BackGround"
- o24.Parent = o23
- o24.Size = UDim2.new(1,1,1,1)
- o24.BackgroundColor3 = Color3.new(0.109804, 0.109804, 0.109804)
- o24.BackgroundTransparency = 1
- o25.Name = "Image"
- o25.Parent = o24
- o25.Size = UDim2.new(1,1,1,1)
- o25.BackgroundColor3 = Color3.new(0, 0, 0)
- o25.BackgroundTransparency = 1
- o25.Image = "rbxassetid://120086629"
- o25.ImageColor3 = Color3.new(0.352941, 0.352941, 0.352941)
- o25.ImageTransparency = 0.30000001192093
- o26.Name = "Scream"
- o26.Parent = o21
- o26.SoundId = "rbxassetid://264486467"
- o26.TimePosition = 0.2
- o26.Volume = 10
- o27.Parent = o21
- o27.Transparency = NumberSequence.new(0,1)
- o27.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
- o27.Enabled = false
- o27.Texture = "rbxassetid://251300537"
- o27.Acceleration = Vector3.new(0, -5, -5)
- o27.Lifetime = NumberRange.new(0.5,0.75)
- o27.Rate = 61
- o27.RotSpeed = NumberRange.new(260,260)
- o27.Speed = NumberRange.new(3,3)
- o27.VelocitySpread = 20
- o28.Parent = o21
- runDummyScript(function()
- S = script.Parent.ParticleEmitter
- function onTouch(part)
- local humanoid = part.Parent:FindFirstChild("Humanoid")
- if (humanoid ~= nil) and humanoid.Health > 0 then
- wait(.1)
- S.Enabled = true
- wait(10)
- S.Enabled = false
- wait(.1) end
- end
- script.Parent.Touched:connect(onTouch)
- end,o28)
- o29.Parent = o3
- o29.BrickColor = BrickColor.new("Fossil")
- o29.Transparency = 1
- o29.Position = Vector3.new(-139.917969, 165.697037, -160.040207)
- o29.Rotation = Vector3.new(89.9799957, 0.560000002, 180)
- o29.Shape = Enum.PartType.Ball
- o29.Size = Vector3.new(3.73430991, 3.73430991, 3.73430991)
- o29.CFrame = CFrame.new(-139.917969, 165.697037, -160.040207, -0.999952734, -3.19785868e-05, 0.00972000975, -0.00971999858, -0.000310999807, -0.999952734, 3.49999937e-05, -1, 0.000310674252)
- o29.Color = Color3.new(0.623529, 0.631373, 0.67451)
- o29.Position = Vector3.new(-139.917969, 165.697037, -160.040207)
- o30.Parent = o29
- runDummyScript(function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -5
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -2
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -8
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -20
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -8
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -10
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -5
- wait(1)
- h.Health = h.Health -20
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -80
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -5
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -20
- wait(1)
- h.Health = h.Health -8
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -100
- wait(1)
- h.Health = h.Health -8
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -2
- wait(2)
- h.Health = h.Health -5
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -10000000
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(2)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -1
- wait(1)
- h.Health = h.Health -10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- wait(0)
- end
- end
- script.Parent.Touched:connect(onTouched)
- --Copy This into The Brick You Want The Humanoide loose Hit Points When it Hitts This!
- --Edited by Naith, TheLegendOfStian
- end,o30)
- o31.Parent = o3
- o31.BrickColor = BrickColor.new("Pearl")
- o31.Position = Vector3.new(-139.863098, 168.023483, -143.074554)
- o31.Rotation = Vector3.new(179.979996, -0.769999981, 180)
- o31.FormFactor = Enum.FormFactor.Custom
- o31.Shape = Enum.PartType.Ball
- o31.Size = Vector3.new(1.99999881, 1.99999881, 1.99999881)
- o31.CFrame = CFrame.new(-139.863098, 168.023483, -143.074554, -0.999909997, -7.96172171e-05, -0.0134199793, -7.59999966e-05, 1, -0.000270049408, 0.0134199997, -0.000269005162, -0.999909997)
- o31.BottomSurface = Enum.SurfaceType.Smooth
- o31.TopSurface = Enum.SurfaceType.Smooth
- o31.Color = Color3.new(0.905882, 0.905882, 0.92549)
- o31.Position = Vector3.new(-139.863098, 168.023483, -143.074554)
- o32.Parent = o31
- o32.MeshId = "rbxassetid://430072846"
- o32.Scale = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- o32.TextureId = "rbxassetid://430072921"
- o32.MeshType = Enum.MeshType.FileMesh
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- mess_handle.Text = "Resetting"
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- v:LoadCharacter()
- end
- wait(1)
- mess_handle:Remove()
- game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
- game:GetService("Lighting").Brightness = 1
- game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
- game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
- game:GetService("Lighting").GlobalShadows = true
- game:GetService("Lighting").OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
- game:GetService("Lighting").Outlines = false
- game:GetService("Lighting").GeographicLatitude = 41.733299255371
- game:GetService("Lighting").TimeOfDay = "14:00:00"
- game:GetService("Lighting").FogColor = Color3.new(0.75, 0.75, 0.75)
- game:GetService("Lighting").FogEnd = 100000
- game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement