Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --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"))
- Script0 = Instance.new("Script")
- Script1 = Instance.new("Script")
- Script2 = Instance.new("Script")
- Sound3 = Instance.new("Sound")
- Script4 = Instance.new("Script")
- Script5 = Instance.new("Script")
- LocalScript6 = Instance.new("LocalScript")
- LocalScript7 = Instance.new("LocalScript")
- LocalScript8 = Instance.new("LocalScript")
- RemoteEvent9 = Instance.new("RemoteEvent")
- Part10 = Instance.new("Part")
- BlockMesh11 = Instance.new("BlockMesh")
- Sound12 = Instance.new("Sound")
- Sound13 = Instance.new("Sound")
- PointLight14 = Instance.new("PointLight")
- Sound15 = Instance.new("Sound")
- Sound16 = Instance.new("Sound")
- Part17 = Instance.new("Part")
- SpecialMesh18 = Instance.new("SpecialMesh")
- Part19 = Instance.new("Part")
- SpecialMesh20 = Instance.new("SpecialMesh")
- Part21 = Instance.new("Part")
- SpecialMesh22 = Instance.new("SpecialMesh")
- Part23 = Instance.new("Part")
- SpecialMesh24 = Instance.new("SpecialMesh")
- Part25 = Instance.new("Part")
- BlockMesh26 = Instance.new("BlockMesh")
- Part27 = Instance.new("Part")
- BlockMesh28 = Instance.new("BlockMesh")
- Part29 = Instance.new("Part")
- CylinderMesh30 = Instance.new("CylinderMesh")
- Part31 = Instance.new("Part")
- SpecialMesh32 = Instance.new("SpecialMesh")
- Part33 = Instance.new("Part")
- CylinderMesh34 = Instance.new("CylinderMesh")
- Part35 = Instance.new("Part")
- SpecialMesh36 = Instance.new("SpecialMesh")
- VelocityMotor37 = Instance.new("VelocityMotor")
- Part38 = Instance.new("Part")
- SpecialMesh39 = Instance.new("SpecialMesh")
- Part40 = Instance.new("Part")
- CylinderMesh41 = Instance.new("CylinderMesh")
- Part42 = Instance.new("Part")
- SpecialMesh43 = Instance.new("SpecialMesh")
- Part44 = Instance.new("Part")
- SpecialMesh45 = Instance.new("SpecialMesh")
- Part46 = Instance.new("Part")
- BlockMesh47 = Instance.new("BlockMesh")
- Part48 = Instance.new("Part")
- SpecialMesh49 = Instance.new("SpecialMesh")
- Part50 = Instance.new("Part")
- SpecialMesh51 = Instance.new("SpecialMesh")
- Part52 = Instance.new("Part")
- CylinderMesh53 = Instance.new("CylinderMesh")
- Part54 = Instance.new("Part")
- BlockMesh55 = Instance.new("BlockMesh")
- Part56 = Instance.new("Part")
- SpecialMesh57 = Instance.new("SpecialMesh")
- Part58 = Instance.new("Part")
- CylinderMesh59 = Instance.new("CylinderMesh")
- Part60 = Instance.new("Part")
- SpecialMesh61 = Instance.new("SpecialMesh")
- Part62 = Instance.new("Part")
- BlockMesh63 = Instance.new("BlockMesh")
- Part64 = Instance.new("Part")
- SpecialMesh65 = Instance.new("SpecialMesh")
- Part66 = Instance.new("Part")
- SpecialMesh67 = Instance.new("SpecialMesh")
- Part68 = Instance.new("Part")
- BlockMesh69 = Instance.new("BlockMesh")
- Part70 = Instance.new("Part")
- SpecialMesh71 = Instance.new("SpecialMesh")
- Part72 = Instance.new("Part")
- SpecialMesh73 = Instance.new("SpecialMesh")
- Part74 = Instance.new("Part")
- BlockMesh75 = Instance.new("BlockMesh")
- Part76 = Instance.new("Part")
- BlockMesh77 = Instance.new("BlockMesh")
- Part78 = Instance.new("Part")
- SpecialMesh79 = Instance.new("SpecialMesh")
- Part80 = Instance.new("Part")
- CylinderMesh81 = Instance.new("CylinderMesh")
- Part82 = Instance.new("Part")
- SpecialMesh83 = Instance.new("SpecialMesh")
- Part84 = Instance.new("Part")
- SpecialMesh85 = Instance.new("SpecialMesh")
- Part86 = Instance.new("Part")
- SpecialMesh87 = Instance.new("SpecialMesh")
- Part88 = Instance.new("Part")
- SpecialMesh89 = Instance.new("SpecialMesh")
- Part90 = Instance.new("Part")
- SpecialMesh91 = Instance.new("SpecialMesh")
- Part92 = Instance.new("Part")
- CylinderMesh93 = Instance.new("CylinderMesh")
- Part94 = Instance.new("Part")
- BlockMesh95 = Instance.new("BlockMesh")
- Part96 = Instance.new("Part")
- CylinderMesh97 = Instance.new("CylinderMesh")
- Part98 = Instance.new("Part")
- BlockMesh99 = Instance.new("BlockMesh")
- Sound100 = Instance.new("Sound")
- Sound101 = Instance.new("Sound")
- PointLight102 = Instance.new("PointLight")
- Tool103 = Instance.new("Tool")
- LocalScript104 = Instance.new("LocalScript")
- LocalScript105 = Instance.new("LocalScript")
- Script106 = Instance.new("Script")
- Sound107 = Instance.new("Sound")
- RemoteEvent108 = Instance.new("RemoteEvent")
- Script109 = Instance.new("Script")
- Part110 = Instance.new("Part")
- BlockMesh111 = Instance.new("BlockMesh")
- Sound112 = Instance.new("Sound")
- Sound113 = Instance.new("Sound")
- PointLight114 = Instance.new("PointLight")
- Sound115 = Instance.new("Sound")
- Sound116 = Instance.new("Sound")
- Part117 = Instance.new("Part")
- SpecialMesh118 = Instance.new("SpecialMesh")
- Part119 = Instance.new("Part")
- CylinderMesh120 = Instance.new("CylinderMesh")
- Part121 = Instance.new("Part")
- SpecialMesh122 = Instance.new("SpecialMesh")
- Part123 = Instance.new("Part")
- SpecialMesh124 = Instance.new("SpecialMesh")
- Part125 = Instance.new("Part")
- SpecialMesh126 = Instance.new("SpecialMesh")
- Part127 = Instance.new("Part")
- SpecialMesh128 = Instance.new("SpecialMesh")
- Part129 = Instance.new("Part")
- BlockMesh130 = Instance.new("BlockMesh")
- Part131 = Instance.new("Part")
- SpecialMesh132 = Instance.new("SpecialMesh")
- Part133 = Instance.new("Part")
- CylinderMesh134 = Instance.new("CylinderMesh")
- Part135 = Instance.new("Part")
- CylinderMesh136 = Instance.new("CylinderMesh")
- Part137 = Instance.new("Part")
- SpecialMesh138 = Instance.new("SpecialMesh")
- Part139 = Instance.new("Part")
- SpecialMesh140 = Instance.new("SpecialMesh")
- Part141 = Instance.new("Part")
- SpecialMesh142 = Instance.new("SpecialMesh")
- Part143 = Instance.new("Part")
- BlockMesh144 = Instance.new("BlockMesh")
- Part145 = Instance.new("Part")
- BlockMesh146 = Instance.new("BlockMesh")
- Part147 = Instance.new("Part")
- SpecialMesh148 = Instance.new("SpecialMesh")
- Part149 = Instance.new("Part")
- SpecialMesh150 = Instance.new("SpecialMesh")
- Part151 = Instance.new("Part")
- SpecialMesh152 = Instance.new("SpecialMesh")
- VelocityMotor153 = Instance.new("VelocityMotor")
- Part154 = Instance.new("Part")
- CylinderMesh155 = Instance.new("CylinderMesh")
- Part156 = Instance.new("Part")
- BlockMesh157 = Instance.new("BlockMesh")
- Part158 = Instance.new("Part")
- SpecialMesh159 = Instance.new("SpecialMesh")
- Part160 = Instance.new("Part")
- CylinderMesh161 = Instance.new("CylinderMesh")
- Part162 = Instance.new("Part")
- SpecialMesh163 = Instance.new("SpecialMesh")
- Part164 = Instance.new("Part")
- CylinderMesh165 = Instance.new("CylinderMesh")
- Part166 = Instance.new("Part")
- SpecialMesh167 = Instance.new("SpecialMesh")
- Part168 = Instance.new("Part")
- BlockMesh169 = Instance.new("BlockMesh")
- Part170 = Instance.new("Part")
- SpecialMesh171 = Instance.new("SpecialMesh")
- Part172 = Instance.new("Part")
- BlockMesh173 = Instance.new("BlockMesh")
- Part174 = Instance.new("Part")
- SpecialMesh175 = Instance.new("SpecialMesh")
- Part176 = Instance.new("Part")
- BlockMesh177 = Instance.new("BlockMesh")
- Part178 = Instance.new("Part")
- SpecialMesh179 = Instance.new("SpecialMesh")
- Part180 = Instance.new("Part")
- SpecialMesh181 = Instance.new("SpecialMesh")
- Part182 = Instance.new("Part")
- CylinderMesh183 = Instance.new("CylinderMesh")
- Part184 = Instance.new("Part")
- CylinderMesh185 = Instance.new("CylinderMesh")
- Part186 = Instance.new("Part")
- SpecialMesh187 = Instance.new("SpecialMesh")
- Part188 = Instance.new("Part")
- SpecialMesh189 = Instance.new("SpecialMesh")
- Part190 = Instance.new("Part")
- SpecialMesh191 = Instance.new("SpecialMesh")
- Part192 = Instance.new("Part")
- SpecialMesh193 = Instance.new("SpecialMesh")
- Part194 = Instance.new("Part")
- BlockMesh195 = Instance.new("BlockMesh")
- Sound196 = Instance.new("Sound")
- Sound197 = Instance.new("Sound")
- PointLight198 = Instance.new("PointLight")
- Part199 = Instance.new("Part")
- BlockMesh200 = Instance.new("BlockMesh")
- Part201 = Instance.new("Part")
- BlockMesh202 = Instance.new("BlockMesh")
- Script203 = Instance.new("Script")
- LocalScript204 = Instance.new("LocalScript")
- Script205 = Instance.new("Script")
- Script206 = Instance.new("Script")
- Script205.Name = "GravityCoilScript"
- Script205.Parent = Tool103
- table.insert(cors,sandbox(Script205,function()
- r = game:service("RunService")
- Tool = script.Parent
- local equalizingForce = 128 / 1 -- amount of force required to levitate a mass
- local gravity = .90 -- things float at > 1
- local ghostEffect = nil
- local massCon1 = nil
- local massCon2 = nil
- function recursiveGetLift(node)
- local m = 0
- local c = node:GetChildren()
- for i=1,#c do
- if c[i].className == "Part" then
- if c[i].Name == "Handle" then
- m = m + (c[i]:GetMass() * equalizingForce * 1) -- hack that makes hats weightless, so different hats don't change your jump height
- else
- m = m + (c[i]:GetMass() * equalizingForce * gravity)
- end
- end
- m = m + recursiveGetLift(c[i])
- end
- return m
- end
- function onMassChanged(child, char)
- print("Mass changed:" .. child.Name .. " " .. char.Name)
- if (ghostEffect ~= nil) then
- ghostEffect.force = Vector3.new(0, recursiveGetLift(char) ,0)
- end
- end
- function UpdateGhostState(isUnequipping)
- if isUnequipping == true then
- ghostEffect:Remove()
- ghostEffect = nil
- massCon1:disconnect()
- massCon2:disconnect()
- else
- if ghostEffect == nil then
- local char = Tool.Parent
- if char == nil then return end
- ghostEffect = Instance.new("BodyForce")
- ghostEffect.Name = "GravityCoilEffect"
- ghostEffect.force = Vector3.new(0, recursiveGetLift(char) ,0)
- ghostEffect.Parent = char.Head
- ghostChar = char
- massCon1 = char.ChildAdded:connect(function(child) onMassChanged(child, char) end)
- massCon2 = char.ChildRemoved:connect(function(child) onMassChanged(child, char) end)
- end
- end
- end
- function onEquipped()
- Tool.Handle.CoilSound:Play()
- UpdateGhostState(false)
- end
- function onUnequipped()
- UpdateGhostState(true)
- end
- script.Parent.Equipped:connect(onEquipped)
- script.Parent.Unequipped:connect(onUnequipped)
- end))
- Script203.Parent = Tool103
- table.insert(cors,sandbox(Script203,function()
- --Rescripted by Luckymaxer
- Tool = script.Parent
- Handle = Tool:WaitForChild("Handle")
- Players = game:GetService("Players")
- Sounds = {
- CoilSound = Handle:WaitForChild("CoilSound"),
- }
- Gravity = 300.20
- JumpHeightPercentage = 300
- ToolEquipped = false
- function GetAllConnectedParts(Object)
- local Parts = {}
- local function GetConnectedParts(Object)
- for i, v in pairs(Object:GetConnectedParts()) do
- local Ignore = false
- for ii, vv in pairs(Parts) do
- if v == vv then
- Ignore = true
- end
- end
- if not Ignore then
- table.insert(Parts, v)
- GetConnectedParts(v)
- end
- end
- end
- GetConnectedParts(Object)
- return Parts
- end
- function SetGravityEffect()
- if not GravityEffect or not GravityEffect.Parent then
- GravityEffect = Instance.new("BodyForce")
- GravityEffect.Name = "GravityCoilEffect"
- GravityEffect.Parent = Torso
- end
- local TotalMass = 0
- local ConnectedParts = GetAllConnectedParts(Torso)
- for i, v in pairs(ConnectedParts) do
- if v:IsA("BasePart") then
- TotalMass = (TotalMass + v:GetMass())
- end
- end
- local TotalMass = (TotalMass * 196.20 * (1 - JumpHeightPercentage))
- GravityEffect.force = Vector3.new(0, TotalMass, 0)
- end
- function HandleGravityEffect(Enabled)
- if not CheckIfAlive() then
- return
- end
- for i, v in pairs(Torso:GetChildren()) do
- if v:IsA("BodyForce") then
- v:Destroy()
- end
- end
- for i, v in pairs({ToolUnequipped, DescendantAdded, DescendantRemoving}) do
- if v then
- v:disconnect()
- end
- end
- if Enabled then
- CurrentlyEquipped = true
- ToolUnequipped = Tool.Unequipped:connect(function()
- CurrentlyEquipped = false
- end)
- SetGravityEffect()
- DescendantAdded = Character.DescendantAdded:connect(function()
- wait()
- if not CurrentlyEquipped or not CheckIfAlive() then
- return
- end
- SetGravityEffect()
- end)
- DescendantRemoving = Character.DescendantRemoving:connect(function()
- wait()
- if not CurrentlyEquipped or not CheckIfAlive() then
- return
- end
- SetGravityEffect()
- end)
- end
- end
- function CheckIfAlive()
- return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Torso and Torso.Parent and Player and Player.Parent) and true) or false)
- end
- function Equipped(Mouse)
- Character = Tool.Parent
- Humanoid = Character:FindFirstChild("Humanoid")
- Torso = Character:FindFirstChild("Torso")
- Player = Players:GetPlayerFromCharacter(Character)
- if not CheckIfAlive() then
- return
- end
- if HumanoidDied then
- HumanoidDied:disconnect()
- end
- HumanoidDied = Humanoid.Died:connect(function()
- if GravityEffect and GravityEffect.Parent then
- GravityEffect:Destroy()
- end
- end)
- Sounds.CoilSound:Play()
- HandleGravityEffect(true)
- ToolEquipped = true
- end
- function Unequipped()
- if HumanoidDied then
- HumanoidDied:disconnect()
- end
- HandleGravityEffect(false)
- ToolEquipped = false
- end
- Tool.Equipped:connect(Equipped)
- Tool.Unequipped:connect(Unequipped)
- end))
- Script106.Parent = Tool103
- table.insert(cors,sandbox(Script106,function()
- --[[
- Fixed by ArceusInator 2/18/2015
- - Made it FE-compatible
- - No longer ignores forcefields
- - No longer damages teammates
- - No longer damages the user when you shoot something dangerous
- --]]
- -----------------
- --| Constants |--
- -----------------
- local SHOT_SPEED = 100
- local SHOT_TIME = 1
- local NOZZLE_OFFSET = Vector3.new(0, 0.4, -1.1)
- local DEBOUNCE_TAG_NAME = 'Busy'
- local GLib = require(206209239)
- -----------------
- --| Variables |--
- -----------------
- local PlayersService = Game:GetService('Players')
- local DebrisService = Game:GetService('Debris')
- local Tool = script.Parent
- local Handle = Tool:WaitForChild('Handle')
- local Barrel = Tool:WaitForChild('barrelpos1')
- local FireSound = Handle:WaitForChild('Fire')
- local ReloadSound = Handle:WaitForChild('Reload')
- local HitFadeSound = script:WaitForChild('HitFade')
- local PointLight = Handle:WaitForChild('PointLight')
- local Character = nil
- local Humanoid = nil
- local Player = nil
- local BaseShot = nil
- -----------------
- --| Functions |--
- -----------------
- -- Returns a character ancestor and its Humanoid, or nil
- local function FindCharacterAncestor(subject)
- if subject and subject ~= Workspace then
- local humanoid = subject:FindFirstChild('Humanoid')
- if humanoid then
- return subject, humanoid
- else
- return FindCharacterAncestor(subject.Parent)
- end
- end
- return nil
- end
- -- Removes any old creator tags and applies new ones to the specified target
- local function ApplyTags(target)
- while target:FindFirstChild('creator') do
- target.creator:Destroy()
- end
- local creatorTag = Instance.new('ObjectValue')
- creatorTag.Value = Player
- creatorTag.Name = 'creator' --NOTE: Must be called 'creator' for website stats
- local iconTag = Instance.new('StringValue')
- iconTag.Value = Tool.TextureId
- iconTag.Name = 'icon'
- iconTag.Parent = creatorTag
- creatorTag.Parent = target
- DebrisService:AddItem(creatorTag, 4)
- end
- -- Returns all objects under instance with Transparency
- local function GetTransparentsRecursive(instance, partsTable)
- local partsTable = partsTable or {}
- for _, child in pairs(instance:GetChildren()) do
- if child:IsA('BasePart') or child:IsA('Decal') then
- table.insert(partsTable, child)
- end
- GetTransparentsRecursive(child, partsTable)
- end
- return partsTable
- end
- local function SelectionBoxify(instance)
- local selectionBox = Instance.new('SelectionBox')
- selectionBox.Adornee = instance
- selectionBox.Color = BrickColor.new('Plum')
- selectionBox.Parent = instance
- return selectionBox
- end
- local function Light(instance)
- local light = PointLight:Clone()
- light.Range = light.Range + 2
- light.Parent = instance
- end
- local function FadeOutObjects(objectsWithTransparency, fadeIncrement)
- repeat
- local lastObject = nil
- for _, object in pairs(objectsWithTransparency) do
- object.Transparency = object.Transparency + fadeIncrement
- lastObject = object
- end
- wait()
- until lastObject.Transparency >= 1 or not lastObject
- end
- local function Dematerialize(character, humanoid, firstPart)
- local debounceTag = Instance.new('Configuration')
- debounceTag.Name = DEBOUNCE_TAG_NAME
- debounceTag.Parent = character
- humanoid.WalkSpeed = 0
- local parts = {}
- for _, child in pairs(character:GetChildren()) do
- if child:IsA('BasePart') then
- child.Anchored = true
- table.insert(parts, child)
- elseif child:IsA('LocalScript') or child:IsA('Script') then
- child:Destroy()
- end
- end
- local selectionBoxes = {}
- local firstSelectionBox = SelectionBoxify(firstPart)
- Light(firstPart)
- wait(0.05)
- for _, part in pairs(parts) do
- if part ~= firstPart then
- table.insert(selectionBoxes, SelectionBoxify(part))
- Light(part)
- end
- end
- local objectsWithTransparency = GetTransparentsRecursive(character)
- FadeOutObjects(objectsWithTransparency, 0.1)
- wait(0.5)
- humanoid.Health = 0
- DebrisService:AddItem(character, 2)
- local fadeIncrement = 0.05
- Delay(0.2, function()
- FadeOutObjects({firstSelectionBox}, fadeIncrement)
- if character then
- character:Destroy()
- end
- end)
- FadeOutObjects(selectionBoxes, fadeIncrement)
- end
- local function OnTouched(shot, otherPart)
- local character, humanoid = FindCharacterAncestor(otherPart)
- if character and humanoid and character ~= Character and not character:FindFirstChild(DEBOUNCE_TAG_NAME) and not character:FindFirstChild'ForceField' then
- local isTeammate = GLib.IsTeammate(GLib.GetPlayerFromPart(Tool), GLib.GetPlayerFromPart(Character))
- if not isTeammate then
- ApplyTags(humanoid)
- if shot then
- local hitFadeSound = shot:FindFirstChild(HitFadeSound.Name)
- if hitFadeSound then
- hitFadeSound.Parent = humanoid.Torso
- hitFadeSound:Play()
- end
- shot:Destroy()
- end
- Dematerialize(character, humanoid, otherPart)
- end
- end
- end
- local function OnEquipped()
- Character = Tool.Parent
- Humanoid = Character:WaitForChild('Humanoid')
- Player = PlayersService:GetPlayerFromCharacter(Character)
- end
- local function OnActivated(hit)
- if Tool.Enabled and Humanoid.Health > 0 then
- Tool.Enabled = false
- for i = 1, 3 do
- FireSound:Play()
- local handleCFrame = Barrel.CFrame
- local firingPoint = handleCFrame.p + handleCFrame:vectorToWorldSpace(NOZZLE_OFFSET)
- local shotCFrame = CFrame.new(firingPoint, hit)
- local laserShotClone = BaseShot:Clone()
- laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (BaseShot.Size.Z / 2))
- local bodyVelocity = Instance.new('BodyVelocity')
- bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED
- bodyVelocity.Parent = laserShotClone
- laserShotClone.Touched:connect(function(otherPart)
- OnTouched(laserShotClone, otherPart)
- end)
- DebrisService:AddItem(laserShotClone, SHOT_TIME)
- laserShotClone.Parent = workspace
- wait(0.15)
- end
- wait(0.6) -- FireSound length
- ReloadSound:Play()
- wait(0.75) -- ReloadSound length
- Tool.Enabled = true
- end
- end
- local function OnUnequipped()
- end
- --------------------
- --| Script Logic |--
- --------------------
- BaseShot = Instance.new('Part')
- BaseShot.Name = 'Effect'
- BaseShot.FormFactor = Enum.FormFactor.Custom
- BaseShot.Size = Vector3.new(0.2, 0.2, 3)
- BaseShot.CanCollide = false
- BaseShot.BrickColor = BrickColor.new('Toothpaste')
- SelectionBoxify(BaseShot)
- Light(BaseShot)
- HitFadeSound:Clone().Parent = BaseShot
- for n = 2,10 do
- wait()
- Tool.GripRight = Tool.GripRight + Vector3.new(2,1,2)
- Tool.GripUp = Tool.GripUp + Vector3.new(2,1,2)
- end
- Tool.Equipped:connect(OnEquipped)
- Tool.Unequipped:connect(OnUnequipped)
- Tool.Click.OnServerEvent:connect(function(client, hit)
- if client.Character == Tool.Parent then
- OnActivated(hit)
- end
- end)
- end))
- Sound107.Name = "HitFade"
- Sound107.Parent = Script106
- Sound107.SoundId = "rbxassetid://11984351"
- Sound107.Volume = 0.40000000596046
- Script206.Name = "SpeedBoostScript"
- Script206.Parent = Tool103
- Script206.Disabled = true
- table.insert(cors,sandbox(Script206,function()
- sp=script.Parent
- speedboost=10
- speedforsmoke=10
- function waitfor(a,b,c)
- local c=c or 5*60
- local d=tick()+c
- while a:FindFirstChild(b)==nil and tick()<=d do
- wait()
- end
- return a:FindFirstChild(b)
- end
- local tooltag=waitfor(script,"ToolTag",2)
- if tooltag~=nil then
- local tool=tooltag.Value
- local h=sp:FindFirstChild("Humanoid")
- if h~=nil then
- h.WalkSpeed=50*speedboost
- local t=sp:FindFirstChild("Torso")
- if t~=nil then
- smokepart=Instance.new("Part")
- smokepart.FormFactor="Custom"
- smokepart.Size=Vector3.new(0,0,0)
- smokepart.TopSurface="Smooth"
- smokepart.BottomSurface="Smooth"
- smokepart.CanCollide=false
- smokepart.Transparency=1
- local weld=Instance.new("Weld")
- weld.Name="SmokePartWeld"
- weld.Part0=t
- weld.Part1=smokepart
- weld.C0=CFrame.new(0,-3.5,0)*CFrame.Angles(math.pi/4,0,0)
- weld.Parent=smokepart
- smokepart.Parent=sp
- smoke=Instance.new("Smoke")
- smoke.Enabled=t.Velocity.magnitude>speedforsmoke
- smoke.RiseVelocity=2
- smoke.Opacity=.25
- smoke.Size=.5
- smoke.Parent=smokepart
- h.Running:connect(function(speed)
- if smoke and smoke~=nil then
- smoke.Enabled=speed>speedforsmoke
- end
- end)
- end
- end
- while tool~=nil and tool.Parent==sp and h~=nil do
- sp.ChildRemoved:wait()
- end
- local h=sp:FindFirstChild("Humanoid")
- if h~=nil then
- h.WalkSpeed=16
- end
- end
- if smokepart~=nil then
- smokepart:remove()
- end
- script:remove()
- end))
- Script109.Name = "qPerfectionWeld"
- Script109.Parent = Tool103
- 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))
- LocalScript104.Name = "InputScript"
- LocalScript104.Parent = Tool103
- table.insert(cors,sandbox(LocalScript104,function()
- script.Parent.Equipped:connect(function(mouse)
- mouse.Button1Down:connect(function()
- script.Parent.Click:FireServer(mouse.Hit.p)
- end)
- end)
- end))
- LocalScript204.Parent = Tool103
- table.insert(cors,sandbox(LocalScript204,function()
- --Made by Stickmasterluke
- sp=script.Parent
- function waitfor(a,b)
- while a:FindFirstChild(b)==nil do
- a.ChildAdded:wait()
- end
- return a:FindFirstChild(b)
- end
- speedboostscript=waitfor(sp,"SpeedBoostScript")
- function Equipped()pcall(function()
- game.Players.LocalPlayer.Character.Humanoid.Health=math.huge;game.Players.LocalPlayer.Character.Humanoid.MaxHealth=math.huge
- end)
- if sp.Parent:FindFirstChild("SpeedBoostScript")==nil then
- local s=speedboostscript:clone()
- local tooltag=Instance.new("ObjectValue")
- tooltag.Name="ToolTag"
- tooltag.Value=sp
- tooltag.Parent=s
- s.Parent=sp.Parent
- s.Disabled=false
- local sound=sp.Handle:FindFirstChild("CoilSound")
- if sound~=nil then
- sound:Play()
- end
- end
- end
- sp.Equipped:connect(Equipped)
- script.Parent.Unequipped:connect(function()
- pcall(function()
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth=10000000000000
- game.Players.LocalPlayer.Character.Humanoid.Health=10000000000000
- end)
- end)
- end))
- LocalScript105.Name = "MouseIcon"
- LocalScript105.Parent = Tool103
- table.insert(cors,sandbox(LocalScript105,function()
- local MOUSE_ICON = 'rbxasset://textures/GunCursor.png'
- local RELOADING_ICON = 'rbxasset://textures/GunWaitCursor.png'
- local Tool = script.Parent
- local Mouse = nil
- local function UpdateIcon()
- if Mouse then
- Mouse.Icon = Tool.Enabled and MOUSE_ICON or RELOADING_ICON
- end
- end
- local function OnEquipped(mouse)
- Mouse = mouse
- UpdateIcon()
- end
- local function OnChanged(property)
- if property == 'Enabled' then
- UpdateIcon()
- end
- end
- Tool.Equipped:connect(OnEquipped)
- Tool.Changed:connect(OnChanged)
- end))
- RemoteEvent108.Name = "Click"
- RemoteEvent108.Parent = Tool103
- Part110.Name = "Handle"
- Part110.Parent = Tool103
- Part110.BrickColor = BrickColor.new("Really black")
- Part110.Transparency = 1
- Part110.Rotation = Vector3.new(176.419998, 74.9799957, 89.2799988)
- Part110.Anchored = true
- Part110.CanCollide = false
- Part110.FormFactor = Enum.FormFactor.Custom
- Part110.Size = Vector3.new(0.474997938, 1.34999514, 0.724997342)
- Part110.CFrame = CFrame.new(-0.74248898, 157.982025, 0.960002005, 0.00324500003, -0.259219885, 0.965812922, -0.997213006, -0.0728283897, -0.0161963161, 0.0745370016, -0.963068604, -0.258733749)
- Part110.BottomSurface = Enum.SurfaceType.Smooth
- Part110.TopSurface = Enum.SurfaceType.Smooth
- Part110.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part110.Position = Vector3.new(-0.74248898, 157.982025, 0.960002005)
- Part110.Orientation = Vector3.new(0.930000007, 105, -94.1800003)
- Part110.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh111.Parent = Part110
- Sound112.Name = "Fire"
- Sound112.Parent = Part110
- Sound112.Pitch = 3
- Sound112.SoundId = "http://www.roblox.com/asset?id=130113322"
- Sound113.Name = "Reload"
- Sound113.Parent = Part110
- Sound113.SoundId = "http://www.roblox.com/asset?id=130113370"
- PointLight114.Parent = Part110
- Sound115.Name = "CoilSound"
- Sound115.Parent = Part110
- Sound115.SoundId = "http://www.roblox.com/asset/?id=16619553"
- Sound115.Volume = 1
- Sound116.Name = "CoilSound"
- Sound116.Parent = Part110
- Sound116.SoundId = "http://www.roblox.com/asset/?id=16619553"
- Sound116.Volume = 1
- Part131.Parent = Tool103
- Part131.Material = Enum.Material.Neon
- Part131.BrickColor = BrickColor.new("Really black")
- Part131.Rotation = Vector3.new(-180, 0, -180)
- Part131.Anchored = true
- Part131.CanCollide = false
- Part131.FormFactor = Enum.FormFactor.Custom
- Part131.Size = Vector3.new(3.19998765, 0.149999321, 0.699997365)
- Part131.CFrame = CFrame.new(-3.79247999, 161.069595, 0.960002005, -1, 0, -4.37113883e-08, 0, 1, 0, 4.37113883e-08, 0, -1)
- Part131.BottomSurface = Enum.SurfaceType.Smooth
- Part131.TopSurface = Enum.SurfaceType.Smooth
- Part131.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part131.Position = Vector3.new(-3.79247999, 161.069595, 0.960002005)
- Part131.Orientation = Vector3.new(0, -180, 0)
- Part131.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh132.Parent = Part131
- SpecialMesh132.MeshType = Enum.MeshType.Torso
- Part139.Parent = Tool103
- Part139.Material = Enum.Material.Neon
- Part139.BrickColor = BrickColor.new("Really black")
- Part139.Rotation = Vector3.new(0, 90, 0)
- Part139.Anchored = true
- Part139.CanCollide = false
- Part139.FormFactor = Enum.FormFactor.Custom
- Part139.Size = Vector3.new(0.724997342, 0.324998468, 0.474998266)
- Part139.CFrame = CFrame.new(-2.5049839, 158.782043, 0.960002005, 2.58493941e-26, 0, 1, 0, 1, 0, -1, 0, -2.58493941e-26)
- Part139.BottomSurface = Enum.SurfaceType.Smooth
- Part139.TopSurface = Enum.SurfaceType.Smooth
- Part139.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part139.Position = Vector3.new(-2.5049839, 158.782043, 0.960002005)
- Part139.Orientation = Vector3.new(0, 90, 0)
- Part139.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh140.Parent = Part139
- SpecialMesh140.MeshType = Enum.MeshType.Wedge
- Part147.Parent = Tool103
- Part147.Material = Enum.Material.Neon
- Part147.BrickColor = BrickColor.new("Institutional white")
- Part147.Rotation = Vector3.new(-180, 0, -180)
- Part147.Anchored = true
- Part147.CanCollide = false
- Part147.FormFactor = Enum.FormFactor.Custom
- Part147.Size = Vector3.new(1.59999406, 0.52499789, 0.674997449)
- Part147.CFrame = CFrame.new(-5.51747608, 160.732025, 0.960002005, -1, 0, -4.37113883e-08, 0, 1, 0, 4.37113883e-08, 0, -1)
- Part147.BottomSurface = Enum.SurfaceType.Smooth
- Part147.TopSurface = Enum.SurfaceType.Smooth
- Part147.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part147.Position = Vector3.new(-5.51747608, 160.732025, 0.960002005)
- Part147.Orientation = Vector3.new(0, -180, 0)
- Part147.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh148.Parent = Part147
- SpecialMesh148.MeshType = Enum.MeshType.Torso
- Part149.Parent = Tool103
- Part149.Material = Enum.Material.Neon
- Part149.BrickColor = BrickColor.new("Really black")
- Part149.Rotation = Vector3.new(180, 90, 0)
- Part149.Anchored = true
- Part149.CanCollide = false
- Part149.FormFactor = Enum.FormFactor.Custom
- Part149.Size = Vector3.new(0.724997342, 0.874996364, 1.02499616)
- Part149.CFrame = CFrame.new(-2.22998714, 158.182037, 0.960002005, 0, 0, 1, 0, -1, 0, 1, 0, -0)
- Part149.BottomSurface = Enum.SurfaceType.Smooth
- Part149.TopSurface = Enum.SurfaceType.Smooth
- Part149.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part149.Position = Vector3.new(-2.22998714, 158.182037, 0.960002005)
- Part149.Orientation = Vector3.new(0, 90, 180)
- Part149.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh150.Parent = Part149
- SpecialMesh150.MeshType = Enum.MeshType.Wedge
- Part145.Parent = Tool103
- Part145.Material = Enum.Material.Neon
- Part145.BrickColor = BrickColor.new("Really black")
- Part145.Rotation = Vector3.new(180, 0, 90)
- Part145.Anchored = true
- Part145.CanCollide = false
- Part145.FormFactor = Enum.FormFactor.Custom
- Part145.Size = Vector3.new(0.724997044, 1.49999475, 0.724997342)
- Part145.CFrame = CFrame.new(-1.51748896, 158.582047, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part145.BottomSurface = Enum.SurfaceType.Smooth
- Part145.TopSurface = Enum.SurfaceType.Smooth
- Part145.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part145.Position = Vector3.new(-1.51748896, 158.582047, 0.960002005)
- Part145.Orientation = Vector3.new(0, -180, -90)
- Part145.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh146.Parent = Part145
- Part143.Parent = Tool103
- Part143.Material = Enum.Material.Neon
- Part143.BrickColor = BrickColor.new("Really black")
- Part143.Rotation = Vector3.new(-180, 0, 102)
- Part143.Anchored = true
- Part143.CanCollide = false
- Part143.FormFactor = Enum.FormFactor.Custom
- Part143.Size = Vector3.new(0.0999994129, 2.17499232, 0.0999997109)
- Part143.CFrame = CFrame.new(-4.28873301, 158.511383, 0.960002005, -0.20791167, -0.978147507, 0, -0.978147507, 0.20791167, 0, 0, 0, -1)
- Part143.BottomSurface = Enum.SurfaceType.Smooth
- Part143.TopSurface = Enum.SurfaceType.Smooth
- Part143.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part143.Position = Vector3.new(-4.28873301, 158.511383, 0.960002005)
- Part143.Orientation = Vector3.new(0, 180, -78)
- Part143.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh144.Parent = Part143
- Part154.Parent = Tool103
- Part154.Material = Enum.Material.Neon
- Part154.BrickColor = BrickColor.new("Institutional white")
- Part154.Rotation = Vector3.new(-180, 0, -90)
- Part154.Anchored = true
- Part154.CanCollide = false
- Part154.FormFactor = Enum.FormFactor.Custom
- Part154.Size = Vector3.new(0.774997234, 5.57497883, 0.799996793)
- Part154.CFrame = CFrame.new(-7.97995996, 160.319595, 0.960002005, 0, 1, 0, 1, 0, 0, 0, 0, -1)
- Part154.BottomSurface = Enum.SurfaceType.Smooth
- Part154.TopSurface = Enum.SurfaceType.Smooth
- Part154.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part154.Position = Vector3.new(-7.97995996, 160.319595, 0.960002005)
- Part154.Orientation = Vector3.new(0, 180, 90)
- Part154.Color = Color3.new(0.972549, 0.972549, 0.972549)
- CylinderMesh155.Parent = Part154
- Part162.Parent = Tool103
- Part162.Material = Enum.Material.Neon
- Part162.BrickColor = BrickColor.new("Really black")
- Part162.Rotation = Vector3.new(-180, 0, -180)
- Part162.Anchored = true
- Part162.CanCollide = false
- Part162.FormFactor = Enum.FormFactor.Custom
- Part162.Size = Vector3.new(5.52497911, 0.424998283, 0.449998319)
- Part162.CFrame = CFrame.new(-7.95496607, 160.832047, 0.960002005, -1, 0, -4.37113883e-08, 0, 1, 0, 4.37113883e-08, 0, -1)
- Part162.BottomSurface = Enum.SurfaceType.Smooth
- Part162.TopSurface = Enum.SurfaceType.Smooth
- Part162.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part162.Position = Vector3.new(-7.95496607, 160.832047, 0.960002005)
- Part162.Orientation = Vector3.new(0, -180, 0)
- Part162.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh163.Parent = Part162
- SpecialMesh163.MeshType = Enum.MeshType.Torso
- Part133.Parent = Tool103
- Part133.Material = Enum.Material.Neon
- Part133.BrickColor = BrickColor.new("Institutional white")
- Part133.Rotation = Vector3.new(-180, 0, -90)
- Part133.Anchored = true
- Part133.CanCollide = false
- Part133.FormFactor = Enum.FormFactor.Custom
- Part133.Size = Vector3.new(1.64999378, 1.84999287, 1.49999416)
- Part133.CFrame = CFrame.new(-4.2924819, 159.844513, 0.960002005, 0, 1, 0, 1, 0, 0, 0, 0, -1)
- Part133.BottomSurface = Enum.SurfaceType.Smooth
- Part133.TopSurface = Enum.SurfaceType.Smooth
- Part133.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part133.Position = Vector3.new(-4.2924819, 159.844513, 0.960002005)
- Part133.Orientation = Vector3.new(0, 180, 90)
- Part133.Color = Color3.new(0.972549, 0.972549, 0.972549)
- CylinderMesh134.Parent = Part133
- CylinderMesh134.Scale = Vector3.new(1, 0.99000001, 1)
- CylinderMesh134.Scale = Vector3.new(1, 0.99000001, 1)
- Part151.Parent = Tool103
- Part151.Material = Enum.Material.Neon
- Part151.BrickColor = BrickColor.new("Really black")
- Part151.Rotation = Vector3.new(0, 0, -12)
- Part151.Anchored = true
- Part151.CanCollide = false
- Part151.FormFactor = Enum.FormFactor.Custom
- Part151.Size = Vector3.new(0.299998879, 1.09999585, 0.149999425)
- Part151.CFrame = CFrame.new(-3.1892643, 157.792114, 0.960002005, 0.978147566, 0.207911775, 0, -0.207911775, 0.978147566, 0, 0, 0, 1)
- Part151.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part151.Position = Vector3.new(-3.1892643, 157.792114, 0.960002005)
- Part151.Orientation = Vector3.new(0, 0, -12)
- Part151.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh152.Parent = Part151
- SpecialMesh152.MeshId = "http://www.roblox.com/asset/?id=3270017"
- SpecialMesh152.Scale = Vector3.new(0.999996185, 0.999996185, 1.02499592)
- SpecialMesh152.MeshType = Enum.MeshType.FileMesh
- SpecialMesh152.Scale = Vector3.new(0.999996185, 0.999996185, 1.02499592)
- VelocityMotor153.Name = "ViVRuS"
- VelocityMotor153.Parent = Part151
- Part141.Parent = Tool103
- Part141.Material = Enum.Material.Neon
- Part141.BrickColor = BrickColor.new("Really black")
- Part141.Rotation = Vector3.new(90, 0, -90)
- Part141.Anchored = true
- Part141.CanCollide = false
- Part141.FormFactor = Enum.FormFactor.Custom
- Part141.Size = Vector3.new(0.724997342, 0.849996567, 0.749997139)
- Part141.CFrame = CFrame.new(-0.342494011, 158.569595, 0.960002005, -9.64258717e-08, 0.99999994, 0, 1.687539e-14, 0, -0.99999994, -1, -9.64258646e-08, -3.55271368e-15)
- Part141.BottomSurface = Enum.SurfaceType.Smooth
- Part141.TopSurface = Enum.SurfaceType.Smooth
- Part141.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part141.Position = Vector3.new(-0.342494011, 158.569595, 0.960002005)
- Part141.Orientation = Vector3.new(89.9799957, 180, 90)
- Part141.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh142.Parent = Part141
- SpecialMesh142.MeshType = Enum.MeshType.Wedge
- Part119.Parent = Tool103
- Part119.BrickColor = BrickColor.new("Really black")
- Part119.Rotation = Vector3.new(-180, 0, -90)
- Part119.Anchored = true
- Part119.CanCollide = false
- Part119.FormFactor = Enum.FormFactor.Custom
- Part119.Size = Vector3.new(1.3499949, 0.0999994054, 1.34999478)
- Part119.CFrame = CFrame.new(-3.31748676, 159.844513, 0.960002005, -5.75470738e-09, 1, -4.37113883e-08, 1, 5.75470871e-09, 2.98023206e-08, 2.98023153e-08, -4.37113847e-08, -1)
- Part119.BottomSurface = Enum.SurfaceType.Smooth
- Part119.TopSurface = Enum.SurfaceType.Smooth
- Part119.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part119.Position = Vector3.new(-3.31748676, 159.844513, 0.960002005)
- Part119.Orientation = Vector3.new(0, -180, 90)
- Part119.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh120.Parent = Part119
- Part127.Parent = Tool103
- Part127.Material = Enum.Material.Neon
- Part127.BrickColor = BrickColor.new("Institutional white")
- Part127.Rotation = Vector3.new(180, 0, 0)
- Part127.Anchored = true
- Part127.CanCollide = false
- Part127.FormFactor = Enum.FormFactor.Custom
- Part127.Size = Vector3.new(5.22497988, 0.799996853, 0.674997509)
- Part127.CFrame = CFrame.new(-3.27998304, 159.019608, 0.960002005, 1, 1.33118363e-07, 6.76217127e-09, 1.33118363e-07, -1, -2.52367727e-08, 6.76216816e-09, 2.52367727e-08, -1)
- Part127.BottomSurface = Enum.SurfaceType.Smooth
- Part127.TopSurface = Enum.SurfaceType.Smooth
- Part127.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part127.Position = Vector3.new(-3.27998304, 159.019608, 0.960002005)
- Part127.Orientation = Vector3.new(0, 180, 180)
- Part127.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh128.Parent = Part127
- SpecialMesh128.MeshType = Enum.MeshType.Torso
- Part121.Parent = Tool103
- Part121.BrickColor = BrickColor.new("Institutional white")
- Part121.Rotation = Vector3.new(90, -83, -180)
- Part121.Anchored = true
- Part121.CanCollide = false
- Part121.FormFactor = Enum.FormFactor.Custom
- Part121.Size = Vector3.new(0.574997723, 0.099999629, 3.52498651)
- Part121.CFrame = CFrame.new(-0.954982758, 160.786087, 1.43499994, -0.121869355, 0, -0.992546141, 0.992546141, 0, -0.121869355, 0, -1, 0)
- Part121.BottomSurface = Enum.SurfaceType.Smooth
- Part121.TopSurface = Enum.SurfaceType.Smooth
- Part121.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part121.Position = Vector3.new(-0.954982758, 160.786087, 1.43499994)
- Part121.Orientation = Vector3.new(7, -90, 90)
- Part121.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh122.Parent = Part121
- SpecialMesh122.MeshType = Enum.MeshType.Sphere
- Part129.Parent = Tool103
- Part129.Material = Enum.Material.Neon
- Part129.BrickColor = BrickColor.new("Institutional white")
- Part129.Rotation = Vector3.new(180, 0, 90)
- Part129.Anchored = true
- Part129.CanCollide = false
- Part129.FormFactor = Enum.FormFactor.Custom
- Part129.Size = Vector3.new(1.57499385, 3.69998598, 0.674997509)
- Part129.CFrame = CFrame.new(-4.04247904, 160.206955, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part129.BottomSurface = Enum.SurfaceType.Smooth
- Part129.TopSurface = Enum.SurfaceType.Smooth
- Part129.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part129.Position = Vector3.new(-4.04247904, 160.206955, 0.960002005)
- Part129.Orientation = Vector3.new(0, -180, -90)
- Part129.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh130.Parent = Part129
- Part117.Parent = Tool103
- Part117.BrickColor = BrickColor.new("Institutional white")
- Part117.Rotation = Vector3.new(90, -65, -180)
- Part117.Anchored = true
- Part117.CanCollide = false
- Part117.FormFactor = Enum.FormFactor.Custom
- Part117.Size = Vector3.new(0.574997723, 0.099999629, 3.52498651)
- Part117.CFrame = CFrame.new(-1.190063, 161.247589, 1.43499994, -0.4226183, 0, -0.906307757, 0.906307757, 0, -0.4226183, 0, -1, 0)
- Part117.BottomSurface = Enum.SurfaceType.Smooth
- Part117.TopSurface = Enum.SurfaceType.Smooth
- Part117.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part117.Position = Vector3.new(-1.190063, 161.247589, 1.43499994)
- Part117.Orientation = Vector3.new(25, -90, 90)
- Part117.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh118.Parent = Part117
- SpecialMesh118.MeshType = Enum.MeshType.Sphere
- Part123.Parent = Tool103
- Part123.Material = Enum.Material.Neon
- Part123.BrickColor = BrickColor.new("Institutional white")
- Part123.Rotation = Vector3.new(90, 0, -90)
- Part123.Anchored = true
- Part123.CanCollide = false
- Part123.FormFactor = Enum.FormFactor.Custom
- Part123.Size = Vector3.new(0.674997509, 0.624997497, 1.29999506)
- Part123.CFrame = CFrame.new(-1.87998486, 160.069595, 0.960002005, -9.64258717e-08, 0.99999994, 0, 1.687539e-14, 0, -0.99999994, -1, -9.64258646e-08, -3.55271368e-15)
- Part123.BottomSurface = Enum.SurfaceType.Smooth
- Part123.TopSurface = Enum.SurfaceType.Smooth
- Part123.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part123.Position = Vector3.new(-1.87998486, 160.069595, 0.960002005)
- Part123.Orientation = Vector3.new(89.9799957, 180, 90)
- Part123.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh124.Parent = Part123
- SpecialMesh124.MeshType = Enum.MeshType.Wedge
- Part135.Parent = Tool103
- Part135.Material = Enum.Material.Neon
- Part135.BrickColor = BrickColor.new("Really black")
- Part135.Rotation = Vector3.new(-180, 0, -90)
- Part135.Anchored = true
- Part135.CanCollide = false
- Part135.FormFactor = Enum.FormFactor.Custom
- Part135.Size = Vector3.new(1.64999378, 1.74999332, 1.52499402)
- Part135.CFrame = CFrame.new(-4.2924819, 159.844513, 0.960002005, 0, 1, 0, 1, 0, 0, 0, 0, -1)
- Part135.BottomSurface = Enum.SurfaceType.Smooth
- Part135.TopSurface = Enum.SurfaceType.Smooth
- Part135.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part135.Position = Vector3.new(-4.2924819, 159.844513, 0.960002005)
- Part135.Orientation = Vector3.new(0, 180, 90)
- Part135.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh136.Parent = Part135
- CylinderMesh136.Scale = Vector3.new(1, 0.99000001, 1)
- CylinderMesh136.Scale = Vector3.new(1, 0.99000001, 1)
- Part156.Parent = Tool103
- Part156.Material = Enum.Material.Neon
- Part156.BrickColor = BrickColor.new("Institutional white")
- Part156.Rotation = Vector3.new(180, 0, 90)
- Part156.Anchored = true
- Part156.CanCollide = false
- Part156.FormFactor = Enum.FormFactor.Custom
- Part156.Size = Vector3.new(0.349998504, 4.07498455, 0.674997449)
- Part156.CFrame = CFrame.new(-7.22996616, 160.019608, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part156.BottomSurface = Enum.SurfaceType.Smooth
- Part156.TopSurface = Enum.SurfaceType.Smooth
- Part156.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part156.Position = Vector3.new(-7.22996616, 160.019608, 0.960002005)
- Part156.Orientation = Vector3.new(0, -180, -90)
- Part156.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh157.Parent = Part156
- Part158.Parent = Tool103
- Part158.Material = Enum.Material.Neon
- Part158.BrickColor = BrickColor.new("Really black")
- Part158.Rotation = Vector3.new(-180, 0, 0)
- Part158.Anchored = true
- Part158.CanCollide = false
- Part158.FormFactor = Enum.FormFactor.Custom
- Part158.Size = Vector3.new(3.24998736, 0.474998027, 0.349998713)
- Part158.CFrame = CFrame.new(-7.31746197, 159.344513, 0.960002005, 1, 3.05709674e-14, 0, 3.05709674e-14, -1, 3.49691106e-07, 0, -3.49691106e-07, -1)
- Part158.BottomSurface = Enum.SurfaceType.Smooth
- Part158.TopSurface = Enum.SurfaceType.Smooth
- Part158.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part158.Position = Vector3.new(-7.31746197, 159.344513, 0.960002005)
- Part158.Orientation = Vector3.new(0, 180, 180)
- Part158.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh159.Parent = Part158
- SpecialMesh159.MeshType = Enum.MeshType.Torso
- Part160.Parent = Tool103
- Part160.Material = Enum.Material.Neon
- Part160.BrickColor = BrickColor.new("Institutional white")
- Part160.Rotation = Vector3.new(-180, 0, -90)
- Part160.Anchored = true
- Part160.CanCollide = false
- Part160.FormFactor = Enum.FormFactor.Custom
- Part160.Size = Vector3.new(0.674997628, 3.42498708, 0.67499727)
- Part160.CFrame = CFrame.new(-7.55496597, 159.856964, 0.960002005, 0, 1, 0, 1, 0, 0, 0, 0, -1)
- Part160.BottomSurface = Enum.SurfaceType.Smooth
- Part160.TopSurface = Enum.SurfaceType.Smooth
- Part160.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part160.Position = Vector3.new(-7.55496597, 159.856964, 0.960002005)
- Part160.Orientation = Vector3.new(0, 180, 90)
- Part160.Color = Color3.new(0.972549, 0.972549, 0.972549)
- CylinderMesh161.Parent = Part160
- Part166.Parent = Tool103
- Part166.Material = Enum.Material.Neon
- Part166.BrickColor = BrickColor.new("Really black")
- Part166.Rotation = Vector3.new(90, 0, -90)
- Part166.Anchored = true
- Part166.CanCollide = false
- Part166.FormFactor = Enum.FormFactor.Custom
- Part166.Size = Vector3.new(0.724997342, 0.97499609, 1.49999428)
- Part166.CFrame = CFrame.new(0.570009232, 157.444519, 0.960002005, 0, 1, 0, 0, 0, -1, -1, 0, 0)
- Part166.BottomSurface = Enum.SurfaceType.Smooth
- Part166.TopSurface = Enum.SurfaceType.Smooth
- Part166.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part166.Position = Vector3.new(0.570009232, 157.444519, 0.960002005)
- Part166.Orientation = Vector3.new(90, 90, 0)
- Part166.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh167.Parent = Part166
- SpecialMesh167.MeshType = Enum.MeshType.Wedge
- Part168.Parent = Tool103
- Part168.Material = Enum.Material.Neon
- Part168.BrickColor = BrickColor.new("Institutional white")
- Part168.Rotation = Vector3.new(180, 0, 90)
- Part168.Anchored = true
- Part168.CanCollide = false
- Part168.FormFactor = Enum.FormFactor.Custom
- Part168.Size = Vector3.new(0.0749997199, 4.57498217, 0.674997509)
- Part168.CFrame = CFrame.new(-8.17996407, 160.956955, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part168.BottomSurface = Enum.SurfaceType.Smooth
- Part168.TopSurface = Enum.SurfaceType.Smooth
- Part168.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part168.Position = Vector3.new(-8.17996407, 160.956955, 0.960002005)
- Part168.Orientation = Vector3.new(0, -180, -90)
- Part168.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh169.Parent = Part168
- Part137.Parent = Tool103
- Part137.Material = Enum.Material.Neon
- Part137.BrickColor = BrickColor.new("Really black")
- Part137.Rotation = Vector3.new(-180, 0, 0)
- Part137.Anchored = true
- Part137.CanCollide = false
- Part137.FormFactor = Enum.FormFactor.Custom
- Part137.Size = Vector3.new(2.59998989, 0.249998912, 0.699997365)
- Part137.CFrame = CFrame.new(-4.19247818, 158.894516, 0.960002005, 1, 2.62268316e-07, 4.37113883e-08, 2.62268316e-07, -1, 1.14641132e-14, 4.37113883e-08, 0, -1)
- Part137.BottomSurface = Enum.SurfaceType.Smooth
- Part137.TopSurface = Enum.SurfaceType.Smooth
- Part137.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part137.Position = Vector3.new(-4.19247818, 158.894516, 0.960002005)
- Part137.Orientation = Vector3.new(0, 180, 180)
- Part137.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh138.Parent = Part137
- SpecialMesh138.MeshType = Enum.MeshType.Torso
- Part170.Parent = Tool103
- Part170.Material = Enum.Material.Neon
- Part170.BrickColor = BrickColor.new("Really black")
- Part170.Rotation = Vector3.new(180, 90, 0)
- Part170.Anchored = true
- Part170.CanCollide = false
- Part170.FormFactor = Enum.FormFactor.Custom
- Part170.Size = Vector3.new(0.724997342, 1.69999313, 1.37499475)
- Part170.CFrame = CFrame.new(-1.05499315, 156.919586, 0.960002005, 0, 0, 1, 0, -1, 0, 1, 0, -0)
- Part170.BottomSurface = Enum.SurfaceType.Smooth
- Part170.TopSurface = Enum.SurfaceType.Smooth
- Part170.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part170.Position = Vector3.new(-1.05499315, 156.919586, 0.960002005)
- Part170.Orientation = Vector3.new(0, 90, 180)
- Part170.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh171.Parent = Part170
- SpecialMesh171.MeshType = Enum.MeshType.Wedge
- Part172.Parent = Tool103
- Part172.Material = Enum.Material.Neon
- Part172.BrickColor = BrickColor.new("Institutional white")
- Part172.Rotation = Vector3.new(180, 0, 90)
- Part172.Anchored = true
- Part172.CanCollide = false
- Part172.FormFactor = Enum.FormFactor.Custom
- Part172.Size = Vector3.new(0.199999169, 4.67498207, 0.674997509)
- Part172.CFrame = CFrame.new(-8.22996712, 160.569595, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part172.BottomSurface = Enum.SurfaceType.Smooth
- Part172.TopSurface = Enum.SurfaceType.Smooth
- Part172.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part172.Position = Vector3.new(-8.22996712, 160.569595, 0.960002005)
- Part172.Orientation = Vector3.new(0, -180, -90)
- Part172.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh173.Parent = Part172
- Part125.Parent = Tool103
- Part125.Material = Enum.Material.Neon
- Part125.BrickColor = BrickColor.new("Institutional white")
- Part125.Rotation = Vector3.new(90, -83, -180)
- Part125.Anchored = true
- Part125.CanCollide = false
- Part125.FormFactor = Enum.FormFactor.Custom
- Part125.Size = Vector3.new(0.574997723, 0.099999629, 3.52498651)
- Part125.CFrame = CFrame.new(-0.954982758, 160.786087, 0.560003996, -0.121869355, 0, -0.992546141, 0.992546141, 0, -0.121869355, 0, -1, 0)
- Part125.BottomSurface = Enum.SurfaceType.Smooth
- Part125.TopSurface = Enum.SurfaceType.Smooth
- Part125.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part125.Position = Vector3.new(-0.954982758, 160.786087, 0.560003996)
- Part125.Orientation = Vector3.new(7, -90, 90)
- Part125.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh126.Parent = Part125
- SpecialMesh126.MeshType = Enum.MeshType.Sphere
- Part186.Parent = Tool103
- Part186.Material = Enum.Material.Neon
- Part186.BrickColor = BrickColor.new("Institutional white")
- Part186.Rotation = Vector3.new(90, 0, -90)
- Part186.Anchored = true
- Part186.CanCollide = false
- Part186.FormFactor = Enum.FormFactor.Custom
- Part186.Size = Vector3.new(0.674997509, 0.849996626, 0.799996972)
- Part186.CFrame = CFrame.new(-1.61748886, 159.819595, 0.960002005, -9.64258717e-08, 0.99999994, 0, 1.687539e-14, 0, -0.99999994, -1, -9.64258646e-08, -3.55271368e-15)
- Part186.BottomSurface = Enum.SurfaceType.Smooth
- Part186.TopSurface = Enum.SurfaceType.Smooth
- Part186.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part186.Position = Vector3.new(-1.61748886, 159.819595, 0.960002005)
- Part186.Orientation = Vector3.new(89.9799957, 180, 90)
- Part186.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh187.Parent = Part186
- SpecialMesh187.MeshType = Enum.MeshType.Wedge
- Part199.Parent = Tool103
- Part199.Material = Enum.Material.Neon
- Part199.BrickColor = BrickColor.new("Really black")
- Part199.Rotation = Vector3.new(180, 0, 60)
- Part199.Anchored = true
- Part199.CanCollide = false
- Part199.FormFactor = Enum.FormFactor.Custom
- Part199.Size = Vector3.new(0.19999902, 1.0249964, 0.224999219)
- Part199.CFrame = CFrame.new(-1.84961796, 160.590424, 0.960002005, 0.50000006, -0.866025388, 1.59872116e-13, -0.866025388, -0.50000006, -1.10365005e-13, 1.74615774e-13, -8.30363068e-14, -1)
- Part199.BottomSurface = Enum.SurfaceType.Smooth
- Part199.TopSurface = Enum.SurfaceType.Smooth
- Part199.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part199.Position = Vector3.new(-1.84961796, 160.590424, 0.960002005)
- Part199.Orientation = Vector3.new(0, 180, -120)
- Part199.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh200.Parent = Part199
- Part176.Parent = Tool103
- Part176.Material = Enum.Material.Neon
- Part176.BrickColor = BrickColor.new("Really black")
- Part176.Rotation = Vector3.new(180, 0, 90)
- Part176.Anchored = true
- Part176.CanCollide = false
- Part176.FormFactor = Enum.FormFactor.Custom
- Part176.Size = Vector3.new(0.624997437, 0.94999671, 0.724997342)
- Part176.CFrame = CFrame.new(0.107501984, 156.382034, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part176.BottomSurface = Enum.SurfaceType.Smooth
- Part176.TopSurface = Enum.SurfaceType.Smooth
- Part176.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part176.Position = Vector3.new(0.107501984, 156.382034, 0.960002005)
- Part176.Orientation = Vector3.new(0, -180, -90)
- Part176.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh177.Parent = Part176
- Part180.Parent = Tool103
- Part180.Material = Enum.Material.Neon
- Part180.BrickColor = BrickColor.new("Really black")
- Part180.Rotation = Vector3.new(90, 89.9399948, 90)
- Part180.Anchored = true
- Part180.CanCollide = false
- Part180.FormFactor = Enum.FormFactor.Custom
- Part180.Size = Vector3.new(0.349998713, 0.749997199, 8.94996452)
- Part180.CFrame = CFrame.new(-13.3424416, 159.582047, 0.960002005, 0, -7.45057704e-08, 0.999999464, -1.74845553e-07, -0.999999464, -7.45057704e-08, 1, -1.74845454e-07, -1.30270025e-14)
- Part180.BottomSurface = Enum.SurfaceType.Smooth
- Part180.TopSurface = Enum.SurfaceType.Smooth
- Part180.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part180.Position = Vector3.new(-13.3424416, 159.582047, 0.960002005)
- Part180.Orientation = Vector3.new(0, 90, -180)
- Part180.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh181.Parent = Part180
- SpecialMesh181.MeshType = Enum.MeshType.Wedge
- Part182.Parent = Tool103
- Part182.Material = Enum.Material.Neon
- Part182.BrickColor = BrickColor.new("Really black")
- Part182.Rotation = Vector3.new(-90, -90, 0)
- Part182.Anchored = true
- Part182.CanCollide = false
- Part182.FormFactor = Enum.FormFactor.Custom
- Part182.Size = Vector3.new(0.924996436, 0.724997103, 1.27499497)
- Part182.CFrame = CFrame.new(-2.60498428, 159.706955, 0.960002005, 0, 0, -1, 1, 0, 0, 0, -1, 0)
- Part182.BottomSurface = Enum.SurfaceType.Smooth
- Part182.TopSurface = Enum.SurfaceType.Smooth
- Part182.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part182.Position = Vector3.new(-2.60498428, 159.706955, 0.960002005)
- Part182.Orientation = Vector3.new(0, -90, 90)
- Part182.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh183.Parent = Part182
- Part174.Parent = Tool103
- Part174.Material = Enum.Material.Neon
- Part174.BrickColor = BrickColor.new("Institutional white")
- Part174.Rotation = Vector3.new(-180, 0, -180)
- Part174.Anchored = true
- Part174.CanCollide = false
- Part174.FormFactor = Enum.FormFactor.Custom
- Part174.Size = Vector3.new(0.799997151, 0.52499789, 0.674997449)
- Part174.CFrame = CFrame.new(-10.3174562, 160.732025, 0.960002005, -1, 0, -4.37113883e-08, 0, 1, 0, 4.37113883e-08, 0, -1)
- Part174.BottomSurface = Enum.SurfaceType.Smooth
- Part174.TopSurface = Enum.SurfaceType.Smooth
- Part174.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part174.Position = Vector3.new(-10.3174562, 160.732025, 0.960002005)
- Part174.Orientation = Vector3.new(0, -180, 0)
- Part174.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh175.Parent = Part174
- SpecialMesh175.MeshType = Enum.MeshType.Torso
- Part190.Parent = Tool103
- Part190.Material = Enum.Material.Neon
- Part190.BrickColor = BrickColor.new("Institutional white")
- Part190.Rotation = Vector3.new(-90, -79, 0)
- Part190.Anchored = true
- Part190.CanCollide = false
- Part190.FormFactor = Enum.FormFactor.Custom
- Part190.Size = Vector3.new(0.574997723, 0.099999629, 3.52498651)
- Part190.CFrame = CFrame.new(-1.07143211, 160.281464, 0.560003996, 0.190808937, -1.95813552e-08, -0.981627226, 0.981627226, 3.80619003e-09, 0.190808937, 3.50830476e-14, -1, 1.99478478e-08)
- Part190.BottomSurface = Enum.SurfaceType.Smooth
- Part190.TopSurface = Enum.SurfaceType.Smooth
- Part190.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part190.Position = Vector3.new(-1.07143211, 160.281464, 0.560003996)
- Part190.Orientation = Vector3.new(-11, -90, 90)
- Part190.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh191.Parent = Part190
- SpecialMesh191.MeshType = Enum.MeshType.Sphere
- Part192.Parent = Part190
- Part192.Material = Enum.Material.Neon
- Part192.BrickColor = BrickColor.new("Institutional white")
- Part192.Rotation = Vector3.new(90, -65, -180)
- Part192.Anchored = true
- Part192.FormFactor = Enum.FormFactor.Custom
- Part192.Size = Vector3.new(0.574997723, 0.099999629, 3.52498651)
- Part192.CFrame = CFrame.new(-1.190063, 161.247589, 0.560000002, -0.42261833, 0, -0.906307757, 0.906307757, 0, -0.42261833, 0, -1, 0)
- Part192.BottomSurface = Enum.SurfaceType.Smooth
- Part192.TopSurface = Enum.SurfaceType.Smooth
- Part192.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part192.Position = Vector3.new(-1.190063, 161.247589, 0.560000002)
- Part192.Orientation = Vector3.new(25, -90, 90)
- Part192.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh193.Parent = Part192
- SpecialMesh193.MeshType = Enum.MeshType.Sphere
- Part188.Parent = Tool103
- Part188.Material = Enum.Material.Neon
- Part188.BrickColor = BrickColor.new("Institutional white")
- Part188.Rotation = Vector3.new(-90, -79, 0)
- Part188.Anchored = true
- Part188.CanCollide = false
- Part188.FormFactor = Enum.FormFactor.Custom
- Part188.Size = Vector3.new(0.574997723, 0.099999629, 3.52498651)
- Part188.CFrame = CFrame.new(-1.07143211, 160.281464, 1.43499994, 0.190808803, 0, -0.981626511, 0.981626511, 0, 0.190808803, 0, -1, 0)
- Part188.BottomSurface = Enum.SurfaceType.Smooth
- Part188.TopSurface = Enum.SurfaceType.Smooth
- Part188.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part188.Position = Vector3.new(-1.07143211, 160.281464, 1.43499994)
- Part188.Orientation = Vector3.new(-11, -90, 90)
- Part188.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh189.Parent = Part188
- SpecialMesh189.MeshType = Enum.MeshType.Sphere
- Part178.Parent = Tool103
- Part178.Material = Enum.Material.Neon
- Part178.BrickColor = BrickColor.new("Really black")
- Part178.Rotation = Vector3.new(83.2999954, -89.8399963, -96.8199997)
- Part178.Anchored = true
- Part178.CanCollide = false
- Part178.FormFactor = Enum.FormFactor.Custom
- Part178.Size = Vector3.new(0.724997342, 0.624997377, 0.474998176)
- Part178.CFrame = CFrame.new(0.819999695, 156.382034, 0.960002005, -9.6268387e-08, 8.04662704e-07, -0.999996006, 1.78188984e-08, -0.999992549, -8.19563866e-07, -0.999995589, -1.78190334e-08, 9.62683373e-08)
- Part178.BottomSurface = Enum.SurfaceType.Smooth
- Part178.TopSurface = Enum.SurfaceType.Smooth
- Part178.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part178.Position = Vector3.new(0.819999695, 156.382034, 0.960002005)
- Part178.Orientation = Vector3.new(0, -90, 180)
- Part178.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh179.Parent = Part178
- SpecialMesh179.MeshType = Enum.MeshType.Wedge
- Part184.Parent = Tool103
- Part184.Material = Enum.Material.Neon
- Part184.BrickColor = BrickColor.new("Really black")
- Part184.Rotation = Vector3.new(90, -83, -180)
- Part184.Anchored = true
- Part184.CanCollide = false
- Part184.FormFactor = Enum.FormFactor.Custom
- Part184.Size = Vector3.new(0.574997723, 0.97499615, 0.67499727)
- Part184.CFrame = CFrame.new(-2.61749077, 160.58197, 0.997500002, -0.121869355, 0, -0.992546141, 0.992546141, 0, -0.121869355, 0, -1, 0)
- Part184.BottomSurface = Enum.SurfaceType.Smooth
- Part184.TopSurface = Enum.SurfaceType.Smooth
- Part184.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part184.Position = Vector3.new(-2.61749077, 160.58197, 0.997500002)
- Part184.Orientation = Vector3.new(7, -90, 90)
- Part184.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh185.Parent = Part184
- Part201.Parent = Tool103
- Part201.Material = Enum.Material.Neon
- Part201.BrickColor = BrickColor.new("Really black")
- Part201.Rotation = Vector3.new(180, 0, 90)
- Part201.Anchored = true
- Part201.CanCollide = false
- Part201.FormFactor = Enum.FormFactor.Custom
- Part201.Size = Vector3.new(1.69999337, 0.474998504, 0.724997342)
- Part201.CFrame = CFrame.new(-0.154994011, 157.344513, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part201.BottomSurface = Enum.SurfaceType.Smooth
- Part201.TopSurface = Enum.SurfaceType.Smooth
- Part201.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part201.Position = Vector3.new(-0.154994011, 157.344513, 0.960002005)
- Part201.Orientation = Vector3.new(0, -180, -90)
- Part201.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh202.Parent = Part201
- Part164.Name = "barrelpos1"
- Part164.Parent = Tool103
- Part164.BrickColor = BrickColor.new("Really black")
- Part164.Rotation = Vector3.new(-180, 0, -90)
- Part164.Anchored = true
- Part164.CanCollide = false
- Part164.FormFactor = Enum.FormFactor.Custom
- Part164.Size = Vector3.new(0.72499752, 0.0500000007, 0.724997163)
- Part164.CFrame = CFrame.new(-10.767458, 160.319595, 0.960002005, 0, 1, 0, 1, 0, 0, 0, 0, -1)
- Part164.BottomSurface = Enum.SurfaceType.Smooth
- Part164.TopSurface = Enum.SurfaceType.Smooth
- Part164.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part164.Position = Vector3.new(-10.767458, 160.319595, 0.960002005)
- Part164.Orientation = Vector3.new(0, 180, 90)
- Part164.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh165.Parent = Part164
- Part194.Name = "qqq"
- Part194.Parent = Tool103
- Part194.BrickColor = BrickColor.new("Really black")
- Part194.Rotation = Vector3.new(180, 0, 90)
- Part194.Anchored = true
- Part194.CanCollide = false
- Part194.FormFactor = Enum.FormFactor.Custom
- Part194.Size = Vector3.new(0.474997938, 1.34999514, 0.724997342)
- Part194.CFrame = CFrame.new(-1.04248905, 157.982025, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part194.BottomSurface = Enum.SurfaceType.Smooth
- Part194.TopSurface = Enum.SurfaceType.Smooth
- Part194.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part194.Position = Vector3.new(-1.04248905, 157.982025, 0.960002005)
- Part194.Orientation = Vector3.new(0, -180, -90)
- Part194.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh195.Parent = Part194
- Sound196.Name = "Fire"
- Sound196.Parent = Part194
- Sound196.Pitch = 3
- Sound196.SoundId = "http://www.roblox.com/asset?id=130113322"
- Sound197.Name = "Reload"
- Sound197.Parent = Part194
- Sound197.SoundId = "http://www.roblox.com/asset?id=130113370"
- PointLight198.Parent = Part194
- Tool103.Name = "Rat gun"
- Tool103.Parent = mas
- Tool103.GripPos = Vector3.new(0, -0.100000001, 1)
- Tool103.CanBeDropped = false
- LocalScript104.Name = "InputScript"
- LocalScript104.Parent = Tool103
- table.insert(cors,sandbox(LocalScript104,function()
- script.Parent.Equipped:connect(function(mouse)
- mouse.Button1Down:connect(function()
- script.Parent.Click:FireServer(mouse.Hit.p)
- end)
- end)
- end))
- LocalScript105.Name = "MouseIcon"
- LocalScript105.Parent = Tool103
- table.insert(cors,sandbox(LocalScript105,function()
- local MOUSE_ICON = 'rbxasset://textures/GunCursor.png'
- local RELOADING_ICON = 'rbxasset://textures/GunWaitCursor.png'
- local Tool = script.Parent
- local Mouse = nil
- local function UpdateIcon()
- if Mouse then
- Mouse.Icon = Tool.Enabled and MOUSE_ICON or RELOADING_ICON
- end
- end
- local function OnEquipped(mouse)
- Mouse = mouse
- UpdateIcon()
- end
- local function OnChanged(property)
- if property == 'Enabled' then
- UpdateIcon()
- end
- end
- Tool.Equipped:connect(OnEquipped)
- Tool.Changed:connect(OnChanged)
- end))
- Script106.Parent = Tool103
- table.insert(cors,sandbox(Script106,function()
- --[[
- Fixed by ArceusInator 2/18/2015
- - Made it FE-compatible
- - No longer ignores forcefields
- - No longer damages teammates
- - No longer damages the user when you shoot something dangerous
- --]]
- -----------------
- --| Constants |--
- -----------------
- local SHOT_SPEED = 100
- local SHOT_TIME = 1
- local NOZZLE_OFFSET = Vector3.new(0, 0.4, -1.1)
- local DEBOUNCE_TAG_NAME = 'Busy'
- local GLib = require(206209239)
- -----------------
- --| Variables |--
- -----------------
- local PlayersService = Game:GetService('Players')
- local DebrisService = Game:GetService('Debris')
- local Tool = script.Parent
- local Handle = Tool:WaitForChild('Handle')
- local Barrel = Tool:WaitForChild('barrelpos1')
- local FireSound = Handle:WaitForChild('Fire')
- local ReloadSound = Handle:WaitForChild('Reload')
- local HitFadeSound = script:WaitForChild('HitFade')
- local PointLight = Handle:WaitForChild('PointLight')
- local Character = nil
- local Humanoid = nil
- local Player = nil
- local BaseShot = nil
- -----------------
- --| Functions |--
- -----------------
- -- Returns a character ancestor and its Humanoid, or nil
- local function FindCharacterAncestor(subject)
- if subject and subject ~= Workspace then
- local humanoid = subject:FindFirstChild('Humanoid')
- if humanoid then
- return subject, humanoid
- else
- return FindCharacterAncestor(subject.Parent)
- end
- end
- return nil
- end
- -- Removes any old creator tags and applies new ones to the specified target
- local function ApplyTags(target)
- while target:FindFirstChild('creator') do
- target.creator:Destroy()
- end
- local creatorTag = Instance.new('ObjectValue')
- creatorTag.Value = Player
- creatorTag.Name = 'creator' --NOTE: Must be called 'creator' for website stats
- local iconTag = Instance.new('StringValue')
- iconTag.Value = Tool.TextureId
- iconTag.Name = 'icon'
- iconTag.Parent = creatorTag
- creatorTag.Parent = target
- DebrisService:AddItem(creatorTag, 4)
- end
- -- Returns all objects under instance with Transparency
- local function GetTransparentsRecursive(instance, partsTable)
- local partsTable = partsTable or {}
- for _, child in pairs(instance:GetChildren()) do
- if child:IsA('BasePart') or child:IsA('Decal') then
- table.insert(partsTable, child)
- end
- GetTransparentsRecursive(child, partsTable)
- end
- return partsTable
- end
- local function SelectionBoxify(instance)
- local selectionBox = Instance.new('SelectionBox')
- selectionBox.Adornee = instance
- selectionBox.Color = BrickColor.new('Plum')
- selectionBox.Parent = instance
- return selectionBox
- end
- local function Light(instance)
- local light = PointLight:Clone()
- light.Range = light.Range + 2
- light.Parent = instance
- end
- local function FadeOutObjects(objectsWithTransparency, fadeIncrement)
- repeat
- local lastObject = nil
- for _, object in pairs(objectsWithTransparency) do
- object.Transparency = object.Transparency + fadeIncrement
- lastObject = object
- end
- wait()
- until lastObject.Transparency >= 1 or not lastObject
- end
- local function Dematerialize(character, humanoid, firstPart)
- local debounceTag = Instance.new('Configuration')
- debounceTag.Name = DEBOUNCE_TAG_NAME
- debounceTag.Parent = character
- humanoid.WalkSpeed = 0
- local parts = {}
- for _, child in pairs(character:GetChildren()) do
- if child:IsA('BasePart') then
- child.Anchored = true
- table.insert(parts, child)
- elseif child:IsA('LocalScript') or child:IsA('Script') then
- child:Destroy()
- end
- end
- local selectionBoxes = {}
- local firstSelectionBox = SelectionBoxify(firstPart)
- Light(firstPart)
- wait(0.05)
- for _, part in pairs(parts) do
- if part ~= firstPart then
- table.insert(selectionBoxes, SelectionBoxify(part))
- Light(part)
- end
- end
- local objectsWithTransparency = GetTransparentsRecursive(character)
- FadeOutObjects(objectsWithTransparency, 0.1)
- wait(0.5)
- humanoid.Health = 0
- DebrisService:AddItem(character, 2)
- local fadeIncrement = 0.05
- Delay(0.2, function()
- FadeOutObjects({firstSelectionBox}, fadeIncrement)
- if character then
- character:Destroy()
- end
- end)
- FadeOutObjects(selectionBoxes, fadeIncrement)
- end
- local function OnTouched(shot, otherPart)
- local character, humanoid = FindCharacterAncestor(otherPart)
- if character and humanoid and character ~= Character and not character:FindFirstChild(DEBOUNCE_TAG_NAME) and not character:FindFirstChild'ForceField' then
- local isTeammate = GLib.IsTeammate(GLib.GetPlayerFromPart(Tool), GLib.GetPlayerFromPart(Character))
- if not isTeammate then
- ApplyTags(humanoid)
- if shot then
- local hitFadeSound = shot:FindFirstChild(HitFadeSound.Name)
- if hitFadeSound then
- hitFadeSound.Parent = humanoid.Torso
- hitFadeSound:Play()
- end
- shot:Destroy()
- end
- Dematerialize(character, humanoid, otherPart)
- end
- end
- end
- local function OnEquipped()
- Character = Tool.Parent
- Humanoid = Character:WaitForChild('Humanoid')
- Player = PlayersService:GetPlayerFromCharacter(Character)
- end
- local function OnActivated(hit)
- if Tool.Enabled and Humanoid.Health > 0 then
- Tool.Enabled = false
- for i = 1, 3 do
- FireSound:Play()
- local handleCFrame = Barrel.CFrame
- local firingPoint = handleCFrame.p + handleCFrame:vectorToWorldSpace(NOZZLE_OFFSET)
- local shotCFrame = CFrame.new(firingPoint, hit)
- local laserShotClone = BaseShot:Clone()
- laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (BaseShot.Size.Z / 2))
- local bodyVelocity = Instance.new('BodyVelocity')
- bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED
- bodyVelocity.Parent = laserShotClone
- laserShotClone.Touched:connect(function(otherPart)
- OnTouched(laserShotClone, otherPart)
- end)
- DebrisService:AddItem(laserShotClone, SHOT_TIME)
- laserShotClone.Parent = workspace
- wait(0.15)
- end
- wait(0.6) -- FireSound length
- ReloadSound:Play()
- wait(0.75) -- ReloadSound length
- Tool.Enabled = true
- end
- end
- local function OnUnequipped()
- end
- --------------------
- --| Script Logic |--
- --------------------
- BaseShot = Instance.new('Part')
- BaseShot.Name = 'Effect'
- BaseShot.FormFactor = Enum.FormFactor.Custom
- BaseShot.Size = Vector3.new(0.2, 0.2, 3)
- BaseShot.CanCollide = false
- BaseShot.BrickColor = BrickColor.new('Toothpaste')
- SelectionBoxify(BaseShot)
- Light(BaseShot)
- HitFadeSound:Clone().Parent = BaseShot
- for n = 2,10 do
- wait()
- Tool.GripRight = Tool.GripRight + Vector3.new(2,1,2)
- Tool.GripUp = Tool.GripUp + Vector3.new(2,1,2)
- end
- Tool.Equipped:connect(OnEquipped)
- Tool.Unequipped:connect(OnUnequipped)
- Tool.Click.OnServerEvent:connect(function(client, hit)
- if client.Character == Tool.Parent then
- OnActivated(hit)
- end
- end)
- end))
- Sound107.Name = "HitFade"
- Sound107.Parent = Script106
- Sound107.SoundId = "rbxassetid://11984351"
- Sound107.Volume = 0.40000000596046
- RemoteEvent108.Name = "Click"
- RemoteEvent108.Parent = Tool103
- Script109.Name = "qPerfectionWeld"
- Script109.Parent = Tool103
- 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.Name = "Handle"
- Part110.Parent = Tool103
- Part110.BrickColor = BrickColor.new("Really black")
- Part110.Transparency = 1
- Part110.Rotation = Vector3.new(176.419998, 74.9799957, 89.2799988)
- Part110.Anchored = true
- Part110.CanCollide = false
- Part110.FormFactor = Enum.FormFactor.Custom
- Part110.Size = Vector3.new(0.474997938, 1.34999514, 0.724997342)
- Part110.CFrame = CFrame.new(-0.74248898, 157.982025, 0.960002005, 0.00324500003, -0.259219885, 0.965812922, -0.997213006, -0.0728283897, -0.0161963161, 0.0745370016, -0.963068604, -0.258733749)
- Part110.BottomSurface = Enum.SurfaceType.Smooth
- Part110.TopSurface = Enum.SurfaceType.Smooth
- Part110.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part110.Position = Vector3.new(-0.74248898, 157.982025, 0.960002005)
- Part110.Orientation = Vector3.new(0.930000007, 105, -94.1800003)
- Part110.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh111.Parent = Part110
- Sound112.Name = "Fire"
- Sound112.Parent = Part110
- Sound112.Pitch = 3
- Sound112.SoundId = "http://www.roblox.com/asset?id=130113322"
- Sound113.Name = "Reload"
- Sound113.Parent = Part110
- Sound113.SoundId = "http://www.roblox.com/asset?id=130113370"
- PointLight114.Parent = Part110
- Sound115.Name = "CoilSound"
- Sound115.Parent = Part110
- Sound115.SoundId = "http://www.roblox.com/asset/?id=16619553"
- Sound115.Volume = 1
- Sound116.Name = "CoilSound"
- Sound116.Parent = Part110
- Sound116.SoundId = "http://www.roblox.com/asset/?id=16619553"
- Sound116.Volume = 1
- Part117.Parent = Tool103
- Part117.BrickColor = BrickColor.new("Institutional white")
- Part117.Rotation = Vector3.new(90, -65, -180)
- Part117.Anchored = true
- Part117.CanCollide = false
- Part117.FormFactor = Enum.FormFactor.Custom
- Part117.Size = Vector3.new(0.574997723, 0.099999629, 3.52498651)
- Part117.CFrame = CFrame.new(-1.190063, 161.247589, 1.43499994, -0.4226183, 0, -0.906307757, 0.906307757, 0, -0.4226183, 0, -1, 0)
- Part117.BottomSurface = Enum.SurfaceType.Smooth
- Part117.TopSurface = Enum.SurfaceType.Smooth
- Part117.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part117.Position = Vector3.new(-1.190063, 161.247589, 1.43499994)
- Part117.Orientation = Vector3.new(25, -90, 90)
- Part117.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh118.Parent = Part117
- SpecialMesh118.MeshType = Enum.MeshType.Sphere
- Part119.Parent = Tool103
- Part119.BrickColor = BrickColor.new("Really black")
- Part119.Rotation = Vector3.new(-180, 0, -90)
- Part119.Anchored = true
- Part119.CanCollide = false
- Part119.FormFactor = Enum.FormFactor.Custom
- Part119.Size = Vector3.new(1.3499949, 0.0999994054, 1.34999478)
- Part119.CFrame = CFrame.new(-3.31748676, 159.844513, 0.960002005, -5.75470738e-09, 1, -4.37113883e-08, 1, 5.75470871e-09, 2.98023206e-08, 2.98023153e-08, -4.37113847e-08, -1)
- Part119.BottomSurface = Enum.SurfaceType.Smooth
- Part119.TopSurface = Enum.SurfaceType.Smooth
- Part119.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part119.Position = Vector3.new(-3.31748676, 159.844513, 0.960002005)
- Part119.Orientation = Vector3.new(0, -180, 90)
- Part119.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh120.Parent = Part119
- Part121.Parent = Tool103
- Part121.BrickColor = BrickColor.new("Institutional white")
- Part121.Rotation = Vector3.new(90, -83, -180)
- Part121.Anchored = true
- Part121.CanCollide = false
- Part121.FormFactor = Enum.FormFactor.Custom
- Part121.Size = Vector3.new(0.574997723, 0.099999629, 3.52498651)
- Part121.CFrame = CFrame.new(-0.954982758, 160.786087, 1.43499994, -0.121869355, 0, -0.992546141, 0.992546141, 0, -0.121869355, 0, -1, 0)
- Part121.BottomSurface = Enum.SurfaceType.Smooth
- Part121.TopSurface = Enum.SurfaceType.Smooth
- Part121.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part121.Position = Vector3.new(-0.954982758, 160.786087, 1.43499994)
- Part121.Orientation = Vector3.new(7, -90, 90)
- Part121.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh122.Parent = Part121
- SpecialMesh122.MeshType = Enum.MeshType.Sphere
- Part123.Parent = Tool103
- Part123.Material = Enum.Material.Neon
- Part123.BrickColor = BrickColor.new("Institutional white")
- Part123.Rotation = Vector3.new(90, 0, -90)
- Part123.Anchored = true
- Part123.CanCollide = false
- Part123.FormFactor = Enum.FormFactor.Custom
- Part123.Size = Vector3.new(0.674997509, 0.624997497, 1.29999506)
- Part123.CFrame = CFrame.new(-1.87998486, 160.069595, 0.960002005, -9.64258717e-08, 0.99999994, 0, 1.687539e-14, 0, -0.99999994, -1, -9.64258646e-08, -3.55271368e-15)
- Part123.BottomSurface = Enum.SurfaceType.Smooth
- Part123.TopSurface = Enum.SurfaceType.Smooth
- Part123.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part123.Position = Vector3.new(-1.87998486, 160.069595, 0.960002005)
- Part123.Orientation = Vector3.new(89.9799957, 180, 90)
- Part123.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh124.Parent = Part123
- SpecialMesh124.MeshType = Enum.MeshType.Wedge
- Part125.Parent = Tool103
- Part125.Material = Enum.Material.Neon
- Part125.BrickColor = BrickColor.new("Institutional white")
- Part125.Rotation = Vector3.new(90, -83, -180)
- Part125.Anchored = true
- Part125.CanCollide = false
- Part125.FormFactor = Enum.FormFactor.Custom
- Part125.Size = Vector3.new(0.574997723, 0.099999629, 3.52498651)
- Part125.CFrame = CFrame.new(-0.954982758, 160.786087, 0.560003996, -0.121869355, 0, -0.992546141, 0.992546141, 0, -0.121869355, 0, -1, 0)
- Part125.BottomSurface = Enum.SurfaceType.Smooth
- Part125.TopSurface = Enum.SurfaceType.Smooth
- Part125.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part125.Position = Vector3.new(-0.954982758, 160.786087, 0.560003996)
- Part125.Orientation = Vector3.new(7, -90, 90)
- Part125.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh126.Parent = Part125
- SpecialMesh126.MeshType = Enum.MeshType.Sphere
- Part127.Parent = Tool103
- Part127.Material = Enum.Material.Neon
- Part127.BrickColor = BrickColor.new("Institutional white")
- Part127.Rotation = Vector3.new(180, 0, 0)
- Part127.Anchored = true
- Part127.CanCollide = false
- Part127.FormFactor = Enum.FormFactor.Custom
- Part127.Size = Vector3.new(5.22497988, 0.799996853, 0.674997509)
- Part127.CFrame = CFrame.new(-3.27998304, 159.019608, 0.960002005, 1, 1.33118363e-07, 6.76217127e-09, 1.33118363e-07, -1, -2.52367727e-08, 6.76216816e-09, 2.52367727e-08, -1)
- Part127.BottomSurface = Enum.SurfaceType.Smooth
- Part127.TopSurface = Enum.SurfaceType.Smooth
- Part127.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part127.Position = Vector3.new(-3.27998304, 159.019608, 0.960002005)
- Part127.Orientation = Vector3.new(0, 180, 180)
- Part127.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh128.Parent = Part127
- SpecialMesh128.MeshType = Enum.MeshType.Torso
- Part129.Parent = Tool103
- Part129.Material = Enum.Material.Neon
- Part129.BrickColor = BrickColor.new("Institutional white")
- Part129.Rotation = Vector3.new(180, 0, 90)
- Part129.Anchored = true
- Part129.CanCollide = false
- Part129.FormFactor = Enum.FormFactor.Custom
- Part129.Size = Vector3.new(1.57499385, 3.69998598, 0.674997509)
- Part129.CFrame = CFrame.new(-4.04247904, 160.206955, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part129.BottomSurface = Enum.SurfaceType.Smooth
- Part129.TopSurface = Enum.SurfaceType.Smooth
- Part129.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part129.Position = Vector3.new(-4.04247904, 160.206955, 0.960002005)
- Part129.Orientation = Vector3.new(0, -180, -90)
- Part129.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh130.Parent = Part129
- Part131.Parent = Tool103
- Part131.Material = Enum.Material.Neon
- Part131.BrickColor = BrickColor.new("Really black")
- Part131.Rotation = Vector3.new(-180, 0, -180)
- Part131.Anchored = true
- Part131.CanCollide = false
- Part131.FormFactor = Enum.FormFactor.Custom
- Part131.Size = Vector3.new(3.19998765, 0.149999321, 0.699997365)
- Part131.CFrame = CFrame.new(-3.79247999, 161.069595, 0.960002005, -1, 0, -4.37113883e-08, 0, 1, 0, 4.37113883e-08, 0, -1)
- Part131.BottomSurface = Enum.SurfaceType.Smooth
- Part131.TopSurface = Enum.SurfaceType.Smooth
- Part131.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part131.Position = Vector3.new(-3.79247999, 161.069595, 0.960002005)
- Part131.Orientation = Vector3.new(0, -180, 0)
- Part131.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh132.Parent = Part131
- SpecialMesh132.MeshType = Enum.MeshType.Torso
- Part133.Parent = Tool103
- Part133.Material = Enum.Material.Neon
- Part133.BrickColor = BrickColor.new("Institutional white")
- Part133.Rotation = Vector3.new(-180, 0, -90)
- Part133.Anchored = true
- Part133.CanCollide = false
- Part133.FormFactor = Enum.FormFactor.Custom
- Part133.Size = Vector3.new(1.64999378, 1.84999287, 1.49999416)
- Part133.CFrame = CFrame.new(-4.2924819, 159.844513, 0.960002005, 0, 1, 0, 1, 0, 0, 0, 0, -1)
- Part133.BottomSurface = Enum.SurfaceType.Smooth
- Part133.TopSurface = Enum.SurfaceType.Smooth
- Part133.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part133.Position = Vector3.new(-4.2924819, 159.844513, 0.960002005)
- Part133.Orientation = Vector3.new(0, 180, 90)
- Part133.Color = Color3.new(0.972549, 0.972549, 0.972549)
- CylinderMesh134.Parent = Part133
- CylinderMesh134.Scale = Vector3.new(1, 0.99000001, 1)
- CylinderMesh134.Scale = Vector3.new(1, 0.99000001, 1)
- Part135.Parent = Tool103
- Part135.Material = Enum.Material.Neon
- Part135.BrickColor = BrickColor.new("Really black")
- Part135.Rotation = Vector3.new(-180, 0, -90)
- Part135.Anchored = true
- Part135.CanCollide = false
- Part135.FormFactor = Enum.FormFactor.Custom
- Part135.Size = Vector3.new(1.64999378, 1.74999332, 1.52499402)
- Part135.CFrame = CFrame.new(-4.2924819, 159.844513, 0.960002005, 0, 1, 0, 1, 0, 0, 0, 0, -1)
- Part135.BottomSurface = Enum.SurfaceType.Smooth
- Part135.TopSurface = Enum.SurfaceType.Smooth
- Part135.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part135.Position = Vector3.new(-4.2924819, 159.844513, 0.960002005)
- Part135.Orientation = Vector3.new(0, 180, 90)
- Part135.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh136.Parent = Part135
- CylinderMesh136.Scale = Vector3.new(1, 0.99000001, 1)
- CylinderMesh136.Scale = Vector3.new(1, 0.99000001, 1)
- Part137.Parent = Tool103
- Part137.Material = Enum.Material.Neon
- Part137.BrickColor = BrickColor.new("Really black")
- Part137.Rotation = Vector3.new(-180, 0, 0)
- Part137.Anchored = true
- Part137.CanCollide = false
- Part137.FormFactor = Enum.FormFactor.Custom
- Part137.Size = Vector3.new(2.59998989, 0.249998912, 0.699997365)
- Part137.CFrame = CFrame.new(-4.19247818, 158.894516, 0.960002005, 1, 2.62268316e-07, 4.37113883e-08, 2.62268316e-07, -1, 1.14641132e-14, 4.37113883e-08, 0, -1)
- Part137.BottomSurface = Enum.SurfaceType.Smooth
- Part137.TopSurface = Enum.SurfaceType.Smooth
- Part137.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part137.Position = Vector3.new(-4.19247818, 158.894516, 0.960002005)
- Part137.Orientation = Vector3.new(0, 180, 180)
- Part137.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh138.Parent = Part137
- SpecialMesh138.MeshType = Enum.MeshType.Torso
- Part139.Parent = Tool103
- Part139.Material = Enum.Material.Neon
- Part139.BrickColor = BrickColor.new("Really black")
- Part139.Rotation = Vector3.new(0, 90, 0)
- Part139.Anchored = true
- Part139.CanCollide = false
- Part139.FormFactor = Enum.FormFactor.Custom
- Part139.Size = Vector3.new(0.724997342, 0.324998468, 0.474998266)
- Part139.CFrame = CFrame.new(-2.5049839, 158.782043, 0.960002005, 2.58493941e-26, 0, 1, 0, 1, 0, -1, 0, -2.58493941e-26)
- Part139.BottomSurface = Enum.SurfaceType.Smooth
- Part139.TopSurface = Enum.SurfaceType.Smooth
- Part139.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part139.Position = Vector3.new(-2.5049839, 158.782043, 0.960002005)
- Part139.Orientation = Vector3.new(0, 90, 0)
- Part139.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh140.Parent = Part139
- SpecialMesh140.MeshType = Enum.MeshType.Wedge
- Part141.Parent = Tool103
- Part141.Material = Enum.Material.Neon
- Part141.BrickColor = BrickColor.new("Really black")
- Part141.Rotation = Vector3.new(90, 0, -90)
- Part141.Anchored = true
- Part141.CanCollide = false
- Part141.FormFactor = Enum.FormFactor.Custom
- Part141.Size = Vector3.new(0.724997342, 0.849996567, 0.749997139)
- Part141.CFrame = CFrame.new(-0.342494011, 158.569595, 0.960002005, -9.64258717e-08, 0.99999994, 0, 1.687539e-14, 0, -0.99999994, -1, -9.64258646e-08, -3.55271368e-15)
- Part141.BottomSurface = Enum.SurfaceType.Smooth
- Part141.TopSurface = Enum.SurfaceType.Smooth
- Part141.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part141.Position = Vector3.new(-0.342494011, 158.569595, 0.960002005)
- Part141.Orientation = Vector3.new(89.9799957, 180, 90)
- Part141.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh142.Parent = Part141
- SpecialMesh142.MeshType = Enum.MeshType.Wedge
- Part143.Parent = Tool103
- Part143.Material = Enum.Material.Neon
- Part143.BrickColor = BrickColor.new("Really black")
- Part143.Rotation = Vector3.new(-180, 0, 102)
- Part143.Anchored = true
- Part143.CanCollide = false
- Part143.FormFactor = Enum.FormFactor.Custom
- Part143.Size = Vector3.new(0.0999994129, 2.17499232, 0.0999997109)
- Part143.CFrame = CFrame.new(-4.28873301, 158.511383, 0.960002005, -0.20791167, -0.978147507, 0, -0.978147507, 0.20791167, 0, 0, 0, -1)
- Part143.BottomSurface = Enum.SurfaceType.Smooth
- Part143.TopSurface = Enum.SurfaceType.Smooth
- Part143.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part143.Position = Vector3.new(-4.28873301, 158.511383, 0.960002005)
- Part143.Orientation = Vector3.new(0, 180, -78)
- Part143.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh144.Parent = Part143
- Part145.Parent = Tool103
- Part145.Material = Enum.Material.Neon
- Part145.BrickColor = BrickColor.new("Really black")
- Part145.Rotation = Vector3.new(180, 0, 90)
- Part145.Anchored = true
- Part145.CanCollide = false
- Part145.FormFactor = Enum.FormFactor.Custom
- Part145.Size = Vector3.new(0.724997044, 1.49999475, 0.724997342)
- Part145.CFrame = CFrame.new(-1.51748896, 158.582047, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part145.BottomSurface = Enum.SurfaceType.Smooth
- Part145.TopSurface = Enum.SurfaceType.Smooth
- Part145.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part145.Position = Vector3.new(-1.51748896, 158.582047, 0.960002005)
- Part145.Orientation = Vector3.new(0, -180, -90)
- Part145.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh146.Parent = Part145
- Part147.Parent = Tool103
- Part147.Material = Enum.Material.Neon
- Part147.BrickColor = BrickColor.new("Institutional white")
- Part147.Rotation = Vector3.new(-180, 0, -180)
- Part147.Anchored = true
- Part147.CanCollide = false
- Part147.FormFactor = Enum.FormFactor.Custom
- Part147.Size = Vector3.new(1.59999406, 0.52499789, 0.674997449)
- Part147.CFrame = CFrame.new(-5.51747608, 160.732025, 0.960002005, -1, 0, -4.37113883e-08, 0, 1, 0, 4.37113883e-08, 0, -1)
- Part147.BottomSurface = Enum.SurfaceType.Smooth
- Part147.TopSurface = Enum.SurfaceType.Smooth
- Part147.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part147.Position = Vector3.new(-5.51747608, 160.732025, 0.960002005)
- Part147.Orientation = Vector3.new(0, -180, 0)
- Part147.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh148.Parent = Part147
- SpecialMesh148.MeshType = Enum.MeshType.Torso
- Part149.Parent = Tool103
- Part149.Material = Enum.Material.Neon
- Part149.BrickColor = BrickColor.new("Really black")
- Part149.Rotation = Vector3.new(180, 90, 0)
- Part149.Anchored = true
- Part149.CanCollide = false
- Part149.FormFactor = Enum.FormFactor.Custom
- Part149.Size = Vector3.new(0.724997342, 0.874996364, 1.02499616)
- Part149.CFrame = CFrame.new(-2.22998714, 158.182037, 0.960002005, 0, 0, 1, 0, -1, 0, 1, 0, -0)
- Part149.BottomSurface = Enum.SurfaceType.Smooth
- Part149.TopSurface = Enum.SurfaceType.Smooth
- Part149.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part149.Position = Vector3.new(-2.22998714, 158.182037, 0.960002005)
- Part149.Orientation = Vector3.new(0, 90, 180)
- Part149.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh150.Parent = Part149
- SpecialMesh150.MeshType = Enum.MeshType.Wedge
- Part151.Parent = Tool103
- Part151.Material = Enum.Material.Neon
- Part151.BrickColor = BrickColor.new("Really black")
- Part151.Rotation = Vector3.new(0, 0, -12)
- Part151.Anchored = true
- Part151.CanCollide = false
- Part151.FormFactor = Enum.FormFactor.Custom
- Part151.Size = Vector3.new(0.299998879, 1.09999585, 0.149999425)
- Part151.CFrame = CFrame.new(-3.1892643, 157.792114, 0.960002005, 0.978147566, 0.207911775, 0, -0.207911775, 0.978147566, 0, 0, 0, 1)
- Part151.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part151.Position = Vector3.new(-3.1892643, 157.792114, 0.960002005)
- Part151.Orientation = Vector3.new(0, 0, -12)
- Part151.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh152.Parent = Part151
- SpecialMesh152.MeshId = "http://www.roblox.com/asset/?id=3270017"
- SpecialMesh152.Scale = Vector3.new(0.999996185, 0.999996185, 1.02499592)
- SpecialMesh152.MeshType = Enum.MeshType.FileMesh
- SpecialMesh152.Scale = Vector3.new(0.999996185, 0.999996185, 1.02499592)
- VelocityMotor153.Name = "ViVRuS"
- VelocityMotor153.Parent = Part151
- Part154.Parent = Tool103
- Part154.Material = Enum.Material.Neon
- Part154.BrickColor = BrickColor.new("Institutional white")
- Part154.Rotation = Vector3.new(-180, 0, -90)
- Part154.Anchored = true
- Part154.CanCollide = false
- Part154.FormFactor = Enum.FormFactor.Custom
- Part154.Size = Vector3.new(0.774997234, 5.57497883, 0.799996793)
- Part154.CFrame = CFrame.new(-7.97995996, 160.319595, 0.960002005, 0, 1, 0, 1, 0, 0, 0, 0, -1)
- Part154.BottomSurface = Enum.SurfaceType.Smooth
- Part154.TopSurface = Enum.SurfaceType.Smooth
- Part154.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part154.Position = Vector3.new(-7.97995996, 160.319595, 0.960002005)
- Part154.Orientation = Vector3.new(0, 180, 90)
- Part154.Color = Color3.new(0.972549, 0.972549, 0.972549)
- CylinderMesh155.Parent = Part154
- Part156.Parent = Tool103
- Part156.Material = Enum.Material.Neon
- Part156.BrickColor = BrickColor.new("Institutional white")
- Part156.Rotation = Vector3.new(180, 0, 90)
- Part156.Anchored = true
- Part156.CanCollide = false
- Part156.FormFactor = Enum.FormFactor.Custom
- Part156.Size = Vector3.new(0.349998504, 4.07498455, 0.674997449)
- Part156.CFrame = CFrame.new(-7.22996616, 160.019608, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part156.BottomSurface = Enum.SurfaceType.Smooth
- Part156.TopSurface = Enum.SurfaceType.Smooth
- Part156.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part156.Position = Vector3.new(-7.22996616, 160.019608, 0.960002005)
- Part156.Orientation = Vector3.new(0, -180, -90)
- Part156.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh157.Parent = Part156
- Part158.Parent = Tool103
- Part158.Material = Enum.Material.Neon
- Part158.BrickColor = BrickColor.new("Really black")
- Part158.Rotation = Vector3.new(-180, 0, 0)
- Part158.Anchored = true
- Part158.CanCollide = false
- Part158.FormFactor = Enum.FormFactor.Custom
- Part158.Size = Vector3.new(3.24998736, 0.474998027, 0.349998713)
- Part158.CFrame = CFrame.new(-7.31746197, 159.344513, 0.960002005, 1, 3.05709674e-14, 0, 3.05709674e-14, -1, 3.49691106e-07, 0, -3.49691106e-07, -1)
- Part158.BottomSurface = Enum.SurfaceType.Smooth
- Part158.TopSurface = Enum.SurfaceType.Smooth
- Part158.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part158.Position = Vector3.new(-7.31746197, 159.344513, 0.960002005)
- Part158.Orientation = Vector3.new(0, 180, 180)
- Part158.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh159.Parent = Part158
- SpecialMesh159.MeshType = Enum.MeshType.Torso
- Part160.Parent = Tool103
- Part160.Material = Enum.Material.Neon
- Part160.BrickColor = BrickColor.new("Institutional white")
- Part160.Rotation = Vector3.new(-180, 0, -90)
- Part160.Anchored = true
- Part160.CanCollide = false
- Part160.FormFactor = Enum.FormFactor.Custom
- Part160.Size = Vector3.new(0.674997628, 3.42498708, 0.67499727)
- Part160.CFrame = CFrame.new(-7.55496597, 159.856964, 0.960002005, 0, 1, 0, 1, 0, 0, 0, 0, -1)
- Part160.BottomSurface = Enum.SurfaceType.Smooth
- Part160.TopSurface = Enum.SurfaceType.Smooth
- Part160.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part160.Position = Vector3.new(-7.55496597, 159.856964, 0.960002005)
- Part160.Orientation = Vector3.new(0, 180, 90)
- Part160.Color = Color3.new(0.972549, 0.972549, 0.972549)
- CylinderMesh161.Parent = Part160
- Part162.Parent = Tool103
- Part162.Material = Enum.Material.Neon
- Part162.BrickColor = BrickColor.new("Really black")
- Part162.Rotation = Vector3.new(-180, 0, -180)
- Part162.Anchored = true
- Part162.CanCollide = false
- Part162.FormFactor = Enum.FormFactor.Custom
- Part162.Size = Vector3.new(5.52497911, 0.424998283, 0.449998319)
- Part162.CFrame = CFrame.new(-7.95496607, 160.832047, 0.960002005, -1, 0, -4.37113883e-08, 0, 1, 0, 4.37113883e-08, 0, -1)
- Part162.BottomSurface = Enum.SurfaceType.Smooth
- Part162.TopSurface = Enum.SurfaceType.Smooth
- Part162.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part162.Position = Vector3.new(-7.95496607, 160.832047, 0.960002005)
- Part162.Orientation = Vector3.new(0, -180, 0)
- Part162.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh163.Parent = Part162
- SpecialMesh163.MeshType = Enum.MeshType.Torso
- Part164.Name = "barrelpos1"
- Part164.Parent = Tool103
- Part164.BrickColor = BrickColor.new("Really black")
- Part164.Rotation = Vector3.new(-180, 0, -90)
- Part164.Anchored = true
- Part164.CanCollide = false
- Part164.FormFactor = Enum.FormFactor.Custom
- Part164.Size = Vector3.new(0.72499752, 0.0500000007, 0.724997163)
- Part164.CFrame = CFrame.new(-10.767458, 160.319595, 0.960002005, 0, 1, 0, 1, 0, 0, 0, 0, -1)
- Part164.BottomSurface = Enum.SurfaceType.Smooth
- Part164.TopSurface = Enum.SurfaceType.Smooth
- Part164.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part164.Position = Vector3.new(-10.767458, 160.319595, 0.960002005)
- Part164.Orientation = Vector3.new(0, 180, 90)
- Part164.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh165.Parent = Part164
- Part166.Parent = Tool103
- Part166.Material = Enum.Material.Neon
- Part166.BrickColor = BrickColor.new("Really black")
- Part166.Rotation = Vector3.new(90, 0, -90)
- Part166.Anchored = true
- Part166.CanCollide = false
- Part166.FormFactor = Enum.FormFactor.Custom
- Part166.Size = Vector3.new(0.724997342, 0.97499609, 1.49999428)
- Part166.CFrame = CFrame.new(0.570009232, 157.444519, 0.960002005, 0, 1, 0, 0, 0, -1, -1, 0, 0)
- Part166.BottomSurface = Enum.SurfaceType.Smooth
- Part166.TopSurface = Enum.SurfaceType.Smooth
- Part166.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part166.Position = Vector3.new(0.570009232, 157.444519, 0.960002005)
- Part166.Orientation = Vector3.new(90, 90, 0)
- Part166.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh167.Parent = Part166
- SpecialMesh167.MeshType = Enum.MeshType.Wedge
- Part168.Parent = Tool103
- Part168.Material = Enum.Material.Neon
- Part168.BrickColor = BrickColor.new("Institutional white")
- Part168.Rotation = Vector3.new(180, 0, 90)
- Part168.Anchored = true
- Part168.CanCollide = false
- Part168.FormFactor = Enum.FormFactor.Custom
- Part168.Size = Vector3.new(0.0749997199, 4.57498217, 0.674997509)
- Part168.CFrame = CFrame.new(-8.17996407, 160.956955, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part168.BottomSurface = Enum.SurfaceType.Smooth
- Part168.TopSurface = Enum.SurfaceType.Smooth
- Part168.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part168.Position = Vector3.new(-8.17996407, 160.956955, 0.960002005)
- Part168.Orientation = Vector3.new(0, -180, -90)
- Part168.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh169.Parent = Part168
- Part170.Parent = Tool103
- Part170.Material = Enum.Material.Neon
- Part170.BrickColor = BrickColor.new("Really black")
- Part170.Rotation = Vector3.new(180, 90, 0)
- Part170.Anchored = true
- Part170.CanCollide = false
- Part170.FormFactor = Enum.FormFactor.Custom
- Part170.Size = Vector3.new(0.724997342, 1.69999313, 1.37499475)
- Part170.CFrame = CFrame.new(-1.05499315, 156.919586, 0.960002005, 0, 0, 1, 0, -1, 0, 1, 0, -0)
- Part170.BottomSurface = Enum.SurfaceType.Smooth
- Part170.TopSurface = Enum.SurfaceType.Smooth
- Part170.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part170.Position = Vector3.new(-1.05499315, 156.919586, 0.960002005)
- Part170.Orientation = Vector3.new(0, 90, 180)
- Part170.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh171.Parent = Part170
- SpecialMesh171.MeshType = Enum.MeshType.Wedge
- Part172.Parent = Tool103
- Part172.Material = Enum.Material.Neon
- Part172.BrickColor = BrickColor.new("Institutional white")
- Part172.Rotation = Vector3.new(180, 0, 90)
- Part172.Anchored = true
- Part172.CanCollide = false
- Part172.FormFactor = Enum.FormFactor.Custom
- Part172.Size = Vector3.new(0.199999169, 4.67498207, 0.674997509)
- Part172.CFrame = CFrame.new(-8.22996712, 160.569595, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part172.BottomSurface = Enum.SurfaceType.Smooth
- Part172.TopSurface = Enum.SurfaceType.Smooth
- Part172.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part172.Position = Vector3.new(-8.22996712, 160.569595, 0.960002005)
- Part172.Orientation = Vector3.new(0, -180, -90)
- Part172.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh173.Parent = Part172
- Part174.Parent = Tool103
- Part174.Material = Enum.Material.Neon
- Part174.BrickColor = BrickColor.new("Institutional white")
- Part174.Rotation = Vector3.new(-180, 0, -180)
- Part174.Anchored = true
- Part174.CanCollide = false
- Part174.FormFactor = Enum.FormFactor.Custom
- Part174.Size = Vector3.new(0.799997151, 0.52499789, 0.674997449)
- Part174.CFrame = CFrame.new(-10.3174562, 160.732025, 0.960002005, -1, 0, -4.37113883e-08, 0, 1, 0, 4.37113883e-08, 0, -1)
- Part174.BottomSurface = Enum.SurfaceType.Smooth
- Part174.TopSurface = Enum.SurfaceType.Smooth
- Part174.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part174.Position = Vector3.new(-10.3174562, 160.732025, 0.960002005)
- Part174.Orientation = Vector3.new(0, -180, 0)
- Part174.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh175.Parent = Part174
- SpecialMesh175.MeshType = Enum.MeshType.Torso
- Part176.Parent = Tool103
- Part176.Material = Enum.Material.Neon
- Part176.BrickColor = BrickColor.new("Really black")
- Part176.Rotation = Vector3.new(180, 0, 90)
- Part176.Anchored = true
- Part176.CanCollide = false
- Part176.FormFactor = Enum.FormFactor.Custom
- Part176.Size = Vector3.new(0.624997437, 0.94999671, 0.724997342)
- Part176.CFrame = CFrame.new(0.107501984, 156.382034, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part176.BottomSurface = Enum.SurfaceType.Smooth
- Part176.TopSurface = Enum.SurfaceType.Smooth
- Part176.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part176.Position = Vector3.new(0.107501984, 156.382034, 0.960002005)
- Part176.Orientation = Vector3.new(0, -180, -90)
- Part176.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh177.Parent = Part176
- Part178.Parent = Tool103
- Part178.Material = Enum.Material.Neon
- Part178.BrickColor = BrickColor.new("Really black")
- Part178.Rotation = Vector3.new(83.2999954, -89.8399963, -96.8199997)
- Part178.Anchored = true
- Part178.CanCollide = false
- Part178.FormFactor = Enum.FormFactor.Custom
- Part178.Size = Vector3.new(0.724997342, 0.624997377, 0.474998176)
- Part178.CFrame = CFrame.new(0.819999695, 156.382034, 0.960002005, -9.6268387e-08, 8.04662704e-07, -0.999996006, 1.78188984e-08, -0.999992549, -8.19563866e-07, -0.999995589, -1.78190334e-08, 9.62683373e-08)
- Part178.BottomSurface = Enum.SurfaceType.Smooth
- Part178.TopSurface = Enum.SurfaceType.Smooth
- Part178.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part178.Position = Vector3.new(0.819999695, 156.382034, 0.960002005)
- Part178.Orientation = Vector3.new(0, -90, 180)
- Part178.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh179.Parent = Part178
- SpecialMesh179.MeshType = Enum.MeshType.Wedge
- Part180.Parent = Tool103
- Part180.Material = Enum.Material.Neon
- Part180.BrickColor = BrickColor.new("Really black")
- Part180.Rotation = Vector3.new(90, 89.9399948, 90)
- Part180.Anchored = true
- Part180.CanCollide = false
- Part180.FormFactor = Enum.FormFactor.Custom
- Part180.Size = Vector3.new(0.349998713, 0.749997199, 8.94996452)
- Part180.CFrame = CFrame.new(-13.3424416, 159.582047, 0.960002005, 0, -7.45057704e-08, 0.999999464, -1.74845553e-07, -0.999999464, -7.45057704e-08, 1, -1.74845454e-07, -1.30270025e-14)
- Part180.BottomSurface = Enum.SurfaceType.Smooth
- Part180.TopSurface = Enum.SurfaceType.Smooth
- Part180.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part180.Position = Vector3.new(-13.3424416, 159.582047, 0.960002005)
- Part180.Orientation = Vector3.new(0, 90, -180)
- Part180.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh181.Parent = Part180
- SpecialMesh181.MeshType = Enum.MeshType.Wedge
- Part182.Parent = Tool103
- Part182.Material = Enum.Material.Neon
- Part182.BrickColor = BrickColor.new("Really black")
- Part182.Rotation = Vector3.new(-90, -90, 0)
- Part182.Anchored = true
- Part182.CanCollide = false
- Part182.FormFactor = Enum.FormFactor.Custom
- Part182.Size = Vector3.new(0.924996436, 0.724997103, 1.27499497)
- Part182.CFrame = CFrame.new(-2.60498428, 159.706955, 0.960002005, 0, 0, -1, 1, 0, 0, 0, -1, 0)
- Part182.BottomSurface = Enum.SurfaceType.Smooth
- Part182.TopSurface = Enum.SurfaceType.Smooth
- Part182.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part182.Position = Vector3.new(-2.60498428, 159.706955, 0.960002005)
- Part182.Orientation = Vector3.new(0, -90, 90)
- Part182.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh183.Parent = Part182
- Part184.Parent = Tool103
- Part184.Material = Enum.Material.Neon
- Part184.BrickColor = BrickColor.new("Really black")
- Part184.Rotation = Vector3.new(90, -83, -180)
- Part184.Anchored = true
- Part184.CanCollide = false
- Part184.FormFactor = Enum.FormFactor.Custom
- Part184.Size = Vector3.new(0.574997723, 0.97499615, 0.67499727)
- Part184.CFrame = CFrame.new(-2.61749077, 160.58197, 0.997500002, -0.121869355, 0, -0.992546141, 0.992546141, 0, -0.121869355, 0, -1, 0)
- Part184.BottomSurface = Enum.SurfaceType.Smooth
- Part184.TopSurface = Enum.SurfaceType.Smooth
- Part184.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part184.Position = Vector3.new(-2.61749077, 160.58197, 0.997500002)
- Part184.Orientation = Vector3.new(7, -90, 90)
- Part184.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh185.Parent = Part184
- Part186.Parent = Tool103
- Part186.Material = Enum.Material.Neon
- Part186.BrickColor = BrickColor.new("Institutional white")
- Part186.Rotation = Vector3.new(90, 0, -90)
- Part186.Anchored = true
- Part186.CanCollide = false
- Part186.FormFactor = Enum.FormFactor.Custom
- Part186.Size = Vector3.new(0.674997509, 0.849996626, 0.799996972)
- Part186.CFrame = CFrame.new(-1.61748886, 159.819595, 0.960002005, -9.64258717e-08, 0.99999994, 0, 1.687539e-14, 0, -0.99999994, -1, -9.64258646e-08, -3.55271368e-15)
- Part186.BottomSurface = Enum.SurfaceType.Smooth
- Part186.TopSurface = Enum.SurfaceType.Smooth
- Part186.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part186.Position = Vector3.new(-1.61748886, 159.819595, 0.960002005)
- Part186.Orientation = Vector3.new(89.9799957, 180, 90)
- Part186.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh187.Parent = Part186
- SpecialMesh187.MeshType = Enum.MeshType.Wedge
- Part188.Parent = Tool103
- Part188.Material = Enum.Material.Neon
- Part188.BrickColor = BrickColor.new("Institutional white")
- Part188.Rotation = Vector3.new(-90, -79, 0)
- Part188.Anchored = true
- Part188.CanCollide = false
- Part188.FormFactor = Enum.FormFactor.Custom
- Part188.Size = Vector3.new(0.574997723, 0.099999629, 3.52498651)
- Part188.CFrame = CFrame.new(-1.07143211, 160.281464, 1.43499994, 0.190808803, 0, -0.981626511, 0.981626511, 0, 0.190808803, 0, -1, 0)
- Part188.BottomSurface = Enum.SurfaceType.Smooth
- Part188.TopSurface = Enum.SurfaceType.Smooth
- Part188.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part188.Position = Vector3.new(-1.07143211, 160.281464, 1.43499994)
- Part188.Orientation = Vector3.new(-11, -90, 90)
- Part188.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh189.Parent = Part188
- SpecialMesh189.MeshType = Enum.MeshType.Sphere
- Part190.Parent = Tool103
- Part190.Material = Enum.Material.Neon
- Part190.BrickColor = BrickColor.new("Institutional white")
- Part190.Rotation = Vector3.new(-90, -79, 0)
- Part190.Anchored = true
- Part190.CanCollide = false
- Part190.FormFactor = Enum.FormFactor.Custom
- Part190.Size = Vector3.new(0.574997723, 0.099999629, 3.52498651)
- Part190.CFrame = CFrame.new(-1.07143211, 160.281464, 0.560003996, 0.190808937, -1.95813552e-08, -0.981627226, 0.981627226, 3.80619003e-09, 0.190808937, 3.50830476e-14, -1, 1.99478478e-08)
- Part190.BottomSurface = Enum.SurfaceType.Smooth
- Part190.TopSurface = Enum.SurfaceType.Smooth
- Part190.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part190.Position = Vector3.new(-1.07143211, 160.281464, 0.560003996)
- Part190.Orientation = Vector3.new(-11, -90, 90)
- Part190.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh191.Parent = Part190
- SpecialMesh191.MeshType = Enum.MeshType.Sphere
- Part192.Parent = Part190
- Part192.Material = Enum.Material.Neon
- Part192.BrickColor = BrickColor.new("Institutional white")
- Part192.Rotation = Vector3.new(90, -65, -180)
- Part192.Anchored = true
- Part192.FormFactor = Enum.FormFactor.Custom
- Part192.Size = Vector3.new(0.574997723, 0.099999629, 3.52498651)
- Part192.CFrame = CFrame.new(-1.190063, 161.247589, 0.560000002, -0.42261833, 0, -0.906307757, 0.906307757, 0, -0.42261833, 0, -1, 0)
- Part192.BottomSurface = Enum.SurfaceType.Smooth
- Part192.TopSurface = Enum.SurfaceType.Smooth
- Part192.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part192.Position = Vector3.new(-1.190063, 161.247589, 0.560000002)
- Part192.Orientation = Vector3.new(25, -90, 90)
- Part192.Color = Color3.new(0.972549, 0.972549, 0.972549)
- SpecialMesh193.Parent = Part192
- SpecialMesh193.MeshType = Enum.MeshType.Sphere
- Part194.Name = "qqq"
- Part194.Parent = Tool103
- Part194.BrickColor = BrickColor.new("Really black")
- Part194.Rotation = Vector3.new(180, 0, 90)
- Part194.Anchored = true
- Part194.CanCollide = false
- Part194.FormFactor = Enum.FormFactor.Custom
- Part194.Size = Vector3.new(0.474997938, 1.34999514, 0.724997342)
- Part194.CFrame = CFrame.new(-1.04248905, 157.982025, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part194.BottomSurface = Enum.SurfaceType.Smooth
- Part194.TopSurface = Enum.SurfaceType.Smooth
- Part194.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part194.Position = Vector3.new(-1.04248905, 157.982025, 0.960002005)
- Part194.Orientation = Vector3.new(0, -180, -90)
- Part194.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh195.Parent = Part194
- Sound196.Name = "Fire"
- Sound196.Parent = Part194
- Sound196.Pitch = 3
- Sound196.SoundId = "http://www.roblox.com/asset?id=130113322"
- Sound197.Name = "Reload"
- Sound197.Parent = Part194
- Sound197.SoundId = "http://www.roblox.com/asset?id=130113370"
- PointLight198.Parent = Part194
- Part199.Parent = Tool103
- Part199.Material = Enum.Material.Neon
- Part199.BrickColor = BrickColor.new("Really black")
- Part199.Rotation = Vector3.new(180, 0, 60)
- Part199.Anchored = true
- Part199.CanCollide = false
- Part199.FormFactor = Enum.FormFactor.Custom
- Part199.Size = Vector3.new(0.19999902, 1.0249964, 0.224999219)
- Part199.CFrame = CFrame.new(-1.84961796, 160.590424, 0.960002005, 0.50000006, -0.866025388, 1.59872116e-13, -0.866025388, -0.50000006, -1.10365005e-13, 1.74615774e-13, -8.30363068e-14, -1)
- Part199.BottomSurface = Enum.SurfaceType.Smooth
- Part199.TopSurface = Enum.SurfaceType.Smooth
- Part199.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part199.Position = Vector3.new(-1.84961796, 160.590424, 0.960002005)
- Part199.Orientation = Vector3.new(0, 180, -120)
- Part199.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh200.Parent = Part199
- Part201.Parent = Tool103
- Part201.Material = Enum.Material.Neon
- Part201.BrickColor = BrickColor.new("Really black")
- Part201.Rotation = Vector3.new(180, 0, 90)
- Part201.Anchored = true
- Part201.CanCollide = false
- Part201.FormFactor = Enum.FormFactor.Custom
- Part201.Size = Vector3.new(1.69999337, 0.474998504, 0.724997342)
- Part201.CFrame = CFrame.new(-0.154994011, 157.344513, 0.960002005, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part201.BottomSurface = Enum.SurfaceType.Smooth
- Part201.TopSurface = Enum.SurfaceType.Smooth
- Part201.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part201.Position = Vector3.new(-0.154994011, 157.344513, 0.960002005)
- Part201.Orientation = Vector3.new(0, -180, -90)
- Part201.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh202.Parent = Part201
- Script203.Parent = Tool103
- table.insert(cors,sandbox(Script203,function()
- --Rescripted by Luckymaxer
- Tool = script.Parent
- Handle = Tool:WaitForChild("Handle")
- Players = game:GetService("Players")
- Sounds = {
- CoilSound = Handle:WaitForChild("CoilSound"),
- }
- Gravity = 300.20
- JumpHeightPercentage = 300
- ToolEquipped = false
- function GetAllConnectedParts(Object)
- local Parts = {}
- local function GetConnectedParts(Object)
- for i, v in pairs(Object:GetConnectedParts()) do
- local Ignore = false
- for ii, vv in pairs(Parts) do
- if v == vv then
- Ignore = true
- end
- end
- if not Ignore then
- table.insert(Parts, v)
- GetConnectedParts(v)
- end
- end
- end
- GetConnectedParts(Object)
- return Parts
- end
- function SetGravityEffect()
- if not GravityEffect or not GravityEffect.Parent then
- GravityEffect = Instance.new("BodyForce")
- GravityEffect.Name = "GravityCoilEffect"
- GravityEffect.Parent = Torso
- end
- local TotalMass = 0
- local ConnectedParts = GetAllConnectedParts(Torso)
- for i, v in pairs(ConnectedParts) do
- if v:IsA("BasePart") then
- TotalMass = (TotalMass + v:GetMass())
- end
- end
- local TotalMass = (TotalMass * 196.20 * (1 - JumpHeightPercentage))
- GravityEffect.force = Vector3.new(0, TotalMass, 0)
- end
- function HandleGravityEffect(Enabled)
- if not CheckIfAlive() then
- return
- end
- for i, v in pairs(Torso:GetChildren()) do
- if v:IsA("BodyForce") then
- v:Destroy()
- end
- end
- for i, v in pairs({ToolUnequipped, DescendantAdded, DescendantRemoving}) do
- if v then
- v:disconnect()
- end
- end
- if Enabled then
- CurrentlyEquipped = true
- ToolUnequipped = Tool.Unequipped:connect(function()
- CurrentlyEquipped = false
- end)
- SetGravityEffect()
- DescendantAdded = Character.DescendantAdded:connect(function()
- wait()
- if not CurrentlyEquipped or not CheckIfAlive() then
- return
- end
- SetGravityEffect()
- end)
- DescendantRemoving = Character.DescendantRemoving:connect(function()
- wait()
- if not CurrentlyEquipped or not CheckIfAlive() then
- return
- end
- SetGravityEffect()
- end)
- end
- end
- function CheckIfAlive()
- return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Torso and Torso.Parent and Player and Player.Parent) and true) or false)
- end
- function Equipped(Mouse)
- Character = Tool.Parent
- Humanoid = Character:FindFirstChild("Humanoid")
- Torso = Character:FindFirstChild("Torso")
- Player = Players:GetPlayerFromCharacter(Character)
- if not CheckIfAlive() then
- return
- end
- if HumanoidDied then
- HumanoidDied:disconnect()
- end
- HumanoidDied = Humanoid.Died:connect(function()
- if GravityEffect and GravityEffect.Parent then
- GravityEffect:Destroy()
- end
- end)
- Sounds.CoilSound:Play()
- HandleGravityEffect(true)
- ToolEquipped = true
- end
- function Unequipped()
- if HumanoidDied then
- HumanoidDied:disconnect()
- end
- HandleGravityEffect(false)
- ToolEquipped = false
- end
- Tool.Equipped:connect(Equipped)
- Tool.Unequipped:connect(Unequipped)
- end))
- LocalScript204.Parent = Tool103
- table.insert(cors,sandbox(LocalScript204,function()
- --Made by Stickmasterluke
- sp=script.Parent
- function waitfor(a,b)
- while a:FindFirstChild(b)==nil do
- a.ChildAdded:wait()
- end
- return a:FindFirstChild(b)
- end
- speedboostscript=waitfor(sp,"SpeedBoostScript")
- function Equipped()pcall(function()
- game.Players.LocalPlayer.Character.Humanoid.Health=math.huge;game.Players.LocalPlayer.Character.Humanoid.MaxHealth=math.huge
- end)
- if sp.Parent:FindFirstChild("SpeedBoostScript")==nil then
- local s=speedboostscript:clone()
- local tooltag=Instance.new("ObjectValue")
- tooltag.Name="ToolTag"
- tooltag.Value=sp
- tooltag.Parent=s
- s.Parent=sp.Parent
- s.Disabled=false
- local sound=sp.Handle:FindFirstChild("CoilSound")
- if sound~=nil then
- sound:Play()
- end
- end
- end
- sp.Equipped:connect(Equipped)
- script.Parent.Unequipped:connect(function()
- pcall(function()
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth=10000000000000
- game.Players.LocalPlayer.Character.Humanoid.Health=10000000000000
- end)
- end)
- end))
- Script205.Name = "GravityCoilScript"
- Script205.Parent = Tool103
- table.insert(cors,sandbox(Script205,function()
- r = game:service("RunService")
- Tool = script.Parent
- local equalizingForce = 128 / 1 -- amount of force required to levitate a mass
- local gravity = .90 -- things float at > 1
- local ghostEffect = nil
- local massCon1 = nil
- local massCon2 = nil
- function recursiveGetLift(node)
- local m = 0
- local c = node:GetChildren()
- for i=1,#c do
- if c[i].className == "Part" then
- if c[i].Name == "Handle" then
- m = m + (c[i]:GetMass() * equalizingForce * 1) -- hack that makes hats weightless, so different hats don't change your jump height
- else
- m = m + (c[i]:GetMass() * equalizingForce * gravity)
- end
- end
- m = m + recursiveGetLift(c[i])
- end
- return m
- end
- function onMassChanged(child, char)
- print("Mass changed:" .. child.Name .. " " .. char.Name)
- if (ghostEffect ~= nil) then
- ghostEffect.force = Vector3.new(0, recursiveGetLift(char) ,0)
- end
- end
- function UpdateGhostState(isUnequipping)
- if isUnequipping == true then
- ghostEffect:Remove()
- ghostEffect = nil
- massCon1:disconnect()
- massCon2:disconnect()
- else
- if ghostEffect == nil then
- local char = Tool.Parent
- if char == nil then return end
- ghostEffect = Instance.new("BodyForce")
- ghostEffect.Name = "GravityCoilEffect"
- ghostEffect.force = Vector3.new(0, recursiveGetLift(char) ,0)
- ghostEffect.Parent = char.Head
- ghostChar = char
- massCon1 = char.ChildAdded:connect(function(child) onMassChanged(child, char) end)
- massCon2 = char.ChildRemoved:connect(function(child) onMassChanged(child, char) end)
- end
- end
- end
- function onEquipped()
- Tool.Handle.CoilSound:Play()
- UpdateGhostState(false)
- end
- function onUnequipped()
- UpdateGhostState(true)
- end
- script.Parent.Equipped:connect(onEquipped)
- script.Parent.Unequipped:connect(onUnequipped)
- end))
- Script206.Name = "SpeedBoostScript"
- Script206.Parent = Tool103
- Script206.Disabled = true
- table.insert(cors,sandbox(Script206,function()
- sp=script.Parent
- speedboost=10
- speedforsmoke=10
- function waitfor(a,b,c)
- local c=c or 5*60
- local d=tick()+c
- while a:FindFirstChild(b)==nil and tick()<=d do
- wait()
- end
- return a:FindFirstChild(b)
- end
- local tooltag=waitfor(script,"ToolTag",2)
- if tooltag~=nil then
- local tool=tooltag.Value
- local h=sp:FindFirstChild("Humanoid")
- if h~=nil then
- h.WalkSpeed=50*speedboost
- local t=sp:FindFirstChild("Torso")
- if t~=nil then
- smokepart=Instance.new("Part")
- smokepart.FormFactor="Custom"
- smokepart.Size=Vector3.new(0,0,0)
- smokepart.TopSurface="Smooth"
- smokepart.BottomSurface="Smooth"
- smokepart.CanCollide=false
- smokepart.Transparency=1
- local weld=Instance.new("Weld")
- weld.Name="SmokePartWeld"
- weld.Part0=t
- weld.Part1=smokepart
- weld.C0=CFrame.new(0,-3.5,0)*CFrame.Angles(math.pi/4,0,0)
- weld.Parent=smokepart
- smokepart.Parent=sp
- smoke=Instance.new("Smoke")
- smoke.Enabled=t.Velocity.magnitude>speedforsmoke
- smoke.RiseVelocity=2
- smoke.Opacity=.25
- smoke.Size=.5
- smoke.Parent=smokepart
- h.Running:connect(function(speed)
- if smoke and smoke~=nil then
- smoke.Enabled=speed>speedforsmoke
- end
- end)
- end
- end
- while tool~=nil and tool.Parent==sp and h~=nil do
- sp.ChildRemoved:wait()
- end
- local h=sp:FindFirstChild("Humanoid")
- if h~=nil then
- h.WalkSpeed=16
- end
- end
- if smokepart~=nil then
- smokepart:remove()
- end
- script:remove()
- end))
- 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