Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --like this
- --Random Code
- Playername = game.Players
- function prints1()
- print("UsernameApproached, Player name has been called".. Playername.Name)
- warn("Can't recieve variables ".. Playername.Name)
- end
- local userint, message = pcall(prints1)
- if userint then
- else
- print("Username data interface is not a variable".. message)
- end
- function datapack(e,t,g,d)
- print("This usually a scripting idea")
- if t == _VERSION then
- gcinfo(prints1)
- end
- end
- _G = datapack()
- print("Max Players".. Playername.NumPlayers)
- e = {"Data","Prints","Here"}
- randomUser = e[math.random(1,#e)]
- print("Random Prints = ".. randomUser)
- grade = {1,2,3,4,5}--5 for full grade
- gradepick = grade[math.random(1,#grade)]
- function fullcode()
- print("User grade".. gradepick)
- warn("UserGrade Has Passed")
- end
- fullcode()
- tools = true
- if tools == true then
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- SpecialMesh1 = Instance.new("SpecialMesh")
- Script2 = Instance.new("Script")
- Script3 = Instance.new("Script")
- LocalScript4 = Instance.new("LocalScript")
- Part5 = Instance.new("Part")
- SpecialMesh6 = Instance.new("SpecialMesh")
- Weld7 = Instance.new("Weld")
- Weld8 = Instance.new("Weld")
- Weld9 = Instance.new("Weld")
- Weld10 = Instance.new("Weld")
- Weld11 = Instance.new("Weld")
- Weld12 = Instance.new("Weld")
- Sound13 = Instance.new("Sound")
- Weld14 = Instance.new("Weld")
- Weld15 = Instance.new("Weld")
- Script16 = Instance.new("Script")
- Part17 = Instance.new("Part")
- SpecialMesh18 = Instance.new("SpecialMesh")
- Sound19 = Instance.new("Sound")
- BodyGyro20 = Instance.new("BodyGyro")
- LocalScript21 = Instance.new("LocalScript")
- LocalScript22 = Instance.new("LocalScript")
- Tool23 = Instance.new("Tool")
- Part24 = Instance.new("Part")
- SpecialMesh25 = Instance.new("SpecialMesh")
- Script26 = Instance.new("Script")
- Script27 = Instance.new("Script")
- LocalScript28 = Instance.new("LocalScript")
- Script29 = Instance.new("Script")
- Tool30 = Instance.new("Tool")
- Part31 = Instance.new("Part")
- ParticleEmitter32 = Instance.new("ParticleEmitter")
- Part33 = Instance.new("Part")
- SpecialMesh34 = Instance.new("SpecialMesh")
- BodyForce35 = Instance.new("BodyForce")
- Script36 = Instance.new("Script")
- ClickDetector37 = Instance.new("ClickDetector")
- Weld38 = Instance.new("Weld")
- BodyForce39 = Instance.new("BodyForce")
- BodyThrust40 = Instance.new("BodyThrust")
- BodyGyro41 = Instance.new("BodyGyro")
- RocketPropulsion42 = Instance.new("RocketPropulsion")
- BodyAngularVelocity43 = Instance.new("BodyAngularVelocity")
- Tool44 = Instance.new("Tool")
- Part45 = Instance.new("Part")
- Sound46 = Instance.new("Sound")
- Sound47 = Instance.new("Sound")
- Sound48 = Instance.new("Sound")
- Sound49 = Instance.new("Sound")
- Sound50 = Instance.new("Sound")
- Sound51 = Instance.new("Sound")
- Fire52 = Instance.new("Fire")
- SpecialMesh53 = Instance.new("SpecialMesh")
- Script54 = Instance.new("Script")
- Script55 = Instance.new("Script")
- Script56 = Instance.new("Script")
- LocalScript57 = Instance.new("LocalScript")
- Folder58 = Instance.new("Folder")
- SpecialMesh59 = Instance.new("SpecialMesh")
- Sound60 = Instance.new("Sound")
- Part61 = Instance.new("Part")
- ParticleEmitter62 = Instance.new("ParticleEmitter")
- ParticleEmitter63 = Instance.new("ParticleEmitter")
- Script64 = Instance.new("Script")
- ObjectValue65 = Instance.new("ObjectValue")
- ObjectValue66 = Instance.new("ObjectValue")
- Tool67 = Instance.new("Tool")
- Part68 = Instance.new("Part")
- SpecialMesh69 = Instance.new("SpecialMesh")
- Sound70 = Instance.new("Sound")
- Sound71 = Instance.new("Sound")
- Sound72 = Instance.new("Sound")
- ParticleEmitter73 = Instance.new("ParticleEmitter")
- Animation74 = Instance.new("Animation")
- Animation75 = Instance.new("Animation")
- Animation76 = Instance.new("Animation")
- Animation77 = Instance.new("Animation")
- Animation78 = Instance.new("Animation")
- Animation79 = Instance.new("Animation")
- LocalScript80 = Instance.new("LocalScript")
- LocalScript81 = Instance.new("LocalScript")
- Script82 = Instance.new("Script")
- Script83 = Instance.new("Script")
- Vector3Value84 = Instance.new("Vector3Value")
- Vector3Value85 = Instance.new("Vector3Value")
- ParticleEmitter86 = Instance.new("ParticleEmitter")
- RemoteFunction87 = Instance.new("RemoteFunction")
- RemoteFunction88 = Instance.new("RemoteFunction")
- Script89 = Instance.new("Script")
- Part90 = Instance.new("Part")
- SpecialMesh91 = Instance.new("SpecialMesh")
- ManualWeld92 = Instance.new("ManualWeld")
- Part93 = Instance.new("Part")
- SpecialMesh94 = Instance.new("SpecialMesh")
- ManualWeld95 = Instance.new("ManualWeld")
- Part96 = Instance.new("Part")
- SpecialMesh97 = Instance.new("SpecialMesh")
- ManualWeld98 = Instance.new("ManualWeld")
- Part99 = Instance.new("Part")
- SpecialMesh100 = Instance.new("SpecialMesh")
- ManualWeld101 = Instance.new("ManualWeld")
- Part102 = Instance.new("Part")
- BlockMesh103 = Instance.new("BlockMesh")
- ManualWeld104 = Instance.new("ManualWeld")
- ParticleEmitter105 = Instance.new("ParticleEmitter")
- Part106 = Instance.new("Part")
- ManualWeld107 = Instance.new("ManualWeld")
- ParticleEmitter108 = Instance.new("ParticleEmitter")
- Part109 = Instance.new("Part")
- SpecialMesh110 = Instance.new("SpecialMesh")
- ManualWeld111 = Instance.new("ManualWeld")
- Part112 = Instance.new("Part")
- SpecialMesh113 = Instance.new("SpecialMesh")
- ManualWeld114 = Instance.new("ManualWeld")
- Part115 = Instance.new("Part")
- SpecialMesh116 = Instance.new("SpecialMesh")
- ManualWeld117 = Instance.new("ManualWeld")
- Part118 = Instance.new("Part")
- SpecialMesh119 = Instance.new("SpecialMesh")
- ManualWeld120 = Instance.new("ManualWeld")
- Part121 = Instance.new("Part")
- BlockMesh122 = Instance.new("BlockMesh")
- ManualWeld123 = Instance.new("ManualWeld")
- Part124 = Instance.new("Part")
- SpecialMesh125 = Instance.new("SpecialMesh")
- ManualWeld126 = Instance.new("ManualWeld")
- ParticleEmitter127 = Instance.new("ParticleEmitter")
- Part128 = Instance.new("Part")
- BlockMesh129 = Instance.new("BlockMesh")
- ManualWeld130 = Instance.new("ManualWeld")
- Part131 = Instance.new("Part")
- SpecialMesh132 = Instance.new("SpecialMesh")
- ManualWeld133 = Instance.new("ManualWeld")
- Part134 = Instance.new("Part")
- SpecialMesh135 = Instance.new("SpecialMesh")
- ManualWeld136 = Instance.new("ManualWeld")
- Part137 = Instance.new("Part")
- SpecialMesh138 = Instance.new("SpecialMesh")
- ManualWeld139 = Instance.new("ManualWeld")
- Part140 = Instance.new("Part")
- SpecialMesh141 = Instance.new("SpecialMesh")
- ManualWeld142 = Instance.new("ManualWeld")
- Part143 = Instance.new("Part")
- SpecialMesh144 = Instance.new("SpecialMesh")
- ManualWeld145 = Instance.new("ManualWeld")
- Part146 = Instance.new("Part")
- SpecialMesh147 = Instance.new("SpecialMesh")
- ManualWeld148 = Instance.new("ManualWeld")
- Part149 = Instance.new("Part")
- SpecialMesh150 = Instance.new("SpecialMesh")
- ManualWeld151 = Instance.new("ManualWeld")
- Part152 = Instance.new("Part")
- SpecialMesh153 = Instance.new("SpecialMesh")
- ManualWeld154 = Instance.new("ManualWeld")
- Part155 = Instance.new("Part")
- CylinderMesh156 = Instance.new("CylinderMesh")
- ManualWeld157 = Instance.new("ManualWeld")
- Part158 = Instance.new("Part")
- BlockMesh159 = Instance.new("BlockMesh")
- ManualWeld160 = Instance.new("ManualWeld")
- Tool161 = Instance.new("Tool")
- Part162 = Instance.new("Part")
- SpecialMesh163 = Instance.new("SpecialMesh")
- Sound164 = Instance.new("Sound")
- Sound165 = Instance.new("Sound")
- Sound166 = Instance.new("Sound")
- Sound167 = Instance.new("Sound")
- Sound168 = Instance.new("Sound")
- Sound169 = Instance.new("Sound")
- LocalScript170 = Instance.new("LocalScript")
- LocalScript171 = Instance.new("LocalScript")
- Folder172 = Instance.new("Folder")
- RemoteFunction173 = Instance.new("RemoteFunction")
- RemoteFunction174 = Instance.new("RemoteFunction")
- Folder175 = Instance.new("Folder")
- Folder176 = Instance.new("Folder")
- Animation177 = Instance.new("Animation")
- Folder178 = Instance.new("Folder")
- Animation179 = Instance.new("Animation")
- Script180 = Instance.new("Script")
- Script181 = Instance.new("Script")
- Sound182 = Instance.new("Sound")
- Sound183 = Instance.new("Sound")
- Tool184 = Instance.new("Tool")
- Script185 = Instance.new("Script")
- Part186 = Instance.new("Part")
- SpecialMesh187 = Instance.new("SpecialMesh")
- Sound188 = Instance.new("Sound")
- Sound189 = Instance.new("Sound")
- Sound190 = Instance.new("Sound")
- Sound191 = Instance.new("Sound")
- Sound192 = Instance.new("Sound")
- Sound193 = Instance.new("Sound")
- Sound194 = Instance.new("Sound")
- Sound195 = Instance.new("Sound")
- Sound196 = Instance.new("Sound")
- Sound197 = Instance.new("Sound")
- Sound198 = Instance.new("Sound")
- Sound199 = Instance.new("Sound")
- LocalScript200 = Instance.new("LocalScript")
- Tool201 = Instance.new("Tool")
- Part202 = Instance.new("Part")
- Sound203 = Instance.new("Sound")
- SpecialMesh204 = Instance.new("SpecialMesh")
- Script205 = Instance.new("Script")
- LocalScript206 = Instance.new("LocalScript")
- Script207 = Instance.new("Script")
- Configuration208 = Instance.new("Configuration")
- BoolValue209 = Instance.new("BoolValue")
- Configuration210 = Instance.new("Configuration")
- NumberValue211 = Instance.new("NumberValue")
- NumberValue212 = Instance.new("NumberValue")
- StringValue213 = Instance.new("StringValue")
- BoolValue214 = Instance.new("BoolValue")
- BoolValue215 = Instance.new("BoolValue")
- StringValue216 = Instance.new("StringValue")
- ObjectValue217 = Instance.new("ObjectValue")
- Tool0.Name = "CrossBow"
- Tool0.Parent = mas
- Tool0.TextureId = "http://www.roblox.com/asset/?id=16215840 "
- Tool0.GripForward = Vector3.new(0.0105792647, 0.00521730399, 0.999930441)
- Tool0.GripPos = Vector3.new(0, -0.600000024, 0)
- Tool0.GripRight = Vector3.new(-0.999944031, 0, 0.0105794081)
- Tool0.GripUp = Vector3.new(-5.51959893e-05, 0.99998641, -0.00521701202)
- SpecialMesh1.Parent = Tool0
- SpecialMesh1.Scale = Vector3.new(0.5, 1, 0.5)
- SpecialMesh1.Scale = Vector3.new(0.5, 1, 0.5)
- Script2.Name = "CrossbowBoltScript"
- Script2.Parent = Tool0
- Script2.Disabled = true
- table.insert(cors,sandbox(Script2,function()
- debris = game:GetService("Debris")
- bolt = script.Parent
- damage = 33
- debris:AddItem(bolt, 20)
- function stick(hit)
- -- joint myself to the thing i hit
- local weld = Instance.new("Weld")
- weld.Part0 = bolt
- weld.Part1 = hit
- local HitPos = bolt.Position + (bolt.Velocity.unit * 3) -- + (arrow.CFrame.lookVector * 1)
- local CJ = CFrame.new(HitPos)
- local C0 = bolt.CFrame:inverse() *CJ
- local C1 = hit.CFrame:inverse() * CJ
- weld.C0 = C0
- weld.C1 = C1
- weld.Parent = bolt
- end
- function onTouched(hit)
- bolt.BodyGyro:remove()
- bolt.BodyForce:remove()
- stick(hit)
- bolt.HitSound:Play()
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- if humanoid ~= nil then
- tagHumanoid(humanoid)
- humanoid.Health = humanoid.Health - damage
- end
- connection:disconnect()
- end
- function tagHumanoid(humanoid)
- -- todo: make tag expire
- local tag = bolt:findFirstChild("creator")
- if tag ~= nil then
- local new_tag = tag:clone()
- new_tag.Parent = humanoid
- debris:AddItem(new_tag,1)
- end
- end
- connection = bolt.Touched:connect(onTouched)
- for i=1,100 do
- wait(.1 * i)
- if (bolt:FindFirstChild("BodyGyro") ~= nil) then
- bolt.BodyGyro.cframe = CFrame.new(Vector3.new(0,0,0), -bolt.Velocity.unit)
- end
- end
- end))
- Script3.Name = "WeldScript"
- Script3.Parent = Tool0
- table.insert(cors,sandbox(Script3,function()
- w2 = Instance.new("Weld")
- w2.Name = "BoltWeld"
- w2.Parent = script.Parent.Handle
- w2.Part0 = script.Parent.Handle
- w2.Part1 = script.Parent.Bolt
- w2.C1 = CFrame.new(0,-.35,-1.6)
- end))
- LocalScript4.Name = "Local Gui"
- LocalScript4.Parent = Tool0
- table.insert(cors,sandbox(LocalScript4,function()
- local Tool = script.Parent;
- enabled = true
- function onButton1Down(mouse)
- if not enabled then return end
- script.Parent.Bolt.Transparency = 1
- enabled = false
- mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
- wait(2)
- script.Parent.Bolt.Transparency = 0
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- Tool.Equipped:connect(onEquippedLocal)
- end))
- Part5.Name = "Handle"
- Part5.Parent = Tool0
- Part5.BrickColor = BrickColor.new("Black")
- Part5.Rotation = Vector3.new(89.9700012, 89.9799957, -89.9700012)
- Part5.RotVelocity = Vector3.new(7.6569333e-05, -2.03606623e-06, -0.00690040272)
- Part5.Velocity = Vector3.new(0.00522823213, 0.0246386137, -2.94594247e-05)
- Part5.FormFactor = Enum.FormFactor.Plate
- Part5.Size = Vector3.new(1, 0.400000006, 3)
- Part5.CFrame = CFrame.new(28.210043, 1.20017695, 59.7199974, 3.29556471e-08, 7.12915571e-05, 0.99999994, -6.3768347e-08, 1, -7.12915571e-05, -0.99999994, -6.3768347e-08, 3.2960191e-08)
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part5.Position = Vector3.new(28.210043, 1.20017695, 59.7199974)
- Part5.Orientation = Vector3.new(0, 90, 0)
- Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh6.Parent = Part5
- SpecialMesh6.MeshId = "http://www.roblox.com/asset/?id=15886761"
- SpecialMesh6.TextureId = "http://www.roblox.com/asset/?id=15886781"
- SpecialMesh6.MeshType = Enum.MeshType.FileMesh
- Weld7.Parent = Part5
- Weld7.C1 = CFrame.new(0, 1, -0.399999976, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
- Weld8.Parent = Part5
- Weld8.C1 = CFrame.new(0, 0.5, -0.550000012, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
- Weld9.Parent = Part5
- Weld9.C1 = CFrame.new(0, 1, -0.399999976, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
- Weld10.Parent = Part5
- Weld10.C1 = CFrame.new(0, 0.5, -0.550000012, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
- Weld11.Parent = Part5
- Weld11.C1 = CFrame.new(0, 1, -0.399999976, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
- Weld12.Parent = Part5
- Weld12.C1 = CFrame.new(0, 0.5, -0.550000012, 1, 0, 0, 0, -4.37113883e-08, -1, 0, 1, -4.37113883e-08)
- Sound13.Name = "FireSound"
- Sound13.Parent = Part5
- Sound13.SoundId = "http://www.roblox.com/asset/?id=16211041"
- Sound13.Volume = 1
- Weld14.Name = "BoltWeld"
- Weld14.Parent = Part5
- Weld14.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld15.Name = "BoltWeld"
- Weld15.Parent = Part5
- Weld15.C1 = CFrame.new(0, -0.349999994, -1.60000002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld15.Part0 = Part5
- Weld15.Part1 = Part17
- Script16.Name = "CrossbowLauncher"
- Script16.Parent = Tool0
- table.insert(cors,sandbox(Script16,function()
- Tool = script.Parent
- function fire(v)
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- Tool.Parent.Torso["Right Shoulder"].DesiredAngle = 3 --moves your arm as if firing.
- local missile = Tool.Bolt:Clone()
- -- find firing direction
- local v1 = -Tool.Bolt.CFrame.lookVector.unit
- local v2 = v.unit
- local dot = (v1.x * v2.x) + (v1.y * v2.y) + (v1.z * v2.z)
- local ang = math.acos(dot)
- -- test if in cone
- if (ang < 3.14 / 8) then
- else
- -- not in cone, find projection
- -- n = v1 x v2
- --local n = Vector3.new(v1.y * v2.z - v1.z * v2.y, v1.z * v2.x - v1.x * v2.z, v1.z * v2.y - v1.y * v2.x)
- --return
- end
- --missile.CFrame = Tool.Bolt.CFrame + (Tool.Bolt.CFrame.lookVector * -8)
- missile.CFrame = Tool.Bolt.CFrame + (v * 8)
- missile.Transparency = 0
- missile.Velocity = v * 40
- missile.Name = "CrossbowBolt"
- missile.Elasticity = 0
- local force = Instance.new("BodyForce")
- force.force = Vector3.new(0,150,0)
- force.Parent = missile
- missile.BodyGyro.cframe = CFrame.new(Vector3.new(0,0,0), -Tool.Bolt.CFrame.lookVector.unit)
- missile.BodyGyro.maxTorque = Vector3.new(5e5,5e5,5e5)
- local new_script = script.Parent.CrossbowBoltScript:clone()
- new_script.Disabled = false
- new_script.Parent = missile
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = vPlayer
- creator_tag.Name = "creator"
- creator_tag.Parent = missile
- missile.Parent = game.Workspace
- end
- Tool.Enabled = true
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local targetPos = humanoid.TargetPoint
- local lookAt = (targetPos - character.Head.Position).unit
- Tool.Handle.FireSound:Play()
- fire(lookAt)
- wait(2)
- Tool.Enabled = true
- end
- script.Parent.Activated:connect(onActivated)
- end))
- Part17.Name = "Bolt"
- Part17.Parent = Tool0
- Part17.BrickColor = BrickColor.new("Dark stone grey")
- Part17.Rotation = Vector3.new(89.9700012, 89.9799957, -89.9700012)
- Part17.RotVelocity = Vector3.new(7.6569333e-05, -2.03606623e-06, -0.00690040272)
- Part17.Velocity = Vector3.new(0.00764258578, 0.0135977957, 5.88865078e-07)
- Part17.FormFactor = Enum.FormFactor.Plate
- Part17.Size = Vector3.new(1, 0.400000006, 2)
- Part17.CFrame = CFrame.new(29.8100681, 1.55006289, 59.7199974, 3.29556471e-08, 7.12915571e-05, 0.99999994, -6.3768347e-08, 1, -7.12915571e-05, -0.99999994, -6.3768347e-08, 3.2960191e-08)
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part17.Position = Vector3.new(29.8100681, 1.55006289, 59.7199974)
- Part17.Orientation = Vector3.new(0, 90, 0)
- Part17.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh18.Parent = Part17
- SpecialMesh18.MeshId = "http://www.roblox.com/asset/?id=15887356"
- SpecialMesh18.TextureId = "http://www.roblox.com/asset/?id=15886781"
- SpecialMesh18.MeshType = Enum.MeshType.FileMesh
- Sound19.Name = "HitSound"
- Sound19.Parent = Part17
- Sound19.SoundId = "http://www.roblox.com/asset/?id=16211030"
- Sound19.Volume = 1
- BodyGyro20.Parent = Part17
- BodyGyro20.maxTorque = Vector3.new(0, 0, 0)
- BodyGyro20.MaxTorque = Vector3.new(0, 0, 0)
- LocalScript21.Name = "BackGun"
- LocalScript21.Parent = Tool0
- table.insert(cors,sandbox(LocalScript21,function()
- --made by alextomcool!!!---Edited by Sparttan.
- --to use: put in type of gun: barrel point left, barrel point right or bull-pup(main hande is in the middle of the gun)
- --step 2: put in what type of wepoan it is: assult rifle or pistol(there will be more)
- --to do list: make it easyer to modife how it weld's.
- guntype = 1--1 is assult rifle, 2 is bullpup, 3 is pistol, 4 is knife
- weldmode = 3--1 is barrel point upper-left, 2 is barrel pointing upper-right, 3 is barrel point lower-left and 4 is barrel point lower-right
- -------(note: if it is pistol or knife then 1 is on right leg, 2 is on left leg, 3 is in the back of your pants and 4 is in the front of your pants)
- model = nil--gun model, that is
- distance = 0.75--this is the distance between the part(torso/leg) and the gun. DON'T MAKE negitive
- rotation = 45--this is the turning in degrees.
- --this area is mode more for someone who's already good at gun's. please do not get mad at me if you don't understand what's under here
- y = 0--this is what's added to the current y value. positive number's make it go down. negative make's it go up
- x = 0--this is what's added to the x value(it's really the z value but it look's like the x value when on your back). positive number's make it go left. negative make's it go right
- -------------------------------------------------------------------------------------------------------------------------------------------------------------------
- --I suggest not doing anything else under here. All you should have to change is the weldmode and guntype.
- --guntype 1 and weldmode 1 is for assault. guntype 3 and weldmode 1 is pistol position.
- --Those are what I have done so far so give me time so I can edit them into the correct position.
- -------------------------------------------------------------------------------------------------------------------------------------------------------------------
- parts = {}
- local n = 1
- --can i have my
- function on(mouse)
- if model == nil then
- n = 1
- local m = Instance.new("Model")
- local all = script.Parent:GetChildren()
- for i = 1, #all do
- if all[i].className == "Part" then
- parts[n] = all[i].Transparency
- local brick = all[i]:clone()
- brick.Parent = m
- n = n +1
- end
- end
- wait()
- if model == nil then
- local weld = script:FindFirstChild("Weld2")
- if weld ~= nil then
- local new = weld:clone()
- new.Disabled = false
- new.Parent = m
- m.Name = script.Parent.Name
- m.Parent = script.Parent.Parent
- model = m
- local handle = model:FindFirstChild("Handle")
- if handle ~= nil then
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- if guntype == 1 then
- local torso = model.Parent:FindFirstChild("Torso")
- if torso ~= nil then
- if weldmode == 1 then--barrel pointing upper-right
- local w = Instance.new("Weld")
- w.Part0 = torso
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance *-1, 0.25 +y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), (math.pi / 2), 0)
- elseif weldmode == 2 then--barrel pointing upper-left
- local w = Instance.new("Weld")
- w.Part0 = torso
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance, 0.25 +y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), (math.pi / 2 ) *-1, 0)
- elseif weldmode == 3 then--barrel pointing upside-right
- local w = Instance.new("Weld")
- w.Part0 = torso
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance *-1, -0.1+y, 0.2 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), (math.pi / 2), -1.5)
- elseif weldmode == 4 then--barrel pointing upside-left
- local w = Instance.new("Weld")
- w.Part0 = torso
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance, 0.25+y, -0.75 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), (math.pi / 2 +rotation) *-1.1, 1)
- end
- end
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- elseif guntype == 2 then--BullPup
- local torso = model.Parent:FindFirstChild("Torso")
- if torso ~= nil then
- if weldmode == 1 then--barrel pointing upper-right
- local w = Instance.new("Weld")
- w.Part0 = torso
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance *-1, 0.25+y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), math.pi / 2, 0)
- elseif weldmode == 2 then--barrel pointing upper-left
- local w = Instance.new("Weld")
- w.Part0 = torso
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation *-1), math.pi / 2 *-1, 0)
- elseif weldmode == 3 then--barrel pointing upside-right
- local w = Instance.new("Weld")
- w.Part0 = torso
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance *-1, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), math.pi / 2, 0)
- elseif weldmode == 4 then--barrel pointing upside-left
- local w = Instance.new("Weld")
- w.Part0 = torso
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance, 0.25 +y, -0.5 +x *-1) * CFrame.fromEulerAnglesXYZ(math.rad(rotation), math.pi / 2 *-1, 0)
- end
- end
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- elseif guntype == 3 then--pistol
- local lleg = model.Parent:FindFirstChild("Left Leg")
- local rleg = model.Parent:FindFirstChild("Right Leg")
- if lleg ~= nil and rleg ~= nil then
- if weldmode == 1 then--pistol on right leg
- local w = Instance.new("Weld")
- w.Part0 = rleg
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance *-1, 0 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0)
- elseif weldmode == 2 then--pistol on left leg
- local w = Instance.new("Weld")
- w.Part0 = lleg
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance, 0 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0)
- elseif weldmode == 3 then--knife in pant's back, gangsta like
- local w = Instance.new("Weld")
- w.Part0 = torso
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance *-1, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi / 2 , math.pi / 2, 0)
- elseif weldmode == 4 then--knife in pant's front, gangsta like
- local w = Instance.new("Weld")
- w.Part0 = torso
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi / 2 , math.pi / 2 *-1, 0)
- end
- end
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- elseif guntype == 4 then--knife
- local lleg = model.Parent:FindFirstChild("Left Leg")
- local rleg = model.Parent:FindFirstChild("Right Leg")
- local torso = model.Parent:FindFirstChild("Torso")
- if lleg ~= nil and rleg ~= nil and torso ~= nil then
- if weldmode == 1 then--pistol on right leg
- local w = Instance.new("Weld")
- w.Part0 = rleg
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance *-1, 0.15 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi, 0, 0)
- elseif weldmode == 2 then--pistol on left leg
- local w = Instance.new("Weld")
- w.Part0 = lleg
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance, 0.15 +y, -0.25 +x *-1) * CFrame.fromEulerAnglesXYZ(math.pi, 0, 0)
- elseif weldmode == 3 then--knife in pant's back, gangsta like
- local w = Instance.new("Weld")
- w.Part0 = torso
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance *-1, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi , math.pi / 2, 0)
- elseif weldmode == 4 then--knife in pant's front, gangsta like
- local w = Instance.new("Weld")
- w.Part0 = torso
- w.Parent = w.Part0
- w.Part1 = handle
- w.C1 = CFrame.new(distance, 0 +y, 0.25 +x) * CFrame.fromEulerAnglesXYZ(math.pi , math.pi / 2 *-1, 0)
- end
- end
- end
- end
- end
- end
- end
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- if model ~= nil then
- n = 1
- local all = model:GetChildren()
- for i = 1, #all do
- if all[i].className == "Part" then
- all[i].Transparency = 1
- end
- end
- end
- end
- --check
- function off(mouse)
- if model ~= nil then
- n = 1
- local all = model:GetChildren()
- for i = 1, #all do
- if all[i].className == "Part" then
- all[i].Transparency = parts[n]
- local Do = true
- if Do then
- Do = false--dude!
- n = n +1
- end
- end
- end
- end
- end
- --please?
- script.Parent.Equipped:connect(on)
- script.Parent.Unequipped:connect(off)
- end))
- LocalScript22.Name = "Weld2"
- LocalScript22.Parent = LocalScript21
- LocalScript22.Disabled = true
- table.insert(cors,sandbox(LocalScript22,function()
- function Weld(x,y)
- local W = Instance.new("Weld")
- W.Part0 = x
- W.Part1 = y
- local CJ = CFrame.new(x.Position)
- local C0 = x.CFrame:inverse()*CJ
- local C1 = y.CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = x
- end
- function Get(A)
- if A.className == "Part" then
- Weld(script.Parent.Handle, A)
- A.Anchored = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Get(C[i])
- end
- end
- end
- local yes = true
- if yes then
- yes = false
- Get(script.Parent)
- end
- function onDied()
- script.Parent.Parent = nil
- end
- h = script.Parent.Parent:FindFirstChild("Humanoid")
- if h ~= nil then
- h.Died:connect(onDied)
- end
- end))
- Tool23.Name = "FissionBlackHoleBomb"
- Tool23.Parent = mas
- Tool23.GripForward = Vector3.new(-0, 1, -0)
- Tool23.GripUp = Vector3.new(0, 0, 1)
- Part24.Name = "Handle"
- Part24.Parent = Tool23
- Part24.Rotation = Vector3.new(-89.9499969, 0, 179.539993)
- Part24.FormFactor = Enum.FormFactor.Symmetric
- Part24.Shape = Enum.PartType.Ball
- Part24.Size = Vector3.new(2, 2, 2)
- Part24.CFrame = CFrame.new(-16.3574963, 4.5989399, -62.6951408, -0.999967933, -0.00797146745, -6.34748039e-06, -3.72146801e-12, -0.000796274282, 0.999999642, -0.00797146931, 0.999967694, 0.000796248845)
- Part24.BottomSurface = Enum.SurfaceType.Smooth
- Part24.TopSurface = Enum.SurfaceType.Smooth
- Part24.Position = Vector3.new(-16.3574963, 4.5989399, -62.6951408)
- Part24.Orientation = Vector3.new(-89.9499969, -0.459999979, -180)
- SpecialMesh25.Parent = Part24
- SpecialMesh25.MeshId = "http://www.roblox.com/asset/?id=27295548"
- SpecialMesh25.TextureId = "http://www.roblox.com/asset/?id=27295594"
- SpecialMesh25.MeshType = Enum.MeshType.FileMesh
- Script26.Name = "PlantBomb"
- Script26.Parent = Tool23
- table.insert(cors,sandbox(Script26,function()
- local bombScript = script.Parent.Bomb
- local Tool = script.Parent
- local Bomb = Tool.Handle
- function plant()
- local bomb2 = Instance.new("Part")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local spawnPos = Bomb.Position
- bomb2.Position = Vector3.new(spawnPos.x, spawnPos.y+3, spawnPos.z)
- bomb2.Size = Vector3.new(2,2,2)
- bomb2.BrickColor = BrickColor.new(21)
- bomb2.Shape = 0
- bomb2.BottomSurface = 0
- bomb2.TopSurface = 0
- bomb2.Material = "Neon"
- bomb2.Reflectance = 0
- bomb2.Name = "TimeBomb"
- bomb2.Locked = true
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = vPlayer
- creator_tag.Name = "creator"
- creator_tag.Parent = bomb2
- bomb2.Parent = game.Workspace
- local new_script = bombScript:clone()
- new_script.Disabled = false
- new_script.Parent = bomb2
- wait(3)
- NWS2 = script.Parent.Script:Clone()
- NWS2.Disabled = false
- NWS2.Parent = bomb2
- wait(0.3)
- for bomby = 1,21 do
- wait()
- bomb2.Size = bomb2.Size + Vector3.new(1,1,1)
- end
- end
- Tool.Enabled = true
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local targetPos = humanoid.TargetPoint
- Bomb.Transparency = 1.0
- plant()
- wait(9)
- Bomb.Transparency = 0.0
- Tool.Enabled = true
- end
- function onUnequipped()
- end
- Tool.Activated:connect(onActivated)
- Tool.Unequipped:connect(onUnequipped)
- end))
- Script27.Name = "Bomb"
- Script27.Parent = Tool23
- Script27.Disabled = true
- table.insert(cors,sandbox(Script27,function()
- local updateInterval = .4
- local currentColor = 1
- local colors = {26, 21,45,67,23,65}
- local trans = {0.2,0.3,0.4,0.5,0.6,0.1,0}
- local ticksound = Instance.new("Sound")
- ticksound.SoundId = "rbxasset://sounds\\clickfast.wav"
- ticksound.Parent = script.Parent
- function update()
- updateInterval = updateInterval * .9
- script.Parent.BrickColor = BrickColor.new(colors[currentColor])
- script.Parent.Transparency = trans[math.random(1,#trans)]
- currentColor = currentColor + 1
- if (currentColor > 2) then currentColor = 1 end
- end
- Bomb = script.Parent
- function blowUp()
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxasset://sounds\\Rocket shot.wav"
- sound.Parent = script.Parent
- sound.Volume = 1
- sound:play()
- explosion = Instance.new("Explosion")
- explosion.BlastRadius = 455
- explosion.BlastPressure = 1000000 -- these are really wussy units
- local bomb2 = Instance.new("Part")
- bomb2.Position =script.Parent.Position
- bomb2.Size = Vector3.new(2,2,2)
- bomb2.Parent = workspace
- bomb2.BrickColor = BrickColor.new("New Yeller")
- bomb2.Shape = 0
- bomb2.BottomSurface = 0
- bomb2.Anchored = true
- bomb2.TopSurface = 0
- bomb2.Material = "Neon"
- bomb2.Reflectance = 0
- bomb2.Name = "TimeBomb"
- bomb2.Locked = true
- -- find instigator tag
- local creator = script.Parent:findFirstChild("creator")
- if creator ~= nil then
- explosion.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance, creator) end)
- end
- explosion.Position = script.Parent.Position
- explosion.Parent = game.Workspace
- script.Parent.Transparency = 1
- for n = 1,12 do
- wait()
- bomb2.Size = bomb2.Size + Vector3.new(2,2,2)
- end
- bomb2:Destroy()
- end
- function onPlayerBlownUp(part, distance, creator)
- if part.Name == "Head" then
- local humanoid = part.Parent.Humanoid
- tagHumanoid(humanoid, creator)
- end
- end
- function tagHumanoid(humanoid, creator)
- -- tag does not need to expire iff all explosions lethal
- if creator ~= nil then
- local new_tag = creator:clone()
- new_tag.Parent = humanoid
- end
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- while updateInterval > .1 do
- wait(0.001)
- update()
- ticksound:play()
- end
- blowUp()
- wait(2)
- script.Parent:remove()
- end))
- LocalScript28.Name = "MouseIcon"
- LocalScript28.Parent = Tool23
- table.insert(cors,sandbox(LocalScript28,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))
- Script29.Parent = Tool23
- Script29.Disabled = true
- table.insert(cors,sandbox(Script29,function()
- local hole = script.Parent
- local childList = {}
- local massConstant = 22.34 -- Generally a good value
- local mass = 124343.112 * massConstant
- -- This is basically a function that finds all unanchored parts and adds them to childList.
- -- Note: This should only be run once for each object
- function checkObject(obj)
- if (obj ~= hole) and (obj.className == "Part") then
- if (obj.Anchored == false) then
- table.insert(childList, 1, obj)
- end
- elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
- local child = obj:GetChildren()
- for x = 1, #child do
- checkObject(child[x])
- end
- obj.ChildAdded:connect(checkObject)
- end
- end
- checkObject(workspace)
- print("Black Hole script loaded.")
- local n = 0
- while true do
- if n < #childList then
- n = n + 1
- if n % 800 == 0 then
- wait()
- end
- else
- n = 1
- wait()
- end
- local child = childList[n]
- if (child ~= hole) and (child.className == "Part") and (child.Anchored == false) then
- local relPos = hole.Position - child.Position
- local motivator = child:FindFirstChild("BlackHole Influence")
- if relPos.magnitude * 240 * massConstant < mass then
- child:BreakJoints()
- if (relPos.magnitude * 320 * massConstant < mass) and (child.Size.z + hole.Size.x > relPos.magnitude * 2 - 4) then
- mass = mass + child:GetMass()
- child:Remove()
- table.remove(childList, n)
- n = n - 1 -- This is the reason I need a counter of my own design
- else
- child.CanCollide = false -- I Can assume that things won't escape the black hole.
- if motivator == nil then
- motivator = Instance.new("BodyPosition")
- motivator.Parent = child
- motivator.Name = "BlackHole Influence"
- end
- motivator.position = hole.Position
- motivator.maxForce = Vector3.new(1, 1, 1) * mass * child:GetMass() / (relPos.magnitude * massConstant)
- end
- elseif motivator ~= nil then
- motivator:Remove()
- end
- end
- end
- end))
- Tool30.Name = "Fly"
- Tool30.Parent = mas
- Part31.Name = "Missile"
- Part31.Parent = Tool30
- Part31.Transparency = 1
- Part31.Rotation = Vector3.new(90, -45, 90.0199966)
- Part31.FormFactor = Enum.FormFactor.Custom
- Part31.Size = Vector3.new(2, 2, 1.20000005)
- Part31.CFrame = CFrame.new(37.545845, 11.3132257, 33.2476311, -0.000282514171, -0.707105935, -0.707107544, 0.000282514171, 0.707106948, -0.707106531, 0.999999344, -0.000398885226, -3.98868327e-10)
- Part31.BottomSurface = Enum.SurfaceType.Weld
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part31.Position = Vector3.new(37.545845, 11.3132257, 33.2476311)
- Part31.Orientation = Vector3.new(45, -90, 0.0199999996)
- ParticleEmitter32.Parent = Part31
- ParticleEmitter32.Size = NumberSequence.new(5,7.5,2.4374997615814,2.8749995231628,4.7499995231628,8,2.8749995231628,4.625,2.8749995231628,5)
- ParticleEmitter32.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.666667, 0),Color3.new(0.65098, 0.458824, 0.101961),Color3.new(1, 0.333333, 0),Color3.new(1, 0, 0),Color3.new(1, 0.666667, 0.498039),Color3.new(0.666667, 0, 0),Color3.new(1, 1, 0),Color3.new(1, 1, 1))
- ParticleEmitter32.LightEmission = 33
- ParticleEmitter32.Lifetime = NumberRange.new(1, 4)
- ParticleEmitter32.Rate = 1001313216
- ParticleEmitter32.Speed = NumberRange.new(4, 4)
- ParticleEmitter32.VelocitySpread = 45
- ParticleEmitter32.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.666667, 0),Color3.new(0.65098, 0.458824, 0.101961),Color3.new(1, 0.333333, 0),Color3.new(1, 0, 0),Color3.new(1, 0.666667, 0.498039),Color3.new(0.666667, 0, 0),Color3.new(1, 1, 0),Color3.new(1, 1, 1))
- Part33.Name = "Handle"
- Part33.Parent = Tool30
- Part33.Rotation = Vector3.new(-90.0299988, -45, -90.0199966)
- Part33.FormFactor = Enum.FormFactor.Custom
- Part33.Size = Vector3.new(2, 2, 14)
- Part33.CFrame = CFrame.new(43.201992, 5.65713692, 33.2507782, -0.000281999994, 0.707107365, -0.707106233, 0.000281999994, 0.707106352, 0.707107246, 1, 2.76486528e-10, -0.000398808188)
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.Position = Vector3.new(43.201992, 5.65713692, 33.2507782)
- Part33.Orientation = Vector3.new(-45, -90.0299988, 0.0199999996)
- SpecialMesh34.Parent = Part33
- SpecialMesh34.MeshId = "http://www.roblox.com/asset/?id=103970395"
- SpecialMesh34.Scale = Vector3.new(10, 10, 10)
- SpecialMesh34.TextureId = "http://www.roblox.com/asset/?id=103967643"
- SpecialMesh34.MeshType = Enum.MeshType.FileMesh
- SpecialMesh34.Scale = Vector3.new(10, 10, 10)
- BodyForce35.Parent = Part33
- BodyForce35.force = Vector3.new(0, 8200, 0)
- Script36.Parent = Part33
- table.insert(cors,sandbox(Script36,function()
- while true do
- wait()
- script.Parent.Velocity = script.Parent.CFrame.lookVector * 100
- end
- end))
- ClickDetector37.Parent = Part33
- Weld38.Parent = Part33
- Weld38.Part0 = Part33
- Weld38.Part1 = Part31
- BodyForce39.Parent = Part33
- BodyForce39.force = Vector3.new(234, 3454, 233)
- BodyThrust40.Parent = Part33
- BodyThrust40.force = Vector3.new(0, 3544, 0)
- BodyGyro41.Parent = Part33
- RocketPropulsion42.Parent = Part33
- RocketPropulsion42.MaxSpeed = 23
- RocketPropulsion42.ThrustP = 34
- BodyAngularVelocity43.Parent = Part33
- BodyAngularVelocity43.maxTorque = Vector3.new(1233, 7898, 2344)
- BodyAngularVelocity43.P = 677
- BodyAngularVelocity43.MaxTorque = Vector3.new(1233, 7898, 2344)
- BodyAngularVelocity43.AngularVelocity = Vector3.new(1, 34, 1)
- Tool44.Name = "Insert Rocket"
- Tool44.Parent = mas
- Tool44.GripForward = Vector3.new(-1, -0, -0)
- Tool44.GripPos = Vector3.new(0, 0, -1.5)
- Tool44.GripRight = Vector3.new(0, 1, 0)
- Tool44.GripUp = Vector3.new(0, 0, 1)
- Tool44.ToolTip = "Mostly for fun"
- Part45.Name = "Handle"
- Part45.Parent = Tool44
- Part45.BrickColor = BrickColor.new("Dark stone grey")
- Part45.Reflectance = 0.40000000596046
- Part45.Rotation = Vector3.new(-97.2200012, 3.53999996, 100.159996)
- Part45.Locked = true
- Part45.FormFactor = Enum.FormFactor.Plate
- Part45.Size = Vector3.new(1, 0.800000012, 4)
- Part45.CFrame = CFrame.new(2.1361649, 2.0698061, 28.6099873, -0.176020056, -0.982447624, 0.0617537685, -0.11282704, 0.0824548975, 0.990187585, -0.977899373, 0.167325348, -0.125360385)
- Part45.BottomSurface = Enum.SurfaceType.Smooth
- Part45.TopSurface = Enum.SurfaceType.Smooth
- Part45.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part45.Position = Vector3.new(2.1361649, 2.0698061, 28.6099873)
- Part45.Orientation = Vector3.new(-81.9700012, 153.769989, -53.8400002)
- Part45.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Sound46.Name = "BigSlash"
- Sound46.Parent = Part45
- Sound46.Pitch = 0.69999998807907
- Sound46.SoundId = "rbxassetid://186936370"
- Sound46.Volume = 1
- Sound47.Name = "Blood"
- Sound47.Parent = Part45
- Sound47.Pitch = 0.5
- Sound47.SoundId = "rbxassetid://96667969"
- Sound47.TimePosition = 0.05
- Sound47.Volume = 1
- Sound48.Name = "Hit"
- Sound48.Parent = Part45
- Sound48.Pitch = 0.5
- Sound48.SoundId = "rbxassetid://96667969"
- Sound48.TimePosition = 0.05
- Sound48.Volume = 2
- Sound49.Parent = Part45
- Sound49.SoundId = "rbxasset://sounds/SwordSlash.wav"
- Sound49.Volume = 1
- Sound50.Name = "Swing"
- Sound50.Parent = Part45
- Sound50.SoundId = "rbxassetid://169310429"
- Sound50.Volume = 1
- Sound51.Name = "SwingSpecial"
- Sound51.Parent = Part45
- Sound51.Pitch = 1.2000000476837
- Sound51.SoundId = "rbxassetid://169310429"
- Sound51.Volume = 1
- Fire52.Parent = Part45
- Fire52.Color = Color3.new(0.92549, 0.545098, 0.27451)
- Fire52.Enabled = false
- Fire52.Color = Color3.new(0.92549, 0.545098, 0.27451)
- SpecialMesh53.Parent = Part45
- SpecialMesh53.MeshId = "http://www.roblox.com/asset/?id=31601976"
- SpecialMesh53.Offset = Vector3.new(0, -3, 0)
- SpecialMesh53.Scale = Vector3.new(2, 2, 2)
- SpecialMesh53.TextureId = "http://www.roblox.com/asset/?id=31601599"
- SpecialMesh53.MeshType = Enum.MeshType.FileMesh
- SpecialMesh53.Scale = Vector3.new(2, 2, 2)
- Script54.Name = "qPerfectionWeld"
- Script54.Parent = Tool44
- table.insert(cors,sandbox(Script54,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))
- Script55.Name = "Spark"
- Script55.Parent = Tool44
- Script55.Disabled = true
- table.insert(cors,sandbox(Script55,function()
- wait(6)
- script.Parent:Destroy()--Removes lag and thats it
- end))
- Script56.Name = "WizardStaff"
- Script56.Parent = Tool44
- table.insert(cors,sandbox(Script56,function()
- local Tool = script.Parent;
- enabled = true
- function fire(v)
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local missile = Instance.new("Part")
- local spark = script.Parent.Configuration.Mesh:Clone()
- local swoosh = script.Parent.Configuration.Rocket:Clone()
- --local SparkSound = Instance.new("Sound")
- --SparkSound.Name = "SparkSound"
- --SparkSound.SoundId = "http://www.roblox.com/asset/?id=10756104"
- --SparkSound.Parent = missile
- --SparkSound.Volume = 1
- --SparkSound.Looped = true
- spark.Parent = missile
- swoosh.Parent = missile
- swoosh:Play()
- local spawnPos = vCharacter.PrimaryPart.Position
- spawnPos = spawnPos + (v * 10)
- missile.Position = spawnPos
- missile.Size = Vector3.new(1,1,1)
- missile.Velocity = v * 50
- missile.BrickColor = BrickColor.new(26)
- missile.Shape = 0
- missile.Orientation = Vector3.new(0, 0, -180)
- missile.Transparency = 0
- missile.BottomSurface = 0
- missile.TopSurface = 0
- missile.Name = "Spark"
- missile.Reflectance = 1
- local staff1 = script.Parent.SwordBlast.Tornado:Clone()
- staff1.Parent = missile
- local staff3 = script.Parent.SwordBlast.sMOKE:Clone()
- staff3.Parent = missile
- local force = Instance.new("BodyForce")
- force.force = Vector3.new(0,98,0)
- force.Parent = missile
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = vPlayer
- creator_tag.Name = "creator"
- creator_tag.Parent = missile
- local new_script = script.Parent.Spark:clone()
- new_script.Disabled = false
- new_script.Parent = missile
- missile.Parent = game.Workspace
- --SparkSound:Play()
- end
- function isTurbo(character)
- return character:FindFirstChild("BoltHelm") ~= nil
- end
- function onActivated()
- if not enabled then
- return
- end
- enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local targetPos = humanoid.TargetPoint
- local lookAt = (targetPos - character.Head.Position).unit
- local reload = .5
- if (isTurbo(character)) then
- reload = .25
- print("turbo")
- end
- fire(lookAt)
- wait(reload)
- wait(reload)
- enabled = true
- end
- --function onEquipped()
- --Tool.Handle.EquipSound:play()
- --end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- end))
- LocalScript57.Name = "Local Gui"
- LocalScript57.Parent = Tool44
- table.insert(cors,sandbox(LocalScript57,function()
- local Tool = script.Parent;
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- enabled = false
- mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
- wait(5)
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- Tool.Equipped:connect(onEquippedLocal)
- end))
- Folder58.Name = "Configuration"
- Folder58.Parent = Tool44
- SpecialMesh59.Parent = Folder58
- SpecialMesh59.MeshId = "http://www.roblox.com/asset/?id=31601976"
- SpecialMesh59.Offset = Vector3.new(0, -3, 0)
- SpecialMesh59.Scale = Vector3.new(2, 2, 2)
- SpecialMesh59.TextureId = "http://www.roblox.com/asset/?id=31601599"
- SpecialMesh59.MeshType = Enum.MeshType.FileMesh
- SpecialMesh59.Scale = Vector3.new(2, 2, 2)
- Sound60.Name = "Rocket"
- Sound60.Parent = Folder58
- Sound60.Pitch = 0.80000001192093
- Sound60.SoundId = "rbxasset://sounds/Rocket whoosh 01.wav"
- Sound60.Volume = 2
- Part61.Name = "SwordBlast"
- Part61.Parent = Tool44
- Part61.Material = Enum.Material.Brick
- Part61.BrickColor = BrickColor.new("Black")
- Part61.Transparency = 1
- Part61.Rotation = Vector3.new(132.929993, 84.0599976, -136.199997)
- Part61.CanCollide = false
- Part61.Size = Vector3.new(0.308559448, 0.731596649, 0.0695103928)
- Part61.CFrame = CFrame.new(2.13599992, 2.06983805, 28.6099968, -0.0746570006, 0.0715889856, 0.994636357, -0.0542050004, 0.995653868, -0.0757308453, -0.99573499, -0.0595680922, -0.0704520568)
- Part61.BottomSurface = Enum.SurfaceType.Smooth
- Part61.TopSurface = Enum.SurfaceType.Smooth
- Part61.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part61.Position = Vector3.new(2.13599992, 2.06983805, 28.6099968)
- Part61.Orientation = Vector3.new(4.33999968, 94.0499954, -3.11999989)
- Part61.Color = Color3.new(0.105882, 0.164706, 0.207843)
- ParticleEmitter62.Name = "Tornado"
- ParticleEmitter62.Parent = Part61
- ParticleEmitter62.Transparency = NumberSequence.new(1,0.84375,0.39999997615814,0.3125,0.78125,0.93124997615814,0.52499997615814,0.60000002384186,1)
- ParticleEmitter62.Size = NumberSequence.new(2.2000000476837,0,0.68749964237213,2.4374997615814,7.625,0.18750011920929)
- ParticleEmitter62.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.333333, 0),Color3.new(1, 1, 0.498039))
- ParticleEmitter62.LightEmission = 0.64999997615814
- ParticleEmitter62.Texture = "rbxassetid://286708119"
- ParticleEmitter62.ZOffset = 1
- ParticleEmitter62.Lifetime = NumberRange.new(0.5, 0.5)
- ParticleEmitter62.Rate = 324324
- ParticleEmitter62.RotSpeed = NumberRange.new(12, 12)
- ParticleEmitter62.Speed = NumberRange.new(23, 23)
- ParticleEmitter62.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.333333, 0),Color3.new(1, 1, 0.498039))
- ParticleEmitter63.Name = "sMOKE"
- ParticleEmitter63.Parent = Part61
- ParticleEmitter63.Transparency = NumberSequence.new(0.5,0.88125002384186,0.33125001192093,0.36250001192093,0.050000011920929,0.80000001192093,0.5)
- ParticleEmitter63.Size = NumberSequence.new(2.2000000476837,0.99999964237213,1.4999997615814,2.8749995231628,6.5,0.18750011920929)
- ParticleEmitter63.Color = ColorSequence.new(Color3.new(0.32549, 0.32549, 0.32549),Color3.new(0.47451, 0.47451, 0.47451),Color3.new(0.588235, 0.588235, 0.588235))
- ParticleEmitter63.LightEmission = 0.64999997615814
- ParticleEmitter63.Texture = "rbxassetid://286708119"
- ParticleEmitter63.ZOffset = 1
- ParticleEmitter63.Lifetime = NumberRange.new(0.5, 0.5)
- ParticleEmitter63.Rate = 324324
- ParticleEmitter63.RotSpeed = NumberRange.new(12, 12)
- ParticleEmitter63.Speed = NumberRange.new(23, 23)
- ParticleEmitter63.Color = ColorSequence.new(Color3.new(0.32549, 0.32549, 0.32549),Color3.new(0.47451, 0.47451, 0.47451),Color3.new(0.588235, 0.588235, 0.588235))
- Script64.Name = "Help"
- Script64.Parent = Tool44
- table.insert(cors,sandbox(Script64,function()
- --[[{{Help to edit scripts, well okay}}
- 1. Do not edit the Perfection weld or the local gui, you can only edit spark, WizardStaff or Configuration where the Rocket and mesh, also you can edit the Particle effects
- 2. Only if you need help, you can't use any script that uses scripts that delete the tool itself
- 3. If you don't know to script, you can learn from the wiki or via youtube or roblox itself
- 4. If you want to delete this script which your reading, yes you can, and allowed to do that
- 5. This is the last one, i actually made this from studio, this tool is by me, mostly animescapetower
- ]]
- end))
- ObjectValue65.Name = "Double click help! to enter the help script, or other scripts, bricks or models to edit"
- ObjectValue65.Parent = Tool44
- ObjectValue65.Value = Script64
- ObjectValue66.Name = "Read first before deleting me"
- ObjectValue66.Parent = ObjectValue65
- ObjectValue66.Value = Script64
- Tool67.Name = "Knife"
- Tool67.Parent = mas
- Tool67.GripPos = Vector3.new(0, -1.85000002, 0.0500000007)
- Tool67.ToolTip = "Press q to activate the knife,n,z,q,x.c, are only avalible when activated."
- Part68.Name = "Handle"
- Part68.Parent = Tool67
- Part68.Transparency = 1
- Part68.Rotation = Vector3.new(-90, 0, -90)
- Part68.RotVelocity = Vector3.new(1, 1, 1)
- Part68.Locked = true
- Part68.Size = Vector3.new(0.25, 5, 1)
- Part68.CFrame = CFrame.new(13.729064, 1.95001113, -68.7912216, 0, 1, 0, 0, 0, 0.999999881, 1, 0, 0)
- Part68.BottomSurface = Enum.SurfaceType.Smooth
- Part68.TopSurface = Enum.SurfaceType.Smooth
- Part68.Position = Vector3.new(13.729064, 1.95001113, -68.7912216)
- Part68.Orientation = Vector3.new(-89.9700012, 0, 0)
- SpecialMesh69.Parent = Part68
- SpecialMesh69.Scale = Vector3.new(0.75, 0.75, 0.75)
- SpecialMesh69.TextureId = "rbxassetid://532156041"
- SpecialMesh69.MeshType = Enum.MeshType.FileMesh
- SpecialMesh69.Scale = Vector3.new(0.75, 0.75, 0.75)
- Sound70.Name = "Lunge"
- Sound70.Parent = Part68
- Sound70.Pitch = 1.25
- Sound70.SoundId = "http://www.roblox.com/asset/?id=12222208"
- Sound71.Name = "Slash"
- Sound71.Parent = Part68
- Sound71.Pitch = 1.5
- Sound71.SoundId = "http://www.roblox.com/asset/?id=12222216"
- Sound71.Volume = 0.75
- Sound72.Name = "Unsheath"
- Sound72.Parent = Part68
- Sound72.Pitch = 1.125
- Sound72.SoundId = "http://www.roblox.com/asset/?id=12222225"
- ParticleEmitter73.Name = "Fire"
- ParticleEmitter73.Parent = Part68
- ParticleEmitter73.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter73.Rotation = NumberRange.new(0, 5)
- ParticleEmitter73.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter73.Color = ColorSequence.new(Color3.new(1, 0.666667, 1),Color3.new(0.333333, 0, 0.498039))
- ParticleEmitter73.Enabled = false
- ParticleEmitter73.LightEmission = 0.89999997615814
- ParticleEmitter73.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter73.ZOffset = 0.34999999403954
- ParticleEmitter73.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter73.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter73.Rate = 1000
- ParticleEmitter73.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter73.Speed = NumberRange.new(-1.1000000238419, -1.1000000238419)
- ParticleEmitter73.Color = ColorSequence.new(Color3.new(1, 0.666667, 1),Color3.new(0.333333, 0, 0.498039))
- Animation74.Name = "Equip"
- Animation74.Parent = Tool67
- Animation74.AnimationId = "rbxassetid://0"
- Animation75.Name = "Explode"
- Animation75.Parent = Tool67
- Animation75.AnimationId = "rbxassetid://0"
- Animation76.Name = "LeftSlash"
- Animation76.Parent = Tool67
- Animation76.AnimationId = "rbxassetid://0"
- Animation77.Name = "RightSlash"
- Animation77.Parent = Tool67
- Animation77.AnimationId = "rbxassetid://0"
- Animation78.Name = "SideSwipe"
- Animation78.Parent = Tool67
- Animation78.AnimationId = "rbxassetid://0"
- Animation79.Name = "Swing"
- Animation79.Parent = Tool67
- Animation79.AnimationId = "rbxassetid://0"
- LocalScript80.Name = "MouseIcon"
- LocalScript80.Parent = Tool67
- table.insert(cors,sandbox(LocalScript80,function()
- --Made by Luckymaxer
- Mouse_Icon = "rbxasset://textures/GunCursor.png"
- Reloading_Icon = "rbxasset://textures/GunWaitCursor.png"
- Tool = script.Parent
- Mouse = nil
- function UpdateIcon()
- if Mouse then
- Mouse.Icon = Tool.Enabled and Mouse_Icon or Reloading_Icon
- end
- end
- function OnEquipped(ToolMouse)
- Mouse = ToolMouse
- UpdateIcon()
- end
- function OnChanged(Property)
- if Property == "Enabled" then
- UpdateIcon()
- end
- end
- Tool.Equipped:connect(OnEquipped)
- Tool.Changed:connect(OnChanged)
- end))
- LocalScript81.Parent = Tool67
- table.insert(cors,sandbox(LocalScript81,function()
- --Made by Luckymaxer
- Tool = script.Parent
- Handle = Tool:WaitForChild("Handle")
- Players = game:GetService("Players")
- RunService = game:GetService("RunService")
- Animations = {}
- ServerControl = Tool:WaitForChild("ServerControl")
- ClientControl = Tool:WaitForChild("ClientControl")
- Rate = (1 / 60)
- ToolEquipped = false
- function SetAnimation(mode, value)
- if mode == "PlayAnimation" and value and ToolEquipped and Humanoid then
- for i, v in pairs(Animations) do
- if v.Animation == value.Animation then
- v.AnimationTrack:Stop()
- table.remove(Animations, i)
- end
- end
- local AnimationTrack = Humanoid:LoadAnimation(value.Animation)
- table.insert(Animations, {Animation = value.Animation, AnimationTrack = AnimationTrack})
- AnimationTrack:Play(value.FadeTime, value.Weight, value.Speed)
- elseif mode == "StopAnimation" and value then
- for i, v in pairs(Animations) do
- if v.Animation == value.Animation then
- v.AnimationTrack:Stop(value.FadeTime)
- table.remove(Animations, i)
- end
- end
- end
- end
- function KeyPressed(Key, Down)
- InvokeServer("KeyPressed", {Key = Key, Down = Down})
- end
- function CheckIfAlive()
- return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Player and Player.Parent) and true) or false)
- end
- function Equipped(Mouse)
- Character = Tool.Parent
- Player = Players:GetPlayerFromCharacter(Character)
- Humanoid = Character:FindFirstChild("Humanoid")
- ToolEquipped = true
- if not CheckIfAlive() then
- return
- end
- PlayerMouse = Mouse
- PlayerMouse.KeyDown:connect(function(Key)
- KeyPressed(Key, true)
- end)
- PlayerMouse.KeyUp:connect(function(Key)
- KeyPressed(Key, false)
- end)
- end
- function Unequipped()
- for i, v in pairs(Animations) do
- if v and v.AnimationTrack then
- v.AnimationTrack:Stop()
- end
- end
- Animations = {}
- ToolEquipped = false
- end
- function InvokeServer(mode, value)
- local ServerReturn
- pcall(function()
- ServerReturn = ServerControl:InvokeServer(mode, value)
- end)
- return ServerReturn
- end
- function OnClientInvoke(mode, value)
- if mode == "PlayAnimation" and value and ToolEquipped and Humanoid then
- SetAnimation("PlayAnimation", value)
- elseif mode == "StopAnimation" and value then
- SetAnimation("StopAnimation", value)
- elseif mode == "PlaySound" and value then
- value:Play()
- elseif mode == "StopSound" and value then
- value:Stop()
- elseif mode == "MouseData" then
- return ((PlayerMouse and {Position = PlayerMouse.Hit.p, Target = PlayerMouse.Target}) or nil)
- end
- end
- ClientControl.OnClientInvoke = OnClientInvoke
- Tool.Equipped:connect(Equipped)
- Tool.Unequipped:connect(Unequipped)
- end))
- Script82.Parent = Tool67
- table.insert(cors,sandbox(Script82,function()
- --Made by Luckymaxer
- Tool = script.Parent
- Handle = Tool:WaitForChild("Handle")
- Fire = Handle:WaitForChild("Fire")
- Players = game:GetService("Players")
- Debris = game:GetService("Debris")
- RunService = game:GetService("RunService")
- RbxUtility = LoadLibrary("RbxUtility")
- Create = RbxUtility.Create
- DeathEffect = script:WaitForChild("DeathEffect")
- DamageValues = {
- BaseDamage = 0,
- SlashDamage = 0,
- LungeDamage = 0,
- }
- Damage = DamageValues.BaseDamage
- BaseUrl = "http://www.roblox.com/asset/?id="
- BasePart = Instance.new("Part")
- BasePart.Shape = Enum.PartType.Block
- BasePart.Material = Enum.Material.Plastic
- BasePart.TopSurface = Enum.SurfaceType.Smooth
- BasePart.BottomSurface = Enum.SurfaceType.Smooth
- BasePart.FormFactor = Enum.FormFactor.Custom
- BasePart.Size = Vector3.new(0.2, 0.2, 0.2)
- BasePart.CanCollide = true
- BasePart.Locked = true
- BasePart.Anchored = false
- Special = {
- Active = false,
- Enabled = true,
- Duration = 15,
- CoolDown = 10,
- }
- Animations = {
- Equip = {Animation = Tool:WaitForChild("Equip"), FadeTime = nil, Weight = nil, Speed = 0.7, Duration = 1},
- LeftSlash = {Animation = Tool:WaitForChild("LeftSlash"), FadeTime = nil, Weight = nil, Speed = 1.5, Duration = 0.75},
- RightSlash = {Animation = Tool:WaitForChild("RightSlash"), FadeTime = nil, Weight = nil, Speed = 1.5, Duration = 0.75},
- SideSwipe = {Animation = Tool:WaitForChild("SideSwipe"), FadeTime = nil, Weight = nil, Speed = 0.8, Duration = 0.75},
- Explode = {Animation = Tool:WaitForChild("Explode"), FadeTime = 0.25, Weight = nil, Speed = 2, Duration = 0.75},
- }
- Sounds = {
- Unsheath = Handle:WaitForChild("Unsheath"),
- Slash = Handle:WaitForChild("Slash"),
- Lunge = Handle:WaitForChild("Lunge"),
- }
- Grips = {
- Up = CFrame.new(0, -1.85, 0.05, 1, 0, -0, 0, 1, 0, 0, 0, 1),
- Out = CFrame.new(0, -1.85, 0.05, 1, 0, 0, 0, 0, -1, -0, 1, 0),
- }
- LastAttack = 0
- ToolEquipped = false
- ServerControl = (Tool:FindFirstChild("ServerControl") or Create("RemoteFunction"){
- Name = "ServerControl",
- Parent = Tool,
- })
- ClientControl = (Tool:FindFirstChild("ClientControl") or Create("RemoteFunction"){
- Name = "ClientControl",
- Parent = Tool,
- })
- Handle.Transparency = 0
- Fire.Enabled = false
- Tool.Grip = Grips.Up
- Tool.Enabled = true
- function IsTeamMate(Player1, Player2)
- return (Player1 and Player2 and not Player1.Neutral and not Player2.Neutral and Player1.TeamColor == Player2.TeamColor)
- end
- function TagHumanoid(humanoid, player)
- local Creator_Tag = Create("ObjectValue"){
- Name = "creator",
- Value = player,
- }
- Debris:AddItem(Creator_Tag, 2)
- Creator_Tag.Parent = humanoid
- end
- function UntagHumanoid(humanoid)
- for i, v in pairs(humanoid:GetChildren()) do
- if v:IsA("ObjectValue") and v.Name == "creator" then
- v:Destroy()
- end
- end
- end
- function CheckTableForInstance(Table, Instance)
- for i, v in pairs(Table) do
- if v == Instance then
- return true
- end
- end
- return false
- end
- function GetTotalParts(MaxParts, PossibleParts, Parts)
- if MaxParts < PossibleParts then
- return MaxParts
- elseif Parts >= MaxParts then
- return 0
- elseif MaxParts >= PossibleParts then
- local PartCount = (MaxParts - PossibleParts)
- if Parts <= MaxParts then
- PartCount = (MaxParts - Parts)
- if PartCount > PossibleParts then
- return PossibleParts
- else
- return PartCount
- end
- elseif PartCount >= PossibleParts then
- return PossibleParts
- else
- return PartCount
- end
- end
- end
- function GetParts(Region, MaxParts, Ignore)
- local Parts = {}
- local RerunFailed = false
- while #Parts < MaxParts and not RerunFailed do
- local Region = Region
- local PossibleParts = GetTotalParts(MaxParts, 3000, #Parts)
- local PartsNearby = game:GetService("Workspace"):FindPartsInRegion3WithIgnoreList(Region, Ignore, PossibleParts)
- if #PartsNearby == 0 then
- RerunFailed = true
- else
- for i, v in pairs(PartsNearby) do
- table.insert(Parts, v)
- table.insert(Ignore, v)
- end
- end
- end
- return Parts
- end
- function ApplyDeathEffect(character, Direction, Force)
- local Direction = (Direction or Vector3.new(0, 0, 0))
- local Force = (Force or Vector3.new(0, 0, 0))
- local humanoid = character:FindFirstChild("Humanoid")
- if not humanoid then
- return
- end
- local DeathEffectCopy = character:FindFirstChild(DeathEffect.Name)
- if DeathEffectCopy then
- return
- end
- DeathEffectCopy = DeathEffect:Clone()
- DeathEffectCopy.WindDirection.Value = Direction
- DeathEffectCopy.Force.Value = Force
- DeathEffectCopy.Disabled = false
- DeathEffectCopy.Parent = character
- end
- function DealDamage(character, damage)
- if not CheckIfAlive() or not character then
- return
- end
- local damage = (damage or 0)
- local humanoid = character:FindFirstChild("Humanoid")
- local rootpart = character:FindFirstChild("HumanoidRootPart")
- if not rootpart then
- rootpart = character:FindFirstChild("Torso")
- end
- if not humanoid or humanoid.Health == 0 or not rootpart then
- return
- end
- UntagHumanoid(humanoid)
- TagHumanoid(humanoid, Player)
- humanoid:TakeDamage(damage)
- if humanoid.Health <= 0 then
- local WindDir = (CFrame.new(RootPart.Position, Vector3.new(rootpart.Position.X, RootPart.Position.Y, rootpart.Position.Z)) * CFrame.Angles(0, math.pi, 0)).lookVector
- ApplyDeathEffect(character, Vector3.new(WindDir.X, 1, WindDir.Z), ((WindDir * 6.5) + Vector3.new(0, 15, 0)))
- end
- end
- function CheckIfAlive()
- return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0) and true) or false)
- end
- function Blow(Part)
- local PartTouched
- local HitDelay = false
- PartTouched = Part.Touched:connect(function(Hit)
- if not Hit or not Hit.Parent or not CheckIfAlive() or not ToolEquipped or HitDelay then
- return
- end
- local RightArm = Character:FindFirstChild("Right Arm")
- if not RightArm then
- return
- end
- local RightGrip = RightArm:FindFirstChild("RightGrip")
- if not RightGrip or (RightGrip.Part0 ~= Handle and RightGrip.Part1 ~= Handle) then
- return
- end
- local character = Hit.Parent
- if character == Character or (Special.Active and RandomNearby and character ~= RandomNearby.Character) then
- return
- end
- local humanoid = character:FindFirstChild("Humanoid")
- local rootpart = character:FindFirstChild("HumanoidRootPart")
- if not rootpart then
- rootpart = character:FindFirstChild("Torso")
- end
- if not humanoid or humanoid.Health == 0 or not rootpart then
- return
- end
- local player = Players:GetPlayerFromCharacter(character)
- if player and (player == Player or IsTeamMate(Player, player)) then
- return
- end
- HitDelay = true
- local TotalDamage = (Damage * ((Special.Active and math.huge) or 1))
- DealDamage(character, TotalDamage)
- wait(0.05)
- HitDelay = false
- end)
- end
- function PossessedAttack()
- Fire.Enabled = true
- local CurrentlyEquipped = true
- if ToolUnequipped then
- ToolUnequipped:disconnect()
- end
- ToolUnequipped = Tool.Unequipped:connect(function()
- CurrentlyEquipped = false
- end)
- local SpecialStart = tick()
- while ToolEquipped and CurrentlyEquipped and CheckIfAlive() and (tick() - SpecialStart) < Special.Duration do
- local UserPlayer = Player
- local UserCharacter = Character
- local IgnoreObjects = {UserCharacter, Tool}
- local Radius = 35
- local Objects = {}
- local Humanoids = {}
- local PlayersNearby = {}
- local NegativeRadius = (RootPart.Position - Vector3.new(Radius, (RootPart.Size.Y * 1.25), Radius))
- local PositiveRadius = (RootPart.Position + Vector3.new(Radius, (Radius / 6), Radius))
- for i, v in pairs(Players:GetChildren()) do
- if v:IsA("Player") and v ~= UserPlayer then
- local character = v.Character
- if character and character.Parent then
- table.insert(IgnoreObjects, v)
- if not IsTeamMate(v, UserPlayer) then
- local humanoid = character:FindFirstChild("Humanoid")
- local rootpart = character:FindFirstChild("HumanoidRootPart")
- if not rootpart then
- rootpart = character:FindFirstChild("Torso")
- end
- if humanoid and humanoid.Health > 0 and (RootPart.Position - rootpart.Position).magnitude <= Radius then
- table.insert(Humanoids, humanoid)
- end
- end
- end
- end
- end
- if #Humanoids == 0 then
- local Parts = GetParts(Region3.new(NegativeRadius, PositiveRadius), 500, IgnoreObjects)
- for i, v in pairs(Parts) do
- if v and v.Parent and not CheckTableForInstance(Objects, v) then
- local character = v.Parent
- if character:IsA("Hat") or character:IsA("Tool") then
- character = character.Parent
- end
- local humanoid = character:FindFirstChild("Humanoid")
- local player = Players:GetPlayerFromCharacter(character)
- if not CheckTableForInstance(Humanoids, humanoid) and not CheckTableForInstance(PlayersNearby, character) then
- if humanoid and humanoid.Health > 0 and not CheckTableForInstance(Humanoids, humanoid) then
- table.insert(Humanoids, humanoid)
- if player and not CheckTableForInstance(PlayersNearby, player) then
- table.insert(PlayersNearby, player)
- end
- elseif (RootPart.Position - v.Position).magnitude <= Radius then
- table.insert(Objects, v)
- end
- end
- end
- end
- end
- local NearPlayers = {}
- for i, v in pairs(Humanoids) do
- local character = v.Parent
- local player = Players:GetPlayerFromCharacter(character)
- local rootpart = character:FindFirstChild("HumanoidRootPart")
- if not rootpart then
- rootpart = character:FindFirstChild("Torso")
- end
- if rootpart then
- table.insert(NearPlayers, {Character = character, Humanoid = v, RootPart = rootpart, Distance = (RootPart.Position - rootpart.Position).Magnitude})
- end
- end
- table.sort(NearPlayers, (function(a, b)
- return a.Distance < b.Distance
- end))
- if #NearPlayers > 0 then
- local MaxNearbyCount = 3
- local MaxNearby = ((#NearPlayers <= MaxNearbyCount and #NearPlayers) or MaxNearbyCount)
- RandomNearby = NearPlayers[math.random(1, MaxNearby)]
- local OrigPos = RootPart.CFrame
- local NewPos = (RandomNearby.RootPart.CFrame * CFrame.new(0, ((RootPart.Size.Z / 2) + (RandomNearby.RootPart.Size.Z / 2) + (RootPart.Size.Y / 2)), ((RootPart.Size.Z / 2) + (RandomNearby.RootPart.Size.Z / 2) + 0.75)))
- RootPart.CFrame = CFrame.new(NewPos.p, RandomNearby.RootPart.CFrame.p)
- RootPart.Anchored = true
- Attack()
- wait(1)
- RootPart.CFrame = OrigPos
- RootPart.Anchored = false
- wait(1.5)
- end
- wait()
- end
- Fire.Enabled = false
- end
- function Attack()
- Damage = DamageValues.SlashDamage
- Sounds.Slash:Play()
- --[[local Anim = Create("StringValue"){
- Name = "toolanim",
- Value = "Slash",
- }
- Debris:AddItem(Anim, 2)
- Anim.Parent = Tool]]
- local SwingAnimations = {Animations.LeftSlash, Animations.RightSlash, Animations.SideSwipe, Animations.Swing}
- local Animation = SwingAnimations[math.random(1, #SwingAnimations)]
- Spawn(function()
- InvokeClient("PlayAnimation", Animation)
- end)
- end
- function Lunge()
- Damage = DamageValues.LungeDamage
- Sounds.Lunge:Play()
- for i, v in pairs(Animations) do
- Spawn(function()
- InvokeClient("StopAnimation", v)
- end)
- end
- local Anim = Create("StringValue"){
- Name = "toolanim",
- Value = "Lunge",
- }
- Debris:AddItem(Anim, 2)
- Anim.Parent = Tool
- wait(0.2)
- Tool.Grip = Grips.Out
- wait(0.75)
- Tool.Grip = Grips.Up
- Damage = DamageValues.SlashDamage
- end
- function Activated()
- if not Tool.Enabled or not ToolEquipped or not CheckIfAlive() or Special.Active then
- return
- end
- Tool.Enabled = false
- local Tick = RunService.Stepped:wait()
- if (Tick - LastAttack < 0.2) then
- Lunge()
- else
- Attack()
- end
- LastAttack = Tick
- --wait(0.5)
- Damage = DamageValues.BaseDamage
- Tool.Enabled = true
- end
- function CheckIfAlive()
- return (((Player and Player.Parent and Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and RootPart and RootPart.Parent) and true) or false)
- end
- function Equipped()
- Character = Tool.Parent
- Player = Players:GetPlayerFromCharacter(Character)
- Humanoid = Character:FindFirstChild("Humanoid")
- RootPart = Character:FindFirstChild("HumanoidRootPart")
- if not CheckIfAlive() then
- return
- end
- Sounds.Unsheath:Play()
- Spawn(function()
- if ToolUnequipped then
- ToolUnequipped:disconnect()
- end
- local CurrentlyEquipped = true
- ToolUnequipped = Tool.Unequipped:connect(function()
- CurrentlyEquipped = false
- end)
- local Animation = Animations.Equip
- Spawn(function()
- InvokeClient("PlayAnimation", Animation)
- end)
- wait(Animation.Duration)
- if ToolUnequipped then
- ToolUnequipped:disconnect()
- end
- if not CurrentlyEquipped then
- return
- end
- ToolEquipped = true
- Humanoid.WalkSpeed = (16 * 1.5)
- end)
- end
- function Unequipped()
- Humanoid.WalkSpeed = 16
- ToolEquipped = false
- end
- function OnServerInvoke(player, mode, value)
- if player ~= Player or not ToolEquipped or not value or not CheckIfAlive() then
- return
- end
- if mode == "KeyPressed" then
- local Key = string.lower(value.Key)
- local Down = value.Down
- if Key == "q" and Down then
- player = game.Players.LocalPlayer
- chara = player.Character
- debby = game.Debris
- Mouse = player:GetMouse()
- chara.Humanoid.WalkSpeed = 8
- atkd = false
- targetted = nil
- --Outfit--
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- ShadowHead = New("Part",chara,"ShadowHead",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
- Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
- Weld = New("ManualWeld",ShadowHead,"Weld",{Part0 = ShadowHead,Part1 = chara.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Knifu = New("Model",chara,"Knifu",{})
- Handle = New("Part",Knifu,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("CylinderMesh",Handle,"Mesh",{})
- KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),C1 = CFrame.new(0, -1.00000644, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Hitbox = New("Part",Knifu,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 1.4000001, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 27.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = Handle,C1 = CFrame.new(0, 1.20000052, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.800005555, 26.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(54.1000023, 0.400004029, 26.8000031, 1, 0, 0, 0, 0, 1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- BloodPart = New("Part",Knifu,"BloodPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.399999946, 0.400000036),CFrame = CFrame.new(54.1000023, 0.600008607, 28.1000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
- Mesh = New("SpecialMesh",BloodPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",BloodPart,"Weld",{Part0 = BloodPart,Part1 = Handle,C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Blood2Part = New("Part",Knifu,"Blood2Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.7000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
- Mesh = New("BlockMesh",Blood2Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),})
- Weld = New("ManualWeld",Blood2Part,"Weld",{Part0 = Blood2Part,Part1 = Handle,C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.700008988, 27.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.500008225, 27.4000034, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
- Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- local p1mit = Instance.new("ParticleEmitter",Hitbox)
- p1mit.Texture = "rbxasset://textures/particles/fire_main.dds"
- p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))})
- p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
- p1mit.Lifetime = NumberRange.new(2)
- p1mit.Rate = 100
- p1mit.Enabled = false
- p1mit.Acceleration = Vector3.new(0,-5,0)
- p1mit.Rotation = NumberRange.new(0,359)
- p1mit.Speed = NumberRange.new(0)
- local p2mit = Instance.new("ParticleEmitter",BloodPart)
- p2mit.Texture = "http://www.roblox.com/asset/?id=243132757"
- p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))})
- p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(1,.1)})
- p2mit.Lifetime = NumberRange.new(1)
- p2mit.Rate = 10
- p2mit.Acceleration = Vector3.new(0,-10,0)
- p2mit.Speed = NumberRange.new(0)
- local p3mit = p2mit:Clone()
- p3mit.Parent = Blood2Part
- crosshair = Instance.new("BillboardGui",chara)
- crosshair.Size = UDim2.new(10,0,10,0)
- crosshair.Enabled = false
- imgl = Instance.new("ImageLabel",crosshair)
- imgl.Position = UDim2.new(0,0,0,0)
- imgl.Size = UDim2.new(1,0,1,0)
- imgl.Image = "rbxassetid://233522684"
- imgl.BackgroundTransparency = 1
- imgl.ImageColor3 = Color3.new(.6,0,0)
- --Sounds--
- function LoadSnd(id,loop,vol,pit)
- local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
- return snd
- end
- Music = LoadSnd(150674644,true,1,1)
- SwingSnd = LoadSnd(12222208,false,1,.5)
- HitSnd = LoadSnd(429400881,false,1,1)
- ChatSnd = LoadSnd(565939471,false,1,.4)
- ThrowSnd = LoadSnd(743521497,false,1,1)
- TargetSnd = LoadSnd(743521450,false,1,1)
- Music:Play()
- --Play Sound in Part--
- function PlaySnd(snd,part)
- local sound = snd:Clone()
- sound.PlayOnRemove = true
- sound.Parent = part
- sound:Destroy()
- end
- --Target Select--
- function TargetSelect(person)
- local dd=coroutine.wrap(function()
- if targetted ~= person then
- targetted = person
- for i = 0,30,10 do
- wait(.05)
- crosshair.Size = UDim2.new(40-i,0,40-i,0)
- end
- end
- end)
- dd()
- end
- --Damage Function--
- function dealdmg(dude)
- dude.Humanoid.PlatformStand = true
- local bgf = Instance.new("BodyGyro",dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
- local val = Instance.new("BoolValue",dude)
- val.Name = "IsHit"
- for i = 1, 6 do
- local blo = Instance.new("Part",game.Workspace)
- blo.Size = Vector3.new(.6,.2,.6)
- blo.Material = "SmoothPlastic"
- blo.BrickColor = BrickColor.new("Crimson")
- blo.Position = dude.Head.Position
- blo.CFrame = dude.Head.CFrame
- debby:AddItem(blo,30)
- end
- local ds = coroutine.wrap(function()
- wait(1)
- dude.Humanoid.Health = 0
- end)
- ds()
- end
- --Explode Hitbox--
- function ExHitbox(rad,pos,damage,env,toim)
- local E = Instance.new("Explosion")
- E.Position = pos
- E.Parent = game.Workspace
- E.BlastRadius = rad
- E.BlastPressure = 0
- E.Visible = false
- E.Hit:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid")~=nil then
- dealdmg(hit.Parent,damage,env,toim)
- end
- end)
- end
- --Chat Function--
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if chara:FindFirstChild("TalkingBillBoard")~= nil then
- chara:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",chara)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = chara.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.FontSize = "Size24"
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(.6,0,0)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(text),1 do
- PlaySnd(ChatSnd,chara)
- tecks2.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(1)
- for i = 1, 5 do
- wait(.01)
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- player.Chatted:connect(onChatted)
- --Blade Hit Effect--
- function SlashEff(pos)
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(0,0,0)
- p.BrickColor = BrickColor.new("White")
- p.Material = "Neon"
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
- local pm = Instance.new("SpecialMesh",p)
- pm.MeshType = "Sphere"
- pm.Scale = Vector3.new(2.5,0,2.5)
- local disp = coroutine.wrap(function()
- for i = 1, 4 do
- wait(.01)
- p.Transparency = p.Transparency + .2
- pm.Scale = pm.Scale + Vector3.new(0,30,0)
- end
- wait(.01)
- p:Destroy()
- end)
- disp()
- end
- --Super Pause--
- function SuperPause()
- SuperSnd:Play()
- local p = Instance.new("Part",game.Workspace)
- p.Size = Vector3.new(0,0,0)
- p.BrickColor = BrickColor.new("White")
- p.Material = "Neon"
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = chara.Torso.CFrame
- local pm = Instance.new("SpecialMesh",p)
- pm.MeshType = "Sphere"
- local disp = coroutine.wrap(function()
- for i = 1, 4 do
- wait(.01)
- p.Transparency = p.Transparency + .2
- pm.Scale = pm.Scale + Vector3.new(20,20,20)
- end
- wait(.01)
- p:Destroy()
- end)
- disp()
- end
- --Blade Touch--
- dela = .5
- bladeactive = false
- stormvipactive = false
- executeactive = false
- function bladehit(hit)
- if bladeactive == true then
- if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
- p1mit.Enabled = true
- PlaySnd(HitSnd,hit.Parent.Head)
- dealdmg(hit.Parent)
- if stormvipactive == true then
- local bf = Instance.new("BodyVelocity",hit.Parent.Head)
- bf.P = 10000
- bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
- bf.Velocity = Vector3.new(0,100,0)
- debby:AddItem(bf,.2)
- end
- if executeactive == true then
- local we = Instance.new("Weld",Hitbox)
- we.Name = "HitWeld"
- we.Part0 = hit.Parent.Head
- we.Part1 = Hitbox
- we.C0 = we.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
- end
- wait(.5)
- p1mit.Enabled = false
- end
- end
- end
- Hitbox.Touched:connect(bladehit)
- --Material Return--
- gprop = {}
- function materialhit(hit)
- if hit.Parent ~= chara and hit.Parent.Parent ~= chara and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
- gprop = {hit.BrickColor,hit.Material}
- end
- end
- chara["Left Leg"].Touched:connect(materialhit)
- chara["Right Leg"].Touched:connect(materialhit)
- --Clerp Animations--
- TC = chara.HumanoidRootPart.RootJoint
- HC = chara.Torso.Neck
- RAC = chara.Torso["Right Shoulder"]
- LAC = chara.Torso["Left Shoulder"]
- RLC = chara.Torso["Right Hip"]
- LLC = chara.Torso["Left Hip"]
- TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW = Instance.new("Weld",HC.Parent)
- RW.Part1 = HC.Parent
- RW.Part0 = chara["Right Arm"]
- RW.C0 = RWF
- LW = Instance.new("Weld",HC.Parent)
- LW.Part1 = HC.Parent
- LW.Part0 = chara["Left Arm"]
- LW.C0 = LWF
- RLW = nil
- LLW = nil
- function Sheath(stype)
- KWeld:Destroy()
- if stype == 1 then --Sheathed
- KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),C1 = CFrame.new(0, -1.00000644, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- elseif stype == 2 then --Unsheathed
- KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1.00000525, 4.17232513e-07, 0, 4.17232513e-07, 1.00000525),C1 = CFrame.new(0, -0.600002885, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- end
- end
- function AddLegWelds()
- RLW = Instance.new("Weld",chara["Right Leg"])
- RLW.Part1 = HC.Parent
- RLW.Part0 = chara["Right Leg"]
- RLW.C0 = RLWF
- LLW = Instance.new("Weld",chara["Left Leg"])
- LLW.Part1 = HC.Parent
- LLW.Part0 = chara["Left Leg"]
- LLW.C0 = LLWF
- end
- function DestroyLegWelds()
- RLC = New("Motor6D",chara.Torso,"Right Hip",{Part0 = chara.Torso,Part1 = chara["Right Leg"],C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),})
- LLC = New("Motor6D",chara.Torso,"Left Hip",{Part0 = chara.Torso,Part1 = chara["Left Leg"],C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
- RLW:Destroy()
- LLW:Destroy()
- end
- function clerp(a,b,c)
- return a:lerp(b,c)
- end
- --TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
- --HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
- --RW.C0 = (RWF + Vector3.new(1,2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90))
- --LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
- TC.C0 = TCF
- HC.C0 = HCF
- RW.C0 = RWF
- LW.C0 = LWF
- --Idle Clerp--
- ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10))
- IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-10))
- IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2))
- ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
- TC.C0 = ITCF
- HC.C0 = IHCF
- RW.C0 = IRWF
- LW.C0 = ILWF
- --Claw Dash--
- function ClawDash()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- chatfunc("Without a trace...")
- for i = 0,.6,.2 do
- wait(.01)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,RWF,.4+i)
- end
- local hittpart = Instance.new("Part",chara)
- hittpart.Anchored = true
- hittpart.Size = Vector3.new(5,5,1)
- hittpart.Transparency = 1
- hittpart.CFrame = chara.HumanoidRootPart.CFrame + (chara.HumanoidRootPart.CFrame.lookVector * 3)
- local sawlookv = hittpart.CFrame.lookVector
- local hitm = Instance.new("BlockMesh",hittpart)
- hitm.Scale = Vector3.new(0,0,0)
- local trpart = Instance.new("Part",chara)
- trpart.Anchored = true
- trpart.Size = Vector3.new(0,0,0)
- trpart.CFrame = hittpart.CFrame
- trpart.BrickColor = BrickColor.new("Really black")
- local trmesh = Instance.new("FileMesh",trpart)
- trmesh.Scale = Vector3.new(0,0,0)
- trmesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local hdec1 = Instance.new("Decal",hittpart)
- hdec1.Texture = "http://www.roblox.com/asset/?id=362691215"
- hdec1.Face = "Front"
- local hdec2 = hdec1:Clone()
- hdec2.Parent = hittpart
- hdec2.Face = "Back"
- OrbSnd:Play()
- ElectricSnd:Play()
- for i = 1, 5 do
- hitm.Scale = hitm.Scale + Vector3.new(.2,.2,0)
- trmesh.Scale = trmesh.Scale + Vector3.new(1,1,.1)
- wait(.01)
- end
- hittpart.Touched:connect(function(hit)
- if hit.Parent ~= chara then
- ClawDashSnd:Play()
- hittpart:Destroy()
- trpart:Destroy()
- AddLegWelds()
- freezeatk = true
- chatfunc("Winter's Riposte!")
- Sheath(4)
- TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0)
- HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0)
- RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50))
- LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50))
- LLW.C0 = LLWF
- RLW.C0 = RLWF + Vector3.new(0,-1,1)
- for i = 1, 10 do
- local trace = Instance.new("Part",game.Workspace)
- trace.CanCollide = false
- trace.Size = Vector3.new(1,1,1)
- trace.Transparency = 1
- trace.BottomSurface = 0
- trace.TopSurface = 0
- trace.Anchored = true
- trace.CFrame = (chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * (5*i))
- debby:AddItem(trace,1)
- ExHitbox(10,trace.Position,40,2,.1)
- end
- local trace = Instance.new("Part",game.Workspace)
- trace.BrickColor = BrickColor.new("Toothpaste")
- trace.CanCollide = false
- trace.Size = Vector3.new(1,1,1)
- trace.BottomSurface = 0
- trace.TopSurface = 0
- trace.Anchored = true
- trace.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 25
- trace.Material = "Neon"
- local tracem = Instance.new("SpecialMesh",trace)
- tracem.MeshType = "Sphere"
- tracem.Scale = Vector3.new(1,1,50)
- local disp = coroutine.wrap(function()
- for i = 1, 9 do
- wait(.01)
- trace.Transparency = trace.Transparency + .1
- end
- wait(.01)
- trace:Destroy()
- end)
- disp()
- chara.HumanoidRootPart.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 60
- wait(1)
- Sheath(3)
- for i = 0,.6,.2 do
- wait(.05)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i)
- LLW.C0 = LLWF
- RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,1),.6-i)
- end
- Sheath(1)
- freezeatk = false
- del = false
- DestroyLegWelds()
- chara.Humanoid.WalkSpeed = 32
- end
- end)
- for i = 1, 60 do
- wait(.01)
- hittpart.CFrame=hittpart.CFrame*CFrame.fromEulerAnglesXYZ(0,0,math.pi/64)
- end
- if hittpart ~= nil then
- for i = 1, 5 do
- hitm.Scale = hitm.Scale - Vector3.new(.2,.2,0)
- trmesh.Scale = trmesh.Scale - Vector3.new(1,1,.1)
- wait(.01)
- end
- hittpart:Destroy()
- trpart:Destroy()
- for i = 0,.6,.2 do
- wait(.01)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,RWF,.6-i)
- end
- del = false
- chara.Humanoid.WalkSpeed = 32
- end
- end
- --Kill--
- function KillThem()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- bladeactive = true
- SwingSnd:Play()
- Sheath(2)
- wait(.01)
- for i = 0,.75,.22 do
- wait(.01)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- wait(1)
- Sheath(1)
- bladeactive = false
- for i = 0,.6,.2 do
- wait(.01)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- TC.C0 = ITCF
- HC.C0 = IHCF
- RW.C0 = IRWF
- LW.C0 = ILWF
- chara.Humanoid.WalkSpeed = 8
- del = false
- end
- --End--
- function EndThem()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- bladeactive = true
- SwingSnd:Play()
- wait(.01)
- for i = 0,.75,.25 do
- wait(.01)
- TC.C0 = clerp(ITCF,TCF,.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,0,-.4)) * CFrame.fromEulerAnglesXYZ(math.rad(-150),0,math.rad(-90)),.4+i)
- end
- wait(.5)
- bladeactive = false
- for i = 0,.6,.2 do
- wait(.01)
- TC.C0 = clerp(ITCF,TCF,.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,0,-.4)) * CFrame.fromEulerAnglesXYZ(math.rad(-150),0,math.rad(-90)),.6-i)
- end
- TC.C0 = ITCF
- HC.C0 = IHCF
- RW.C0 = IRWF
- LW.C0 = ILWF
- chara.Humanoid.WalkSpeed = 8
- del = false
- end
- --Murder--
- function MurderThem()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- for i = 0,.6,.2 do
- wait(.01)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-25),0,math.rad(100)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(100)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.7,1.4,-1.1)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-180)),.4+i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)),.4+i)
- end
- local bf = Instance.new("BodyVelocity",chara.Torso)
- bf.P = 10000
- bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
- bf.Velocity = Vector3.new(0,100,0) + chara.HumanoidRootPart.CFrame.lookVector*5
- SwingSnd:Play()
- stormvipactive = true
- bladeactive = true
- wait(.2)
- stormvipactive = false
- bladeactive = false
- bf:Destroy()
- for i = 0,.6,.2 do
- wait(.01)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-25),0,math.rad(100)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(100)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.7,1.4,-1.1)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-180)),.6-i)
- LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)),.6-i)
- end
- TC.C0 = ITCF
- HC.C0 = IHCF
- RW.C0 = IRWF
- LW.C0 = ILWF
- chara.Humanoid.WalkSpeed = 8
- del = false
- end
- --Execute--
- function ExecuteThem()
- del = true
- atkd = true
- for i = 0,.6,.2 do
- wait(.01)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i)
- end
- TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
- HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0)
- RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0)
- local bf = Instance.new("BodyVelocity",chara.Torso)
- bf.P = 10000
- bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P)
- bf.Velocity = Vector3.new(0,100,0) + chara.HumanoidRootPart.CFrame.lookVector*5
- Sheath(2)
- SwingSnd:Play()
- executeactive = true
- bladeactive = true
- wait(.2)
- bf:Destroy()
- wait(.5)
- if Hitbox:FindFirstChild("HitWeld")~=nil then
- Hitbox:FindFirstChild("HitWeld"):Destroy()
- end
- Sheath(1)
- executeactive = false
- bladeactive = false
- for i = 0,.6,.2 do
- wait(.01)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.6-i)
- end
- TC.C0 = ITCF
- HC.C0 = IHCF
- RW.C0 = IRWF
- LW.C0 = ILWF
- del = false
- end
- --Expunge--
- function ExpungeThem()
- del = true
- atkd = true
- chara.Humanoid.WalkSpeed = 0
- for i = 0,1,.5 do
- wait(.01)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.4+i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i)
- end
- ThrowSnd:Play()
- local knc = Knifu:GetChildren()
- for i = 1, #knc do
- knc[i].Transparency = 1
- end
- wait(.2)
- KnifuHit = New("Model",game.Workspace,"KnifuHit",{})
- debby:AddItem(KnifuHit,5)
- HWeldPart = New("Part",KnifuHit,"HWeldPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(68.6099854, 1.50001717, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("CylinderMesh",HWeldPart,"Mesh",{})
- Weld = New("ManualWeld",HWeldPart,"Weld",{Part0 = HWeldPart,Part1 = targetted.Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),C1 = CFrame.new(0.00998687744, 1.00000417, -1.79282093, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(68.6099854, 0.913415372, 8.92320538, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.60001719, 7.93397379, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.30001676, 8.45358944, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.47322106, 8.55358887, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(68.6099854, 1.12680948, 8.3535881, 1, 0, 0, 0, 0.500000536, 0.866025746, 0, -0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(68.6099854, 1.01341367, 8.74999905, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.399999946, 0.400000036),CFrame = CFrame.new(68.6099854, 0.650017917, 9.5794239, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.886619031, 9.36961555, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08661926, 9.0232048, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
- Mesh = New("BlockMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.50001705, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.4000169, 8.28038406, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(68.6099854, 0.76341331, 9.18301201, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
- Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(68.6099854, 0.886620879, 9.36961555, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
- Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
- Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
- dealdmg(targetted)
- PlaySnd(HitSnd,targetted.Head)
- wait(1)
- for i = 0,1,.1 do
- wait(.01)
- for i = 1, #knc do
- if knc[i] ~= Hitbox then
- knc[i].Transparency = 1-i
- end
- end
- end
- for i = 0,.6,.2 do
- wait(.01)
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.6-i)
- RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i)
- end
- TC.C0 = ITCF
- HC.C0 = IHCF
- RW.C0 = IRWF
- LW.C0 = ILWF
- chara.Humanoid.WalkSpeed = 8
- del = false
- end
- --Lock On--
- function LockOn()
- if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
- TargetSelect(Mouse.Target.Parent)
- TargetSnd:Play()
- else end
- end
- --Mouse Functions--
- orbpushactive = false
- del = false
- input = ""
- letterd = 0
- ltoim = 0
- function onKeyDown(key)
- if del == false then
- if key == "q" then
- if input == "n" and targetted ~= nil then
- ExpungeThem()
- else LockOn() end
- input = "Nope"
- letterd = 0
- ltoim = 0
- elseif key == "z" then
- input = "HAHAHAHA"
- letterd = 0
- ltoim = 0
- elseif key == "x" then
- input = "Your dead"
- letterd = 0
- ltoim = 0
- elseif key == "c" then
- if input == "You will be going to hell" then
- KillThem()
- elseif input == "Now why your doing this." then
- EndThem()
- elseif input == "Your dead" then
- MurderThem()
- elseif input == "Hahaha" then
- ExecuteThem()
- else end
- input = ""
- letterd = 0
- ltoim = 0
- elseif (key == "w" or key == "a" or key == "s" or key == "d") then
- input=input..key
- print(input)
- letterd = letterd + 1
- ltoim = ltoim + 10
- if letterd > 5 then
- input = ""
- letterd = 0
- ltoim = 0
- end
- elseif key == "m" then
- if Music.IsPlaying == true then
- Music:Stop()
- elseif Music.IsPlaying == false then
- Music:Play()
- end
- end
- end
- end
- combo = 0
- --Mouse Activation--
- if Mouse then
- Mouse.KeyDown:connect(onKeyDown)
- end
- --Loop Function--
- walking = false
- toim = 0
- while true do
- wait()
- toim = toim + .1
- ltoim = ltoim - 1
- if ltoim < 1 then
- input = ""
- end
- chara.Humanoid.MaxHealth = math.huge
- chara.Humanoid.Health = math.huge
- if atkd == true then
- TC.C0 = TCF
- HC.C0 = HCF
- RW.C0 = RWF
- LW.C0 = LWF
- atkd = false
- end
- torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude
- if torvel < 1 and walking == true and del == false and atkd == false then
- for i = 0,1,.5 do
- wait(.001)
- if del == false then
- TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),ITCF,i)
- HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),IHCF,i)
- RW.C0 = IRWF
- LW.C0 = ILWF
- end
- end
- walking = false
- elseif torvel > 1 and walking == false and del == false and atkd == false then
- for i = 0,1,.5 do
- wait(.001)
- if del == false then
- TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),i)
- HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),i)
- RW.C0 = IRWF
- LW.C0 = ILWF
- end
- end
- walking = true
- else
- end
- imgl.Rotation = imgl.Rotation + 3
- if targetted ~= nil then
- crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
- crosshair.Enabled = true
- elseif targetted == nil then
- crosshair.Adornee = nil
- crosshair.Enabled = false
- end
- end
- end
- end
- end
- function InvokeClient(Mode, Value)
- local ClientReturn = nil
- pcall(function()
- ClientReturn = ClientControl:InvokeClient(Player, Mode, Value)
- end)
- return ClientReturn
- end
- ServerControl.OnServerInvoke = OnServerInvoke
- Tool.Activated:connect(Activated)
- Tool.Equipped:connect(Equipped)
- Tool.Unequipped:connect(Unequipped)
- Blow(Handle)
- end))
- Script83.Name = "DeathEffect"
- Script83.Parent = Script82
- Script83.Disabled = true
- table.insert(cors,sandbox(Script83,function()
- --Made by Luckymaxer
- Character = script.Parent
- Humanoid = Character:FindFirstChild("Humanoid")
- Debris = game:GetService("Debris")
- WindDirection = script:FindFirstChild("WindDirection")
- Force = script:FindFirstChild("Force")
- Parts = {}
- BaseColor = BrickColor.new("Royal purple")
- Color = BaseColor.Color
- Gravity = 196.20
- Duration = 3
- Classes = {
- BasePart = {
- BrickColor = BaseColor,
- Material = Enum.Material.Plastic,
- Reflectance = 0,
- Transparency = 0.75,
- },
- FileMesh = {
- TextureId = "",
- },
- DataModelMesh = {
- VertexColor = Vector3.new(Color.r, Color.g, Color.b),
- },
- CharacterMesh = {
- BaseTextureId = 0,
- OverlayTextureId = 0,
- },
- Shirt = {
- ShirtTemplate = "",
- },
- Pants = {
- PantsTemplate = "",
- },
- FaceInstance = {
- Texture = "",
- },
- Sparkles = {
- SparkleColor = Color,
- Enabled = false,
- },
- Fire = {
- Color = Color,
- SecondaryColor = Color,
- Enabled = false,
- },
- Smoke = {
- Color = Color,
- Enabled = false,
- },
- Light = {
- Color = Color,
- Enabled = false,
- },
- ParticleEmitter = {
- Color = ColorSequence.new(Color, Color),
- Enabled = false,
- }
- }
- Fire = script:FindFirstChild("Fire")
- Objects = {}
- RemovedObjects = {}
- FakeParts = {}
- Hats = {}
- Tools = {}
- Particles = {}
- function DestroyScript()
- Debris:AddItem(script, 0.5)
- end
- function TweenNumber(Start, Goal, Time)
- return ((Goal - Start) / Time)
- end
- function Decorate(Object)
- local ObjectData = {
- Object = nil,
- Properties = {},
- }
- for i, v in pairs(Classes) do
- if Object:IsA(i) then
- if Object:IsA("CharacterMesh") then
- local Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = Enum.MeshType.FileMesh
- Mesh.MeshId = ("http://www.roblox.com/asset/?id=" .. Object.MeshId)
- for ii, vv in pairs(Character:GetChildren()) do
- if vv:IsA("BasePart") and Object.BodyPart.Name == string.gsub(vv.Name, " ", "") then
- Mesh.Parent = vv
- table.insert(RemovedObjects, {Object = Object, NewObject = Mesh, Parent = Object.Parent})
- Object.Parent = nil
- end
- end
- elseif Object:IsA("BasePart") and Object.Transparency >= 1 then
- else
- ObjectData.Object = Object
- for ii, vv in pairs(v) do
- local PropertyValue = nil
- local PropertyValueSet = false
- pcall(function()
- PropertyValue = Object[ii]
- PropertyValueSet = true
- Object[ii] = vv
- end)
- if PropertyValueSet then
- ObjectData.Properties[ii] = PropertyValue
- end
- end
- end
- end
- end
- table.insert(Objects, ObjectData)
- end
- function Redesign(Parent)
- for i, v in pairs(Parent:GetChildren()) do
- if v ~= script then
- Decorate(v)
- Redesign(v)
- end
- end
- end
- if not Humanoid or not WindDirection then
- DestroyScript()
- return
- end
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Hat") or v:IsA("Tool") then
- local FakeObject = v:Clone()
- Decorate(FakeObject)
- table.insert(((v:IsA("Hat") and Hats) or Tools), v)
- for ii, vv in pairs(FakeObject:GetChildren()) do
- if vv:IsA("BasePart") then
- local FakePart = vv:Clone()
- FakePart.Name = v.Name
- table.insert(FakeParts, FakePart)
- FakePart.Parent = Character
- FakePart.CFrame = vv.CFrame
- end
- end
- end
- end
- Humanoid:UnequipTools()
- for i, v in pairs({Hats, Tools}) do
- for ii, vv in pairs(v) do
- vv.Parent = nil
- end
- end
- Redesign(Character)
- local GhostModel = Instance.new("Model")
- GhostModel.Name = "GhostModel"
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("BasePart") then
- if v.Name ~= "HumanoidRootPart" then
- local FakePart = v:Clone()
- FakePart.Name = "Part"
- FakePart.CanCollide = false
- for ii, vv in pairs(FakePart:GetChildren()) do
- if not vv:IsA("DataModelMesh") then
- vv:Destroy()
- end
- end
- table.insert(FakeParts, FakePart)
- local Mass = (v:GetMass() * Gravity ^ 2)
- local BodyVelocity = Instance.new("BodyVelocity")
- BodyVelocity.maxForce = Vector3.new(Mass, Mass, Mass)
- BodyVelocity.velocity = (WindDirection.Value * Force.Value)
- BodyVelocity.Parent = FakePart
- FakePart.Parent = GhostModel
- local FireParticle = Fire:Clone()
- FireParticle.Enabled = true
- table.insert(Particles, FireParticle)
- FireParticle.Parent = FakePart
- end
- v:Destroy()
- end
- end
- Spawn(function()
- local Start = Classes.BasePart.Transparency
- local End = 1
- local Time = 0.75
- local Rate = (1 / 30)
- local Frames = (Time / Rate)
- for i = 1, Frames do
- local Transparency = (Start + TweenNumber(Start, End, (Frames / (i + 1))))
- for ii, vv in pairs(FakeParts) do
- if vv and vv.Parent then
- vv.Transparency = Transparency
- end
- end
- wait(Rate)
- end
- for i, v in pairs(Particles) do
- v.Enabled = false
- end
- end)
- Debris:AddItem(GhostModel, 5)
- GhostModel.Parent = game:GetService("Workspace")
- end))
- Vector3Value84.Name = "WindDirection"
- Vector3Value84.Parent = Script83
- Vector3Value85.Name = "Force"
- Vector3Value85.Parent = Script83
- ParticleEmitter86.Name = "Fire"
- ParticleEmitter86.Parent = Script83
- ParticleEmitter86.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
- ParticleEmitter86.Rotation = NumberRange.new(0, 5)
- ParticleEmitter86.Size = NumberSequence.new(0.31999999284744,1.1799999475479,1.25)
- ParticleEmitter86.Color = ColorSequence.new(Color3.new(0.666667, 0, 1),Color3.new(0.333333, 0, 0.498039))
- ParticleEmitter86.Enabled = false
- ParticleEmitter86.LightEmission = 1
- ParticleEmitter86.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter86.Acceleration = Vector3.new(0, 10, 0)
- ParticleEmitter86.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter86.Rate = 1000
- ParticleEmitter86.RotSpeed = NumberRange.new(15, 25)
- ParticleEmitter86.Speed = NumberRange.new(-0.25, -0.25)
- ParticleEmitter86.Color = ColorSequence.new(Color3.new(0.666667, 0, 1),Color3.new(0.333333, 0, 0.498039))
- RemoteFunction87.Name = "ServerControl"
- RemoteFunction87.Parent = Tool67
- RemoteFunction88.Name = "ClientControl"
- RemoteFunction88.Parent = Tool67
- Script89.Name = "qPerfectionWeld"
- Script89.Parent = Tool67
- table.insert(cors,sandbox(Script89,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))
- Part90.Parent = Tool67
- Part90.Material = Enum.Material.SmoothPlastic
- Part90.BrickColor = BrickColor.new("Black")
- Part90.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
- Part90.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part90.Size = Vector3.new(0.200000003, 0.200000003, 0.400000006)
- Part90.CFrame = CFrame.new(11.2948227, 1.69359159, -69.2272339, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
- Part90.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part90.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part90.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part90.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part90.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part90.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part90.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part90.Position = Vector3.new(11.2948227, 1.69359159, -69.2272339)
- Part90.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
- Part90.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh91.Parent = Part90
- SpecialMesh91.Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005)
- SpecialMesh91.Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005)
- ManualWeld92.Name = "Weld"
- ManualWeld92.Parent = Part90
- ManualWeld92.C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld92.Part0 = Part90
- Part93.Parent = Tool67
- Part93.Material = Enum.Material.SmoothPlastic
- Part93.BrickColor = BrickColor.new("Black")
- Part93.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
- Part93.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part93.Size = Vector3.new(0.200000003, 0.200000003, 0.400000006)
- Part93.CFrame = CFrame.new(11.0950394, 1.69703543, -69.2185745, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
- Part93.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part93.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part93.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part93.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part93.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part93.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part93.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part93.Position = Vector3.new(11.0950394, 1.69703543, -69.2185745)
- Part93.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
- Part93.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh94.Parent = Part93
- SpecialMesh94.Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005)
- SpecialMesh94.Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005)
- ManualWeld95.Name = "Weld"
- ManualWeld95.Parent = Part93
- ManualWeld95.C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld95.Part0 = Part93
- Part96.Parent = Tool67
- Part96.Material = Enum.Material.SmoothPlastic
- Part96.BrickColor = BrickColor.new("Crimson")
- Part96.Rotation = Vector3.new(91.6999969, -1.05999994, 87.5499954)
- Part96.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part96.Size = Vector3.new(0.200000003, 0.200000003, 0.200000033)
- Part96.CFrame = CFrame.new(12.0921021, 1.57987869, -69.2648392, 0.042766571, -0.998914063, -0.0185098089, -0.0303550716, 0.0172189716, -0.99939245, 0.998625696, 0.0433027148, -0.0295857284)
- Part96.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part96.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part96.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part96.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part96.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part96.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part96.Color = Color3.new(0.592157, 0, 0)
- Part96.Position = Vector3.new(12.0921021, 1.57987869, -69.2648392)
- Part96.Orientation = Vector3.new(88, -147.970001, -60.4399986)
- Part96.Color = Color3.new(0.592157, 0, 0)
- SpecialMesh97.Parent = Part96
- SpecialMesh97.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
- SpecialMesh97.MeshType = Enum.MeshType.Wedge
- SpecialMesh97.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
- ManualWeld98.Name = "Weld"
- ManualWeld98.Parent = Part96
- ManualWeld98.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- ManualWeld98.C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld98.Part0 = Part96
- Part99.Parent = Tool67
- Part99.Material = Enum.Material.SmoothPlastic
- Part99.BrickColor = BrickColor.new("Crimson")
- Part99.Rotation = Vector3.new(91.6999969, -1.05999994, 87.5499954)
- Part99.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part99.Size = Vector3.new(0.200000003, 0.200000003, 0.200000033)
- Part99.CFrame = CFrame.new(12.4953699, 1.77287042, -69.2762375, 0.042766571, -0.998914063, -0.0185098089, -0.0303550716, 0.0172189716, -0.99939245, 0.998625696, 0.0433027148, -0.0295857284)
- Part99.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part99.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part99.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part99.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part99.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part99.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part99.Color = Color3.new(0.592157, 0, 0)
- Part99.Position = Vector3.new(12.4953699, 1.77287042, -69.2762375)
- Part99.Orientation = Vector3.new(88, -147.970001, -60.4399986)
- Part99.Color = Color3.new(0.592157, 0, 0)
- SpecialMesh100.Parent = Part99
- SpecialMesh100.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
- SpecialMesh100.MeshType = Enum.MeshType.Wedge
- SpecialMesh100.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
- ManualWeld101.Name = "Weld"
- ManualWeld101.Parent = Part99
- ManualWeld101.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- ManualWeld101.C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld101.Part0 = Part99
- Part102.Name = "Blood2Part"
- Part102.Parent = Tool67
- Part102.Material = Enum.Material.SmoothPlastic
- Part102.BrickColor = BrickColor.new("Crimson")
- Part102.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
- Part102.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part102.Size = Vector3.new(0.200000003, 0.400000036, 0.200000003)
- Part102.CFrame = CFrame.new(12.391777, 1.57471108, -69.2778244, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
- Part102.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part102.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part102.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part102.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part102.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part102.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part102.Color = Color3.new(0.592157, 0, 0)
- Part102.Position = Vector3.new(12.391777, 1.57471108, -69.2778244)
- Part102.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
- Part102.Color = Color3.new(0.592157, 0, 0)
- BlockMesh103.Parent = Part102
- BlockMesh103.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
- BlockMesh103.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
- ManualWeld104.Name = "Weld"
- ManualWeld104.Parent = Part102
- ManualWeld104.C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld104.Part0 = Part102
- ParticleEmitter105.Parent = Part102
- ParticleEmitter105.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
- ParticleEmitter105.Color = ColorSequence.new(Color3.new(0.6, 0, 0),Color3.new(0.6, 0, 0))
- ParticleEmitter105.Texture = "http://www.roblox.com/asset/?id=243132757"
- ParticleEmitter105.Acceleration = Vector3.new(0, -10, 0)
- ParticleEmitter105.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter105.Rate = 10
- ParticleEmitter105.Speed = NumberRange.new(0, 0)
- ParticleEmitter105.Color = ColorSequence.new(Color3.new(0.6, 0, 0),Color3.new(0.6, 0, 0))
- Part106.Name = "Hitbox"
- Part106.Parent = Tool67
- Part106.Transparency = 1
- Part106.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
- Part106.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part106.Size = Vector3.new(0.200000003, 1.4000001, 0.400000006)
- Part106.CFrame = CFrame.new(12.2937365, 1.67637265, -69.2705383, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
- Part106.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part106.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part106.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part106.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part106.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part106.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part106.Position = Vector3.new(12.2937365, 1.67637265, -69.2705383)
- Part106.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
- ManualWeld107.Name = "Weld"
- ManualWeld107.Parent = Part106
- ManualWeld107.C1 = CFrame.new(0, 1.20000052, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld107.Part0 = Part106
- ParticleEmitter108.Parent = Part106
- ParticleEmitter108.Rotation = NumberRange.new(0, 359)
- ParticleEmitter108.Size = NumberSequence.new(1,0)
- ParticleEmitter108.Color = ColorSequence.new(Color3.new(0.6, 0, 0),Color3.new(0.6, 0, 0))
- ParticleEmitter108.Enabled = false
- ParticleEmitter108.Texture = "rbxasset://textures/particles/fire_main.dds"
- ParticleEmitter108.Acceleration = Vector3.new(0, -5, 0)
- ParticleEmitter108.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter108.Rate = 100
- ParticleEmitter108.Speed = NumberRange.new(0, 0)
- ParticleEmitter108.Color = ColorSequence.new(Color3.new(0.6, 0, 0),Color3.new(0.6, 0, 0))
- Part109.Parent = Tool67
- Part109.Material = Enum.Material.SmoothPlastic
- Part109.BrickColor = BrickColor.new("Black")
- Part109.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
- Part109.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part109.Size = Vector3.new(0.200000003, 0.200000003, 0.400000006)
- Part109.CFrame = CFrame.new(10.895257, 1.70047927, -69.2099152, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
- Part109.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part109.Position = Vector3.new(10.895257, 1.70047927, -69.2099152)
- Part109.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
- Part109.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh110.Parent = Part109
- SpecialMesh110.Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005)
- SpecialMesh110.Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005)
- ManualWeld111.Name = "Weld"
- ManualWeld111.Parent = Part109
- ManualWeld111.C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld111.Part0 = Part109
- Part112.Parent = Tool67
- Part112.Material = Enum.Material.SmoothPlastic
- Part112.BrickColor = BrickColor.new("Black")
- Part112.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
- Part112.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part112.Size = Vector3.new(0.200000003, 0.200000003, 0.400000006)
- Part112.CFrame = CFrame.new(11.4946051, 1.69014788, -69.2358932, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
- Part112.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part112.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part112.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part112.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part112.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part112.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part112.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part112.Position = Vector3.new(11.4946051, 1.69014788, -69.2358932)
- Part112.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
- Part112.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh113.Parent = Part112
- SpecialMesh113.Scale = Vector3.new(1.5, 1.20000005, 1.5)
- SpecialMesh113.Scale = Vector3.new(1.5, 1.20000005, 1.5)
- ManualWeld114.Name = "Weld"
- ManualWeld114.Parent = Part112
- ManualWeld114.C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld114.Part0 = Part112
- Part115.Parent = Tool67
- Part115.Material = Enum.Material.SmoothPlastic
- Part115.BrickColor = BrickColor.new("Black")
- Part115.Rotation = Vector3.new(91.6999969, -1.05999994, 87.5499954)
- Part115.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part115.Size = Vector3.new(0.200000003, 0.200000003, 0.400000006)
- Part115.CFrame = CFrame.new(11.4983072, 1.89002514, -69.2299805, 0.042766571, -0.998914063, -0.0185098089, -0.0303550716, 0.0172189716, -0.99939245, 0.998625696, 0.0433027148, -0.0295857284)
- Part115.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part115.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part115.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part115.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part115.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part115.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part115.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part115.Position = Vector3.new(11.4983072, 1.89002514, -69.2299805)
- Part115.Orientation = Vector3.new(88, -147.970001, -60.4399986)
- Part115.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh116.Parent = Part115
- SpecialMesh116.Scale = Vector3.new(1, 1, 1.20000005)
- SpecialMesh116.MeshType = Enum.MeshType.Wedge
- SpecialMesh116.Scale = Vector3.new(1, 1, 1.20000005)
- ManualWeld117.Name = "Weld"
- ManualWeld117.Parent = Part115
- ManualWeld117.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- ManualWeld117.C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld117.Part0 = Part115
- Part118.Parent = Tool67
- Part118.Material = Enum.Material.SmoothPlastic
- Part118.BrickColor = BrickColor.new("Black")
- Part118.Rotation = Vector3.new(-88.2999954, 1.05999994, 92.4499969)
- Part118.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part118.Size = Vector3.new(0.200000003, 0.200000003, 0.400000036)
- Part118.CFrame = CFrame.new(11.4909029, 1.49026668, -69.2418137, -0.042766571, -0.998914063, 0.0185098089, 0.0303550716, 0.0172189716, 0.99939245, -0.998625696, 0.0433027148, 0.0295857284)
- Part118.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part118.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part118.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part118.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part118.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part118.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part118.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part118.Position = Vector3.new(11.4909029, 1.49026668, -69.2418137)
- Part118.Orientation = Vector3.new(-88, 32.0299988, 60.4399986)
- Part118.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh119.Parent = Part118
- SpecialMesh119.Scale = Vector3.new(1, 1, 1.20000005)
- SpecialMesh119.MeshType = Enum.MeshType.Wedge
- SpecialMesh119.Scale = Vector3.new(1, 1, 1.20000005)
- ManualWeld120.Name = "Weld"
- ManualWeld120.Parent = Part118
- ManualWeld120.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- ManualWeld120.C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld120.Part0 = Part118
- Part121.Parent = Tool67
- Part121.Material = Enum.Material.SmoothPlastic
- Part121.Reflectance = 0.20000000298023
- Part121.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
- Part121.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part121.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
- Part121.CFrame = CFrame.new(11.8923197, 1.58332062, -69.2561722, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
- Part121.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part121.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part121.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part121.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part121.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part121.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part121.Position = Vector3.new(11.8923197, 1.58332062, -69.2561722)
- Part121.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
- BlockMesh122.Parent = Part121
- BlockMesh122.Scale = Vector3.new(0.400000006, 1, 1)
- BlockMesh122.Scale = Vector3.new(0.400000006, 1, 1)
- ManualWeld123.Name = "Weld"
- ManualWeld123.Parent = Part121
- ManualWeld123.C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld123.Part0 = Part121
- Part124.Name = "BloodPart"
- Part124.Parent = Tool67
- Part124.Material = Enum.Material.SmoothPlastic
- Part124.BrickColor = BrickColor.new("Crimson")
- Part124.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
- Part124.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part124.Size = Vector3.new(0.200000003, 0.399999946, 0.400000036)
- Part124.CFrame = CFrame.new(12.7931938, 1.66776514, -69.2921906, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
- Part124.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part124.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part124.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part124.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part124.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part124.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part124.Color = Color3.new(0.592157, 0, 0)
- Part124.Position = Vector3.new(12.7931938, 1.66776514, -69.2921906)
- Part124.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
- Part124.Color = Color3.new(0.592157, 0, 0)
- SpecialMesh125.Parent = Part124
- SpecialMesh125.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
- SpecialMesh125.MeshType = Enum.MeshType.Wedge
- SpecialMesh125.Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999)
- ManualWeld126.Name = "Weld"
- ManualWeld126.Parent = Part124
- ManualWeld126.C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld126.Part0 = Part124
- ParticleEmitter127.Parent = Part124
- ParticleEmitter127.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
- ParticleEmitter127.Color = ColorSequence.new(Color3.new(0.6, 0, 0),Color3.new(0.6, 0, 0))
- ParticleEmitter127.Texture = "http://www.roblox.com/asset/?id=243132757"
- ParticleEmitter127.Acceleration = Vector3.new(0, -10, 0)
- ParticleEmitter127.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter127.Rate = 10
- ParticleEmitter127.Speed = NumberRange.new(0, 0)
- ParticleEmitter127.Color = ColorSequence.new(Color3.new(0.6, 0, 0),Color3.new(0.6, 0, 0))
- Part128.Parent = Tool67
- Part128.Material = Enum.Material.SmoothPlastic
- Part128.Reflectance = 0.20000000298023
- Part128.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
- Part128.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part128.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part128.CFrame = CFrame.new(12.4953709, 1.77286851, -69.2762375, 0.042766571, 0.998914063, 0.0185098089, -0.0303550716, -0.0172189716, 0.99939245, 0.998625696, -0.0433027148, 0.0295857284)
- Part128.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part128.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part128.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part128.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part128.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part128.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part128.Position = Vector3.new(12.4953709, 1.77286851, -69.2762375)
- Part128.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
- BlockMesh129.Parent = Part128
- BlockMesh129.Scale = Vector3.new(0.400000006, 1, 1)
- BlockMesh129.Scale = Vector3.new(0.400000006, 1, 1)
- ManualWeld130.Name = "Weld"
- ManualWeld130.Parent = Part128
- ManualWeld130.C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld130.Part0 = Part128
- Part131.Parent = Tool67
- Part131.Material = Enum.Material.SmoothPlastic
- Part131.Reflectance = 0.20000000298023
- Part131.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
- Part131.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part131.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part131.CFrame = CFrame.new(11.6962385, 1.78664553, -69.2416, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
- Part131.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part131.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part131.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part131.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part131.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part131.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part131.Position = Vector3.new(11.6962385, 1.78664553, -69.2416)
- Part131.Orientation = Vector3.new(88, -147.970001, 119.559998)
- SpecialMesh132.Parent = Part131
- SpecialMesh132.Offset = Vector3.new(0, -0.0500000007, -0.0500000007)
- SpecialMesh132.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- SpecialMesh132.MeshType = Enum.MeshType.Wedge
- SpecialMesh132.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- ManualWeld133.Name = "Weld"
- ManualWeld133.Parent = Part131
- ManualWeld133.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- ManualWeld133.C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld133.Part0 = Part131
- Part134.Parent = Tool67
- Part134.Material = Enum.Material.SmoothPlastic
- Part134.Reflectance = 0.20000000298023
- Part134.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
- Part134.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part134.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part134.CFrame = CFrame.new(11.6962385, 1.78664553, -69.2416, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
- Part134.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.Position = Vector3.new(11.6962385, 1.78664553, -69.2416)
- Part134.Orientation = Vector3.new(88, -147.970001, 119.559998)
- SpecialMesh135.Parent = Part134
- SpecialMesh135.Offset = Vector3.new(0, 0.0500000007, -0.0500000007)
- SpecialMesh135.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- SpecialMesh135.MeshType = Enum.MeshType.Wedge
- SpecialMesh135.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- ManualWeld136.Name = "Weld"
- ManualWeld136.Parent = Part134
- ManualWeld136.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- ManualWeld136.C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld136.Part0 = Part134
- Part137.Parent = Tool67
- Part137.Material = Enum.Material.SmoothPlastic
- Part137.Reflectance = 0.20000000298023
- Part137.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
- Part137.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part137.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part137.CFrame = CFrame.new(11.8960218, 1.78320181, -69.2502594, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
- Part137.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part137.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part137.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part137.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part137.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part137.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part137.Position = Vector3.new(11.8960218, 1.78320181, -69.2502594)
- Part137.Orientation = Vector3.new(88, -147.970001, 119.559998)
- SpecialMesh138.Parent = Part137
- SpecialMesh138.Offset = Vector3.new(0, -0.0500000007, -0.0500000007)
- SpecialMesh138.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- SpecialMesh138.MeshType = Enum.MeshType.Wedge
- SpecialMesh138.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- ManualWeld139.Name = "Weld"
- ManualWeld139.Parent = Part137
- ManualWeld139.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- ManualWeld139.C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld139.Part0 = Part137
- Part140.Parent = Tool67
- Part140.Material = Enum.Material.SmoothPlastic
- Part140.Reflectance = 0.20000000298023
- Part140.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
- Part140.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part140.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part140.CFrame = CFrame.new(11.8960218, 1.78320181, -69.2502594, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
- Part140.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part140.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part140.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part140.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part140.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part140.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part140.Position = Vector3.new(11.8960218, 1.78320181, -69.2502594)
- Part140.Orientation = Vector3.new(88, -147.970001, 119.559998)
- SpecialMesh141.Parent = Part140
- SpecialMesh141.Offset = Vector3.new(0, 0.0500000007, -0.0500000007)
- SpecialMesh141.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- SpecialMesh141.MeshType = Enum.MeshType.Wedge
- SpecialMesh141.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- ManualWeld142.Name = "Weld"
- ManualWeld142.Parent = Part140
- ManualWeld142.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- ManualWeld142.C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld142.Part0 = Part140
- Part143.Parent = Tool67
- Part143.Material = Enum.Material.SmoothPlastic
- Part143.Reflectance = 0.20000000298023
- Part143.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
- Part143.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part143.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part143.CFrame = CFrame.new(12.0958042, 1.77975798, -69.2589188, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
- Part143.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part143.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part143.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part143.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part143.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part143.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part143.Position = Vector3.new(12.0958042, 1.77975798, -69.2589188)
- Part143.Orientation = Vector3.new(88, -147.970001, 119.559998)
- SpecialMesh144.Parent = Part143
- SpecialMesh144.Offset = Vector3.new(0, 0.0500000007, -0.0500000007)
- SpecialMesh144.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- SpecialMesh144.MeshType = Enum.MeshType.Wedge
- SpecialMesh144.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- ManualWeld145.Name = "Weld"
- ManualWeld145.Parent = Part143
- ManualWeld145.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- ManualWeld145.C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld145.Part0 = Part143
- Part146.Parent = Tool67
- Part146.Material = Enum.Material.SmoothPlastic
- Part146.Reflectance = 0.20000000298023
- Part146.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
- Part146.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part146.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part146.CFrame = CFrame.new(12.0958042, 1.77975798, -69.2589188, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
- Part146.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part146.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part146.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part146.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part146.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part146.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part146.Position = Vector3.new(12.0958042, 1.77975798, -69.2589188)
- Part146.Orientation = Vector3.new(88, -147.970001, 119.559998)
- SpecialMesh147.Parent = Part146
- SpecialMesh147.Offset = Vector3.new(0, -0.0500000007, -0.0500000007)
- SpecialMesh147.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- SpecialMesh147.MeshType = Enum.MeshType.Wedge
- SpecialMesh147.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- ManualWeld148.Name = "Weld"
- ManualWeld148.Parent = Part146
- ManualWeld148.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- ManualWeld148.C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld148.Part0 = Part146
- Part149.Parent = Tool67
- Part149.Material = Enum.Material.SmoothPlastic
- Part149.Reflectance = 0.20000000298023
- Part149.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
- Part149.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part149.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part149.CFrame = CFrame.new(12.2955875, 1.77631426, -69.2675781, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
- Part149.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.Position = Vector3.new(12.2955875, 1.77631426, -69.2675781)
- Part149.Orientation = Vector3.new(88, -147.970001, 119.559998)
- SpecialMesh150.Parent = Part149
- SpecialMesh150.Offset = Vector3.new(0, -0.0500000007, -0.0500000007)
- SpecialMesh150.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- SpecialMesh150.MeshType = Enum.MeshType.Wedge
- SpecialMesh150.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- ManualWeld151.Name = "Weld"
- ManualWeld151.Parent = Part149
- ManualWeld151.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- ManualWeld151.C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld151.Part0 = Part149
- Part152.Parent = Tool67
- Part152.Material = Enum.Material.SmoothPlastic
- Part152.Reflectance = 0.20000000298023
- Part152.Rotation = Vector3.new(91.6999969, -1.05999994, -92.4499969)
- Part152.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part152.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part152.CFrame = CFrame.new(12.2955875, 1.77631426, -69.2675781, -0.042766571, 0.998914063, -0.0185098089, 0.0303550716, -0.0172189716, -0.99939245, -0.998625696, -0.0433027148, -0.0295857284)
- Part152.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part152.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part152.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part152.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part152.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part152.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part152.Position = Vector3.new(12.2955875, 1.77631426, -69.2675781)
- Part152.Orientation = Vector3.new(88, -147.970001, 119.559998)
- SpecialMesh153.Parent = Part152
- SpecialMesh153.Offset = Vector3.new(0, 0.0500000007, -0.0500000007)
- SpecialMesh153.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- SpecialMesh153.MeshType = Enum.MeshType.Wedge
- SpecialMesh153.Scale = Vector3.new(0.400000006, 0.5, 0.5)
- ManualWeld154.Name = "Weld"
- ManualWeld154.Parent = Part152
- ManualWeld154.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- ManualWeld154.C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld154.Part0 = Part152
- Part155.Name = "No"
- Part155.Parent = Tool67
- Part155.Material = Enum.Material.SmoothPlastic
- Part155.BrickColor = BrickColor.new("Black")
- Part155.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
- Part155.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part155.Size = Vector3.new(0.200000003, 0.600000024, 0.400000006)
- Part155.CFrame = CFrame.new(11.0950394, 1.69703543, -69.2185745, 0.0427665748, 0.998914063, 0.0185098071, -0.0303550698, -0.0172189698, 0.99939245, 0.998625696, -0.0433027148, 0.0295857266)
- Part155.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part155.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part155.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part155.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part155.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part155.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part155.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part155.Position = Vector3.new(11.0950394, 1.69703543, -69.2185745)
- Part155.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
- Part155.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh156.Parent = Part155
- ManualWeld157.Name = "Weld"
- ManualWeld157.Parent = Part155
- ManualWeld157.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld157.C1 = CFrame.new(0, -1.00000644, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld157.Part0 = Part155
- Part158.Parent = Tool67
- Part158.Material = Enum.Material.SmoothPlastic
- Part158.Reflectance = 0.20000000298023
- Part158.Rotation = Vector3.new(-88.2999954, 1.05999994, -87.5499954)
- Part158.Velocity = Vector3.new(-1.40129846e-45, 0, -1.40129846e-45)
- Part158.Size = Vector3.new(0.200000003, 1, 0.200000003)
- Part158.CFrame = CFrame.new(12.0958052, 1.77975607, -69.2589188, 0.0427665748, 0.998914063, 0.0185098071, -0.0303550698, -0.0172189698, 0.99939245, 0.998625696, -0.0433027148, 0.0295857266)
- Part158.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part158.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part158.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part158.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part158.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part158.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part158.Position = Vector3.new(12.0958052, 1.77975607, -69.2589188)
- Part158.Orientation = Vector3.new(-88, 32.0299988, -119.559998)
- BlockMesh159.Parent = Part158
- BlockMesh159.Offset = Vector3.new(0, 0, -0.0500000007)
- BlockMesh159.Scale = Vector3.new(0.400000006, 1, 0.5)
- BlockMesh159.Scale = Vector3.new(0.400000006, 1, 0.5)
- ManualWeld160.Name = "Weld"
- ManualWeld160.Parent = Part158
- ManualWeld160.C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld160.Part0 = Part158
- Tool161.Name = "PolarWarriorSpear"
- Tool161.Parent = mas
- Tool161.TextureId = "http://www.roblox.com/asset/?id=582112969"
- Tool161.GripPos = Vector3.new(0, -1.64999998, 0)
- Part162.Name = "Handle"
- Part162.Parent = Tool161
- Part162.Rotation = Vector3.new(83.0599976, 45.8400002, -80.3699951)
- Part162.Locked = true
- Part162.FormFactor = Enum.FormFactor.Custom
- Part162.Size = Vector3.new(0.75, 5.5, 0.75)
- Part162.CFrame = CFrame.new(39.3894043, 8.24580765, 65.0825806, 0.116547033, 0.68681711, 0.717425346, 0, 0.722348034, -0.691529751, -0.993185222, 0.0805957317, 0.0841875225)
- Part162.BottomSurface = Enum.SurfaceType.Smooth
- Part162.TopSurface = Enum.SurfaceType.Smooth
- Part162.Position = Vector3.new(39.3894043, 8.24580765, 65.0825806)
- Part162.Orientation = Vector3.new(43.75, 83.3099976, 0)
- SpecialMesh163.Parent = Part162
- SpecialMesh163.MeshId = "http://www.roblox.com/asset/?id=582112675"
- SpecialMesh163.Scale = Vector3.new(1.5, 1.5, 1.5)
- SpecialMesh163.TextureId = "http://www.roblox.com/asset/?id=582112808"
- SpecialMesh163.MeshType = Enum.MeshType.FileMesh
- SpecialMesh163.Scale = Vector3.new(1.5, 1.5, 1.5)
- Sound164.Name = "SwordClash"
- Sound164.Parent = Part162
- Sound164.SoundId = "http://www.roblox.com/asset/?id=201972796"
- Sound165.Name = "SwordCollide"
- Sound165.Parent = Part162
- Sound165.SoundId = "http://www.roblox.com/asset/?id=201972805"
- Sound166.Name = "SwordScrape"
- Sound166.Parent = Part162
- Sound166.SoundId = "http://www.roblox.com/asset/?id=201972814"
- Sound167.Name = "SwordSheath"
- Sound167.Parent = Part162
- Sound167.SoundId = "http://www.roblox.com/asset/?id=201972840"
- Sound168.Name = "SwordStrike"
- Sound168.Parent = Part162
- Sound168.SoundId = "http://www.roblox.com/asset/?id=201972868"
- Sound169.Name = "SwordSlash"
- Sound169.Parent = Part162
- Sound169.Pitch = 1.25
- Sound169.SoundId = "rbxasset://sounds/swordslash.wav"
- Sound169.Volume = 0.10000000149012
- LocalScript170.Parent = Tool161
- table.insert(cors,sandbox(LocalScript170,function()
- --Made by Luckymaxer
- Tool = script.Parent
- Handle = Tool:WaitForChild("Handle")
- Players = game:GetService("Players")
- RunService = game:GetService("RunService")
- Animations = {}
- Remotes = Tool:WaitForChild("Remotes")
- ServerControl = Remotes:WaitForChild("ServerControl")
- ClientControl = Remotes:WaitForChild("ClientControl")
- Rate = (1 / 60)
- ToolEquipped = false
- function SetAnimation(mode, value)
- if mode == "PlayAnimation" and value and ToolEquipped and Humanoid then
- for i, v in pairs(Animations) do
- if v.Animation == value.Animation then
- v.AnimationTrack:Stop()
- table.remove(Animations, i)
- end
- end
- local AnimationTrack = Humanoid:LoadAnimation(value.Animation)
- table.insert(Animations, {Animation = value.Animation, AnimationTrack = AnimationTrack})
- AnimationTrack:Play(value.FadeTime, value.Weight, value.Speed)
- elseif mode == "StopAnimation" and value then
- for i, v in pairs(Animations) do
- if v.Animation == value.Animation then
- v.AnimationTrack:Stop(value.FadeTime)
- table.remove(Animations, i)
- end
- end
- end
- end
- function KeyPressed(Key, Down)
- InvokeServer("KeyPressed", {Key = Key, Down = Down})
- end
- function MouseClick(Down)
- InvokeServer("MouseClick", {Down = Down})
- end
- function CheckIfAlive()
- return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Player and Player.Parent) and true) or false)
- end
- function Equipped(Mouse)
- Character = Tool.Parent
- Player = Players:GetPlayerFromCharacter(Character)
- Humanoid = Character:FindFirstChild("Humanoid")
- ToolEquipped = true
- if not CheckIfAlive() then
- return
- end
- PlayerMouse = Mouse
- PlayerMouse.Button1Down:connect(function()
- MouseClick(true)
- end)
- PlayerMouse.Button1Up:connect(function()
- MouseClick(false)
- end)
- PlayerMouse.KeyDown:connect(function(Key)
- KeyPressed(Key, true)
- end)
- PlayerMouse.KeyUp:connect(function(Key)
- KeyPressed(Key, false)
- end)
- end
- function Unequipped()
- for i, v in pairs(Animations) do
- if v and v.AnimationTrack then
- v.AnimationTrack:Stop()
- end
- end
- Animations = {}
- ToolEquipped = false
- end
- function InvokeServer(mode, value)
- local ServerReturn
- pcall(function()
- ServerReturn = ServerControl:InvokeServer(mode, value)
- end)
- return ServerReturn
- end
- function OnClientInvoke(mode, value)
- if mode == "PlayAnimation" and value and ToolEquipped and Humanoid then
- SetAnimation("PlayAnimation", value)
- elseif mode == "StopAnimation" and value then
- SetAnimation("StopAnimation", value)
- elseif mode == "PlaySound" and value then
- value:Play()
- elseif mode == "StopSound" and value then
- value:Stop()
- elseif mode == "MouseData" then
- return ((PlayerMouse and {Position = PlayerMouse.Hit.p, Target = PlayerMouse.Target}) or nil)
- end
- end
- ClientControl.OnClientInvoke = OnClientInvoke
- Tool.Equipped:connect(Equipped)
- Tool.Unequipped:connect(Unequipped)
- end))
- LocalScript171.Name = "MouseIcon"
- LocalScript171.Parent = Tool161
- table.insert(cors,sandbox(LocalScript171,function()
- --Made by Luckymaxer
- Mouse_Icon = "rbxasset://textures/GunCursor.png"
- Reloading_Icon = "rbxasset://textures/GunWaitCursor.png"
- Tool = script.Parent
- Mouse = nil
- function UpdateIcon()
- if Mouse then
- Mouse.Icon = Tool.Enabled and Mouse_Icon or Reloading_Icon
- end
- end
- function OnEquipped(ToolMouse)
- Mouse = ToolMouse
- UpdateIcon()
- end
- function OnChanged(Property)
- if Property == "Enabled" then
- UpdateIcon()
- end
- end
- Tool.Equipped:connect(OnEquipped)
- Tool.Changed:connect(OnChanged)
- end))
- Folder172.Name = "Remotes"
- Folder172.Parent = Tool161
- RemoteFunction173.Name = "ServerControl"
- RemoteFunction173.Parent = Folder172
- RemoteFunction174.Name = "ClientControl"
- RemoteFunction174.Parent = Folder172
- Folder175.Name = "Animations"
- Folder175.Parent = Tool161
- Folder176.Name = "R6"
- Folder176.Parent = Folder175
- Animation177.Name = "Stab"
- Animation177.Parent = Folder176
- Animation177.AnimationId = "http://www.roblox.com/asset/?id=582383239"
- Folder178.Name = "R15"
- Folder178.Parent = Folder175
- Animation179.Name = "Stab"
- Animation179.Parent = Folder178
- Animation179.AnimationId = "http://www.roblox.com/asset/?id=582384156"
- Script180.Parent = Tool161
- table.insert(cors,sandbox(Script180,function()
- --Made by Luckymaxer
- Tool = script.Parent
- Handle = Tool:WaitForChild("Handle")
- Players = game:GetService("Players")
- Debris = game:GetService("Debris")
- Freeze = script:WaitForChild("Freeze")
- BasePart = Instance.new("Part")
- BasePart.Shape = Enum.PartType.Block
- BasePart.Material = Enum.Material.Plastic
- BasePart.TopSurface = Enum.SurfaceType.Smooth
- BasePart.BottomSurface = Enum.SurfaceType.Smooth
- BasePart.FormFactor = Enum.FormFactor.Custom
- BasePart.Size = Vector3.new(0.2, 0.2, 0.2)
- BasePart.CanCollide = true
- BasePart.Locked = true
- BasePart.Anchored = false
- AnimationsBin = Tool:WaitForChild("Animations")
- R6Anims = AnimationsBin:WaitForChild("R6")
- R15Anims = AnimationsBin:WaitForChild("R15")
- Animations = {
- Stab = {Animation = R6Anims:WaitForChild("Stab"), FadeTime = nil, Weight = nil, Speed = 2.5, Duration = 0.5},
- R15Stab = {Animation = R15Anims:WaitForChild("Stab"), FadeTime = nil, Weight = nil, Speed = 2.5, Duration = 0.5},
- }
- Sounds = {
- SwordSlash = Handle:WaitForChild("SwordSlash"),
- SwordSheath = Handle:WaitForChild("SwordSheath"),
- SwordClash = Handle:WaitForChild("SwordClash"),
- SwordScrape = Handle:WaitForChild("SwordScrape"),
- SwordStrike = Handle:WaitForChild("SwordStrike"),
- SwordCollide = Handle:WaitForChild("SwordCollide"),
- }
- Damages = {
- Touched = {Min = 5, Max = 8},
- Hit = {Min = 10, Max = 15}
- }
- HitHumanoids = {}
- SoundPlayable = false
- ToolEquipped = false
- MouseDown = false
- Remotes = Tool:WaitForChild("Remotes")
- ServerControl = (Remotes:FindFirstChild("ServerControl") or Instance.new("RemoteFunction"))
- ServerControl.Name = "ServerControl"
- ServerControl.Parent = Remotes
- ClientControl = (Remotes:FindFirstChild("ClientControl") or Instance.new("RemoteFunction"))
- ClientControl.Name = "ClientControl"
- ClientControl.Parent = Remotes
- Tool.Enabled = true
- function TagHumanoid(humanoid, player)
- local Creator_Tag = Instance.new("ObjectValue")
- Creator_Tag.Name = "creator"
- Creator_Tag.Value = player
- Debris:AddItem(Creator_Tag, 2)
- Creator_Tag.Parent = humanoid
- end
- function UntagHumanoid(humanoid)
- for i, v in pairs(humanoid:GetChildren()) do
- if v:IsA("ObjectValue") and v.Name == "creator" then
- v:Destroy()
- end
- end
- end
- function Billboard(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 0))
- local EffectPart = BasePart:Clone()
- EffectPart.Name = "Effect"
- EffectPart.Size = Vector3.new(0, 0, 0)
- EffectPart.CFrame = CFrame.new(Pos)
- EffectPart.Anchored = true
- EffectPart.CanCollide = false
- EffectPart.Transparency = 1
- local BillboardGui = Instance.new("BillboardGui")
- BillboardGui.Size = UDim2.new(3, 0, 3, 0)
- BillboardGui.Adornee = EffectPart
- local TextLabel = Instance.new("TextLabel")
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.Text = Text
- TextLabel.TextColor3 = Color
- TextLabel.TextScaled = true
- TextLabel.Font = Enum.Font.ArialBold
- TextLabel.Parent = BillboardGui
- BillboardGui.Parent = EffectPart
- Debris:AddItem(EffectPart, (Time + 0.1))
- EffectPart.Parent = game:GetService("Workspace")
- Delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- function Blow(Hit)
- if not Hit or not Hit.Parent or not CheckIfAlive() then
- return
- end
- local character = Hit.Parent
- local humanoid = character:FindFirstChild("Humanoid")
- if character == Character or not humanoid or humanoid.Health == 0 or humanoid == Humanoid then
- return
- end
- local RightArm = Character:FindFirstChild("Right Arm") or Character:FindFirstChild("RightHand")
- if not RightArm then
- return
- end
- local RightGrip = RightArm:FindFirstChild("RightGrip")
- if not RightGrip or (RightGrip.Part0 ~= RightArm and RightGrip.Part1 ~= RightArm) then
- return
- end
- local HumanoidFound = false
- for i, v in pairs(HitHumanoids) do
- if v.Humanoid == humanoid then
- local Index = HitHumanoids[i]
- Index.Hits = (Index.Hits + 1)
- HitHumanoids[i] = Index
- if Index.Hits >= Index.MaxHits then
- HumanoidFound = true
- end
- end
- end
- if HumanoidFound then
- return
- end
- if SoundPlayable then
- SoundPlayable = false
- local SlashSounds = {Sounds.SwordClash, Sounds.SwordScrape, Sounds.SwordStrike, Sounds.SwordCollide}
- SlashSounds[math.random(1, #SlashSounds)]:Play()
- end
- local DamageValue = ((CurrentAnimation and Damages.Hit) or Damages.Touched)
- local DamageAmount = math.random(DamageValue.Min, DamageValue.Max)
- if CurrentAnimation then
- table.insert(HitHumanoids, {Humanoid = humanoid, Hits = 0, MaxHits = math.random(1, 3)})
- local Radius = Vector3.new(1.25, 0.25, 1.25)
- Radius = (Radius * 100)
- local Offset = Vector3.new(math.random(-Radius.X, Radius.X), math.random(-Radius.Y, Radius.Y), math.random(-Radius.Z, Radius.Z))
- Offset = Offset * Vector3.new(0.01, 0.01, 0.01)
- Billboard((Handle.Position + Offset + Vector3.new(0, 2.5, 0)), DamageAmount, 2, BrickColor.new("Really red").Color)
- end
- UntagHumanoid(humanoid)
- TagHumanoid(humanoid, Player)
- humanoid:TakeDamage(DamageAmount)
- if humanoid.Health > 0 and math.random() < 0.25 then
- local FreezeCopy = character:FindFirstChild(Freeze.Name)
- if not FreezeCopy then
- local FreezeCopy = Freeze:Clone()
- local Duration = Instance.new("NumberValue")
- Duration.Name = "Duration"
- Duration.Value = 0.5
- Duration.Parent = FreezeCopy
- FreezeCopy.Disabled = false
- FreezeCopy.Parent = character
- end
- end
- end
- function Activated()
- if not ToolEquipped or not Tool.Enabled or not CheckIfAlive() then
- return
- end
- Tool.Enabled = false
- SoundPlayable = true
- local SlashAnimations = {Animations.Stab}
- if Humanoid.RigType == Enum.HumanoidRigType.R15 then
- SlashAnimations = {Animations.R15Stab}
- end
- Sounds.SwordSlash:Play()
- CurrentAnimation = SlashAnimations[math.random(1, #SlashAnimations)]
- HitHumanoids = {}
- Spawn(function()
- InvokeClient("PlayAnimation", CurrentAnimation)
- end)
- wait(CurrentAnimation.Duration)
- Tool.Enabled = true
- local BuildUp = false
- local BuildUpAttack = Tool.Activated:connect(function()
- BuildUp = true
- end)
- HitHumanoids = {}
- Delay(0.75, (function()
- if BuildUpAttack then
- BuildUpAttack:disconnect()
- end
- if BuildUp then
- return
- end
- CurrentAnimation = nil
- SoundPlayable = false
- end))
- end
- function CheckIfAlive()
- return (((Player and Player.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0) and true) or false)
- end
- function Equipped()
- Character = Tool.Parent
- Player = Players:GetPlayerFromCharacter(Character)
- Humanoid = Character:FindFirstChild("Humanoid")
- if not CheckIfAlive() then
- return
- end
- Sounds.SwordSheath:Play()
- ToolEquipped = true
- end
- function Unequipped()
- MouseDown = false
- ToolEquipped = false
- end
- function InvokeClient(Mode, Value)
- local ClientReturn = nil
- pcall(function()
- ClientReturn = ClientControl:InvokeClient(Player, Mode, Value)
- end)
- return ClientReturn
- end
- function OnServerInvoke(player, Mode, Value)
- if player ~= Player or not Mode or not Value then
- return
- end
- end
- ServerControl.OnServerInvoke = OnServerInvoke
- Handle.Touched:connect(Blow)
- Tool.Activated:connect(Activated)
- Tool.Equipped:connect(Equipped)
- Tool.Unequipped:connect(Unequipped)
- end))
- Script181.Name = "Freeze"
- Script181.Parent = Script180
- Script181.Disabled = true
- table.insert(cors,sandbox(Script181,function()
- --Made by Luckymaxer
- Character = script.Parent
- Humanoid = Character:FindFirstChild("Humanoid")
- Head = Character:FindFirstChild("Head")
- Players = game:GetService("Players")
- Debris = game:GetService("Debris")
- Player = Players:GetPlayerFromCharacter(Character)
- Duration = script:FindFirstChild("Duration")
- Sounds = {
- Solidify = script:WaitForChild("Solidify"),
- Shatter = script:WaitForChild("Shatter"),
- }
- BaseColor = BrickColor.new("Pastel Blue")
- DarkProperties = {
- All = {
- --BrickColor = BaseColor,
- Material = Enum.Material.Ice,
- TextureId = "",
- Texture = "",
- VertexColor = Vector3.new(BaseColor.Color.r, BaseColor.Color.g, BaseColor.Color.b),
- --BaseTextureId = 0,
- --OverlayTextureId = 0,
- SparkleColor = BaseColor.Color,
- Color = BaseColor.Color,
- SecondaryColor = BaseColor.Color,
- },
- Class = {
- BasePart = {
- Reflectance = 0.5,
- Anchored = true,
- },
- ParticleEmitter = {
- Color = ColorSequence.new(BaseColor.Color, BaseColor.Color),
- },
- Sparkles = {
- Color = BaseColor.Color,
- SparkleColor = BaseColor.Color,
- },
- Decal = {
- Texture = "",
- },
- }
- }
- RemovedObjects = {}
- function GetAllInstances(Parent)
- local Instances = {}
- local function GetInstances(Parent)
- for i, v in pairs(Parent:GetChildren()) do
- table.insert(Instances, v)
- GetInstances(v)
- end
- end
- GetInstances(Parent)
- return Instances
- end
- function Freeze()
- FrozenInstances = GetAllInstances(Character)
- OriginalInstances = {}
- for i, v in pairs(FrozenInstances) do
- local NewInstance = {Object = v, Properties = {}}
- local PropertiesAltered = {}
- if v:IsA("BasePart") and v.Name == "HumanoidRootPart" then
- elseif v:IsA("CharacterMesh") then
- local Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = Enum.MeshType.FileMesh
- Mesh.MeshId = ("http://www.roblox.com/asset/?id=" .. v.MeshId)
- for ii, vv in pairs(Character:GetChildren()) do
- if vv:IsA("BasePart") and v.BodyPart.Name == string.gsub(vv.Name, " ", "") then
- Mesh.Parent = vv
- table.insert(RemovedObjects, {Object = v, NewObject = Mesh, Parent = v.Parent})
- v.Parent = nil
- end
- end
- elseif v:IsA("Decal") and v.Name == "face" then
- else
- for ii, vv in pairs(DarkProperties.All) do
- pcall(function()
- NewInstance.Properties[ii] = v[ii]
- PropertiesAltered[ii] = true
- v[ii] = vv
- end)
- end
- for ii, vv in pairs(DarkProperties.Class) do
- if v:IsA(ii) then
- for iii, vvv in pairs(vv) do
- --if not PropertiesAltered[iii] then
- pcall(function()
- NewInstance.Properties[iii] = v[iii]
- v[iii] = vvv
- end)
- --end
- end
- end
- end
- end
- table.insert(OriginalInstances, NewInstance)
- end
- end
- function Unfreeze()
- for i, v in pairs(RemovedObjects) do
- if v then
- if v.NewObject and v.NewObject.Parent then
- v.NewObject:Destroy()
- end
- v.Object.Parent = v.Parent
- end
- end
- for i, v in pairs(OriginalInstances) do
- if v.Object then
- for ii, vv in pairs(v.Properties) do
- pcall(function()
- v.Object[ii] = vv
- end)
- end
- end
- end
- end
- Freeze()
- if Head then
- local SolidifySound = Sounds.Solidify:Clone()
- Debris:AddItem(SolidifySound, 2.5)
- SolidifySound.Parent = Head
- SolidifySound:Play()
- end
- if Duration and Duration.Value >= 0 then
- wait(Duration.Value)
- Unfreeze()
- if Head then
- local ShatterSound = Sounds.Shatter:Clone()
- Debris:AddItem(ShatterSound, 2.5)
- ShatterSound.Parent = Head
- ShatterSound:Play()
- end
- end
- script:Destroy()
- end))
- Sound182.Name = "Shatter"
- Sound182.Parent = Script181
- Sound182.Pitch = 1.2000000476837
- Sound182.SoundId = "http://www.roblox.com/asset/?id=173745512"
- Sound182.Volume = 1
- Sound183.Name = "Solidify"
- Sound183.Parent = Script181
- Sound183.SoundId = "http://www.roblox.com/asset/?id=203936153"
- Tool184.Name = "Torsion Sword"
- Tool184.Parent = mas
- Tool184.TextureId = "rbxasset://Textures/Sword128.png"
- Tool184.GripForward = Vector3.new(-1, -0, -0)
- Tool184.GripPos = Vector3.new(0, 0, -1.5)
- Tool184.GripRight = Vector3.new(0, 1, 0)
- Tool184.GripUp = Vector3.new(0, 0, 1)
- Script185.Name = "SwordScript"
- Script185.Parent = Tool184
- table.insert(cors,sandbox(Script185,function()
- -------- OMG HAX
- r = game:service("RunService")
- local damage = 5
- local slash_damage = 20
- sword = script.Parent.Handle
- Tool = script.Parent
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = sword
- SlashSound.Volume = .7
- local UnsheathSound = Instance.new("Sound")
- UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- UnsheathSound.Parent = sword
- UnsheathSound.Volume = 1
- function blow(hit)
- if (hit.Parent == nil) then return end -- happens when bullet hits sword
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
- if humanoid~=nil and humanoid ~= hum and hum ~= nil then
- -- final check, make sure sword is in-hand
- local right_arm = vCharacter:FindFirstChild("Right Arm")
- if (right_arm ~= nil) then
- local joint = right_arm:FindFirstChild("RightGrip")
- if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- end
- end
- end
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function attack()
- damage = slash_damage
- SlashSound:play()
- local force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0, 1,0)
- force.P = 9999999
- local rot = Instance.new("BodyAngularVelocity")
- rot.angularvelocity = Vector3.new(0, 600, 0)
- rot.P = 8000
- rot.maxTorque= Vector3.new(400000000, 400000000, 400000000)
- local gyr = Instance.new("BodyGyro")
- gyr.cframe = CFrame.new(Vector3.new(0,1,0), Vector3.new (0, 0, 0))
- local armgyro = Instance.new("BodyGyro")
- armgyro.cframe = CFrame.new(Vector3.new(0,0,1), Vector3.new (0, 0, 0))
- Tool.Parent.Torso.CFrame = CFrame.new(Tool.Parent.Torso.Position + Vector3.new(0,.5,0))
- swordOut()
- force.Parent = Tool.Parent.Torso
- rot.Parent = Tool.Parent.Torso
- gyr.Parent = Tool.Parent.Torso
- --armgyro.Parent = Tool.Parent["Right Arm"]
- wait(2)
- rot.angularvelocity= Vector3.new(0,0,0)
- wait(.05)
- rot.Parent = nil
- force.Parent = nil
- gyr.Parent = nil
- armgyro.Parent = nil
- swordUp()
- wait(.3)
- end
- function swordUp()
- Tool.GripForward = Vector3.new(-1,0,0)
- Tool.GripRight = Vector3.new(0,1,0)
- Tool.GripUp = Vector3.new(0,0,1)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(0,0,1)
- Tool.GripRight = Vector3.new(0,-1,0)
- Tool.GripUp = Vector3.new(-1,0,0)
- end
- function swordAcross()
- -- parry
- end
- Tool.Enabled = true
- local last_attack = 0
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- t = r.Stepped:wait()
- attack()
- last_attack = t
- --wait(.5)
- Tool.Enabled = true
- end
- function onEquipped()
- UnsheathSound:play()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- connection = sword.Touched:connect(blow)
- end))
- Part186.Name = "Handle"
- Part186.Parent = Tool184
- Part186.BrickColor = BrickColor.new("Dark stone grey")
- Part186.Reflectance = 0.40000000596046
- Part186.Rotation = Vector3.new(0.0899999961, 26.0100002, -90.0400009)
- Part186.FormFactor = Enum.FormFactor.Plate
- Part186.Size = Vector3.new(1, 0.800000012, 4)
- Part186.CFrame = CFrame.new(28.2113762, 1.50297296, 59.4377289, -0.000636662124, 0.898703516, 0.438556284, -0.999998987, -6.76723403e-06, -0.00143782725, -0.00128921575, -0.438556761, 0.898702562)
- Part186.BottomSurface = Enum.SurfaceType.Smooth
- Part186.TopSurface = Enum.SurfaceType.Smooth
- Part186.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part186.Position = Vector3.new(28.2113762, 1.50297296, 59.4377289)
- Part186.Orientation = Vector3.new(0.0799999982, 26.0100002, -90)
- Part186.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh187.Parent = Part186
- SpecialMesh187.MeshId = "rbxasset://fonts/sword.mesh"
- SpecialMesh187.TextureId = "rbxasset://textures/SwordTexture.png"
- SpecialMesh187.MeshType = Enum.MeshType.FileMesh
- Sound188.Parent = Part186
- Sound188.SoundId = "rbxasset://sounds/swordslash.wav"
- Sound188.Volume = 0.69999998807907
- Sound189.Parent = Part186
- Sound189.SoundId = "rbxasset://sounds/unsheath.wav"
- Sound189.Volume = 1
- Sound190.Parent = Part186
- Sound190.SoundId = "rbxasset://sounds/swordslash.wav"
- Sound190.Volume = 0.69999998807907
- Sound191.Parent = Part186
- Sound191.SoundId = "rbxasset://sounds/unsheath.wav"
- Sound191.Volume = 1
- Sound192.Parent = Part186
- Sound192.SoundId = "rbxasset://sounds/swordslash.wav"
- Sound192.Volume = 0.69999998807907
- Sound193.Parent = Part186
- Sound193.SoundId = "rbxasset://sounds/unsheath.wav"
- Sound193.Volume = 1
- Sound194.Parent = Part186
- Sound194.SoundId = "rbxasset://sounds/swordslash.wav"
- Sound194.Volume = 0.69999998807907
- Sound195.Parent = Part186
- Sound195.SoundId = "rbxasset://sounds/unsheath.wav"
- Sound195.Volume = 1
- Sound196.Parent = Part186
- Sound196.SoundId = "rbxasset://sounds/swordslash.wav"
- Sound196.Volume = 0.69999998807907
- Sound197.Parent = Part186
- Sound197.SoundId = "rbxasset://sounds/unsheath.wav"
- Sound197.Volume = 1
- Sound198.Parent = Part186
- Sound198.SoundId = "rbxasset://sounds/swordslash.wav"
- Sound198.Volume = 0.69999998807907
- Sound199.Parent = Part186
- Sound199.SoundId = "rbxasset://sounds/unsheath.wav"
- Sound199.Volume = 1
- LocalScript200.Name = "Local Gui"
- LocalScript200.Parent = Tool184
- Tool201.Name = "Zegonerayite Pistol"
- Tool201.Parent = mas
- Tool201.GripForward = Vector3.new(-0, 1, -0)
- Tool201.GripPos = Vector3.new(0, -0.550000012, -0.649999976)
- Tool201.GripUp = Vector3.new(0, 0, 1)
- Part202.Name = "Handle"
- Part202.Parent = Tool201
- Part202.Rotation = Vector3.new(-90, 0, -90)
- Part202.FormFactor = Enum.FormFactor.Plate
- Part202.Size = Vector3.new(1, 3.60000014, 1)
- Part202.CFrame = CFrame.new(-0.900023997, 0.500001013, 27.0799999, 0, 1, 0, 0, 0, 1, 1, 0, 0)
- Part202.BottomSurface = Enum.SurfaceType.Smooth
- Part202.TopSurface = Enum.SurfaceType.Smooth
- Part202.Position = Vector3.new(-0.900023997, 0.500001013, 27.0799999)
- Part202.Orientation = Vector3.new(-90, -90, 0)
- Sound203.Name = "EquipSound"
- Sound203.Parent = Part202
- Sound203.SoundId = "http://www.roblox.com/asset/?id=10756118"
- SpecialMesh204.Parent = Part202
- SpecialMesh204.MeshId = "http://www.roblox.com/asset/?id=11915746"
- SpecialMesh204.TextureId = "http://www.roblox.com/asset/?id=87812844"
- SpecialMesh204.MeshType = Enum.MeshType.FileMesh
- Script205.Name = "RayGun"
- Script205.Parent = Tool201
- table.insert(cors,sandbox(Script205,function()
- local Tool = script.Parent;
- enabled = true
- local spark = Instance.new("Sparkles")
- function fire(v)
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local missile = Instance.new("Part")
- local spawnPos = vCharacter.PrimaryPart.Position
- local PewPew = Tool.Handle:FindFirstChild("PewPew")
- if (PewPew == nil) then
- PewPew = Instance.new("Sound")
- PewPew.Name = "PewPew"
- PewPew.SoundId = "http://www.roblox.com/asset/?id=11944350"
- PewPew.Parent = Tool.Handle
- PewPew.Volume = 1
- end
- spawnPos = spawnPos + (v * 10)
- missile.Position = spawnPos
- missile.Size = Vector3.new(2,2,2)
- missile.Velocity = v * 200
- missile.BrickColor = BrickColor.new("Lime green")
- missile.Shape = 2
- missile.Transparency = script.Parent.Settings.Transperancy.Value
- missile.BottomSurface = 0
- missile.TopSurface = 0
- missile.Name = script.Parent.Settings.Name
- missile.Reflectance = script.Parent.Settings.Reflect.Value
- missile.CanCollide = script.Parent.Settings.Collide.Value
- missile.Material = script.Parent.Settings.Materializer.Value
- missile.Locked = script.Parent.Settings.Locked.Value
- missile.Anchored = script.Parent.BreakSpark.Anchor.Value
- spark:Clone().Parent = missile
- spark.Color = missile.Color
- local force = Instance.new("BodyForce")
- force.force = Vector3.new(0,100,0)
- force.Parent = missile
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = vPlayer
- creator_tag.Name = "creator"
- creator_tag.Parent = missile
- local new_script = script.Parent.LaserBlast:clone()
- new_script.Disabled = false
- new_script.Parent = missile
- missile.Parent = game.Workspace
- PewPew:Play()
- end
- function gunUp()
- Tool.GripForward = Vector3.new(0,.981,-.196)
- Tool.GripRight = Vector3.new(1,0,0)
- Tool.GripUp = Vector3.new(0,.196,.981)
- end
- function gunOut()
- Tool.GripForward = Vector3.new(0,1,0)
- Tool.GripRight = Vector3.new(1,0,0)
- Tool.GripUp = Vector3.new(0,0,1)
- end
- function isTurbo(character)
- return character:FindFirstChild("BoltHelm") ~= nil
- end
- function onActivated()
- if not enabled then
- return
- end
- enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local targetPos = humanoid.TargetPoint
- local lookAt = (targetPos - character.Head.Position).unit
- local reload = 1
- --if (isTurbo(character)) then
- -- reload = .25
- -- print("turbo")
- --end
- gunUp()
- fire(lookAt)
- wait(reload)
- gunOut()
- wait(reload)
- enabled = true
- end
- function onEquipped()
- Tool.Handle.EquipSound:play()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- end))
- LocalScript206.Name = "Local Gui"
- LocalScript206.Parent = Tool201
- table.insert(cors,sandbox(LocalScript206,function()
- local Tool = script.Parent;
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- enabled = false
- mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
- wait(1)
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- Tool.Equipped:connect(onEquippedLocal)
- end))
- Script207.Name = "LaserBlast"
- Script207.Parent = Tool201
- Script207.Disabled = true
- table.insert(cors,sandbox(Script207,function()
- ball = script.Parent
- damage = 9000
- HitSound = Instance.new("Sound")
- HitSound.Name = "HitSound"
- HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266"
- HitSound.Parent = ball
- HitSound.Volume = 1
- function onTouched(hit)
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- if humanoid ~= nil then
- tagHumanoid(humanoid)
- humanoid:TakeDamage(damage)
- plyr = ball:findFirstChild("creator").Value
- plyr.leaderstats.Points.Value = plyr.leaderstats.Points.Value + 4
- wait(0.2)
- untagHumanoid(humanoid)
- end
- HitSound:Play()
- ball.Parent = nil
- end
- function tagHumanoid(humanoid)
- -- todo: make tag expire
- local tag = ball:findFirstChild("creator")
- if tag ~= nil then
- local new_tag = tag:clone()
- new_tag.Parent = humanoid
- end
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- connection = ball.Touched:connect(onTouched)
- wait(5)
- script.Parent:Destroy()
- --ball.SparkSound.Looped = false
- --ball.SparkSound:Stop()
- ball.Parent = nil
- end))
- Configuration208.Name = "BreakSpark"
- Configuration208.Parent = Tool201
- BoolValue209.Name = "Anchor"
- BoolValue209.Parent = Configuration208
- Configuration210.Name = "Settings"
- Configuration210.Parent = Tool201
- NumberValue211.Name = "Transperancy"
- NumberValue211.Parent = Configuration210
- NumberValue211.Value = 0.5
- NumberValue212.Name = "Reflect"
- NumberValue212.Parent = Configuration210
- NumberValue212.Value = 0.4
- StringValue213.Name = "Name"
- StringValue213.Parent = Configuration210
- StringValue213.Value = "NAY"
- BoolValue214.Name = "Locked"
- BoolValue214.Parent = Configuration210
- BoolValue214.Value = true
- BoolValue215.Name = "Collide"
- BoolValue215.Parent = Configuration210
- BoolValue215.Value = true
- StringValue216.Name = "Materializer"
- StringValue216.Parent = Configuration210
- StringValue216.Value = "Neon"
- ObjectValue217.Name = "Note - This is made by Anime"
- ObjectValue217.Parent = Tool201
- 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
- end
- corrupt = true
- if corrupt == true then
- --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")
- StringValue1 = Instance.new("StringValue")
- Script2 = Instance.new("Script")
- Script3 = Instance.new("Script")
- Script4 = Instance.new("Script")
- StringValue5 = Instance.new("StringValue")
- Script6 = Instance.new("Script")
- Script7 = Instance.new("Script")
- StringValue8 = Instance.new("StringValue")
- Script7.Name = "Corrupt"
- Script7.Parent = Script6
- Script7.Disabled = true
- table.insert(cors,sandbox(Script7,function()
- ---The corruption and the spread script was created by BuildIntoGames :P
- function TextLabel(t)
- if(math.random(1,3) == 1) then
- t.BackgroundTransparency = math.random(1,10)/10
- end
- if(math.random(1,3) == 1) then
- t.TextColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
- end
- if(math.random(1,5) == 5) then
- t.Text = string.sub(t.Text,math.random(1,30),math.random(30,100))
- end
- if(math.random(1,4) == 4) then
- t.Rotation = math.random(1,180)/t.Rotation
- end
- wait()
- end
- function hat (h)
- if(math.random(1,5) == 5) then
- h.AttachmentPos = Vector3.new(math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5))
- end
- end
- function mesh (m)
- if(math.random(1,6) == 6) then
- m.Scale = Vector3.new(math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5))
- end
- if(math.random(1,6) == 6) then
- m.TextureId = "http://www.roblox.com/asset/?id=" .. math.random(10000,10000000)
- end
- end
- function magma(part)
- if(math.random(1,5) == 5) then
- part.BrickColor = BrickColor.Random()
- end
- for i = 1,math.random(-1,2) do
- q = part:clone()
- q.Name = "corruptedclonepart"
- q.Parent = script.Parent
- q.CFrame = part.CFrame
- if(math.random(1,5) == 5) then
- q.Anchored = false
- end
- if(math.random(1,5) == 5) then
- q.CanCollide = false
- end
- end
- if(math.random(1,8) == 2) then
- part.Transparency = math.random(1,10)/10
- end
- if(math.random(1,12) == 9) then
- part.Size = Vector3.new(part.Size.X / math.random(1,10),part.Size.Y * math.random(1,10),part.Size.Z * math.random(1,10))
- end
- if(math.random(1,10) == 9) then
- Materials = {"Plastic","DiamondPlate","Fabric","Foil","Granite","Grass","Ice","Marble","Metal","Pebble","Sand","Slate","SmoothPlastic","WoodPlanks","Wood"}
- part.Material = Materials[math.random(1,#Materials)]
- end
- if(math.random(1,20) == 18) then
- part.Reflectance = math.random(1,20)/10
- end
- if(math.random(1,15) == 15) then
- shapes = {"Ball","Block","Cylinder"}
- part.Shape = shapes[math.random(1,#shapes)]
- end
- wait()
- end
- function sound(soundd)
- soundd.Pitch = math.random(-50,50)/10
- soundd.Volume = math.random(1,10)/10
- end
- function Motor (m)
- m.CurrentAngle = math.random(-100,100)/math.random(1,5)
- m.DesiredAngle = math.random(-100,100)/math.random(1,5)
- m.MaxVelocity = math.random(-100,100)/math.random(1,5)
- end
- function MeltTheWorld(part)
- for _,part in next, part:GetChildren() do
- --print("killing " .. part.Name)
- if(part.Name == "Animate" and part.Parent:FindFirstChild("Humanoid") ~= nil and math.random(1,11) == 11) then part.Disabled = true end
- if part.ClassName == "Part" and part.Name ~= "corruptedclonepart" then magma(part) end
- if part.ClassName == "Sound" then sound(part) end
- if part.ClassName == "Hat" then hat(part) end
- if part.ClassName == "SpecialMesh" then mesh(part) end
- if part.ClassName == "Motor6D" then Motor(part) end
- if part.ClassName == "TextLabel" or part.ClassName == "TextButton" or part.ClassName == "TextBox" then TextLabel(part) end
- MeltTheWorld(part) MeltTheWorld(part)
- end
- end
- MeltTheWorld(script.Parent)
- script.Parent.ChildAdded:connect(function(p)
- if(p.Name ~= "corruptedclonepart") then
- MeltTheWorld(p)
- end
- end)
- script.Parent.DescendantAdded:connect(function(p)
- if(p.Name ~= "corruptedclonepart") then
- MeltTheWorld(p)
- end
- end)
- end))
- StringValue8.Name = "Target"
- StringValue8.Parent = Script6
- StringValue8.Value = "none"
- Script2.Name = "CorruptGame"
- Script2.Parent = mas
- table.insert(cors,sandbox(Script2,function()
- -- This is a fun random project I made really quickly. What it does, it corrupts anything
- --under the targets table. The target must be a child of game. It will mess everything up,
- --And may even lag. Everytime you play this script, it'll make a random effect. Have fun!
- targets = {"Workspace","StarterGui"} -- You can only effect running instances
- for q = 1,#targets do
- p = script.Spread:Clone()
- p.Target.Value = targets[q]
- p.Disabled = false
- p.Parent = game.Workspace
- end
- end))
- Script6.Name = "Spread"
- Script6.Parent = Script2
- table.insert(cors,sandbox(Script6,function()
- stuff = game:FindFirstChild(script.Target.Value)
- if(stuff ~= nil) then
- k = stuff:GetChildren()
- for i = 1,#k do
- local qq = script.Corrupt:clone()
- qq.Parent = k[i]
- qq.Disabled = false
- end
- stuff.ChildAdded:connect(function(pp)
- local qq = script.Corrupt:clone()
- qq.Parent = pp
- qq.Disabled = false
- end)
- end
- end))
- Script7.Name = "Corrupt"
- Script7.Parent = Script6
- Script7.Disabled = true
- table.insert(cors,sandbox(Script7,function()
- ---The corruption and the spread script was created by BuildIntoGames :P
- function TextLabel(t)
- if(math.random(1,3) == 1) then
- t.BackgroundTransparency = math.random(1,10)/10
- end
- if(math.random(1,3) == 1) then
- t.TextColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
- end
- if(math.random(1,5) == 5) then
- t.Text = string.sub(t.Text,math.random(1,30),math.random(30,100))
- end
- if(math.random(1,4) == 4) then
- t.Rotation = math.random(1,180)/t.Rotation
- end
- wait()
- end
- function hat (h)
- if(math.random(1,5) == 5) then
- h.AttachmentPos = Vector3.new(math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5))
- end
- end
- function mesh (m)
- if(math.random(1,6) == 6) then
- m.Scale = Vector3.new(math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5))
- end
- if(math.random(1,6) == 6) then
- m.TextureId = "http://www.roblox.com/asset/?id=" .. math.random(10000,10000000)
- end
- end
- function magma(part)
- if(math.random(1,5) == 5) then
- part.BrickColor = BrickColor.Random()
- end
- for i = 1,math.random(-1,2) do
- q = part:clone()
- q.Name = "corruptedclonepart"
- q.Parent = script.Parent
- q.CFrame = part.CFrame
- if(math.random(1,5) == 5) then
- q.Anchored = false
- end
- if(math.random(1,5) == 5) then
- q.CanCollide = false
- end
- end
- if(math.random(1,8) == 2) then
- part.Transparency = math.random(1,10)/10
- end
- if(math.random(1,12) == 9) then
- part.Size = Vector3.new(part.Size.X / math.random(1,10),part.Size.Y * math.random(1,10),part.Size.Z * math.random(1,10))
- end
- if(math.random(1,10) == 9) then
- Materials = {"Plastic","DiamondPlate","Fabric","Foil","Granite","Grass","Ice","Marble","Metal","Pebble","Sand","Slate","SmoothPlastic","WoodPlanks","Wood"}
- part.Material = Materials[math.random(1,#Materials)]
- end
- if(math.random(1,20) == 18) then
- part.Reflectance = math.random(1,20)/10
- end
- if(math.random(1,15) == 15) then
- shapes = {"Ball","Block","Cylinder"}
- part.Shape = shapes[math.random(1,#shapes)]
- end
- wait()
- end
- function sound(soundd)
- soundd.Pitch = math.random(-50,50)/10
- soundd.Volume = math.random(1,10)/10
- end
- function Motor (m)
- m.CurrentAngle = math.random(-100,100)/math.random(1,5)
- m.DesiredAngle = math.random(-100,100)/math.random(1,5)
- m.MaxVelocity = math.random(-100,100)/math.random(1,5)
- end
- function MeltTheWorld(part)
- for _,part in next, part:GetChildren() do
- --print("killing " .. part.Name)
- if(part.Name == "Animate" and part.Parent:FindFirstChild("Humanoid") ~= nil and math.random(1,11) == 11) then part.Disabled = true end
- if part.ClassName == "Part" and part.Name ~= "corruptedclonepart" then magma(part) end
- if part.ClassName == "Sound" then sound(part) end
- if part.ClassName == "Hat" then hat(part) end
- if part.ClassName == "SpecialMesh" then mesh(part) end
- if part.ClassName == "Motor6D" then Motor(part) end
- if part.ClassName == "TextLabel" or part.ClassName == "TextButton" or part.ClassName == "TextBox" then TextLabel(part) end
- MeltTheWorld(part) MeltTheWorld(part)
- end
- end
- MeltTheWorld(script.Parent)
- script.Parent.ChildAdded:connect(function(p)
- if(p.Name ~= "corruptedclonepart") then
- MeltTheWorld(p)
- end
- end)
- script.Parent.DescendantAdded:connect(function(p)
- if(p.Name ~= "corruptedclonepart") then
- MeltTheWorld(p)
- end
- end)
- end))
- StringValue8.Name = "Target"
- StringValue8.Parent = Script6
- StringValue8.Value = "none"
- Script6.Name = "Spread"
- Script6.Parent = Script2
- table.insert(cors,sandbox(Script6,function()
- stuff = game:FindFirstChild(script.Target.Value)
- if(stuff ~= nil) then
- k = stuff:GetChildren()
- for i = 1,#k do
- local qq = script.Corrupt:clone()
- qq.Parent = k[i]
- qq.Disabled = false
- end
- stuff.ChildAdded:connect(function(pp)
- local qq = script.Corrupt:clone()
- qq.Parent = pp
- qq.Disabled = false
- end)
- end
- end))
- Script7.Name = "Corrupt"
- Script7.Parent = Script6
- Script7.Disabled = true
- table.insert(cors,sandbox(Script7,function()
- ---The corruption and the spread script was created by BuildIntoGames :P
- function TextLabel(t)
- if(math.random(1,3) == 1) then
- t.BackgroundTransparency = math.random(1,10)/10
- end
- if(math.random(1,3) == 1) then
- t.TextColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
- end
- if(math.random(1,5) == 5) then
- t.Text = string.sub(t.Text,math.random(1,30),math.random(30,100))
- end
- if(math.random(1,4) == 4) then
- t.Rotation = math.random(1,180)/t.Rotation
- end
- wait()
- end
- function hat (h)
- if(math.random(1,5) == 5) then
- h.AttachmentPos = Vector3.new(math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5))
- end
- end
- function mesh (m)
- if(math.random(1,6) == 6) then
- m.Scale = Vector3.new(math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5),math.random(-5,5)*math.random(-5,5))
- end
- if(math.random(1,6) == 6) then
- m.TextureId = "http://www.roblox.com/asset/?id=" .. math.random(10000,10000000)
- end
- end
- function magma(part)
- if(math.random(1,5) == 5) then
- part.BrickColor = BrickColor.Random()
- end
- for i = 1,math.random(-1,2) do
- q = part:clone()
- q.Name = "corruptedclonepart"
- q.Parent = script.Parent
- q.CFrame = part.CFrame
- if(math.random(1,5) == 5) then
- q.Anchored = false
- end
- if(math.random(1,5) == 5) then
- q.CanCollide = false
- end
- end
- if(math.random(1,8) == 2) then
- part.Transparency = math.random(1,10)/10
- end
- if(math.random(1,12) == 9) then
- part.Size = Vector3.new(part.Size.X / math.random(1,10),part.Size.Y * math.random(1,10),part.Size.Z * math.random(1,10))
- end
- if(math.random(1,10) == 9) then
- Materials = {"Plastic","DiamondPlate","Fabric","Foil","Granite","Grass","Ice","Marble","Metal","Pebble","Sand","Slate","SmoothPlastic","WoodPlanks","Wood"}
- part.Material = Materials[math.random(1,#Materials)]
- end
- if(math.random(1,20) == 18) then
- part.Reflectance = math.random(1,20)/10
- end
- if(math.random(1,15) == 15) then
- shapes = {"Ball","Block","Cylinder"}
- part.Shape = shapes[math.random(1,#shapes)]
- end
- wait()
- end
- function sound(soundd)
- soundd.Pitch = math.random(-50,50)/10
- soundd.Volume = math.random(1,10)/10
- end
- function Motor (m)
- m.CurrentAngle = math.random(-100,100)/math.random(1,5)
- m.DesiredAngle = math.random(-100,100)/math.random(1,5)
- m.MaxVelocity = math.random(-100,100)/math.random(1,5)
- end
- function MeltTheWorld(part)
- for _,part in next, part:GetChildren() do
- --print("killing " .. part.Name)
- if(part.Name == "Animate" and part.Parent:FindFirstChild("Humanoid") ~= nil and math.random(1,11) == 11) then part.Disabled = true end
- if part.ClassName == "Part" and part.Name ~= "corruptedclonepart" then magma(part) end
- if part.ClassName == "Sound" then sound(part) end
- if part.ClassName == "Hat" then hat(part) end
- if part.ClassName == "SpecialMesh" then mesh(part) end
- if part.ClassName == "Motor6D" then Motor(part) end
- if part.ClassName == "TextLabel" or part.ClassName == "TextButton" or part.ClassName == "TextBox" then TextLabel(part) end
- MeltTheWorld(part) MeltTheWorld(part)
- end
- end
- MeltTheWorld(script.Parent)
- script.Parent.ChildAdded:connect(function(p)
- if(p.Name ~= "corruptedclonepart") then
- MeltTheWorld(p)
- end
- end)
- script.Parent.DescendantAdded:connect(function(p)
- if(p.Name ~= "corruptedclonepart") then
- MeltTheWorld(p)
- end
- end)
- end))
- StringValue8.Name = "Target"
- StringValue8.Parent = Script6
- StringValue8.Value = "none"
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- end
- flying = false
- --Now heres the flying robloxians
- if flying == true then
- mas = Playername.LocalPlayer.Character.Torso
- BodyForce0 = Instance.new("BodyForce")
- BodyForce0.Parent = mas
- BodyForce0.force = Vector3.new(0, 8200, 0)
- mas.Velocity = mas.CFrame.lookVector * 100
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement