Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- Part2 = Instance.new("Part")
- Part3 = Instance.new("Part")
- ParticleEmitter4 = Instance.new("ParticleEmitter")
- Part5 = Instance.new("Part")
- Part6 = Instance.new("Part")
- Part7 = Instance.new("Part")
- Part8 = Instance.new("Part")
- Part9 = Instance.new("Part")
- Part10 = Instance.new("Part")
- Part11 = Instance.new("Part")
- Part12 = Instance.new("Part")
- Part13 = Instance.new("Part")
- Part14 = Instance.new("Part")
- Part15 = Instance.new("Part")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- Part19 = Instance.new("Part")
- Part20 = Instance.new("Part")
- Part21 = Instance.new("Part")
- Part22 = Instance.new("Part")
- Part23 = Instance.new("Part")
- Part24 = Instance.new("Part")
- Part25 = Instance.new("Part")
- Part26 = Instance.new("Part")
- Part27 = Instance.new("Part")
- Part28 = Instance.new("Part")
- Part29 = Instance.new("Part")
- Part30 = Instance.new("Part")
- Part31 = Instance.new("Part")
- Part32 = Instance.new("Part")
- Part33 = Instance.new("Part")
- Part34 = Instance.new("Part")
- Part35 = Instance.new("Part")
- Part36 = Instance.new("Part")
- Part37 = Instance.new("Part")
- Part38 = Instance.new("Part")
- Part39 = Instance.new("Part")
- Tool0.Name = "Squareisher"
- Tool0.Parent = script
- Tool0.CanBeDropped = false
- Tool0.Grip = CFrame.new(-0.00147980265, 0.188134342, 0.3819727, 0.998936176, -0.00804842077, 0.0454072505, -0.00804842729, -0.999967635, -0.000182707663, 0.0454072468, -0.000182943579, -0.998968661)
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(-0.000292000012, 1.88872302, 0.60909301, 0.998992741, 0.0228786096, 0.0386039652, -0.0387209915, 0.00469401618, 0.999239028, 0.0226799939, -0.999727249, 0.00557516934)
- Part1.Orientation = Vector3.new(-87.7600021, 81.7799988, -83.0899963)
- Part1.Position = Vector3.new(-0.000292000012, 1.88872302, 0.60909301)
- Part1.Rotation = Vector3.new(-89.6800003, 2.21000004, -1.30999994)
- Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part1.Size = Vector3.new(0.5, 0.100000001, 0.5)
- Part1.BrickColor = BrickColor.new("Black")
- Part1.CanCollide = false
- Part1.Material = Enum.Material.Glass
- Part1.brickColor = BrickColor.new("Black")
- Part2.Name = "Handle"
- Part2.Parent = Tool0
- Part2.CFrame = CFrame.new(-0.0463409983, 1.28448904, 1.60546505, 0.998992622, -0.0386029705, 0.0228856113, -0.0387200229, -0.999239147, 0.00469359709, 0.0226870123, -0.00557499938, -0.99972713)
- Part2.Orientation = Vector3.new(-0.270000011, 178.690002, -177.779999)
- Part2.Position = Vector3.new(-0.0463409983, 1.28448904, 1.60546505)
- Part2.Rotation = Vector3.new(-179.729996, 1.30999994, 2.21000004)
- Part2.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part2.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
- Part2.BrickColor = BrickColor.new("Black")
- Part2.CanCollide = false
- Part2.Material = Enum.Material.Glass
- Part2.brickColor = BrickColor.new("Black")
- Part3.Name = "Shoot"
- Part3.Parent = Tool0
- Part3.CFrame = CFrame.new(0.0649110004, 1.90209901, -2.240098, 0.998992383, 0.0228896383, 0.03860493, -0.0387220159, 0.00469401386, 0.999239028, 0.0226910077, -0.999727011, 0.00557561684)
- Part3.Orientation = Vector3.new(-87.7600021, 81.7799988, -83.0899963)
- Part3.Position = Vector3.new(0.0649110004, 1.90209901, -2.240098)
- Part3.Rotation = Vector3.new(-89.6800003, 2.21000004, -1.30999994)
- Part3.Color = Color3.new(1, 0, 0)
- Part3.Size = Vector3.new(0.125, 0.0500000007, 0.125)
- Part3.BrickColor = BrickColor.new("Really red")
- Part3.CanCollide = false
- Part3.Material = Enum.Material.Neon
- Part3.brickColor = BrickColor.new("Really red")
- ParticleEmitter4.Parent = Tool0
- ParticleEmitter4.Speed = NumberRange.new(0.20000000298023, 0.40000000596046)
- ParticleEmitter4.Rotation = NumberRange.new(270, 270)
- ParticleEmitter4.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 0, 0))
- ParticleEmitter4.LightEmission = 0.60000002384186
- ParticleEmitter4.Texture = "http://www.roblox.com/asset/?ID=61212160"
- ParticleEmitter4.Transparency = NumberSequence.new(0,0.58749997615814,1)
- ParticleEmitter4.Size = NumberSequence.new(0.12499988079071,0.12999999523163)
- ParticleEmitter4.Lifetime = NumberRange.new(0.5, 0.5)
- ParticleEmitter4.Rate = 100
- ParticleEmitter4.SpreadAngle = Vector2.new(90, 90)
- ParticleEmitter4.VelocitySpread = 90
- Part5.Parent = Tool0
- Part5.CFrame = CFrame.new(-0.00715600001, 1.88731897, 0.909006, 0.691143155, -0.722355604, 0.0228839889, -0.722611189, -0.69123894, 0.0046947822, 0.0124270031, -0.0197809916, -0.99972713)
- Part5.Orientation = Vector3.new(-0.270000011, 178.690002, -133.729996)
- Part5.Position = Vector3.new(-0.00715600001, 1.88731897, 0.909006)
- Part5.Rotation = Vector3.new(-179.729996, 1.30999994, 46.2599983)
- Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part5.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
- Part5.BrickColor = BrickColor.new("Black")
- Part5.CanCollide = false
- Part5.Material = Enum.Material.Glass
- Part5.brickColor = BrickColor.new("Black")
- Part6.Parent = Tool0
- Part6.CFrame = CFrame.new(-0.00715600001, 1.88731897, 0.909006, 0.744830847, 0.66686058, 0.0228898525, 0.666947842, -0.745089591, 0.00469814008, 0.0201879945, 0.0117670167, -0.999727011)
- Part6.Orientation = Vector3.new(-0.270000011, 178.690002, 138.169998)
- Part6.Position = Vector3.new(-0.00715600001, 1.88731897, 0.909006)
- Part6.Rotation = Vector3.new(-179.729996, 1.30999994, -41.8400002)
- Part6.Color = Color3.new(1, 0, 0)
- Part6.Transparency = 0.5
- Part6.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
- Part6.BrickColor = BrickColor.new("Really red")
- Part6.CanCollide = false
- Part6.Material = Enum.Material.Neon
- Part6.brickColor = BrickColor.new("Really red")
- Part7.Parent = Tool0
- Part7.CFrame = CFrame.new(0.0446700007, 1.99706602, -1.18483901, 0.998992383, -0.0228896383, -0.03860493, -0.0387220159, -0.00469401386, -0.999239028, 0.0226910077, 0.999727011, -0.00557561684)
- Part7.Orientation = Vector3.new(87.7600021, -98.2200012, -96.9100037)
- Part7.Position = Vector3.new(0.0446700007, 1.99706602, -1.18483901)
- Part7.Rotation = Vector3.new(90.3199997, -2.21000004, 1.30999994)
- Part7.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part7.Size = Vector3.new(0.0500000007, 0.100000001, 0.200000003)
- Part7.BrickColor = BrickColor.new("Black")
- Part7.CanCollide = false
- Part7.Material = Enum.Material.Glass
- Part7.brickColor = BrickColor.new("Black")
- Part8.Parent = Tool0
- Part8.CFrame = CFrame.new(0.0145490002, 1.89177704, -0.0407029986, 0.998992383, 0.0228896383, 0.03860493, -0.0387220159, 0.00469401386, 0.999239028, 0.0226910077, -0.999727011, 0.00557561684)
- Part8.Orientation = Vector3.new(-87.7600021, 81.7799988, -83.0899963)
- Part8.Position = Vector3.new(0.0145490002, 1.89177704, -0.0407029986)
- Part8.Rotation = Vector3.new(-89.6800003, 2.21000004, -1.30999994)
- Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part8.Size = Vector3.new(0.25, 2, 0.25)
- Part8.BrickColor = BrickColor.new("Black")
- Part8.CanCollide = false
- Part8.Material = Enum.Material.Glass
- Part8.brickColor = BrickColor.new("Black")
- Part9.Parent = Tool0
- Part9.CFrame = CFrame.new(0.0191649999, 1.89272296, -0.240638003, 0.998992383, 0.0228896383, 0.03860493, -0.0387220159, 0.00469401386, 0.999239028, 0.0226910077, -0.999727011, 0.00557561684)
- Part9.Orientation = Vector3.new(-87.7600021, 81.7799988, -83.0899963)
- Part9.Position = Vector3.new(0.0191649999, 1.89272296, -0.240638003)
- Part9.Rotation = Vector3.new(-89.6800003, 2.21000004, -1.30999994)
- Part9.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part9.Size = Vector3.new(0.150000006, 4, 0.150000006)
- Part9.BrickColor = BrickColor.new("Black")
- Part9.CanCollide = false
- Part9.Material = Enum.Material.Glass
- Part9.brickColor = BrickColor.new("Black")
- Part10.Parent = Tool0
- Part10.CFrame = CFrame.new(-0.0205840003, 1.63377905, 1.06750095, 0.998992622, 0.043787118, -0.00982998963, -0.0387200229, 0.951737761, 0.304460317, 0.0226870123, -0.303772926, 0.952474415)
- Part10.Orientation = Vector3.new(-17.7299995, -0.589999974, -2.32999992)
- Part10.Position = Vector3.new(-0.0205840003, 1.63377905, 1.06750095)
- Part10.Rotation = Vector3.new(-17.7299995, -0.560000002, -2.50999999)
- Part10.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part10.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
- Part10.BrickColor = BrickColor.new("Black")
- Part10.CanCollide = false
- Part10.Material = Enum.Material.Glass
- Part10.brickColor = BrickColor.new("Black")
- Part11.Parent = Tool0
- Part11.CFrame = CFrame.new(-0.0227969997, 1.587479, 1.08593297, 0.998992622, 0.0447289795, -0.0036412559, -0.0387200229, 0.900111735, 0.433935106, 0.0226870123, -0.433356911, 0.900936842)
- Part11.Orientation = Vector3.new(-25.7199993, -0.230000004, -2.46000004)
- Part11.Position = Vector3.new(-0.0227969997, 1.587479, 1.08593297)
- Part11.Rotation = Vector3.new(-25.7199993, -0.209999993, -2.55999994)
- Part11.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part11.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
- Part11.BrickColor = BrickColor.new("Black")
- Part11.CanCollide = false
- Part11.Material = Enum.Material.Glass
- Part11.brickColor = BrickColor.new("Black")
- Part12.Parent = Tool0
- Part12.CFrame = CFrame.new(-0.0250359997, 1.54420304, 1.11063194, 0.998992622, 0.044800479, 0.00261873938, -0.0387200229, 0.830966175, 0.5549739, 0.0226870123, -0.554516137, 0.831863642)
- Part12.Orientation = Vector3.new(-33.7099991, 0.180000007, -2.67000008)
- Part12.Position = Vector3.new(-0.0250359997, 1.54420304, 1.11063194)
- Part12.Rotation = Vector3.new(-33.7099991, 0.150000006, -2.56999993)
- Part12.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part12.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
- Part12.BrickColor = BrickColor.new("Black")
- Part12.CanCollide = false
- Part12.Material = Enum.Material.Glass
- Part12.brickColor = BrickColor.new("Black")
- Part13.Parent = Tool0
- Part13.CFrame = CFrame.new(-0.0272560008, 1.50478101, 1.14111698, 0.998992622, 0.0440002084, 0.00882734545, -0.0387200229, 0.745655954, 0.6652053, 0.0226870123, -0.664876938, 0.746608377)
- Part13.Orientation = Vector3.new(-41.7000008, 0.680000007, -2.97000003)
- Part13.Position = Vector3.new(-0.0272560008, 1.50478101, 1.14111698)
- Part13.Rotation = Vector3.new(-41.7000008, 0.50999999, -2.51999998)
- Part13.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part13.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
- Part13.BrickColor = BrickColor.new("Black")
- Part13.CanCollide = false
- Part13.Material = Enum.Material.Glass
- Part13.brickColor = BrickColor.new("Black")
- Part14.Parent = Tool0
- Part14.CFrame = CFrame.new(-0.0294150002, 1.46999705, 1.17679501, 0.998992622, 0.0423436724, 0.0148645202, -0.0387200229, 0.645830691, 0.7624982, 0.0226870123, -0.762305617, 0.646819592)
- Part14.Orientation = Vector3.new(-49.6800003, 1.32000005, -3.43000007)
- Part14.Position = Vector3.new(-0.0294150002, 1.46999705, 1.17679501)
- Part14.Rotation = Vector3.new(-49.6899986, 0.850000024, -2.43000007)
- Part14.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part14.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
- Part14.BrickColor = BrickColor.new("Black")
- Part14.CanCollide = false
- Part14.Material = Enum.Material.Glass
- Part14.brickColor = BrickColor.new("Black")
- Part15.Parent = Tool0
- Part15.CFrame = CFrame.new(-0.0314709991, 1.44051898, 1.21697605, 0.998992622, 0.0398632102, 0.0206122547, -0.0387200229, 0.533441186, 0.844950557, 0.0226870123, -0.84489727, 0.534447253)
- Part15.Orientation = Vector3.new(-57.6699982, 2.21000004, -4.1500001)
- Part15.Position = Vector3.new(-0.0314709991, 1.44051898, 1.21697605)
- Part15.Rotation = Vector3.new(-57.6899986, 1.17999995, -2.28999996)
- Part15.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part15.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
- Part15.BrickColor = BrickColor.new("Black")
- Part15.CanCollide = false
- Part15.Material = Enum.Material.Glass
- Part15.brickColor = BrickColor.new("Black")
- Part16.Parent = Tool0
- Part16.CFrame = CFrame.new(-0.0333819985, 1.41691804, 1.26087403, 0.998992622, 0.0366070643, 0.0259588733, -0.0387200229, 0.410672009, 0.910960615, 0.0226870123, -0.911047995, 0.411675632)
- Part16.Orientation = Vector3.new(-65.6399994, 3.6099999, -5.38999987)
- Part16.Position = Vector3.new(-0.0333819985, 1.41691804, 1.26087403)
- Part16.Rotation = Vector3.new(-65.6800003, 1.49000001, -2.0999999)
- Part16.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part16.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
- Part16.BrickColor = BrickColor.new("Black")
- Part16.CanCollide = false
- Part16.Material = Enum.Material.Glass
- Part16.brickColor = BrickColor.new("Black")
- Part17.Parent = Tool0
- Part17.CFrame = CFrame.new(-0.0351140015, 1.39965498, 1.30763698, 0.998992622, 0.0326382779, 0.0308006983, -0.0387200229, 0.279901922, 0.95924747, 0.0226870123, -0.95947367, 0.28088367)
- Part17.Orientation = Vector3.new(-73.5899963, 6.26000023, -7.88000011)
- Part17.Position = Vector3.new(-0.0351140015, 1.39965498, 1.30763698)
- Part17.Rotation = Vector3.new(-73.6800003, 1.76999998, -1.87)
- Part17.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part17.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
- Part17.BrickColor = BrickColor.new("Black")
- Part17.CanCollide = false
- Part17.Material = Enum.Material.Glass
- Part17.brickColor = BrickColor.new("Black")
- Part18.Parent = Tool0
- Part18.CFrame = CFrame.new(-0.0366309993, 1.38906395, 1.35635495, 0.998992622, 0.028034851, 0.0350426547, -0.0387200229, 0.143700019, 0.988863587, 0.0226870123, -0.989224136, 0.144640759)
- Part18.Orientation = Vector3.new(-81.4400024, 13.6199999, -15.0799999)
- Part18.Position = Vector3.new(-0.0366309993, 1.38906395, 1.35635495)
- Part18.Rotation = Vector3.new(-81.6800003, 2.00999999, -1.61000001)
- Part18.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part18.Size = Vector3.new(0.100000001, 0.0500000007, 0.0500000007)
- Part18.BrickColor = BrickColor.new("Black")
- Part18.CanCollide = false
- Part18.Material = Enum.Material.Glass
- Part18.brickColor = BrickColor.new("Black")
- Part19.Parent = Tool0
- Part19.CFrame = CFrame.new(-0.0379029997, 1.38535202, 1.40607297, 0.998992622, 0.0228856653, 0.0386029407, -0.0387200229, 0.00469501363, 0.999239147, 0.0226870123, -0.99972713, 0.00557641685)
- Part19.Orientation = Vector3.new(-87.7600021, 81.7799988, -83.0899963)
- Part19.Position = Vector3.new(-0.0379029997, 1.38535202, 1.40607297)
- Part19.Rotation = Vector3.new(-89.6800003, 2.21000004, -1.30999994)
- Part19.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part19.Size = Vector3.new(0.100000001, 0.200000003, 0.0500000007)
- Part19.BrickColor = BrickColor.new("Black")
- Part19.CanCollide = false
- Part19.Material = Enum.Material.Glass
- Part19.brickColor = BrickColor.new("Black")
- Part20.Parent = Tool0
- Part20.CFrame = CFrame.new(-0.0171949994, 2.04599309, 1.62184, 0.998992622, 0.0111156376, -0.0434785336, -0.0387200229, 0.703279078, -0.709858716, 0.0226870123, 0.710827053, 0.703000903)
- Part20.Orientation = Vector3.new(45.2200012, -3.53999996, -3.1500001)
- Part20.Position = Vector3.new(-0.0171949994, 2.04599309, 1.62184)
- Part20.Rotation = Vector3.new(45.2799988, -2.49000001, -0.639999986)
- Part20.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part20.Size = Vector3.new(0.200000003, 0.5, 0.200000003)
- Part20.BrickColor = BrickColor.new("Black")
- Part20.CanCollide = false
- Part20.Material = Enum.Material.Glass
- Part20.brickColor = BrickColor.new("Black")
- Part21.Parent = Tool0
- Part21.CFrame = CFrame.new(0.00199700007, 1.88919497, 0.509113014, 0.998992622, 0.022881614, 0.0386039466, -0.038720984, 0.00469401618, 0.999239147, 0.0226829927, -0.999727249, 0.00557528529)
- Part21.Orientation = Vector3.new(-87.7600021, 81.7799988, -83.0899963)
- Part21.Position = Vector3.new(0.00199700007, 1.88919497, 0.509113014)
- Part21.Rotation = Vector3.new(-89.6800003, 2.21000004, -1.30999994)
- Part21.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part21.Size = Vector3.new(0.5, 0.100000001, 0.449999988)
- Part21.BrickColor = BrickColor.new("Black")
- Part21.CanCollide = false
- Part21.Material = Enum.Material.Glass
- Part21.brickColor = BrickColor.new("Black")
- Part22.Parent = Tool0
- Part22.CFrame = CFrame.new(-0.0301820002, 1.58520305, 1.40719497, -0.998992622, -0.0386029705, -0.0228856113, 0.0387200229, -0.999239147, -0.00469359709, -0.0226870123, -0.00557499938, 0.99972713)
- Part22.Orientation = Vector3.new(0.270000011, -1.30999994, 177.779999)
- Part22.Position = Vector3.new(-0.0301820002, 1.58520305, 1.40719497)
- Part22.Rotation = Vector3.new(0.270000011, -1.30999994, 177.789993)
- Part22.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part22.Size = Vector3.new(0.200000003, 0.5, 0.200000003)
- Part22.BrickColor = BrickColor.new("Black")
- Part22.CanCollide = false
- Part22.Material = Enum.Material.Glass
- Part22.brickColor = BrickColor.new("Black")
- Part23.Parent = Tool0
- Part23.CFrame = CFrame.new(-0.0308989994, 1.684183, 1.60770202, -0.998992622, 0.0386029705, 0.0228856113, 0.0387200229, 0.999239147, 0.00469359709, -0.0226870123, 0.00557499938, -0.99972713)
- Part23.Orientation = Vector3.new(-0.270000011, 178.690002, 2.22000003)
- Part23.Position = Vector3.new(-0.0308989994, 1.684183, 1.60770202)
- Part23.Rotation = Vector3.new(-179.729996, 1.30999994, -177.789993)
- Part23.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part23.Size = Vector3.new(0.200000003, 0.300000012, 0.200000003)
- Part23.BrickColor = BrickColor.new("Black")
- Part23.CanCollide = false
- Part23.Material = Enum.Material.Glass
- Part23.brickColor = BrickColor.new("Black")
- Part24.Parent = Tool0
- Part24.CFrame = CFrame.new(-0.0224610008, 1.78504705, 1.40830803, 0.998992622, -0.0386029705, 0.0228856113, -0.0387200229, -0.999239147, 0.00469359709, 0.0226870123, -0.00557499938, -0.99972713)
- Part24.Orientation = Vector3.new(-0.270000011, 178.690002, -177.779999)
- Part24.Position = Vector3.new(-0.0224610008, 1.78504705, 1.40830803)
- Part24.Rotation = Vector3.new(-179.729996, 1.30999994, 2.21000004)
- Part24.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part24.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- Part24.BrickColor = BrickColor.new("Black")
- Part24.CanCollide = false
- Part24.Material = Enum.Material.Glass
- Part24.brickColor = BrickColor.new("Black")
- Part25.Parent = Tool0
- Part25.CFrame = CFrame.new(-0.0117340004, 1.886379, 1.10895002, 0.998992622, -0.0386029705, 0.0228856113, -0.0387200229, -0.999239147, 0.00469359709, 0.0226870123, -0.00557499938, -0.99972713)
- Part25.Orientation = Vector3.new(-0.270000011, 178.690002, -177.779999)
- Part25.Position = Vector3.new(-0.0117340004, 1.886379, 1.10895002)
- Part25.Rotation = Vector3.new(-179.729996, 1.30999994, 2.21000004)
- Part25.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part25.Size = Vector3.new(0.300000012, 0.5, 0.5)
- Part25.BrickColor = BrickColor.new("Black")
- Part25.CanCollide = false
- Part25.Material = Enum.Material.Glass
- Part25.brickColor = BrickColor.new("Black")
- Part26.Parent = Tool0
- Part26.CFrame = CFrame.new(-0.0117340004, 1.886379, 1.10895002, 0.998992622, 0.0228856653, 0.0386029407, -0.0387200229, 0.00469501363, 0.999239147, 0.0226870123, -0.99972713, 0.00557641685)
- Part26.Orientation = Vector3.new(-87.7600021, 81.7799988, -83.0899963)
- Part26.Position = Vector3.new(-0.0117340004, 1.886379, 1.10895002)
- Part26.Rotation = Vector3.new(-89.6800003, 2.21000004, -1.30999994)
- Part26.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part26.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- Part26.BrickColor = BrickColor.new("Black")
- Part26.CanCollide = false
- Part26.Material = Enum.Material.Glass
- Part26.brickColor = BrickColor.new("Black")
- Part27.Parent = Tool0
- Part27.CFrame = CFrame.new(-0.0117340004, 1.886379, 1.10895002, 0.679123938, 0.0228880998, 0.733666718, -0.733923912, 0.00469689164, 0.679215491, 0.0120999981, -0.999727011, 0.0199878942)
- Part27.Orientation = Vector3.new(-42.7799988, 88.4400024, -89.6299973)
- Part27.Position = Vector3.new(-0.0117340004, 1.886379, 1.10895002)
- Part27.Rotation = Vector3.new(-88.3099976, 47.1899986, -1.92999995)
- Part27.Color = Color3.new(1, 0, 0)
- Part27.Size = Vector3.new(0.0500000007, 0.349999994, 0.409999996)
- Part27.BrickColor = BrickColor.new("Really red")
- Part27.CanCollide = false
- Part27.Material = Enum.Material.Neon
- Part27.brickColor = BrickColor.new("Really red")
- Part28.Parent = Tool0
- Part28.CFrame = CFrame.new(-0.0117340004, 1.886379, 1.10895002, -0.0386069976, 0.0228849836, 0.998992383, -0.999238908, 0.00469353003, -0.0387240462, -0.00557499938, -0.99972713, 0.0226863604)
- Part28.Orientation = Vector3.new(2.22000003, 88.6999969, -89.7300034)
- Part28.Position = Vector3.new(-0.0117340004, 1.886379, 1.10895002)
- Part28.Rotation = Vector3.new(59.6399994, 87.4300003, -149.339996)
- Part28.Color = Color3.new(1, 0, 0)
- Part28.Size = Vector3.new(0.0500000007, 0.349999994, 0.409999996)
- Part28.BrickColor = BrickColor.new("Really red")
- Part28.CanCollide = false
- Part28.Material = Enum.Material.Neon
- Part28.brickColor = BrickColor.new("Really red")
- Part29.Parent = Tool0
- Part29.CFrame = CFrame.new(-0.0117340004, 1.886379, 1.10895002, -0.733720005, 0.022886226, 0.679066479, -0.679157972, 0.00469620666, -0.733977199, -0.0199870002, -0.99972713, 0.0120976614)
- Part29.Orientation = Vector3.new(47.2200012, 88.9800034, -89.5999985)
- Part29.Position = Vector3.new(-0.0117340004, 1.886379, 1.10895002)
- Part29.Rotation = Vector3.new(89.0599976, 42.7700005, -178.210007)
- Part29.Color = Color3.new(1, 0, 0)
- Part29.Size = Vector3.new(0.0500000007, 0.349999994, 0.409999996)
- Part29.BrickColor = BrickColor.new("Really red")
- Part29.CanCollide = false
- Part29.Material = Enum.Material.Neon
- Part29.brickColor = BrickColor.new("Really red")
- Part30.Parent = Tool0
- Part30.CFrame = CFrame.new(-0.0117340004, 1.886379, 1.10895002, -0.998992622, 0.0228856653, -0.0386029407, 0.0387200229, 0.00469501363, -0.999239147, -0.0226870123, -0.99972713, -0.00557641685)
- Part30.Orientation = Vector3.new(87.7600021, -98.2200012, 83.0899963)
- Part30.Position = Vector3.new(-0.0117340004, 1.886379, 1.10895002)
- Part30.Rotation = Vector3.new(90.3199997, -2.21000004, -178.690002)
- Part30.Color = Color3.new(1, 0, 0)
- Part30.Size = Vector3.new(0.0500000007, 0.349999994, 0.409999996)
- Part30.BrickColor = BrickColor.new("Really red")
- Part30.CanCollide = false
- Part30.Material = Enum.Material.Neon
- Part30.brickColor = BrickColor.new("Really red")
- Part31.Parent = Tool0
- Part31.CFrame = CFrame.new(-0.0117340004, 1.886379, 1.10895002, -0.679123938, 0.0228880998, -0.733666718, 0.733923912, 0.00469689164, -0.679215491, -0.0120999981, -0.999727011, -0.0199878942)
- Part31.Orientation = Vector3.new(42.7799988, -91.5599976, 89.6299973)
- Part31.Position = Vector3.new(-0.0117340004, 1.886379, 1.10895002)
- Part31.Rotation = Vector3.new(91.6900024, -47.1899986, -178.070007)
- Part31.Color = Color3.new(1, 0, 0)
- Part31.Size = Vector3.new(0.0500000007, 0.349999994, 0.409999996)
- Part31.BrickColor = BrickColor.new("Really red")
- Part31.CanCollide = false
- Part31.Material = Enum.Material.Neon
- Part31.brickColor = BrickColor.new("Really red")
- Part32.Parent = Tool0
- Part32.CFrame = CFrame.new(-0.0117340004, 1.886379, 1.10895002, 0.0386069976, 0.0228849836, -0.998992383, 0.999238908, 0.00469353003, 0.0387240462, 0.00557499938, -0.99972713, -0.0226863604)
- Part32.Orientation = Vector3.new(-2.22000003, -91.3000031, 89.7300034)
- Part32.Position = Vector3.new(-0.0117340004, 1.886379, 1.10895002)
- Part32.Rotation = Vector3.new(-120.360001, -87.4300003, -30.6599998)
- Part32.Color = Color3.new(1, 0, 0)
- Part32.Size = Vector3.new(0.0500000007, 0.349999994, 0.409999996)
- Part32.BrickColor = BrickColor.new("Really red")
- Part32.CanCollide = false
- Part32.Material = Enum.Material.Neon
- Part32.brickColor = BrickColor.new("Really red")
- Part33.Parent = Tool0
- Part33.CFrame = CFrame.new(-0.0117340004, 1.886379, 1.10895002, 0.733720005, 0.022886226, -0.679066479, 0.679157972, 0.00469620666, 0.733977199, 0.0199870002, -0.99972713, -0.0120976614)
- Part33.Orientation = Vector3.new(-47.2200012, -91.0199966, 89.5999985)
- Part33.Position = Vector3.new(-0.0117340004, 1.886379, 1.10895002)
- Part33.Rotation = Vector3.new(-90.9400024, -42.7700005, -1.78999996)
- Part33.Color = Color3.new(1, 0, 0)
- Part33.Size = Vector3.new(0.0500000007, 0.349999994, 0.409999996)
- Part33.BrickColor = BrickColor.new("Really red")
- Part33.CanCollide = false
- Part33.Material = Enum.Material.Neon
- Part33.brickColor = BrickColor.new("Really red")
- Part34.Parent = Tool0
- Part34.CFrame = CFrame.new(-0.0117340004, 1.886379, 1.10895002, 0.998992622, 0.0228856653, 0.0386029407, -0.0387200229, 0.00469501363, 0.999239147, 0.0226870123, -0.99972713, 0.00557641685)
- Part34.Orientation = Vector3.new(-87.7600021, 81.7799988, -83.0899963)
- Part34.Position = Vector3.new(-0.0117340004, 1.886379, 1.10895002)
- Part34.Rotation = Vector3.new(-89.6800003, 2.21000004, -1.30999994)
- Part34.Color = Color3.new(1, 0, 0)
- Part34.Size = Vector3.new(0.0500000007, 0.349999994, 0.409999996)
- Part34.BrickColor = BrickColor.new("Really red")
- Part34.CanCollide = false
- Part34.Material = Enum.Material.Neon
- Part34.brickColor = BrickColor.new("Really red")
- Part35.Parent = Tool0
- Part35.CFrame = CFrame.new(-0.0117340004, 1.886379, 1.10895002, 0.998992622, 0.0228856653, 0.0386029407, -0.0387200229, 0.00469501363, 0.999239147, 0.0226870123, -0.99972713, 0.00557641685)
- Part35.Orientation = Vector3.new(-87.7600021, 81.7799988, -83.0899963)
- Part35.Position = Vector3.new(-0.0117340004, 1.886379, 1.10895002)
- Part35.Rotation = Vector3.new(-89.6800003, 2.21000004, -1.30999994)
- Part35.Color = Color3.new(1, 0, 0)
- Part35.Size = Vector3.new(0.379999995, 0.409999996, 0.379999995)
- Part35.BrickColor = BrickColor.new("Really red")
- Part35.CanCollide = false
- Part35.Material = Enum.Material.Neon
- Part35.brickColor = BrickColor.new("Really red")
- Part36.Parent = Tool0
- Part36.CFrame = CFrame.new(-0.0163119994, 1.885445, 1.30889297, 0.998992622, 0.0228856653, 0.0386029407, -0.0387200229, 0.00469501363, 0.999239147, 0.0226870123, -0.99972713, 0.00557641685)
- Part36.Orientation = Vector3.new(-87.7600021, 81.7799988, -83.0899963)
- Part36.Position = Vector3.new(-0.0163119994, 1.885445, 1.30889297)
- Part36.Rotation = Vector3.new(-89.6800003, 2.21000004, -1.30999994)
- Part36.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part36.Size = Vector3.new(0.370000005, 0.5, 0.370000005)
- Part36.BrickColor = BrickColor.new("Black")
- Part36.CanCollide = false
- Part36.Material = Enum.Material.Glass
- Part36.brickColor = BrickColor.new("Black")
- Part37.Parent = Tool0
- Part37.CFrame = CFrame.new(-0.00787399989, 1.98630095, 1.10950196, 0.998992622, -0.0228856653, -0.0386029407, -0.0387200229, -0.00469501363, -0.999239147, 0.0226870123, 0.99972713, -0.00557641685)
- Part37.Orientation = Vector3.new(87.7600021, -98.2200012, -96.9100037)
- Part37.Position = Vector3.new(-0.00787399989, 1.98630095, 1.10950196)
- Part37.Rotation = Vector3.new(90.3199997, -2.21000004, 1.30999994)
- Part37.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part37.Size = Vector3.new(0.200000003, 0.699999988, 0.400000006)
- Part37.BrickColor = BrickColor.new("Black")
- Part37.CanCollide = false
- Part37.Material = Enum.Material.Glass
- Part37.brickColor = BrickColor.new("Black")
- Part38.Parent = Tool0
- Part38.CFrame = CFrame.new(-0.00714900019, 1.88732696, 0.909016013, 0.998992622, -0.0386031754, 0.022885263, -0.0387200229, -0.999239147, 0.0046846061, 0.0226870123, -0.0055660042, -0.99972713)
- Part38.Orientation = Vector3.new(-0.270000011, 178.690002, -177.779999)
- Part38.Position = Vector3.new(-0.00714900019, 1.88732696, 0.909016013)
- Part38.Rotation = Vector3.new(-179.729996, 1.30999994, 2.21000004)
- Part38.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part38.Size = Vector3.new(0.300000012, 0.400000006, 0.200000003)
- Part38.BrickColor = BrickColor.new("Black")
- Part38.CanCollide = false
- Part38.Material = Enum.Material.Glass
- Part38.brickColor = BrickColor.new("Black")
- Part39.Parent = Tool0
- Part39.CFrame = CFrame.new(-0.00715600001, 1.88731897, 0.909006, 0.998992622, 0.0228856653, 0.0386029407, -0.0387200229, 0.00469501363, 0.999239147, 0.0226870123, -0.99972713, 0.00557641685)
- Part39.Orientation = Vector3.new(-87.7600021, 81.7799988, -83.0899963)
- Part39.Position = Vector3.new(-0.00715600001, 1.88731897, 0.909006)
- Part39.Rotation = Vector3.new(-89.6800003, 2.21000004, -1.30999994)
- Part39.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part39.Size = Vector3.new(0.349999994, 0.349999994, 0.349999994)
- Part39.BrickColor = BrickColor.new("Black")
- Part39.CanCollide = false
- Part39.Material = Enum.Material.Glass
- Part39.brickColor = BrickColor.new("Black")
- local plr = owner
- local char = plr.Character
- local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
- local hum = char:FindFirstChildOfClass("Humanoid")
- local tool = Tool0
- local handle = nil
- local shoot_p = nil
- for i,v in pairs(tool:GetChildren()) do
- if v:IsA("BasePart") then
- v.Locked = true
- v.Massless = true
- if (v.Name == 'Handle') then
- handle = v
- elseif (v.Name == 'Shoot') then
- shoot_p = v
- end
- end
- end
- for i,v in pairs(tool:GetChildren()) do
- if v:IsA("BasePart") and (v ~= handle) then
- local weld = Instance.new("Weld")
- weld.Part0 = handle
- weld.Part1 = v
- weld.C0 = handle.CFrame:Inverse()
- weld.C1 = v.CFrame:Inverse()
- weld.Parent = v
- elseif v:IsA("ParticleEmitter") then
- local att = Instance.new("Attachment")
- att.Position = Vector3.new(-0.003, -0.034, 0.106)
- att.Parent = shoot_p
- v.Parent = att
- end
- end
- tool.Parent = plr['Backpack']
- local equipped = false
- local using = false
- local last_mpos = Vector3.new()
- local theme = Instance.new("Sound")
- theme.SoundId = 'rbxassetid://5078475814'
- theme.Looped = true
- theme.Volume = 10
- theme.Parent = handle
- --[[
- local ChorusSoundEffect0 = Instance.new("ChorusSoundEffect")
- ChorusSoundEffect0.Parent = theme
- ChorusSoundEffect0.Priority = 1
- ChorusSoundEffect0.Rate = 5
- ChorusSoundEffect0.Depth = 1
- ChorusSoundEffect0.Mix = 1
- ]]
- local shoot_s = Instance.new("Sound")
- shoot_s.SoundId = 'rbxassetid://904440937'
- shoot_s.Volume = 9
- shoot_s.Parent = handle
- local banished_s = Instance.new("Sound")
- banished_s.SoundId = 'rbxassetid://340722848'
- banished_s.Volume = 10
- banished_s.Parent = handle
- local effects = Instance.new("Folder")
- effects.Parent = script
- --//=================================\\
- --|| SAZERENOS' ARTIFICIAL HEARTBEAT
- --\\=================================//
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = (1/60)
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function Swait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- --//=================================\\
- --\\=================================//
- function get_char()
- char = tool.Parent
- plr = game:GetService("Players"):GetPlayerFromCharacter(char)
- if char then
- torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
- hum = char:FindFirstChildOfClass("Humanoid")
- end
- end
- function alive()
- local r = false
- if plr and char and char.Parent and torso and torso.Parent and hum and hum.Parent and hum.Health > 0 then
- r = true
- end
- return r
- end
- function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRayWithIgnoreList(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function CastProperRay(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
- return Raycast(StartPos, DIRECTION, Distance, Ignore)
- end
- function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = Instance.new("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = torso.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- function MakeForm(PART,TYPE)
- if TYPE == "Cyl" then
- local MSH = Instance.new("CylinderMesh",PART)
- elseif TYPE == "Ball" then
- local MSH = Instance.new("SpecialMesh",PART)
- MSH.MeshType = "Sphere"
- elseif TYPE == "Wedge" then
- local MSH = Instance.new("SpecialMesh",PART)
- MSH.MeshType = "Wedge"
- end
- end
- function SpawnTrail(FROM,TO,BIG)
- local TRAIL = CreatePart(3, effects, "Neon", 0, 0.5, "Really red", "Trail", Vector3.new(0,0,0))
- MakeForm(TRAIL,"Cyl")
- local DIST = (FROM - TO).Magnitude
- if BIG == true then
- TRAIL.Size = Vector3.new(0.5,DIST,0.5)
- else
- TRAIL.Size = Vector3.new(0.25,DIST,0.25)
- end
- TRAIL.CFrame = CFrame.new(FROM, TO) * CFrame.new(0, 0, -DIST/2) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
- coroutine.resume(coroutine.create(function()
- for i = 1, 5 do
- Swait()
- TRAIL.Transparency = TRAIL.Transparency + 0.1
- end
- TRAIL:Destroy()
- end))
- end
- function Kill(Char)
- local NewCharacter = Instance.new("Model",effects)
- NewCharacter.Name = ''
- for _, c in pairs(Char:GetDescendants()) do
- if c:IsA("BasePart") and c.Transparency == 0 then
- if c.Parent == Char then
- end
- c:BreakJoints()
- c.Material = "Neon"
- c.Color = Color3.new(1,1,1)
- c.CanCollide = true
- c.Transparency = 0.3
- if c:FindFirstChildOfClass("SpecialMesh") then
- c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
- end
- if c.Name == "Head" then
- c:ClearAllChildren()
- c.Size = Vector3.new(c.Size.Y,c.Size.Y,c.Size.Y)
- end
- if c.ClassName == "MeshPart" then
- c.TextureID = ""
- end
- if c:FindFirstChildOfClass("BodyPosition") then
- c:FindFirstChildOfClass("BodyPosition"):Destroy()
- end
- if c:FindFirstChildOfClass("ParticleEmitter") then
- c:FindFirstChildOfClass("ParticleEmitter"):Destroy()
- end
- c.Parent = NewCharacter
- c.Name = "DeadPart"
- c.Velocity = Vector3.new(math.random(-45,45),math.random(-45,45),math.random(-45,45))/15
- c.RotVelocity = Vector3.new(math.random(-45,45),math.random(-15,85),math.random(-45,45))
- end
- end
- Char:Destroy()
- game:GetService("Debris"):AddItem(NewCharacter,5)
- end
- function Banish(Foe)
- if Foe then
- --coroutine.resume(coroutine.create(function()
- local orgn_foe = Foe
- if Foe.Parent ~= workspace and Foe.Parent ~= workspace.Terrain and Foe.Parent ~= workspace.Camera and not Foe.Parent:IsA("Script") then
- Foe = Foe.Parent
- end
- if Foe:IsA("BasePart") or Foe:IsA("UnionOperation") or Foe:IsA("Folder") or Foe:IsA("Model") then
- Foe.Archivable = true
- end
- local CLONE = Foe:Clone()
- if Foe:IsA("BasePart") or Foe:IsA("UnionOperation") then
- Foe:Destroy()
- else
- for i,v in pairs(Foe:GetChildren()) do
- if v:IsA("BasePart") or v:IsA("UnionOperation") or v:IsA("BillboardGui") or v:IsA("Humanoid") then
- v:Destroy()
- end
- end
- end
- CLONE.Parent = effects
- CLONE:BreakJoints()
- local MATERIALS = {"Glass","Neon"}
- for _, c in pairs(CLONE:GetDescendants()) do
- if c:IsA("BasePart") or c:IsA("UnionOperation") then
- banished_s:Play()
- c.Anchored = true
- c.Transparency = c.Transparency + 0.2
- c.Material = MATERIALS[math.random(1,2)]
- c.Color = Color3.new(1,0,0)
- if c.ClassName == "MeshPart" then
- c.TextureID = ""
- end
- if c:FindFirstChildOfClass("SpecialMesh") then
- c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
- end
- if c:FindFirstChildOfClass("Decal") then
- c:FindFirstChildOfClass("Decal"):Destroy()
- end
- c.Name = "Banished"
- c.CanCollide = false
- else
- c:Destroy()
- end
- end
- --[[local added = false
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if string.match(Foe.Name:lower(),v.Name:lower()) or Foe == v.Character then
- table.insert(banished,1,{Name = v.Name,Obj = orgn_foe})
- added = true
- spawn(function()
- for i,obj in pairs(workspace:GetDescendants()) do
- for i,v in pairs(banished) do
- if v.Name and string.match(obj.Name:lower(),v.Name:lower()) then
- obj:Destroy()
- end
- if v.Obj then
- v.Obj:Destroy()
- end
- end
- end
- end)
- end
- end
- if not added then
- table.insert(banished,1,{Name = Foe.Name,Obj = orgn_foe})
- end]]
- local A = false
- for i = 1,25 do
- if A == false then
- A = true
- elseif A == true then
- A = false
- end
- if CLONE:IsA("BasePart") or CLONE:IsA("UnionOperation") then
- CLONE.Anchored = true
- CLONE.Material = MATERIALS[math.random(1,2)]
- CLONE.Transparency = CLONE.Transparency + 1/25
- if A == false then
- CLONE.CFrame = CLONE.CFrame*CFrame.new(math.random(-45,45)/45,math.random(-45,45)/45,math.random(-45,45)/45)
- elseif A == true then
- CLONE.CFrame = CLONE.CFrame*CFrame.new(math.random(-45,45)/45,math.random(-45,45)/45,math.random(-45,45)/45)
- end
- end
- for _, c in pairs(CLONE:GetDescendants()) do
- if c:IsA("BasePart") or c:IsA("UnionOperation") then
- if c:IsA("UnionOperation") then
- c.UsePartColor = true
- end
- c.Anchored = true
- c.Material = MATERIALS[math.random(1,2)]
- c.Transparency = c.Transparency + 1/25
- if A == false then
- c.CFrame = c.CFrame*CFrame.new(math.random(-45,45)/45,math.random(-45,45)/45,math.random(-45,45)/45)
- elseif A == true then
- c.CFrame = c.CFrame*CFrame.new(math.random(-45,45)/45,math.random(-45,45)/45,math.random(-45,45)/45)
- end
- end
- end
- Swait()
- end
- CLONE:Destroy()
- --end))
- end
- end
- function shoot()
- spawn(function()
- shoot_s:Play()
- local HIT,POS = CastProperRay(shoot_p.Position, last_mpos, 1000, {char,script,tool})
- SpawnTrail(shoot_p.Position,POS)
- if HIT and not string.match(HIT.Name:lower(),'base') and HIT.Name:lower() ~= 'trail' and not HIT:IsDescendantOf(effects) then
- Banish(HIT)
- end
- end)
- end
- tool.Equipped:Connect(function()
- get_char()
- if alive() then
- theme:Resume()
- equipped = true
- else
- tool.Parent = workspace
- end
- end)
- tool.Unequipped:Connect(function()
- theme:Pause()
- equipped = false
- end)
- local remote = Instance.new("RemoteEvent")
- remote.Parent = plr['PlayerGui']
- local fv = Instance.new("ObjectValue")
- fv.Name = 'ignore'
- fv.Value = script
- fv.Parent = remote
- NLS([[
- local plr = game:GetService("Players").LocalPlayer
- local mouse = plr:GetMouse()
- local remote = script.Parent
- local ignore = remote.ignore.Value
- mouse.TargetFilter = ignore
- mouse.Button1Down:Connect(function()
- remote:FireServer(1,true)
- end)
- mouse.Button1Up:Connect(function()
- remote:FireServer(1,false)
- end)
- game:GetService("RunService").RenderStepped:Connect(function()
- remote:FireServer(2,mouse.Hit.p)
- end)
- ]],remote)
- remote.OnServerEvent:Connect(function(lplr,mode,data)
- if plr == lplr then else return end
- if mode == 1 then
- if data == true then
- using = true
- spawn(function()
- while using do
- if equipped then
- shoot()
- end
- Swait()
- end
- end)
- elseif data == false then
- using = false
- end
- elseif mode == 2 then
- last_mpos = data
- end
- end)
Add Comment
Please, Sign In to add comment