Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- this tool is not op but can be op for two reasons, one, the bombs runs to the player, and explode on em
- ]]
- --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"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Sound3 = Instance.new("Sound")
- Sound4 = Instance.new("Sound")
- Sound5 = Instance.new("Sound")
- ParticleEmitter6 = Instance.new("ParticleEmitter")
- Sound7 = Instance.new("Sound")
- Sound8 = Instance.new("Sound")
- BodyPosition9 = Instance.new("BodyPosition")
- Vector3Value10 = Instance.new("Vector3Value")
- Vector3Value11 = Instance.new("Vector3Value")
- Animation12 = Instance.new("Animation")
- Animation13 = Instance.new("Animation")
- Animation14 = Instance.new("Animation")
- Animation15 = Instance.new("Animation")
- Animation16 = Instance.new("Animation")
- Animation17 = Instance.new("Animation")
- LocalScript18 = Instance.new("LocalScript")
- LocalScript19 = Instance.new("LocalScript")
- Script20 = Instance.new("Script")
- Script21 = Instance.new("Script")
- Vector3Value22 = Instance.new("Vector3Value")
- Vector3Value23 = Instance.new("Vector3Value")
- ParticleEmitter24 = Instance.new("ParticleEmitter")
- RemoteFunction25 = Instance.new("RemoteFunction")
- RemoteFunction26 = Instance.new("RemoteFunction")
- Part27 = Instance.new("Part")
- Sound28 = Instance.new("Sound")
- Sound29 = Instance.new("Sound")
- SpecialMesh30 = Instance.new("SpecialMesh")
- Vector3Value31 = Instance.new("Vector3Value")
- Vector3Value32 = Instance.new("Vector3Value")
- Script33 = Instance.new("Script")
- Script34 = Instance.new("Script")
- BodyPosition35 = Instance.new("BodyPosition")
- Vector3Value36 = Instance.new("Vector3Value")
- Vector3Value37 = Instance.new("Vector3Value")
- ParticleEmitter38 = Instance.new("ParticleEmitter")
- Attachment39 = Instance.new("Attachment")
- RopeConstraint40 = Instance.new("RopeConstraint")
- BillboardGui41 = Instance.new("BillboardGui")
- TextLabel42 = Instance.new("TextLabel")
- CFrameValue43 = Instance.new("CFrameValue")
- Weld44 = Instance.new("Weld")
- Part45 = Instance.new("Part")
- Sound46 = Instance.new("Sound")
- Sound47 = Instance.new("Sound")
- SpecialMesh48 = Instance.new("SpecialMesh")
- Vector3Value49 = Instance.new("Vector3Value")
- Vector3Value50 = Instance.new("Vector3Value")
- Script51 = Instance.new("Script")
- Script52 = Instance.new("Script")
- ParticleEmitter53 = Instance.new("ParticleEmitter")
- BillboardGui54 = Instance.new("BillboardGui")
- TextLabel55 = Instance.new("TextLabel")
- BodyPosition56 = Instance.new("BodyPosition")
- Vector3Value57 = Instance.new("Vector3Value")
- Vector3Value58 = Instance.new("Vector3Value")
- CFrameValue59 = Instance.new("CFrameValue")
- Weld60 = Instance.new("Weld")
- Part61 = Instance.new("Part")
- Sound62 = Instance.new("Sound")
- Sound63 = Instance.new("Sound")
- Script64 = Instance.new("Script")
- Script65 = Instance.new("Script")
- ParticleEmitter66 = Instance.new("ParticleEmitter")
- BillboardGui67 = Instance.new("BillboardGui")
- TextLabel68 = Instance.new("TextLabel")
- BodyPosition69 = Instance.new("BodyPosition")
- Vector3Value70 = Instance.new("Vector3Value")
- Vector3Value71 = Instance.new("Vector3Value")
- SpecialMesh72 = Instance.new("SpecialMesh")
- Vector3Value73 = Instance.new("Vector3Value")
- Vector3Value74 = Instance.new("Vector3Value")
- CFrameValue75 = Instance.new("CFrameValue")
- Weld76 = Instance.new("Weld")
- Part77 = Instance.new("Part")
- Sound78 = Instance.new("Sound")
- Sound79 = Instance.new("Sound")
- SpecialMesh80 = Instance.new("SpecialMesh")
- Vector3Value81 = Instance.new("Vector3Value")
- Vector3Value82 = Instance.new("Vector3Value")
- Script83 = Instance.new("Script")
- Script84 = Instance.new("Script")
- ParticleEmitter85 = Instance.new("ParticleEmitter")
- BillboardGui86 = Instance.new("BillboardGui")
- TextLabel87 = Instance.new("TextLabel")
- BodyPosition88 = Instance.new("BodyPosition")
- Vector3Value89 = Instance.new("Vector3Value")
- Vector3Value90 = Instance.new("Vector3Value")
- CFrameValue91 = Instance.new("CFrameValue")
- Weld92 = Instance.new("Weld")
- Part93 = Instance.new("Part")
- Sound94 = Instance.new("Sound")
- Sound95 = Instance.new("Sound")
- SpecialMesh96 = Instance.new("SpecialMesh")
- Vector3Value97 = Instance.new("Vector3Value")
- Vector3Value98 = Instance.new("Vector3Value")
- Script99 = Instance.new("Script")
- Script100 = Instance.new("Script")
- ParticleEmitter101 = Instance.new("ParticleEmitter")
- BillboardGui102 = Instance.new("BillboardGui")
- TextLabel103 = Instance.new("TextLabel")
- BodyPosition104 = Instance.new("BodyPosition")
- Vector3Value105 = Instance.new("Vector3Value")
- Vector3Value106 = Instance.new("Vector3Value")
- CFrameValue107 = Instance.new("CFrameValue")
- Weld108 = Instance.new("Weld")
- Script109 = Instance.new("Script")
- Part110 = Instance.new("Part")
- Sound111 = Instance.new("Sound")
- Sound112 = Instance.new("Sound")
- Script113 = Instance.new("Script")
- Script114 = Instance.new("Script")
- ParticleEmitter115 = Instance.new("ParticleEmitter")
- BillboardGui116 = Instance.new("BillboardGui")
- TextLabel117 = Instance.new("TextLabel")
- BodyPosition118 = Instance.new("BodyPosition")
- Vector3Value119 = Instance.new("Vector3Value")
- Vector3Value120 = Instance.new("Vector3Value")
- SpecialMesh121 = Instance.new("SpecialMesh")
- Vector3Value122 = Instance.new("Vector3Value")
- Vector3Value123 = Instance.new("Vector3Value")
- CFrameValue124 = Instance.new("CFrameValue")
- Part125 = Instance.new("Part")
- Sound126 = Instance.new("Sound")
- Sound127 = Instance.new("Sound")
- Script128 = Instance.new("Script")
- Script129 = Instance.new("Script")
- ParticleEmitter130 = Instance.new("ParticleEmitter")
- BillboardGui131 = Instance.new("BillboardGui")
- TextLabel132 = Instance.new("TextLabel")
- BodyPosition133 = Instance.new("BodyPosition")
- Vector3Value134 = Instance.new("Vector3Value")
- Vector3Value135 = Instance.new("Vector3Value")
- SpecialMesh136 = Instance.new("SpecialMesh")
- Vector3Value137 = Instance.new("Vector3Value")
- Vector3Value138 = Instance.new("Vector3Value")
- CFrameValue139 = Instance.new("CFrameValue")
- Part140 = Instance.new("Part")
- Sound141 = Instance.new("Sound")
- Sound142 = Instance.new("Sound")
- SpecialMesh143 = Instance.new("SpecialMesh")
- Vector3Value144 = Instance.new("Vector3Value")
- Vector3Value145 = Instance.new("Vector3Value")
- Script146 = Instance.new("Script")
- Script147 = Instance.new("Script")
- BodyPosition148 = Instance.new("BodyPosition")
- Vector3Value149 = Instance.new("Vector3Value")
- Vector3Value150 = Instance.new("Vector3Value")
- ParticleEmitter151 = Instance.new("ParticleEmitter")
- Attachment152 = Instance.new("Attachment")
- RopeConstraint153 = Instance.new("RopeConstraint")
- BillboardGui154 = Instance.new("BillboardGui")
- TextLabel155 = Instance.new("TextLabel")
- CFrameValue156 = Instance.new("CFrameValue")
- Part157 = Instance.new("Part")
- Sound158 = Instance.new("Sound")
- Sound159 = Instance.new("Sound")
- SpecialMesh160 = Instance.new("SpecialMesh")
- Vector3Value161 = Instance.new("Vector3Value")
- Vector3Value162 = Instance.new("Vector3Value")
- Script163 = Instance.new("Script")
- Script164 = Instance.new("Script")
- ParticleEmitter165 = Instance.new("ParticleEmitter")
- BillboardGui166 = Instance.new("BillboardGui")
- TextLabel167 = Instance.new("TextLabel")
- BodyPosition168 = Instance.new("BodyPosition")
- Vector3Value169 = Instance.new("Vector3Value")
- Vector3Value170 = Instance.new("Vector3Value")
- CFrameValue171 = Instance.new("CFrameValue")
- Part172 = Instance.new("Part")
- Sound173 = Instance.new("Sound")
- Sound174 = Instance.new("Sound")
- SpecialMesh175 = Instance.new("SpecialMesh")
- Vector3Value176 = Instance.new("Vector3Value")
- Vector3Value177 = Instance.new("Vector3Value")
- Script178 = Instance.new("Script")
- Script179 = Instance.new("Script")
- ParticleEmitter180 = Instance.new("ParticleEmitter")
- BillboardGui181 = Instance.new("BillboardGui")
- TextLabel182 = Instance.new("TextLabel")
- BodyPosition183 = Instance.new("BodyPosition")
- Vector3Value184 = Instance.new("Vector3Value")
- Vector3Value185 = Instance.new("Vector3Value")
- CFrameValue186 = Instance.new("CFrameValue")
- Part187 = Instance.new("Part")
- Sound188 = Instance.new("Sound")
- Sound189 = Instance.new("Sound")
- SpecialMesh190 = Instance.new("SpecialMesh")
- Vector3Value191 = Instance.new("Vector3Value")
- Vector3Value192 = Instance.new("Vector3Value")
- Script193 = Instance.new("Script")
- Script194 = Instance.new("Script")
- ParticleEmitter195 = Instance.new("ParticleEmitter")
- BillboardGui196 = Instance.new("BillboardGui")
- TextLabel197 = Instance.new("TextLabel")
- BodyPosition198 = Instance.new("BodyPosition")
- Vector3Value199 = Instance.new("Vector3Value")
- Vector3Value200 = Instance.new("Vector3Value")
- CFrameValue201 = Instance.new("CFrameValue")
- Part202 = Instance.new("Part")
- Sound203 = Instance.new("Sound")
- Sound204 = Instance.new("Sound")
- Script205 = Instance.new("Script")
- Script206 = Instance.new("Script")
- ParticleEmitter207 = Instance.new("ParticleEmitter")
- BillboardGui208 = Instance.new("BillboardGui")
- TextLabel209 = Instance.new("TextLabel")
- BodyPosition210 = Instance.new("BodyPosition")
- Vector3Value211 = Instance.new("Vector3Value")
- Vector3Value212 = Instance.new("Vector3Value")
- SpecialMesh213 = Instance.new("SpecialMesh")
- Vector3Value214 = Instance.new("Vector3Value")
- Vector3Value215 = Instance.new("Vector3Value")
- CFrameValue216 = Instance.new("CFrameValue")
- Part217 = Instance.new("Part")
- Sound218 = Instance.new("Sound")
- Sound219 = Instance.new("Sound")
- Script220 = Instance.new("Script")
- Script221 = Instance.new("Script")
- ParticleEmitter222 = Instance.new("ParticleEmitter")
- BillboardGui223 = Instance.new("BillboardGui")
- TextLabel224 = Instance.new("TextLabel")
- BodyPosition225 = Instance.new("BodyPosition")
- Vector3Value226 = Instance.new("Vector3Value")
- Vector3Value227 = Instance.new("Vector3Value")
- SpecialMesh228 = Instance.new("SpecialMesh")
- Vector3Value229 = Instance.new("Vector3Value")
- Vector3Value230 = Instance.new("Vector3Value")
- CFrameValue231 = Instance.new("CFrameValue")
- Part232 = Instance.new("Part")
- Sound233 = Instance.new("Sound")
- Sound234 = Instance.new("Sound")
- Script235 = Instance.new("Script")
- Script236 = Instance.new("Script")
- ParticleEmitter237 = Instance.new("ParticleEmitter")
- BillboardGui238 = Instance.new("BillboardGui")
- TextLabel239 = Instance.new("TextLabel")
- BodyPosition240 = Instance.new("BodyPosition")
- Vector3Value241 = Instance.new("Vector3Value")
- Vector3Value242 = Instance.new("Vector3Value")
- SpecialMesh243 = Instance.new("SpecialMesh")
- Vector3Value244 = Instance.new("Vector3Value")
- Vector3Value245 = Instance.new("Vector3Value")
- CFrameValue246 = Instance.new("CFrameValue")
- Tool0.Name = "Bomb stick"
- Tool0.Parent = mas
- Tool0.GripPos = Vector3.new(0, -1.85000002, 0.0500000007)
- Tool0.ToolTip = "These bombs follow people who are far or near them, and they explode. Good luck with your kamikazi bomb. If there activated don't unequip or you'll explode."
- Tool0.CanBeDropped = false
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.Transparency = 2
- Part1.Rotation = Vector3.new(-2.72000003, -69.0999985, -2.53999996)
- Part1.CanCollide = false
- Part1.Locked = true
- Part1.Size = Vector3.new(0.25, 5, 1)
- Part1.CFrame = CFrame.new(34.1973038, 3.29813075, -15.4569778, 0.356413543, 0.0158033315, -0.934194684, -2.17541785e-09, 0.999857068, 0.0169141144, 0.934328437, -0.00602842169, 0.356362641)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Position = Vector3.new(34.1973038, 3.29813075, -15.4569778)
- Part1.Orientation = Vector3.new(-0.969999969, -69.1199951, 0)
- SpecialMesh2.Parent = Part1
- SpecialMesh2.Scale = Vector3.new(0.75, 0.75, 0.75)
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- SpecialMesh2.Scale = Vector3.new(0.75, 0.75, 0.75)
- Sound3.Name = "Lunge"
- Sound3.Parent = Part1
- Sound3.Pitch = 1.25
- Sound3.SoundId = "http://www.roblox.com/asset/?id=12222208"
- Sound4.Name = "Slash"
- Sound4.Parent = Part1
- Sound4.Pitch = 1.5
- Sound4.SoundId = "http://www.roblox.com/asset/?id=12222216"
- Sound4.Volume = 0.75
- Sound5.Name = "Unsheath"
- Sound5.Parent = Part1
- Sound5.Pitch = 1.125
- Sound5.SoundId = "http://www.roblox.com/asset/?id=12222225"
- ParticleEmitter6.Name = "Fire"
- ParticleEmitter6.Parent = Part1
- ParticleEmitter6.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter6.Rotation = NumberRange.new(0, 5)
- ParticleEmitter6.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter6.Color = ColorSequence.new(Color3.new(1, 0.666667, 1),Color3.new(0.333333, 0, 0.498039))
- ParticleEmitter6.Enabled = false
- ParticleEmitter6.LightEmission = 0.89999997615814
- ParticleEmitter6.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter6.ZOffset = 0.34999999403954
- ParticleEmitter6.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter6.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter6.Rate = 1000
- ParticleEmitter6.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter6.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter6.Color = ColorSequence.new(Color3.new(1, 0.666667, 1),Color3.new(0.333333, 0, 0.498039))
- Sound7.Name = "Boom"
- Sound7.Parent = Part1
- Sound7.SoundId = "rbxassetid://243702774"
- Sound7.Volume = 2
- Sound7.PlayOnRemove = true
- Sound8.Name = "Fail"
- Sound8.Parent = Part1
- Sound8.SoundId = "rbxassetid://151715959"
- Sound8.Volume = 2
- Sound8.PlayOnRemove = true
- BodyPosition9.Name = "Detect"
- BodyPosition9.Parent = Part1
- Vector3Value10.Name = "Go"
- Vector3Value10.Parent = BodyPosition9
- Vector3Value10.Value = Vector3.new(200, 0, 200)
- Vector3Value11.Name = "Kill"
- Vector3Value11.Parent = BodyPosition9
- Vector3Value11.Value = Vector3.new(1000, 1000, 1000)
- Animation12.Name = "Equip"
- Animation12.Parent = Tool0
- Animation12.AnimationId = "rbxassetid://889119079"
- Animation13.Name = "Explode"
- Animation13.Parent = Tool0
- Animation13.AnimationId = "rbxassetid://889119079"
- Animation14.Name = "LeftSlash"
- Animation14.Parent = Tool0
- Animation14.AnimationId = "rbxassetid://889120613"
- Animation15.Name = "RightSlash"
- Animation15.Parent = Tool0
- Animation15.AnimationId = "rbxassetid://889119079"
- Animation16.Name = "SideSwipe"
- Animation16.Parent = Tool0
- Animation16.AnimationId = "rbxassetid://889119079"
- Animation17.Name = "Swing"
- Animation17.Parent = Tool0
- Animation17.AnimationId = "rbxassetid://889119079"
- LocalScript18.Name = "MouseIcon"
- LocalScript18.Parent = Tool0
- table.insert(cors,sandbox(LocalScript18,function()
- --Made by Luckymaxer
- Mouse_Icon = "rbxasset://textures/GunCursor.png"
- Reloading_Icon = "rbxasset://textures/GunWaitCursor.png"
- Tool = script.Parent
- Mouse = nil
- function UpdateIcon()
- if Mouse then
- Mouse.Icon = Tool.Enabled and Mouse_Icon or Reloading_Icon
- end
- end
- function OnEquipped(ToolMouse)
- Mouse = ToolMouse
- UpdateIcon()
- end
- function OnChanged(Property)
- if Property == "Enabled" then
- UpdateIcon()
- end
- end
- Tool.Equipped:connect(OnEquipped)
- Tool.Changed:connect(OnChanged)
- end))
- LocalScript19.Parent = Tool0
- table.insert(cors,sandbox(LocalScript19,function()
- --Made by Luckymaxer
- Tool = script.Parent
- Handle = Tool:WaitForChild("Handle")
- Players = game:GetService("Players")
- RunService = game:GetService("RunService")
- Animations = {}
- ServerControl = Tool:WaitForChild("ServerControl")
- ClientControl = Tool:WaitForChild("ClientControl")
- Rate = (1 / 60)
- ToolEquipped = false
- function SetAnimation(mode, value)
- if mode == "PlayAnimation" and value and ToolEquipped and Humanoid then
- for i, v in pairs(Animations) do
- if v.Animation == value.Animation then
- v.AnimationTrack:Stop()
- table.remove(Animations, i)
- end
- end
- local AnimationTrack = Humanoid:LoadAnimation(value.Animation)
- table.insert(Animations, {Animation = value.Animation, AnimationTrack = AnimationTrack})
- AnimationTrack:Play(value.FadeTime, value.Weight, value.Speed)
- elseif mode == "StopAnimation" and value then
- for i, v in pairs(Animations) do
- if v.Animation == value.Animation then
- v.AnimationTrack:Stop(value.FadeTime)
- table.remove(Animations, i)
- end
- end
- end
- end
- function KeyPressed(Key, Down)
- InvokeServer("KeyPressed", {Key = Key, Down = Down})
- end
- function CheckIfAlive()
- return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Player and Player.Parent) and true) or false)
- end
- function Equipped(Mouse)
- Character = Tool.Parent
- Player = Players:GetPlayerFromCharacter(Character)
- Humanoid = Character:FindFirstChild("Humanoid")
- ToolEquipped = true
- if not CheckIfAlive() then
- return
- end
- PlayerMouse = Mouse
- PlayerMouse.KeyDown:connect(function(Key)
- KeyPressed(Key, true)
- end)
- PlayerMouse.KeyUp:connect(function(Key)
- KeyPressed(Key, false)
- end)
- end
- function Unequipped()
- for i, v in pairs(Animations) do
- if v and v.AnimationTrack then
- v.AnimationTrack:Stop()
- end
- end
- Animations = {}
- ToolEquipped = false
- end
- function InvokeServer(mode, value)
- local ServerReturn
- pcall(function()
- ServerReturn = ServerControl:InvokeServer(mode, value)
- end)
- return ServerReturn
- end
- function OnClientInvoke(mode, value)
- if mode == "PlayAnimation" and value and ToolEquipped and Humanoid then
- SetAnimation("PlayAnimation", value)
- elseif mode == "StopAnimation" and value then
- SetAnimation("StopAnimation", value)
- elseif mode == "PlaySound" and value then
- value:Play()
- elseif mode == "StopSound" and value then
- value:Stop()
- elseif mode == "MouseData" then
- return ((PlayerMouse and {Position = PlayerMouse.Hit.p, Target = PlayerMouse.Target}) or nil)
- end
- end
- ClientControl.OnClientInvoke = OnClientInvoke
- Tool.Equipped:connect(Equipped)
- Tool.Unequipped:connect(Unequipped)
- end))
- Script20.Parent = Tool0
- table.insert(cors,sandbox(Script20,function()
- --Made by Luckymaxer
- Tool = script.Parent
- Handle = Tool:WaitForChild("Handle")
- Fire = Handle:WaitForChild("Fire")
- Players = game:GetService("Players")
- Debris = game:GetService("Debris")
- RunService = game:GetService("RunService")
- RbxUtility = LoadLibrary("RbxUtility")
- Create = RbxUtility.Create
- DeathEffect = script:WaitForChild("DeathEffect")
- DamageValues = {
- BaseDamage = 0,
- SlashDamage = 0,
- LungeDamage = 0,
- }
- Damage = DamageValues.BaseDamage
- BaseUrl = "http://www.roblox.com/asset/?id="
- BasePart = Instance.new("Part")
- BasePart.Shape = Enum.PartType.Block
- BasePart.Material = Enum.Material.Plastic
- BasePart.TopSurface = Enum.SurfaceType.Smooth
- BasePart.BottomSurface = Enum.SurfaceType.Smooth
- BasePart.FormFactor = Enum.FormFactor.Custom
- BasePart.Size = Vector3.new(0.2, 0.2, 0.2)
- BasePart.CanCollide = true
- BasePart.Locked = true
- BasePart.Anchored = false
- Special = {
- Active = false,
- Enabled = true,
- Duration = 15,
- CoolDown = 10,
- }
- Animations = {
- Equip = {Animation = Tool:WaitForChild("Equip"), FadeTime = nil, Weight = nil, Speed = 0.7, Duration = 1},
- LeftSlash = {Animation = Tool:WaitForChild("LeftSlash"), FadeTime = nil, Weight = nil, Speed = 1.5, Duration = 0.75},
- RightSlash = {Animation = Tool:WaitForChild("RightSlash"), FadeTime = nil, Weight = nil, Speed = 1.5, Duration = 0.75},
- SideSwipe = {Animation = Tool:WaitForChild("SideSwipe"), FadeTime = nil, Weight = nil, Speed = 0.8, Duration = 0.75},
- Explode = {Animation = Tool:WaitForChild("Explode"), FadeTime = 0.25, Weight = nil, Speed = 2, Duration = 0.75},
- }
- Sounds = {
- Unsheath = Handle:WaitForChild("Unsheath"),
- Slash = Handle:WaitForChild("Slash"),
- Lunge = Handle:WaitForChild("Lunge"),
- }
- Grips = {
- Up = CFrame.new(0, -1.85, 0.05, 1, 0, -0, 0, 1, 0, 0, 0, 1),
- Out = CFrame.new(0, -1.85, 0.05, 1, 0, 0, 0, 0, -1, -0, 1, 0),
- }
- LastAttack = 0
- ToolEquipped = false
- ServerControl = (Tool:FindFirstChild("ServerControl") or Create("RemoteFunction"){
- Name = "ServerControl",
- Parent = Tool,
- })
- ClientControl = (Tool:FindFirstChild("ClientControl") or Create("RemoteFunction"){
- Name = "ClientControl",
- Parent = Tool,
- })
- Handle.Transparency = 0
- Fire.Enabled = false
- Tool.Grip = Grips.Up
- Tool.Enabled = true
- function IsTeamMate(Player1, Player2)
- return (Player1 and Player2 and not Player1.Neutral and not Player2.Neutral and Player1.TeamColor == Player2.TeamColor)
- end
- function TagHumanoid(humanoid, player)
- local Creator_Tag = Create("ObjectValue"){
- Name = "creator",
- Value = player,
- }
- Debris:AddItem(Creator_Tag, 2)
- Creator_Tag.Parent = humanoid
- end
- function UntagHumanoid(humanoid)
- for i, v in pairs(humanoid:GetChildren()) do
- if v:IsA("ObjectValue") and v.Name == "creator" then
- v:Destroy()
- end
- end
- end
- function CheckTableForInstance(Table, Instance)
- for i, v in pairs(Table) do
- if v == Instance then
- return true
- end
- end
- return false
- end
- function GetTotalParts(MaxParts, PossibleParts, Parts)
- if MaxParts < PossibleParts then
- return MaxParts
- elseif Parts >= MaxParts then
- return 0
- elseif MaxParts >= PossibleParts then
- local PartCount = (MaxParts - PossibleParts)
- if Parts <= MaxParts then
- PartCount = (MaxParts - Parts)
- if PartCount > PossibleParts then
- return PossibleParts
- else
- return PartCount
- end
- elseif PartCount >= PossibleParts then
- return PossibleParts
- else
- return PartCount
- end
- end
- end
- function GetParts(Region, MaxParts, Ignore)
- local Parts = {}
- local RerunFailed = false
- while #Parts < MaxParts and not RerunFailed do
- local Region = Region
- local PossibleParts = GetTotalParts(MaxParts, 3000, #Parts)
- local PartsNearby = game:GetService("Workspace"):FindPartsInRegion3WithIgnoreList(Region, Ignore, PossibleParts)
- if #PartsNearby == 0 then
- RerunFailed = true
- else
- for i, v in pairs(PartsNearby) do
- table.insert(Parts, v)
- table.insert(Ignore, v)
- end
- end
- end
- return Parts
- end
- function ApplyDeathEffect(character, Direction, Force)
- local Direction = (Direction or Vector3.new(0, 0, 0))
- local Force = (Force or Vector3.new(0, 0, 0))
- local humanoid = character:FindFirstChild("Humanoid")
- if not humanoid then
- return
- end
- local DeathEffectCopy = character:FindFirstChild(DeathEffect.Name)
- if DeathEffectCopy then
- return
- end
- DeathEffectCopy = DeathEffect:Clone()
- DeathEffectCopy.WindDirection.Value = Direction
- DeathEffectCopy.Force.Value = Force
- DeathEffectCopy.Disabled = false
- DeathEffectCopy.Parent = character
- end
- function DealDamage(character, damage)
- if not CheckIfAlive() or not character then
- return
- end
- local damage = (damage or 0)
- local humanoid = character:FindFirstChild("Humanoid")
- local rootpart = character:FindFirstChild("HumanoidRootPart")
- if not rootpart then
- rootpart = character:FindFirstChild("Torso")
- end
- if not humanoid or humanoid.Health == 0 or not rootpart then
- return
- end
- UntagHumanoid(humanoid)
- TagHumanoid(humanoid, Player)
- humanoid:TakeDamage(damage)
- if humanoid.Health <= 0 then
- local WindDir = (CFrame.new(RootPart.Position, Vector3.new(rootpart.Position.X, RootPart.Position.Y, rootpart.Position.Z)) * CFrame.Angles(0, math.pi, 0)).lookVector
- ApplyDeathEffect(character, Vector3.new(WindDir.X, 1, WindDir.Z), ((WindDir * 6.5) + Vector3.new(0, 15, 0)))
- end
- end
- function CheckIfAlive()
- return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0) and true) or false)
- end
- function Blow(Part)
- local PartTouched
- local HitDelay = false
- PartTouched = Part.Touched:connect(function(Hit)
- if not Hit or not Hit.Parent or not CheckIfAlive() or not ToolEquipped or HitDelay then
- return
- end
- local RightArm = Character:FindFirstChild("Right Arm")
- if not RightArm then
- return
- end
- local RightGrip = RightArm:FindFirstChild("RightGrip")
- if not RightGrip or (RightGrip.Part0 ~= Handle and RightGrip.Part1 ~= Handle) then
- return
- end
- local character = Hit.Parent
- if character == Character or (Special.Active and RandomNearby and character ~= RandomNearby.Character) then
- return
- end
- local humanoid = character:FindFirstChild("Humanoid")
- local rootpart = character:FindFirstChild("HumanoidRootPart")
- if not rootpart then
- rootpart = character:FindFirstChild("Torso")
- end
- if not humanoid or humanoid.Health == 0 or not rootpart then
- return
- end
- local player = Players:GetPlayerFromCharacter(character)
- if player and (player == Player or IsTeamMate(Player, player)) then
- return
- end
- HitDelay = true
- local TotalDamage = (Damage * ((Special.Active and math.huge) or 1))
- DealDamage(character, TotalDamage)
- wait(0.05)
- HitDelay = false
- end)
- end
- function PossessedAttack()
- Fire.Enabled = true
- local CurrentlyEquipped = true
- if ToolUnequipped then
- ToolUnequipped:disconnect()
- end
- ToolUnequipped = Tool.Unequipped:connect(function()
- CurrentlyEquipped = false
- end)
- local SpecialStart = tick()
- while ToolEquipped and CurrentlyEquipped and CheckIfAlive() and (tick() - SpecialStart) < Special.Duration do
- local UserPlayer = Player
- local UserCharacter = Character
- local IgnoreObjects = {UserCharacter, Tool}
- local Radius = 35
- local Objects = {}
- local Humanoids = {}
- local PlayersNearby = {}
- local NegativeRadius = (RootPart.Position - Vector3.new(Radius, (RootPart.Size.Y * 1.25), Radius))
- local PositiveRadius = (RootPart.Position + Vector3.new(Radius, (Radius / 6), Radius))
- for i, v in pairs(Players:GetChildren()) do
- if v:IsA("Player") and v ~= UserPlayer then
- local character = v.Character
- if character and character.Parent then
- table.insert(IgnoreObjects, v)
- if not IsTeamMate(v, UserPlayer) then
- local humanoid = character:FindFirstChild("Humanoid")
- local rootpart = character:FindFirstChild("HumanoidRootPart")
- if not rootpart then
- rootpart = character:FindFirstChild("Torso")
- end
- if humanoid and humanoid.Health > 0 and (RootPart.Position - rootpart.Position).magnitude <= Radius then
- table.insert(Humanoids, humanoid)
- end
- end
- end
- end
- end
- if #Humanoids == 0 then
- local Parts = GetParts(Region3.new(NegativeRadius, PositiveRadius), 500, IgnoreObjects)
- for i, v in pairs(Parts) do
- if v and v.Parent and not CheckTableForInstance(Objects, v) then
- local character = v.Parent
- if character:IsA("Hat") or character:IsA("Tool") then
- character = character.Parent
- end
- local humanoid = character:FindFirstChild("Humanoid")
- local player = Players:GetPlayerFromCharacter(character)
- if not CheckTableForInstance(Humanoids, humanoid) and not CheckTableForInstance(PlayersNearby, character) then
- if humanoid and humanoid.Health > 0 and not CheckTableForInstance(Humanoids, humanoid) then
- table.insert(Humanoids, humanoid)
- if player and not CheckTableForInstance(PlayersNearby, player) then
- table.insert(PlayersNearby, player)
- end
- elseif (RootPart.Position - v.Position).magnitude <= Radius then
- table.insert(Objects, v)
- end
- end
- end
- end
- end
- local NearPlayers = {}
- for i, v in pairs(Humanoids) do
- local character = v.Parent
- local player = Players:GetPlayerFromCharacter(character)
- local rootpart = character:FindFirstChild("HumanoidRootPart")
- if not rootpart then
- rootpart = character:FindFirstChild("Torso")
- end
- if rootpart then
- table.insert(NearPlayers, {Character = character, Humanoid = v, RootPart = rootpart, Distance = (RootPart.Position - rootpart.Position).Magnitude})
- end
- end
- table.sort(NearPlayers, (function(a, b)
- return a.Distance < b.Distance
- end))
- if #NearPlayers > 0 then
- local MaxNearbyCount = 3
- local MaxNearby = ((#NearPlayers <= MaxNearbyCount and #NearPlayers) or MaxNearbyCount)
- RandomNearby = NearPlayers[math.random(1, MaxNearby)]
- local OrigPos = RootPart.CFrame
- local NewPos = (RandomNearby.RootPart.CFrame * CFrame.new(0, ((RootPart.Size.Z / 2) + (RandomNearby.RootPart.Size.Z / 2) + (RootPart.Size.Y / 2)), ((RootPart.Size.Z / 2) + (RandomNearby.RootPart.Size.Z / 2) + 0.75)))
- RootPart.CFrame = CFrame.new(NewPos.p, RandomNearby.RootPart.CFrame.p)
- RootPart.Anchored = true
- Attack()
- wait(1)
- RootPart.CFrame = OrigPos
- RootPart.Anchored = false
- wait(1.5)
- end
- wait()
- end
- Fire.Enabled = false
- end
- function Attack()
- Damage = DamageValues.SlashDamage
- Sounds.Slash:Play()
- --[[local Anim = Create("StringValue"){
- Name = "toolanim",
- Value = "Slash",
- }
- Debris:AddItem(Anim, 2)
- Anim.Parent = Tool]]
- local SwingAnimations = {Animations.LeftSlash, Animations.RightSlash, Animations.SideSwipe, Animations.Swing}
- local Animation = SwingAnimations[math.random(1, #SwingAnimations)]
- Spawn(function()
- InvokeClient("PlayAnimation", Animation)
- end)
- end
- function Lunge()
- Damage = DamageValues.LungeDamage
- Sounds.Lunge:Play()
- for i, v in pairs(Animations) do
- Spawn(function()
- InvokeClient("StopAnimation", v)
- end)
- end
- local Anim = Create("StringValue"){
- Name = "toolanim",
- Value = "Lunge",
- }
- Debris:AddItem(Anim, 2)
- Anim.Parent = Tool
- wait(0.2)
- Tool.Grip = Grips.Out
- wait(0.75)
- Tool.Grip = Grips.Up
- Damage = DamageValues.SlashDamage
- end
- function Activated()
- if not Tool.Enabled or not ToolEquipped or not CheckIfAlive() or Special.Active then
- return
- end
- Tool.Enabled = false
- local Tick = RunService.Stepped:wait()
- if (Tick - LastAttack < 0.2) then
- Lunge()
- else
- Attack()
- end
- LastAttack = Tick
- --wait(0.5)
- Damage = DamageValues.BaseDamage
- Tool.Enabled = true
- end
- function CheckIfAlive()
- return (((Player and Player.Parent and Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and RootPart and RootPart.Parent) and true) or false)
- end
- function Equipped()
- Character = Tool.Parent
- Player = Players:GetPlayerFromCharacter(Character)
- Humanoid = Character:FindFirstChild("Humanoid")
- RootPart = Character:FindFirstChild("HumanoidRootPart")
- if not CheckIfAlive() then
- return
- end
- Sounds.Unsheath:Play()
- Spawn(function()
- if ToolUnequipped then
- ToolUnequipped:disconnect()
- end
- local CurrentlyEquipped = true
- ToolUnequipped = Tool.Unequipped:connect(function()
- CurrentlyEquipped = false
- end)
- local Animation = Animations.Equip
- Spawn(function()
- InvokeClient("PlayAnimation", Animation)
- end)
- wait(Animation.Duration)
- if ToolUnequipped then
- ToolUnequipped:disconnect()
- end
- if not CurrentlyEquipped then
- return
- end
- ToolEquipped = true
- Humanoid.WalkSpeed = (16 * 1.5)
- end)
- end
- function Unequipped()
- Humanoid.WalkSpeed = 16
- ToolEquipped = false
- end
- function OnServerInvoke(player, mode, value)
- if player ~= Player or not ToolEquipped or not value or not CheckIfAlive() then
- return
- end
- if mode == "KeyPressed" then
- local Key = string.lower(value.Key)
- local Down = value.Down
- if Key == "q21" and Down then
- if not Special.Enabled or Special.Active then
- return
- end
- Special.Enabled = false
- Special.Active = true
- PossessedAttack()
- Special.Active = false
- wait(Special.CoolDown)
- Special.Enabled = true
- end
- end
- end
- function InvokeClient(Mode, Value)
- local ClientReturn = nil
- pcall(function()
- ClientReturn = ClientControl:InvokeClient(Player, Mode, Value)
- end)
- return ClientReturn
- end
- ServerControl.OnServerInvoke = OnServerInvoke
- Tool.Activated:connect(Activated)
- Tool.Equipped:connect(Equipped)
- Tool.Unequipped:connect(Unequipped)
- Blow(Handle)
- end))
- Script21.Name = "DeathEffect"
- Script21.Parent = Script20
- Script21.Disabled = true
- table.insert(cors,sandbox(Script21,function()
- --Made by Luckymaxer
- Character = script.Parent
- Humanoid = Character:FindFirstChild("Humanoid")
- Debris = game:GetService("Debris")
- WindDirection = script:FindFirstChild("WindDirection")
- Force = script:FindFirstChild("Force")
- Parts = {}
- BaseColor = BrickColor.new("Royal purple")
- Color = BaseColor.Color
- Gravity = 196.20
- Duration = 3
- Classes = {
- BasePart = {
- BrickColor = BaseColor,
- Material = Enum.Material.Plastic,
- Reflectance = 0,
- Transparency = 0.75,
- },
- FileMesh = {
- TextureId = "",
- },
- DataModelMesh = {
- VertexColor = Vector3.new(Color.r, Color.g, Color.b),
- },
- CharacterMesh = {
- BaseTextureId = 0,
- OverlayTextureId = 0,
- },
- Shirt = {
- ShirtTemplate = "",
- },
- Pants = {
- PantsTemplate = "",
- },
- FaceInstance = {
- Texture = "",
- },
- Sparkles = {
- SparkleColor = Color,
- Enabled = false,
- },
- Fire = {
- Color = Color,
- SecondaryColor = Color,
- Enabled = false,
- },
- Smoke = {
- Color = Color,
- Enabled = false,
- },
- Light = {
- Color = Color,
- Enabled = false,
- },
- ParticleEmitter = {
- Color = ColorSequence.new(Color, Color),
- Enabled = false,
- }
- }
- Fire = script:FindFirstChild("Fire")
- Objects = {}
- RemovedObjects = {}
- FakeParts = {}
- Hats = {}
- Tools = {}
- Particles = {}
- function DestroyScript()
- Debris:AddItem(script, 0.5)
- end
- function TweenNumber(Start, Goal, Time)
- return ((Goal - Start) / Time)
- end
- function Decorate(Object)
- local ObjectData = {
- Object = nil,
- Properties = {},
- }
- for i, v in pairs(Classes) do
- if Object:IsA(i) then
- if Object:IsA("CharacterMesh") then
- local Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = Enum.MeshType.FileMesh
- Mesh.MeshId = ("http://www.roblox.com/asset/?id=" .. Object.MeshId)
- for ii, vv in pairs(Character:GetChildren()) do
- if vv:IsA("BasePart") and Object.BodyPart.Name == string.gsub(vv.Name, " ", "") then
- Mesh.Parent = vv
- table.insert(RemovedObjects, {Object = Object, NewObject = Mesh, Parent = Object.Parent})
- Object.Parent = nil
- end
- end
- elseif Object:IsA("BasePart") and Object.Transparency >= 1 then
- else
- ObjectData.Object = Object
- for ii, vv in pairs(v) do
- local PropertyValue = nil
- local PropertyValueSet = false
- pcall(function()
- PropertyValue = Object[ii]
- PropertyValueSet = true
- Object[ii] = vv
- end)
- if PropertyValueSet then
- ObjectData.Properties[ii] = PropertyValue
- end
- end
- end
- end
- end
- table.insert(Objects, ObjectData)
- end
- function Redesign(Parent)
- for i, v in pairs(Parent:GetChildren()) do
- if v ~= script then
- Decorate(v)
- Redesign(v)
- end
- end
- end
- if not Humanoid or not WindDirection then
- DestroyScript()
- return
- end
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Hat") or v:IsA("Tool") then
- local FakeObject = v:Clone()
- Decorate(FakeObject)
- table.insert(((v:IsA("Hat") and Hats) or Tools), v)
- for ii, vv in pairs(FakeObject:GetChildren()) do
- if vv:IsA("BasePart") then
- local FakePart = vv:Clone()
- FakePart.Name = v.Name
- table.insert(FakeParts, FakePart)
- FakePart.Parent = Character
- FakePart.CFrame = vv.CFrame
- end
- end
- end
- end
- Humanoid:UnequipTools()
- for i, v in pairs({Hats, Tools}) do
- for ii, vv in pairs(v) do
- vv.Parent = nil
- end
- end
- Redesign(Character)
- local GhostModel = Instance.new("Model")
- GhostModel.Name = "GhostModel"
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("BasePart") then
- if v.Name ~= "HumanoidRootPart" then
- local FakePart = v:Clone()
- FakePart.Name = "Part"
- FakePart.CanCollide = false
- for ii, vv in pairs(FakePart:GetChildren()) do
- if not vv:IsA("DataModelMesh") then
- vv:Destroy()
- end
- end
- table.insert(FakeParts, FakePart)
- local Mass = (v:GetMass() * Gravity ^ 2)
- local BodyVelocity = Instance.new("BodyVelocity")
- BodyVelocity.maxForce = Vector3.new(Mass, Mass, Mass)
- BodyVelocity.velocity = (WindDirection.Value * Force.Value)
- BodyVelocity.Parent = FakePart
- FakePart.Parent = GhostModel
- local FireParticle = Fire:Clone()
- FireParticle.Enabled = true
- table.insert(Particles, FireParticle)
- FireParticle.Parent = FakePart
- end
- v:Destroy()
- end
- end
- Spawn(function()
- local Start = Classes.BasePart.Transparency
- local End = 1
- local Time = 0.75
- local Rate = (1 / 30)
- local Frames = (Time / Rate)
- for i = 1, Frames do
- local Transparency = (Start + TweenNumber(Start, End, (Frames / (i + 1))))
- for ii, vv in pairs(FakeParts) do
- if vv and vv.Parent then
- vv.Transparency = Transparency
- end
- end
- wait(Rate)
- end
- for i, v in pairs(Particles) do
- v.Enabled = false
- end
- end)
- Debris:AddItem(GhostModel, 5)
- GhostModel.Parent = game:GetService("Workspace")
- end))
- Vector3Value22.Name = "WindDirection"
- Vector3Value22.Parent = Script21
- Vector3Value23.Name = "Force"
- Vector3Value23.Parent = Script21
- ParticleEmitter24.Name = "Fire"
- ParticleEmitter24.Parent = Script21
- ParticleEmitter24.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter24.Rotation = NumberRange.new(0, 5)
- ParticleEmitter24.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter24.Color = ColorSequence.new(Color3.new(0.666667, 0, 1),Color3.new(0.333333, 0, 0.498039))
- ParticleEmitter24.Enabled = false
- ParticleEmitter24.LightEmission = 1
- ParticleEmitter24.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter24.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter24.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter24.Rate = 1000
- ParticleEmitter24.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter24.Speed = NumberRange.new(-0.25, -0.25)
- ParticleEmitter24.Color = ColorSequence.new(Color3.new(0.666667, 0, 1),Color3.new(0.333333, 0, 0.498039))
- RemoteFunction25.Name = "ServerControl"
- RemoteFunction25.Parent = Tool0
- RemoteFunction26.Name = "ClientControl"
- RemoteFunction26.Parent = Tool0
- Part27.Parent = Tool0
- Part27.Material = Enum.Material.Metal
- Part27.BrickColor = BrickColor.new("Sea green")
- Part27.Shape = Enum.PartType.Ball
- Part27.Size = Vector3.new(1.8599999, 1.8599999, 1.8599999)
- Part27.CFrame = CFrame.new(34.2269974, 3.29799962, -15.4869995, 1, -3.7252903e-09, 0, -1.86264515e-09, 1.00000012, -2.32830644e-09, -5.96046448e-08, -1.39698386e-09, 1.00000012)
- Part27.BottomSurface = Enum.SurfaceType.Smooth
- Part27.TopSurface = Enum.SurfaceType.Smooth
- Part27.Color = Color3.new(0.203922, 0.556863, 0.25098)
- Part27.Position = Vector3.new(34.2269974, 3.29799962, -15.4869995)
- Part27.Color = Color3.new(0.203922, 0.556863, 0.25098)
- Sound28.Name = "Boom"
- Sound28.Parent = Part27
- Sound28.SoundId = "rbxassetid://243702774"
- Sound28.Volume = 2
- Sound28.PlayOnRemove = true
- Sound29.Name = "Fail"
- Sound29.Parent = Part27
- Sound29.SoundId = "rbxassetid://151715959"
- Sound29.Volume = 2
- Sound29.PlayOnRemove = true
- SpecialMesh30.Parent = Part27
- SpecialMesh30.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh30.MeshType = Enum.MeshType.Sphere
- SpecialMesh30.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value31.Name = "Red"
- Vector3Value31.Parent = SpecialMesh30
- Vector3Value31.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value32.Name = "Normal"
- Vector3Value32.Parent = SpecialMesh30
- Vector3Value32.Value = Vector3.new(1, 1, 1)
- Script33.Parent = Part27
- table.insert(cors,sandbox(Script33,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script34.Parent = Part27
- table.insert(cors,sandbox(Script34,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- BodyPosition35.Name = "Detect"
- BodyPosition35.Parent = Part27
- Vector3Value36.Name = "Go"
- Vector3Value36.Parent = BodyPosition35
- Vector3Value36.Value = Vector3.new(200, 0, 200)
- Vector3Value37.Name = "Kill"
- Vector3Value37.Parent = BodyPosition35
- Vector3Value37.Value = Vector3.new(1000, 1000, 1000)
- ParticleEmitter38.Name = "Sparkles"
- ParticleEmitter38.Parent = Part27
- ParticleEmitter38.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter38.Rotation = NumberRange.new(0, 5)
- ParticleEmitter38.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter38.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter38.Enabled = false
- ParticleEmitter38.LightEmission = 0.89999997615814
- ParticleEmitter38.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter38.ZOffset = 0.34999999403954
- ParticleEmitter38.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter38.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter38.Rate = 1000
- ParticleEmitter38.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter38.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter38.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- Attachment39.Name = "Attachment0"
- Attachment39.Parent = Part27
- Attachment39.Rotation = Vector3.new(0, 0, 90)
- Attachment39.CFrame = CFrame.new(0, 0.93000114, -0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
- Attachment39.Position = Vector3.new(0, 0.93000114, -0)
- Attachment39.Axis = Vector3.new(0, 1, 0)
- Attachment39.Orientation = Vector3.new(0, 0, 90)
- RopeConstraint40.Parent = Part27
- RopeConstraint40.Visible = true
- RopeConstraint40.Attachment0 = Attachment39
- RopeConstraint40.Attachment1 = nil
- RopeConstraint40.Length = 2.9175732135773
- BillboardGui41.Parent = Part27
- BillboardGui41.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui41.Enabled = false
- TextLabel42.Parent = BillboardGui41
- TextLabel42.Transparency = 1
- TextLabel42.Size = UDim2.new(0, 200, 0, 50)
- TextLabel42.Position = UDim2.new(0, 0, 0, -40)
- TextLabel42.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel42.BackgroundTransparency = 1
- TextLabel42.Font = Enum.Font.SciFi
- TextLabel42.FontSize = Enum.FontSize.Size14
- TextLabel42.TextColor3 = Color3.new(0, 1, 1)
- TextLabel42.TextScaled = true
- TextLabel42.TextWrapped = true
- CFrameValue43.Name = "qRelativeCFrameWeldValue"
- CFrameValue43.Parent = Part27
- CFrameValue43.Value = CFrame.new(-0.0296936035, 0.000131130219, 0.0300216675, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Weld44.Name = "qCFrameWeldThingy"
- Weld44.Parent = Part27
- Weld44.C1 = CFrame.new(-0.0296936035, 0.000131130219, 0.0300216675, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Weld44.Part0 = Part1
- Weld44.Part1 = Part27
- Part45.Parent = Tool0
- Part45.Material = Enum.Material.DiamondPlate
- Part45.BrickColor = BrickColor.new("Really black")
- Part45.Shape = Enum.PartType.Ball
- Part45.Size = Vector3.new(1.16999984, 1.16999984, 1.16999984)
- Part45.CFrame = CFrame.new(34.2269974, 3.32299972, -16.257, 1, -3.7252903e-09, 0, -1.86264515e-09, 1.00000012, -2.32830644e-09, -5.96046448e-08, -1.39698386e-09, 1.00000012)
- Part45.BottomSurface = Enum.SurfaceType.Smooth
- Part45.TopSurface = Enum.SurfaceType.Smooth
- Part45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part45.Position = Vector3.new(34.2269974, 3.32299972, -16.257)
- Part45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Sound46.Name = "Boom"
- Sound46.Parent = Part45
- Sound46.SoundId = "rbxassetid://243702774"
- Sound46.Volume = 2
- Sound46.PlayOnRemove = true
- Sound47.Name = "Fail"
- Sound47.Parent = Part45
- Sound47.SoundId = "rbxassetid://151715959"
- Sound47.Volume = 2
- Sound47.PlayOnRemove = true
- SpecialMesh48.Parent = Part45
- SpecialMesh48.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh48.MeshType = Enum.MeshType.Sphere
- SpecialMesh48.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value49.Name = "Red"
- Vector3Value49.Parent = SpecialMesh48
- Vector3Value49.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value50.Name = "Normal"
- Vector3Value50.Parent = SpecialMesh48
- Vector3Value50.Value = Vector3.new(1, 1, 1)
- Script51.Parent = Part45
- table.insert(cors,sandbox(Script51,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script52.Parent = Part45
- table.insert(cors,sandbox(Script52,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ParticleEmitter53.Name = "Sparkles"
- ParticleEmitter53.Parent = Part45
- ParticleEmitter53.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter53.Rotation = NumberRange.new(0, 5)
- ParticleEmitter53.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter53.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter53.Enabled = false
- ParticleEmitter53.LightEmission = 0.89999997615814
- ParticleEmitter53.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter53.ZOffset = 0.34999999403954
- ParticleEmitter53.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter53.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter53.Rate = 1000
- ParticleEmitter53.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter53.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter53.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- BillboardGui54.Parent = Part45
- BillboardGui54.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui54.Enabled = false
- TextLabel55.Parent = BillboardGui54
- TextLabel55.Transparency = 1
- TextLabel55.Size = UDim2.new(0, 200, 0, 50)
- TextLabel55.Position = UDim2.new(0, 0, 0, -40)
- TextLabel55.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel55.BackgroundTransparency = 1
- TextLabel55.Font = Enum.Font.SciFi
- TextLabel55.FontSize = Enum.FontSize.Size14
- TextLabel55.TextColor3 = Color3.new(0, 1, 1)
- TextLabel55.TextScaled = true
- TextLabel55.TextWrapped = true
- BodyPosition56.Name = "Detect"
- BodyPosition56.Parent = Part45
- Vector3Value57.Name = "Go"
- Vector3Value57.Parent = BodyPosition56
- Vector3Value57.Value = Vector3.new(200, 0, 200)
- Vector3Value58.Name = "Kill"
- Vector3Value58.Parent = BodyPosition56
- Vector3Value58.Value = Vector3.new(1000, 1000, 1000)
- CFrameValue59.Name = "qRelativeCFrameWeldValue"
- CFrameValue59.Parent = Part45
- CFrameValue59.Value = CFrame.new(-0.0296936035, -0.0248689651, 0.800022125, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Weld60.Name = "qCFrameWeldThingy"
- Weld60.Parent = Part45
- Weld60.C1 = CFrame.new(-0.0296936035, -0.0248689651, 0.800022125, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Weld60.Part0 = Part1
- Weld60.Part1 = Part45
- Part61.Parent = Tool0
- Part61.Material = Enum.Material.DiamondPlate
- Part61.BrickColor = BrickColor.new("Really black")
- Part61.Shape = Enum.PartType.Ball
- Part61.Size = Vector3.new(1.16999984, 1.16999984, 1.16999984)
- Part61.CFrame = CFrame.new(33.4669991, 3.32299972, -15.5869999, 1, -3.7252903e-09, 0, -1.86264515e-09, 1.00000012, -2.32830644e-09, -5.96046448e-08, -1.39698386e-09, 1.00000012)
- Part61.BottomSurface = Enum.SurfaceType.Smooth
- Part61.TopSurface = Enum.SurfaceType.Smooth
- Part61.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part61.Position = Vector3.new(33.4669991, 3.32299972, -15.5869999)
- Part61.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Sound62.Name = "Boom"
- Sound62.Parent = Part61
- Sound62.SoundId = "rbxassetid://243702774"
- Sound62.Volume = 2
- Sound62.PlayOnRemove = true
- Sound63.Name = "Fail"
- Sound63.Parent = Part61
- Sound63.SoundId = "rbxassetid://151715959"
- Sound63.Volume = 2
- Sound63.PlayOnRemove = true
- Script64.Parent = Part61
- table.insert(cors,sandbox(Script64,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script65.Parent = Part61
- table.insert(cors,sandbox(Script65,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ParticleEmitter66.Name = "Sparkles"
- ParticleEmitter66.Parent = Part61
- ParticleEmitter66.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter66.Rotation = NumberRange.new(0, 5)
- ParticleEmitter66.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter66.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter66.Enabled = false
- ParticleEmitter66.LightEmission = 0.89999997615814
- ParticleEmitter66.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter66.ZOffset = 0.34999999403954
- ParticleEmitter66.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter66.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter66.Rate = 1000
- ParticleEmitter66.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter66.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter66.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- BillboardGui67.Parent = Part61
- BillboardGui67.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui67.Enabled = false
- TextLabel68.Parent = BillboardGui67
- TextLabel68.Transparency = 1
- TextLabel68.Size = UDim2.new(0, 200, 0, 50)
- TextLabel68.Position = UDim2.new(0, 0, 0, -40)
- TextLabel68.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel68.BackgroundTransparency = 1
- TextLabel68.Font = Enum.Font.SciFi
- TextLabel68.FontSize = Enum.FontSize.Size14
- TextLabel68.TextColor3 = Color3.new(0, 1, 1)
- TextLabel68.TextScaled = true
- TextLabel68.TextWrapped = true
- BodyPosition69.Name = "Detect"
- BodyPosition69.Parent = Part61
- Vector3Value70.Name = "Go"
- Vector3Value70.Parent = BodyPosition69
- Vector3Value70.Value = Vector3.new(200, 0, 200)
- Vector3Value71.Name = "Kill"
- Vector3Value71.Parent = BodyPosition69
- Vector3Value71.Value = Vector3.new(1000, 1000, 1000)
- SpecialMesh72.Parent = Part61
- SpecialMesh72.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh72.MeshType = Enum.MeshType.Sphere
- SpecialMesh72.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value73.Name = "Red"
- Vector3Value73.Parent = SpecialMesh72
- Vector3Value73.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value74.Name = "Normal"
- Vector3Value74.Parent = SpecialMesh72
- Vector3Value74.Value = Vector3.new(1, 1, 1)
- CFrameValue75.Name = "qRelativeCFrameWeldValue"
- CFrameValue75.Parent = Part61
- CFrameValue75.Value = CFrame.new(0.730302811, -0.0248689651, 0.130022049, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Weld76.Name = "qCFrameWeldThingy"
- Weld76.Parent = Part61
- Weld76.C1 = CFrame.new(0.730302811, -0.0248689651, 0.130022049, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Weld76.Part0 = Part1
- Weld76.Part1 = Part61
- Part77.Parent = Tool0
- Part77.Material = Enum.Material.DiamondPlate
- Part77.BrickColor = BrickColor.new("Really black")
- Part77.Shape = Enum.PartType.Ball
- Part77.Size = Vector3.new(1.16999984, 1.16999984, 1.16999984)
- Part77.CFrame = CFrame.new(34.2269974, 3.32299972, -14.6569996, 1, -3.7252903e-09, 0, -1.86264515e-09, 1.00000012, -2.32830644e-09, -5.96046448e-08, -1.39698386e-09, 1.00000012)
- Part77.BottomSurface = Enum.SurfaceType.Smooth
- Part77.TopSurface = Enum.SurfaceType.Smooth
- Part77.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part77.Position = Vector3.new(34.2269974, 3.32299972, -14.6569996)
- Part77.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Sound78.Name = "Boom"
- Sound78.Parent = Part77
- Sound78.SoundId = "rbxassetid://243702774"
- Sound78.Volume = 2
- Sound78.PlayOnRemove = true
- Sound79.Name = "Fail"
- Sound79.Parent = Part77
- Sound79.SoundId = "rbxassetid://151715959"
- Sound79.Volume = 2
- Sound79.PlayOnRemove = true
- SpecialMesh80.Parent = Part77
- SpecialMesh80.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh80.MeshType = Enum.MeshType.Sphere
- SpecialMesh80.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value81.Name = "Red"
- Vector3Value81.Parent = SpecialMesh80
- Vector3Value81.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value82.Name = "Normal"
- Vector3Value82.Parent = SpecialMesh80
- Vector3Value82.Value = Vector3.new(1, 1, 1)
- Script83.Parent = Part77
- table.insert(cors,sandbox(Script83,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script84.Parent = Part77
- table.insert(cors,sandbox(Script84,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ParticleEmitter85.Name = "Sparkles"
- ParticleEmitter85.Parent = Part77
- ParticleEmitter85.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter85.Rotation = NumberRange.new(0, 5)
- ParticleEmitter85.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter85.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter85.Enabled = false
- ParticleEmitter85.LightEmission = 0.89999997615814
- ParticleEmitter85.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter85.ZOffset = 0.34999999403954
- ParticleEmitter85.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter85.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter85.Rate = 1000
- ParticleEmitter85.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter85.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter85.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- BillboardGui86.Parent = Part77
- BillboardGui86.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui86.Enabled = false
- TextLabel87.Parent = BillboardGui86
- TextLabel87.Transparency = 1
- TextLabel87.Size = UDim2.new(0, 200, 0, 50)
- TextLabel87.Position = UDim2.new(0, 0, 0, -40)
- TextLabel87.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel87.BackgroundTransparency = 1
- TextLabel87.Font = Enum.Font.SciFi
- TextLabel87.FontSize = Enum.FontSize.Size14
- TextLabel87.TextColor3 = Color3.new(0, 1, 1)
- TextLabel87.TextScaled = true
- TextLabel87.TextWrapped = true
- BodyPosition88.Name = "Detect"
- BodyPosition88.Parent = Part77
- Vector3Value89.Name = "Go"
- Vector3Value89.Parent = BodyPosition88
- Vector3Value89.Value = Vector3.new(200, 0, 200)
- Vector3Value90.Name = "Kill"
- Vector3Value90.Parent = BodyPosition88
- Vector3Value90.Value = Vector3.new(1000, 1000, 1000)
- CFrameValue91.Name = "qRelativeCFrameWeldValue"
- CFrameValue91.Parent = Part77
- CFrameValue91.Value = CFrame.new(-0.0296936035, -0.0248689651, -0.799978256, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Weld92.Name = "qCFrameWeldThingy"
- Weld92.Parent = Part77
- Weld92.C1 = CFrame.new(-0.0296936035, -0.0248689651, -0.799978256, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Weld92.Part0 = Part1
- Weld92.Part1 = Part77
- Part93.Parent = Tool0
- Part93.Material = Enum.Material.DiamondPlate
- Part93.BrickColor = BrickColor.new("Really black")
- Part93.Shape = Enum.PartType.Ball
- Part93.Size = Vector3.new(1.16999984, 1.16999984, 1.16999984)
- Part93.CFrame = CFrame.new(34.9269943, 3.32299972, -15.5869999, 1, -3.7252903e-09, 0, -1.86264515e-09, 1.00000012, -2.32830644e-09, -5.96046448e-08, -1.39698386e-09, 1.00000012)
- Part93.BottomSurface = Enum.SurfaceType.Smooth
- Part93.TopSurface = Enum.SurfaceType.Smooth
- Part93.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part93.Position = Vector3.new(34.9269943, 3.32299972, -15.5869999)
- Part93.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Sound94.Name = "Boom"
- Sound94.Parent = Part93
- Sound94.SoundId = "rbxassetid://243702774"
- Sound94.Volume = 2
- Sound94.PlayOnRemove = true
- Sound95.Name = "Fail"
- Sound95.Parent = Part93
- Sound95.SoundId = "rbxassetid://151715959"
- Sound95.Volume = 2
- Sound95.PlayOnRemove = true
- SpecialMesh96.Parent = Part93
- SpecialMesh96.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh96.MeshType = Enum.MeshType.Sphere
- SpecialMesh96.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value97.Name = "Red"
- Vector3Value97.Parent = SpecialMesh96
- Vector3Value97.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value98.Name = "Normal"
- Vector3Value98.Parent = SpecialMesh96
- Vector3Value98.Value = Vector3.new(1, 1, 1)
- Script99.Parent = Part93
- table.insert(cors,sandbox(Script99,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script100.Parent = Part93
- table.insert(cors,sandbox(Script100,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ParticleEmitter101.Name = "Sparkles"
- ParticleEmitter101.Parent = Part93
- ParticleEmitter101.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter101.Rotation = NumberRange.new(0, 5)
- ParticleEmitter101.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter101.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter101.Enabled = false
- ParticleEmitter101.LightEmission = 0.89999997615814
- ParticleEmitter101.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter101.ZOffset = 0.34999999403954
- ParticleEmitter101.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter101.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter101.Rate = 1000
- ParticleEmitter101.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter101.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter101.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- BillboardGui102.Parent = Part93
- BillboardGui102.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui102.Enabled = false
- TextLabel103.Parent = BillboardGui102
- TextLabel103.Transparency = 1
- TextLabel103.Size = UDim2.new(0, 200, 0, 50)
- TextLabel103.Position = UDim2.new(0, 0, 0, -40)
- TextLabel103.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel103.BackgroundTransparency = 1
- TextLabel103.Font = Enum.Font.SciFi
- TextLabel103.FontSize = Enum.FontSize.Size14
- TextLabel103.TextColor3 = Color3.new(0, 1, 1)
- TextLabel103.TextScaled = true
- TextLabel103.TextWrapped = true
- BodyPosition104.Name = "Detect"
- BodyPosition104.Parent = Part93
- Vector3Value105.Name = "Go"
- Vector3Value105.Parent = BodyPosition104
- Vector3Value105.Value = Vector3.new(200, 0, 200)
- Vector3Value106.Name = "Kill"
- Vector3Value106.Parent = BodyPosition104
- Vector3Value106.Value = Vector3.new(1000, 1000, 1000)
- CFrameValue107.Name = "qRelativeCFrameWeldValue"
- CFrameValue107.Parent = Part93
- CFrameValue107.Value = CFrame.new(-0.729688644, -0.0248689651, 0.130022049, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Weld108.Name = "qCFrameWeldThingy"
- Weld108.Parent = Part93
- Weld108.C1 = CFrame.new(-0.729688644, -0.0248689651, 0.130022049, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Weld108.Part0 = Part1
- Weld108.Part1 = Part93
- Script109.Name = "qPerfectionWeld"
- Script109.Parent = Tool0
- table.insert(cors,sandbox(Script109,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))
- Part110.Parent = Tool0
- Part110.Material = Enum.Material.DiamondPlate
- Part110.BrickColor = BrickColor.new("Really black")
- Part110.Rotation = Vector3.new(0, 0, -90.3600006)
- Part110.Shape = Enum.PartType.Ball
- Part110.Size = Vector3.new(1.16999984, 1.16999984, 1.16999984)
- Part110.CFrame = CFrame.new(34.226593, 4.0278182, -15.5869999, -0.00631300081, 0.999980092, 0, -0.999980092, -0.00631300081, 0, 0, 0, 1)
- Part110.BottomSurface = Enum.SurfaceType.Smooth
- Part110.TopSurface = Enum.SurfaceType.Smooth
- Part110.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part110.Position = Vector3.new(34.226593, 4.0278182, -15.5869999)
- Part110.Orientation = Vector3.new(0, 0, -90.3600006)
- Part110.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Sound111.Name = "Boom"
- Sound111.Parent = Part110
- Sound111.SoundId = "rbxassetid://243702774"
- Sound111.Volume = 2
- Sound111.PlayOnRemove = true
- Sound112.Name = "Fail"
- Sound112.Parent = Part110
- Sound112.SoundId = "rbxassetid://151715959"
- Sound112.Volume = 2
- Sound112.PlayOnRemove = true
- Script113.Parent = Part110
- table.insert(cors,sandbox(Script113,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script114.Parent = Part110
- table.insert(cors,sandbox(Script114,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ParticleEmitter115.Name = "Sparkles"
- ParticleEmitter115.Parent = Part110
- ParticleEmitter115.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter115.Rotation = NumberRange.new(0, 5)
- ParticleEmitter115.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter115.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter115.Enabled = false
- ParticleEmitter115.LightEmission = 0.89999997615814
- ParticleEmitter115.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter115.ZOffset = 0.34999999403954
- ParticleEmitter115.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter115.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter115.Rate = 1000
- ParticleEmitter115.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter115.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter115.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- BillboardGui116.Parent = Part110
- BillboardGui116.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui116.Enabled = false
- TextLabel117.Parent = BillboardGui116
- TextLabel117.Transparency = 1
- TextLabel117.Size = UDim2.new(0, 200, 0, 50)
- TextLabel117.Position = UDim2.new(0, 0, 0, -40)
- TextLabel117.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel117.BackgroundTransparency = 1
- TextLabel117.Font = Enum.Font.SciFi
- TextLabel117.FontSize = Enum.FontSize.Size14
- TextLabel117.TextColor3 = Color3.new(0, 1, 1)
- TextLabel117.TextScaled = true
- TextLabel117.TextWrapped = true
- BodyPosition118.Name = "Detect"
- BodyPosition118.Parent = Part110
- Vector3Value119.Name = "Go"
- Vector3Value119.Parent = BodyPosition118
- Vector3Value119.Value = Vector3.new(200, 0, 200)
- Vector3Value120.Name = "Kill"
- Vector3Value120.Parent = BodyPosition118
- Vector3Value120.Value = Vector3.new(1000, 1000, 1000)
- SpecialMesh121.Parent = Part110
- SpecialMesh121.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh121.MeshType = Enum.MeshType.Sphere
- SpecialMesh121.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value122.Name = "Red"
- Vector3Value122.Parent = SpecialMesh121
- Vector3Value122.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value123.Name = "Normal"
- Vector3Value123.Parent = SpecialMesh121
- Vector3Value123.Value = Vector3.new(1, 1, 1)
- CFrameValue124.Name = "qRelativeCFrameWeldValue"
- CFrameValue124.Parent = Part110
- CFrameValue124.Value = CFrame.new(0.730302811, -0.0248689651, 0.130022049, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Part125.Parent = Tool0
- Part125.Material = Enum.Material.DiamondPlate
- Part125.BrickColor = BrickColor.new("Really black")
- Part125.Rotation = Vector3.new(0, 0, -90.3600006)
- Part125.Shape = Enum.PartType.Ball
- Part125.Size = Vector3.new(1.16999984, 1.16999984, 1.16999984)
- Part125.CFrame = CFrame.new(34.226593, 2.36781931, -15.5869999, -0.00631300081, 0.999980092, 0, -0.999980092, -0.00631300081, 0, 0, 0, 1)
- Part125.BottomSurface = Enum.SurfaceType.Smooth
- Part125.TopSurface = Enum.SurfaceType.Smooth
- Part125.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part125.Position = Vector3.new(34.226593, 2.36781931, -15.5869999)
- Part125.Orientation = Vector3.new(0, 0, -90.3600006)
- Part125.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Sound126.Name = "Boom"
- Sound126.Parent = Part125
- Sound126.SoundId = "rbxassetid://243702774"
- Sound126.Volume = 2
- Sound126.PlayOnRemove = true
- Sound127.Name = "Fail"
- Sound127.Parent = Part125
- Sound127.SoundId = "rbxassetid://151715959"
- Sound127.Volume = 2
- Sound127.PlayOnRemove = true
- Script128.Parent = Part125
- table.insert(cors,sandbox(Script128,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script129.Parent = Part125
- table.insert(cors,sandbox(Script129,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ParticleEmitter130.Name = "Sparkles"
- ParticleEmitter130.Parent = Part125
- ParticleEmitter130.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter130.Rotation = NumberRange.new(0, 5)
- ParticleEmitter130.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter130.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter130.Enabled = false
- ParticleEmitter130.LightEmission = 0.89999997615814
- ParticleEmitter130.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter130.ZOffset = 0.34999999403954
- ParticleEmitter130.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter130.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter130.Rate = 1000
- ParticleEmitter130.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter130.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter130.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- BillboardGui131.Parent = Part125
- BillboardGui131.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui131.Enabled = false
- TextLabel132.Parent = BillboardGui131
- TextLabel132.Transparency = 1
- TextLabel132.Size = UDim2.new(0, 200, 0, 50)
- TextLabel132.Position = UDim2.new(0, 0, 0, -40)
- TextLabel132.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel132.BackgroundTransparency = 1
- TextLabel132.Font = Enum.Font.SciFi
- TextLabel132.FontSize = Enum.FontSize.Size14
- TextLabel132.TextColor3 = Color3.new(0, 1, 1)
- TextLabel132.TextScaled = true
- TextLabel132.TextWrapped = true
- BodyPosition133.Name = "Detect"
- BodyPosition133.Parent = Part125
- Vector3Value134.Name = "Go"
- Vector3Value134.Parent = BodyPosition133
- Vector3Value134.Value = Vector3.new(200, 0, 200)
- Vector3Value135.Name = "Kill"
- Vector3Value135.Parent = BodyPosition133
- Vector3Value135.Value = Vector3.new(1000, 1000, 1000)
- SpecialMesh136.Parent = Part125
- SpecialMesh136.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh136.MeshType = Enum.MeshType.Sphere
- SpecialMesh136.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value137.Name = "Red"
- Vector3Value137.Parent = SpecialMesh136
- Vector3Value137.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value138.Name = "Normal"
- Vector3Value138.Parent = SpecialMesh136
- Vector3Value138.Value = Vector3.new(1, 1, 1)
- CFrameValue139.Name = "qRelativeCFrameWeldValue"
- CFrameValue139.Parent = Part125
- CFrameValue139.Value = CFrame.new(0.730302811, -0.0248689651, 0.130022049, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Part140.Parent = Tool0
- Part140.Material = Enum.Material.Neon
- Part140.BrickColor = BrickColor.new("Sea green")
- Part140.Transparency = 0.69999998807907
- Part140.Rotation = Vector3.new(0, -47.4799995, 0)
- Part140.Shape = Enum.PartType.Ball
- Part140.Size = Vector3.new(2.79742026, 2.79742026, 2.79742026)
- Part140.CFrame = CFrame.new(34.2502785, 3.3434875, -15.4377365, 0.675855279, 0, -0.73703438, 0, 1, 0, 0.73703438, 0, 0.675855279)
- Part140.BottomSurface = Enum.SurfaceType.Smooth
- Part140.TopSurface = Enum.SurfaceType.Smooth
- Part140.Color = Color3.new(0.203922, 0.556863, 0.25098)
- Part140.Position = Vector3.new(34.2502785, 3.3434875, -15.4377365)
- Part140.Orientation = Vector3.new(0, -47.4799995, 0)
- Part140.Color = Color3.new(0.203922, 0.556863, 0.25098)
- Sound141.Name = "Boom"
- Sound141.Parent = Part140
- Sound141.SoundId = "rbxassetid://243702774"
- Sound141.Volume = 2
- Sound141.PlayOnRemove = true
- Sound142.Name = "Fail"
- Sound142.Parent = Part140
- Sound142.SoundId = "rbxassetid://151715959"
- Sound142.Volume = 2
- Sound142.PlayOnRemove = true
- SpecialMesh143.Parent = Part140
- SpecialMesh143.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh143.MeshType = Enum.MeshType.Sphere
- SpecialMesh143.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value144.Name = "Red"
- Vector3Value144.Parent = SpecialMesh143
- Vector3Value144.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value145.Name = "Normal"
- Vector3Value145.Parent = SpecialMesh143
- Vector3Value145.Value = Vector3.new(1, 1, 1)
- Script146.Parent = Part140
- table.insert(cors,sandbox(Script146,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script147.Parent = Part140
- table.insert(cors,sandbox(Script147,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- BodyPosition148.Name = "Detect"
- BodyPosition148.Parent = Part140
- Vector3Value149.Name = "Go"
- Vector3Value149.Parent = BodyPosition148
- Vector3Value149.Value = Vector3.new(200, 0, 200)
- Vector3Value150.Name = "Kill"
- Vector3Value150.Parent = BodyPosition148
- Vector3Value150.Value = Vector3.new(1000, 1000, 1000)
- ParticleEmitter151.Name = "Sparkles"
- ParticleEmitter151.Parent = Part140
- ParticleEmitter151.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter151.Rotation = NumberRange.new(0, 5)
- ParticleEmitter151.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter151.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter151.Enabled = false
- ParticleEmitter151.LightEmission = 0.89999997615814
- ParticleEmitter151.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter151.ZOffset = 0.34999999403954
- ParticleEmitter151.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter151.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter151.Rate = 1000
- ParticleEmitter151.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter151.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter151.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- Attachment152.Name = "Attachment0"
- Attachment152.Parent = Part140
- Attachment152.Rotation = Vector3.new(0, 0, 90)
- Attachment152.CFrame = CFrame.new(0, 1.39871252, -0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
- Attachment152.Position = Vector3.new(0, 1.39871252, -0)
- Attachment152.Axis = Vector3.new(0, 1, 0)
- Attachment152.Orientation = Vector3.new(0, 0, 90)
- RopeConstraint153.Parent = Part140
- RopeConstraint153.Visible = true
- RopeConstraint153.Attachment0 = Attachment152
- RopeConstraint153.Attachment1 = nil
- RopeConstraint153.Length = 4.3880000114441
- BillboardGui154.Parent = Part140
- BillboardGui154.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui154.Enabled = false
- TextLabel155.Parent = BillboardGui154
- TextLabel155.Transparency = 1
- TextLabel155.Size = UDim2.new(0, 200, 0, 50)
- TextLabel155.Position = UDim2.new(0, 0, 0, -40)
- TextLabel155.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel155.BackgroundTransparency = 1
- TextLabel155.Font = Enum.Font.SciFi
- TextLabel155.FontSize = Enum.FontSize.Size14
- TextLabel155.TextColor3 = Color3.new(0, 1, 1)
- TextLabel155.TextScaled = true
- TextLabel155.TextWrapped = true
- CFrameValue156.Name = "qRelativeCFrameWeldValue"
- CFrameValue156.Parent = Part140
- CFrameValue156.Value = CFrame.new(-0.0296936035, 0.000131130219, 0.0300216675, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Part157.Parent = Tool0
- Part157.Material = Enum.Material.Neon
- Part157.BrickColor = BrickColor.new("Really black")
- Part157.Transparency = 0.69999998807907
- Part157.Rotation = Vector3.new(0, -47.4799995, 0)
- Part157.Shape = Enum.PartType.Ball
- Part157.Size = Vector3.new(1.7596674, 1.7596674, 1.7596674)
- Part157.CFrame = CFrame.new(35.1038284, 3.38108897, -16.2204247, 0.675855279, 0, -0.73703438, 0, 1, 0, 0.73703438, 0, 0.675855279)
- Part157.BottomSurface = Enum.SurfaceType.Smooth
- Part157.TopSurface = Enum.SurfaceType.Smooth
- Part157.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part157.Position = Vector3.new(35.1038284, 3.38108897, -16.2204247)
- Part157.Orientation = Vector3.new(0, -47.4799995, 0)
- Part157.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Sound158.Name = "Boom"
- Sound158.Parent = Part157
- Sound158.SoundId = "rbxassetid://243702774"
- Sound158.Volume = 2
- Sound158.PlayOnRemove = true
- Sound159.Name = "Fail"
- Sound159.Parent = Part157
- Sound159.SoundId = "rbxassetid://151715959"
- Sound159.Volume = 2
- Sound159.PlayOnRemove = true
- SpecialMesh160.Parent = Part157
- SpecialMesh160.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh160.MeshType = Enum.MeshType.Sphere
- SpecialMesh160.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value161.Name = "Red"
- Vector3Value161.Parent = SpecialMesh160
- Vector3Value161.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value162.Name = "Normal"
- Vector3Value162.Parent = SpecialMesh160
- Vector3Value162.Value = Vector3.new(1, 1, 1)
- Script163.Parent = Part157
- table.insert(cors,sandbox(Script163,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script164.Parent = Part157
- table.insert(cors,sandbox(Script164,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ParticleEmitter165.Name = "Sparkles"
- ParticleEmitter165.Parent = Part157
- ParticleEmitter165.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter165.Rotation = NumberRange.new(0, 5)
- ParticleEmitter165.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter165.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter165.Enabled = false
- ParticleEmitter165.LightEmission = 0.89999997615814
- ParticleEmitter165.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter165.ZOffset = 0.34999999403954
- ParticleEmitter165.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter165.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter165.Rate = 1000
- ParticleEmitter165.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter165.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter165.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- BillboardGui166.Parent = Part157
- BillboardGui166.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui166.Enabled = false
- TextLabel167.Parent = BillboardGui166
- TextLabel167.Transparency = 1
- TextLabel167.Size = UDim2.new(0, 200, 0, 50)
- TextLabel167.Position = UDim2.new(0, 0, 0, -40)
- TextLabel167.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel167.BackgroundTransparency = 1
- TextLabel167.Font = Enum.Font.SciFi
- TextLabel167.FontSize = Enum.FontSize.Size14
- TextLabel167.TextColor3 = Color3.new(0, 1, 1)
- TextLabel167.TextScaled = true
- TextLabel167.TextWrapped = true
- BodyPosition168.Name = "Detect"
- BodyPosition168.Parent = Part157
- Vector3Value169.Name = "Go"
- Vector3Value169.Parent = BodyPosition168
- Vector3Value169.Value = Vector3.new(200, 0, 200)
- Vector3Value170.Name = "Kill"
- Vector3Value170.Parent = BodyPosition168
- Vector3Value170.Value = Vector3.new(1000, 1000, 1000)
- CFrameValue171.Name = "qRelativeCFrameWeldValue"
- CFrameValue171.Parent = Part157
- CFrameValue171.Value = CFrame.new(-0.0296936035, -0.0248689651, 0.800022125, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Part172.Parent = Tool0
- Part172.Material = Enum.Material.Neon
- Part172.BrickColor = BrickColor.new("Really black")
- Part172.Transparency = 0.69999998807907
- Part172.Rotation = Vector3.new(0, -47.4799995, 0)
- Part172.Shape = Enum.PartType.Ball
- Part172.Size = Vector3.new(1.7596674, 1.7596674, 1.7596674)
- Part172.CFrame = CFrame.new(33.3302155, 3.38108897, -14.5940647, 0.675855279, 0, -0.73703438, 0, 1, 0, 0.73703438, 0, 0.675855279)
- Part172.BottomSurface = Enum.SurfaceType.Smooth
- Part172.TopSurface = Enum.SurfaceType.Smooth
- Part172.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part172.Position = Vector3.new(33.3302155, 3.38108897, -14.5940647)
- Part172.Orientation = Vector3.new(0, -47.4799995, 0)
- Part172.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Sound173.Name = "Boom"
- Sound173.Parent = Part172
- Sound173.SoundId = "rbxassetid://243702774"
- Sound173.Volume = 2
- Sound173.PlayOnRemove = true
- Sound174.Name = "Fail"
- Sound174.Parent = Part172
- Sound174.SoundId = "rbxassetid://151715959"
- Sound174.Volume = 2
- Sound174.PlayOnRemove = true
- SpecialMesh175.Parent = Part172
- SpecialMesh175.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh175.MeshType = Enum.MeshType.Sphere
- SpecialMesh175.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value176.Name = "Red"
- Vector3Value176.Parent = SpecialMesh175
- Vector3Value176.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value177.Name = "Normal"
- Vector3Value177.Parent = SpecialMesh175
- Vector3Value177.Value = Vector3.new(1, 1, 1)
- Script178.Parent = Part172
- table.insert(cors,sandbox(Script178,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script179.Parent = Part172
- table.insert(cors,sandbox(Script179,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ParticleEmitter180.Name = "Sparkles"
- ParticleEmitter180.Parent = Part172
- ParticleEmitter180.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter180.Rotation = NumberRange.new(0, 5)
- ParticleEmitter180.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter180.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter180.Enabled = false
- ParticleEmitter180.LightEmission = 0.89999997615814
- ParticleEmitter180.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter180.ZOffset = 0.34999999403954
- ParticleEmitter180.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter180.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter180.Rate = 1000
- ParticleEmitter180.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter180.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter180.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- BillboardGui181.Parent = Part172
- BillboardGui181.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui181.Enabled = false
- TextLabel182.Parent = BillboardGui181
- TextLabel182.Transparency = 1
- TextLabel182.Size = UDim2.new(0, 200, 0, 50)
- TextLabel182.Position = UDim2.new(0, 0, 0, -40)
- TextLabel182.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel182.BackgroundTransparency = 1
- TextLabel182.Font = Enum.Font.SciFi
- TextLabel182.FontSize = Enum.FontSize.Size14
- TextLabel182.TextColor3 = Color3.new(0, 1, 1)
- TextLabel182.TextScaled = true
- TextLabel182.TextWrapped = true
- BodyPosition183.Name = "Detect"
- BodyPosition183.Parent = Part172
- Vector3Value184.Name = "Go"
- Vector3Value184.Parent = BodyPosition183
- Vector3Value184.Value = Vector3.new(200, 0, 200)
- Vector3Value185.Name = "Kill"
- Vector3Value185.Parent = BodyPosition183
- Vector3Value185.Value = Vector3.new(1000, 1000, 1000)
- CFrameValue186.Name = "qRelativeCFrameWeldValue"
- CFrameValue186.Parent = Part172
- CFrameValue186.Value = CFrame.new(-0.0296936035, -0.0248689651, -0.799978256, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Part187.Parent = Tool0
- Part187.Material = Enum.Material.Neon
- Part187.BrickColor = BrickColor.new("Really black")
- Part187.Transparency = 0.69999998807907
- Part187.Rotation = Vector3.new(0, -47.4799995, 0)
- Part187.Shape = Enum.PartType.Ball
- Part187.Size = Vector3.new(1.7596674, 1.7596674, 1.7596674)
- Part187.CFrame = CFrame.new(35.0726395, 3.38108897, -14.7634506, 0.675855279, 0, -0.73703438, 0, 1, 0, 0.73703438, 0, 0.675855279)
- Part187.BottomSurface = Enum.SurfaceType.Smooth
- Part187.TopSurface = Enum.SurfaceType.Smooth
- Part187.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part187.Position = Vector3.new(35.0726395, 3.38108897, -14.7634506)
- Part187.Orientation = Vector3.new(0, -47.4799995, 0)
- Part187.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Sound188.Name = "Boom"
- Sound188.Parent = Part187
- Sound188.SoundId = "rbxassetid://243702774"
- Sound188.Volume = 2
- Sound188.PlayOnRemove = true
- Sound189.Name = "Fail"
- Sound189.Parent = Part187
- Sound189.SoundId = "rbxassetid://151715959"
- Sound189.Volume = 2
- Sound189.PlayOnRemove = true
- SpecialMesh190.Parent = Part187
- SpecialMesh190.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh190.MeshType = Enum.MeshType.Sphere
- SpecialMesh190.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value191.Name = "Red"
- Vector3Value191.Parent = SpecialMesh190
- Vector3Value191.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value192.Name = "Normal"
- Vector3Value192.Parent = SpecialMesh190
- Vector3Value192.Value = Vector3.new(1, 1, 1)
- Script193.Parent = Part187
- table.insert(cors,sandbox(Script193,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script194.Parent = Part187
- table.insert(cors,sandbox(Script194,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Red.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- script.Parent.Mesh.VertexColor = script.Parent.Mesh.Normal.Value
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ParticleEmitter195.Name = "Sparkles"
- ParticleEmitter195.Parent = Part187
- ParticleEmitter195.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter195.Rotation = NumberRange.new(0, 5)
- ParticleEmitter195.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter195.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter195.Enabled = false
- ParticleEmitter195.LightEmission = 0.89999997615814
- ParticleEmitter195.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter195.ZOffset = 0.34999999403954
- ParticleEmitter195.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter195.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter195.Rate = 1000
- ParticleEmitter195.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter195.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter195.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- BillboardGui196.Parent = Part187
- BillboardGui196.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui196.Enabled = false
- TextLabel197.Parent = BillboardGui196
- TextLabel197.Transparency = 1
- TextLabel197.Size = UDim2.new(0, 200, 0, 50)
- TextLabel197.Position = UDim2.new(0, 0, 0, -40)
- TextLabel197.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel197.BackgroundTransparency = 1
- TextLabel197.Font = Enum.Font.SciFi
- TextLabel197.FontSize = Enum.FontSize.Size14
- TextLabel197.TextColor3 = Color3.new(0, 1, 1)
- TextLabel197.TextScaled = true
- TextLabel197.TextWrapped = true
- BodyPosition198.Name = "Detect"
- BodyPosition198.Parent = Part187
- Vector3Value199.Name = "Go"
- Vector3Value199.Parent = BodyPosition198
- Vector3Value199.Value = Vector3.new(200, 0, 200)
- Vector3Value200.Name = "Kill"
- Vector3Value200.Parent = BodyPosition198
- Vector3Value200.Value = Vector3.new(1000, 1000, 1000)
- CFrameValue201.Name = "qRelativeCFrameWeldValue"
- CFrameValue201.Parent = Part187
- CFrameValue201.Value = CFrame.new(-0.729688644, -0.0248689651, 0.130022049, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Part202.Parent = Tool0
- Part202.Material = Enum.Material.Neon
- Part202.BrickColor = BrickColor.new("Really black")
- Part202.Transparency = 0.69999998807907
- Part202.Rotation = Vector3.new(0, -47.4799995, 0)
- Part202.Shape = Enum.PartType.Ball
- Part202.Size = Vector3.new(1.7596674, 1.7596674, 1.7596674)
- Part202.CFrame = CFrame.new(33.5885925, 3.38108897, -16.3818512, 0.675855279, 0, -0.73703438, 0, 1, 0, 0.73703438, 0, 0.675855279)
- Part202.BottomSurface = Enum.SurfaceType.Smooth
- Part202.TopSurface = Enum.SurfaceType.Smooth
- Part202.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part202.Position = Vector3.new(33.5885925, 3.38108897, -16.3818512)
- Part202.Orientation = Vector3.new(0, -47.4799995, 0)
- Part202.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Sound203.Name = "Boom"
- Sound203.Parent = Part202
- Sound203.SoundId = "rbxassetid://243702774"
- Sound203.Volume = 2
- Sound203.PlayOnRemove = true
- Sound204.Name = "Fail"
- Sound204.Parent = Part202
- Sound204.SoundId = "rbxassetid://151715959"
- Sound204.Volume = 2
- Sound204.PlayOnRemove = true
- Script205.Parent = Part202
- table.insert(cors,sandbox(Script205,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script206.Parent = Part202
- table.insert(cors,sandbox(Script206,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ParticleEmitter207.Name = "Sparkles"
- ParticleEmitter207.Parent = Part202
- ParticleEmitter207.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter207.Rotation = NumberRange.new(0, 5)
- ParticleEmitter207.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter207.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter207.Enabled = false
- ParticleEmitter207.LightEmission = 0.89999997615814
- ParticleEmitter207.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter207.ZOffset = 0.34999999403954
- ParticleEmitter207.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter207.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter207.Rate = 1000
- ParticleEmitter207.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter207.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter207.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- BillboardGui208.Parent = Part202
- BillboardGui208.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui208.Enabled = false
- TextLabel209.Parent = BillboardGui208
- TextLabel209.Transparency = 1
- TextLabel209.Size = UDim2.new(0, 200, 0, 50)
- TextLabel209.Position = UDim2.new(0, 0, 0, -40)
- TextLabel209.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel209.BackgroundTransparency = 1
- TextLabel209.Font = Enum.Font.SciFi
- TextLabel209.FontSize = Enum.FontSize.Size14
- TextLabel209.TextColor3 = Color3.new(0, 1, 1)
- TextLabel209.TextScaled = true
- TextLabel209.TextWrapped = true
- BodyPosition210.Name = "Detect"
- BodyPosition210.Parent = Part202
- Vector3Value211.Name = "Go"
- Vector3Value211.Parent = BodyPosition210
- Vector3Value211.Value = Vector3.new(200, 0, 200)
- Vector3Value212.Name = "Kill"
- Vector3Value212.Parent = BodyPosition210
- Vector3Value212.Value = Vector3.new(1000, 1000, 1000)
- SpecialMesh213.Parent = Part202
- SpecialMesh213.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh213.MeshType = Enum.MeshType.Sphere
- SpecialMesh213.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value214.Name = "Red"
- Vector3Value214.Parent = SpecialMesh213
- Vector3Value214.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value215.Name = "Normal"
- Vector3Value215.Parent = SpecialMesh213
- Vector3Value215.Value = Vector3.new(1, 1, 1)
- CFrameValue216.Name = "qRelativeCFrameWeldValue"
- CFrameValue216.Parent = Part202
- CFrameValue216.Value = CFrame.new(0.730302811, -0.0248689651, 0.130022049, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Part217.Parent = Tool0
- Part217.Material = Enum.Material.Neon
- Part217.BrickColor = BrickColor.new("Really black")
- Part217.Transparency = 0.69999998807907
- Part217.Rotation = Vector3.new(0, -47.4799995, -90.3600006)
- Part217.Shape = Enum.PartType.Ball
- Part217.Size = Vector3.new(1.7596674, 1.7596674, 1.7596674)
- Part217.CFrame = CFrame.new(34.3606949, 4.4411273, -15.5398369, -0.00426500058, 0.675840735, -0.737035334, -0.999980092, -0.00631120754, -6.174904e-07, -0.0046520005, 0.737020731, 0.675854146)
- Part217.BottomSurface = Enum.SurfaceType.Smooth
- Part217.TopSurface = Enum.SurfaceType.Smooth
- Part217.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part217.Position = Vector3.new(34.3606949, 4.4411273, -15.5398369)
- Part217.Orientation = Vector3.new(0, -47.4799995, -90.3600006)
- Part217.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Sound218.Name = "Boom"
- Sound218.Parent = Part217
- Sound218.SoundId = "rbxassetid://243702774"
- Sound218.Volume = 2
- Sound218.PlayOnRemove = true
- Sound219.Name = "Fail"
- Sound219.Parent = Part217
- Sound219.SoundId = "rbxassetid://151715959"
- Sound219.Volume = 2
- Sound219.PlayOnRemove = true
- Script220.Parent = Part217
- table.insert(cors,sandbox(Script220,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script221.Parent = Part217
- table.insert(cors,sandbox(Script221,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ParticleEmitter222.Name = "Sparkles"
- ParticleEmitter222.Parent = Part217
- ParticleEmitter222.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter222.Rotation = NumberRange.new(0, 5)
- ParticleEmitter222.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter222.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter222.Enabled = false
- ParticleEmitter222.LightEmission = 0.89999997615814
- ParticleEmitter222.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter222.ZOffset = 0.34999999403954
- ParticleEmitter222.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter222.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter222.Rate = 1000
- ParticleEmitter222.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter222.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter222.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- BillboardGui223.Parent = Part217
- BillboardGui223.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui223.Enabled = false
- TextLabel224.Parent = BillboardGui223
- TextLabel224.Transparency = 1
- TextLabel224.Size = UDim2.new(0, 200, 0, 50)
- TextLabel224.Position = UDim2.new(0, 0, 0, -40)
- TextLabel224.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel224.BackgroundTransparency = 1
- TextLabel224.Font = Enum.Font.SciFi
- TextLabel224.FontSize = Enum.FontSize.Size14
- TextLabel224.TextColor3 = Color3.new(0, 1, 1)
- TextLabel224.TextScaled = true
- TextLabel224.TextWrapped = true
- BodyPosition225.Name = "Detect"
- BodyPosition225.Parent = Part217
- Vector3Value226.Name = "Go"
- Vector3Value226.Parent = BodyPosition225
- Vector3Value226.Value = Vector3.new(200, 0, 200)
- Vector3Value227.Name = "Kill"
- Vector3Value227.Parent = BodyPosition225
- Vector3Value227.Value = Vector3.new(1000, 1000, 1000)
- SpecialMesh228.Parent = Part217
- SpecialMesh228.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh228.MeshType = Enum.MeshType.Sphere
- SpecialMesh228.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value229.Name = "Red"
- Vector3Value229.Parent = SpecialMesh228
- Vector3Value229.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value230.Name = "Normal"
- Vector3Value230.Parent = SpecialMesh228
- Vector3Value230.Value = Vector3.new(1, 1, 1)
- CFrameValue231.Name = "qRelativeCFrameWeldValue"
- CFrameValue231.Parent = Part217
- CFrameValue231.Value = CFrame.new(0.730302811, -0.0248689651, 0.130022049, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- Part232.Parent = Tool0
- Part232.Material = Enum.Material.Neon
- Part232.BrickColor = BrickColor.new("Really black")
- Part232.Transparency = 0.69999998807907
- Part232.Rotation = Vector3.new(0, -47.4799995, -90.3600006)
- Part232.Shape = Enum.PartType.Ball
- Part232.Size = Vector3.new(1.7596674, 1.7596674, 1.7596674)
- Part232.CFrame = CFrame.new(34.3606949, 1.94450688, -15.5398369, -0.00426500058, 0.675840735, -0.737035334, -0.999980092, -0.00631120754, -6.174904e-07, -0.0046520005, 0.737020731, 0.675854146)
- Part232.BottomSurface = Enum.SurfaceType.Smooth
- Part232.TopSurface = Enum.SurfaceType.Smooth
- Part232.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part232.Position = Vector3.new(34.3606949, 1.94450688, -15.5398369)
- Part232.Orientation = Vector3.new(0, -47.4799995, -90.3600006)
- Part232.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Sound233.Name = "Boom"
- Sound233.Parent = Part232
- Sound233.SoundId = "rbxassetid://243702774"
- Sound233.Volume = 2
- Sound233.PlayOnRemove = true
- Sound234.Name = "Fail"
- Sound234.Parent = Part232
- Sound234.SoundId = "rbxassetid://151715959"
- Sound234.Volume = 2
- Sound234.PlayOnRemove = true
- Script235.Parent = Part232
- table.insert(cors,sandbox(Script235,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Kill.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- wait(0.2)
- script.Parent.Detect.maxForce = script.Parent.Detect.Go.Value
- script.Parent.Detect.position = h.Parent.Torso.Position
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script236.Parent = Part232
- table.insert(cors,sandbox(Script236,function()
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- script.Parent.Fail:remove()
- script.Parent.Sparkles.Enabled = true
- script.Parent.BillboardGui.Enabled = true
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "11"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "10"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "9"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "8"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "7"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "6"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "5"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "4"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "3"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "2"
- wait(1)
- script.Parent.BillboardGui.TextLabel.Text = "1"
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position
- E.Parent = workspace
- script.Parent.Boom:remove()
- wait(0.1)
- script.Parent:remove()
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- ParticleEmitter237.Name = "Sparkles"
- ParticleEmitter237.Parent = Part232
- ParticleEmitter237.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter237.Rotation = NumberRange.new(0, 5)
- ParticleEmitter237.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter237.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter237.Enabled = false
- ParticleEmitter237.LightEmission = 0.89999997615814
- ParticleEmitter237.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter237.ZOffset = 0.34999999403954
- ParticleEmitter237.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter237.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter237.Rate = 1000
- ParticleEmitter237.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter237.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter237.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- BillboardGui238.Parent = Part232
- BillboardGui238.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui238.Enabled = false
- TextLabel239.Parent = BillboardGui238
- TextLabel239.Transparency = 1
- TextLabel239.Size = UDim2.new(0, 200, 0, 50)
- TextLabel239.Position = UDim2.new(0, 0, 0, -40)
- TextLabel239.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel239.BackgroundTransparency = 1
- TextLabel239.Font = Enum.Font.SciFi
- TextLabel239.FontSize = Enum.FontSize.Size14
- TextLabel239.TextColor3 = Color3.new(0, 1, 1)
- TextLabel239.TextScaled = true
- TextLabel239.TextWrapped = true
- BodyPosition240.Name = "Detect"
- BodyPosition240.Parent = Part232
- Vector3Value241.Name = "Go"
- Vector3Value241.Parent = BodyPosition240
- Vector3Value241.Value = Vector3.new(200, 0, 200)
- Vector3Value242.Name = "Kill"
- Vector3Value242.Parent = BodyPosition240
- Vector3Value242.Value = Vector3.new(1000, 1000, 1000)
- SpecialMesh243.Parent = Part232
- SpecialMesh243.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh243.MeshType = Enum.MeshType.Sphere
- SpecialMesh243.Scale = Vector3.new(1.25, 1.25, 1.25)
- Vector3Value244.Name = "Red"
- Vector3Value244.Parent = SpecialMesh243
- Vector3Value244.Value = Vector3.new(1, 0.00999999978, 0.00999999978)
- Vector3Value245.Name = "Normal"
- Vector3Value245.Parent = SpecialMesh243
- Vector3Value245.Value = Vector3.new(1, 1, 1)
- CFrameValue246.Name = "qRelativeCFrameWeldValue"
- CFrameValue246.Parent = Part232
- CFrameValue246.Value = CFrame.new(0.730302811, -0.0248689651, 0.130022049, 0.356413543, 0.0158033334, -0.934194684, -1.52794952e-14, 0.999856949, 0.0169141125, 0.934328318, -0.00602841889, 0.356362551)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement