Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- unganda Force
- --[[
- Uganda Force
- By: KYLETHORNTON
- --]]
- local p = game.Players.LocalPlayer.Character
- local weld = Instance.new("Weld",p.Head)
- weld.Part0 = p.Head
- local train = Instance.new("Part",p.Head)
- train.Name = "Head2"
- train.Orientation = Vector3.new(0, -100, 0)
- train.Anchored = true
- train.CanCollide = false
- train.Size = Vector3.new(1,1,1)
- train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
- weld.Part1 = train
- weld.C1 = CFrame.new(0,-0.13,-0.2) * CFrame.Angles(0,math.rad(-360),0)
- train.Anchored = false
- local TrainMesh = Instance.new("SpecialMesh",train)
- TrainMesh.MeshType = Enum.MeshType.FileMesh
- TrainMesh.Scale = Vector3.new(0.1, 0.1, 0.11)
- TrainMesh.MeshId = "rbxassetid://584648821"
- TrainMesh.TextureId = "rbxassetid://584646976"
- --[[hair]]------------------------------------------------
- local weld2 = Instance.new("Weld",p.Head)
- weld2.Part0 = p.Head
- local Knuckles = Instance.new("Part",p.Head)
- Knuckles.Orientation = Vector3.new(0, -100, 0)
- Knuckles.Anchored = false
- Knuckles.BrickColor = BrickColor.new("Really black")
- Knuckles.Rotation = Vector3.new(-90, -75, -90)
- Knuckles.Orientation = Vector3.new(-15, -90, 0)
- Knuckles.CanCollide = false
- Knuckles.Size = Vector3.new(1,1,1)
- Knuckles.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
- weld2.Part1 = Knuckles
- weld2.C1 = CFrame.new(0,0.1,-0.2)-- * CFrame.Angles(0,math.rad(180),0)
- Knuckles.Anchored = false
- local KnucklesMesh = Instance.new("SpecialMesh",Knuckles)
- KnucklesMesh.MeshType = Enum.MeshType.FileMesh
- KnucklesMesh.Scale = Vector3.new(1.2, 1.1, 1.1)
- KnucklesMesh.MeshId = "rbxassetid://85855767"
- KnucklesMesh.TextureId = ""
- ---------------------------------------------------------------------------
- --[[hair2]]-----------------------------------------------------------------
- local weld3 = Instance.new("Weld",p.Head)
- weld3.Part0 = p.Head
- local Flag = Instance.new("Part",p.Head)
- Flag.Orientation = Vector3.new(0, 50, 0)
- Flag.Anchored = false
- Flag.CanCollide = false
- Flag.Size = Vector3.new(1,1,1)
- Flag.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
- weld3.Part1 = Flag
- weld3.C1 = CFrame.new(0,2.1,-0.3)-- * CFrame.Angles(0,math.rad(180),0)
- Flag.Anchored = false
- local FlagMesh = Instance.new("SpecialMesh",Flag)
- FlagMesh.MeshType = Enum.MeshType.FileMesh
- FlagMesh.Scale = Vector3.new(1.2, 1.8, 2)
- FlagMesh.MeshId = "rbxassetid://114046169"
- FlagMesh.TextureId = "rbxassetid://177589002"
- ---------------------------------------------------------------------------
- local Particle = Instance.new("ParticleEmitter",Smoke)
- Particle.Rate = 50;
- Particle.Speed = NumberRange.new(30,60);
- Particle.VelocitySpread = 4;
- Particle.Texture = "rbxassetid://0"
- local Light = Instance.new("SpotLight",train)
- Light.Angle = 45;
- Light.Brightness = 0;
- Light.Face = Enum.NormalId.Back;
- Light.Range = 30;
- p.Humanoid.WalkSpeed = 16;
- local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
- train.Touched:connect(function(p)
- if p.Parent then
- if p.Parent:IsA("Model") then
- if game.Players:FindFirstChild(p.Parent.Name) then
- if p.Parent.Name ~= game.Players.LocalPlayer.Name then
- local Whistle = SFX(0)
- Whistle:Play()
- end
- end
- end
- end
- end)
- local Music = SFX(0)
- Music.Looped = true;
- wait(0)
- Music:Play();
- -- ~CL 2016
- wait(0.1)
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local Mouse = Player:GetMouse()
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = 'Idle'
- local attacktype = 1
- local delays = false
- local play = true
- local targetted = nil
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local doe = 0
- local Create = LoadLibrary("RbxUtility").Create
- Humanoid.WalkSpeed = 16
- local Orin = "rbxassetid://0"
- Head.face.Texture = Orin
- spawn(function()
- while wait() do
- Head.BrickColor = BrickColor.new("Really black")
- end
- end)
- for i,v in pairs(Character:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Hair") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Shirt") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Pants") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Graphic Shirt") then
- v:Destroy()
- end
- end
- wait(0.1)
- 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"))
- ForceField0 = Instance.new("ForceField")
- ForceField1 = Instance.new("ForceField")
- ForceField2 = Instance.new("ForceField")
- ForceField3 = Instance.new("ForceField")
- ForceField0.Parent = mas
- ForceField0.Visible = false
- ForceField1.Parent = mas
- ForceField1.Visible = false
- ForceField2.Parent = mas
- ForceField2.Visible = false
- ForceField3.Parent = mas
- ForceField3.Visible = false
- Script0 = Instance.new("Script")
- Sound1 = Instance.new("Sound")
- Sound2 = Instance.new("Sound")
- Sound3 = Instance.new("Sound")
- Sound4 = Instance.new("Sound")
- Sound5 = Instance.new("Sound")
- Script0.Name = "sound's"
- Script0.Parent = mas
- table.insert(cors,sandbox(Script0,function()
- --Uganda sound--
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.F10 then
- script.Sound:Play()
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.F8 then
- script.Sound2:Play()
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.F1 then
- script.Sound3:Play()
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.F1 then
- script.Sound4:Play()
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.F1 then
- script.Sound5:Play()
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- end))
- Sound1.Parent = Script0
- Sound1.SoundId = "rbxassetid://360299249"
- Sound1.Volume = 10
- Sound2.Name = "Sound2"
- Sound2.Parent = Script0
- Sound2.SoundId = "rbxassetid://142348771"
- Sound2.Volume = 10
- Sound3.Name = "Sound3"
- Sound3.Parent = Script0
- Sound3.SoundId = "rbxassetid://1322795266"
- Sound3.Volume = 10
- Sound4.Name = "Sound4"
- Sound4.Parent = Script0
- Sound4.SoundId = "rbxassetid://1311432465"
- Sound4.Volume = 10
- Sound5.Name = "Sound5"
- Sound5.Parent = Script0
- Sound5.SoundId = "rbxassetid://1316278479"
- Sound5.Volume = 10
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- wait(0.1)
- local Player = game.Players.KYLETHORNTON
- local char = Player.Character
- local Character = Player.Character
- local Head = Character.Head
- local done = false
- local canheal = false
- local deathchat1 = false
- local once = true
- local dead = false
- local candie = true
- local deathchat = false
- local idleon = true
- local idle1 = true
- local idle = true
- for i, v in pairs(game:GetService("Players").LocalPlayer.Character:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
- if v:IsA("Shirt") then
- v:Remove()
- end
- end
- for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
- if v:IsA("Pants") then
- v:Remove()
- end
- end
- wait()
- shirt = Instance.new("Shirt", game:GetService("Players").LocalPlayer.Character)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", game:GetService("Players").LocalPlayer.Character)
- pants.Name = "Pants"
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=341742345"
- char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=341742413"
- wait(0.1)
- 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")
- BoolValue1 = Instance.new("BoolValue")
- BoolValue2 = Instance.new("BoolValue")
- BoolValue3 = Instance.new("BoolValue")
- Animation4 = Instance.new("Animation")
- Animation5 = Instance.new("Animation")
- Animation6 = Instance.new("Animation")
- Animation7 = Instance.new("Animation")
- Animation8 = Instance.new("Animation")
- Animation9 = Instance.new("Animation")
- Part10 = Instance.new("Part")
- CylinderMesh11 = Instance.new("CylinderMesh")
- ParticleEmitter12 = Instance.new("ParticleEmitter")
- ParticleEmitter13 = Instance.new("ParticleEmitter")
- ParticleEmitter14 = Instance.new("ParticleEmitter")
- ParticleEmitter15 = Instance.new("ParticleEmitter")
- ParticleEmitter16 = Instance.new("ParticleEmitter")
- Script17 = Instance.new("Script")
- Part18 = Instance.new("Part")
- CylinderMesh19 = Instance.new("CylinderMesh")
- ManualWeld20 = Instance.new("ManualWeld")
- Part21 = Instance.new("Part")
- ManualWeld22 = Instance.new("ManualWeld")
- CylinderMesh23 = Instance.new("CylinderMesh")
- Script24 = Instance.new("Script")
- LocalScript25 = Instance.new("LocalScript")
- LocalScript26 = Instance.new("LocalScript")
- Script27 = Instance.new("Script")
- Part28 = Instance.new("Part")
- Sound29 = Instance.new("Sound")
- Sound30 = Instance.new("Sound")
- Sound31 = Instance.new("Sound")
- Sound32 = Instance.new("Sound")
- Sound33 = Instance.new("Sound")
- Sound34 = Instance.new("Sound")
- Part35 = Instance.new("Part")
- CylinderMesh36 = Instance.new("CylinderMesh")
- ManualWeld37 = Instance.new("ManualWeld")
- LocalScript38 = Instance.new("LocalScript")
- Animation39 = Instance.new("Animation")
- Animation40 = Instance.new("Animation")
- ParticleEmitter41 = Instance.new("ParticleEmitter")
- Script42 = Instance.new("Script")
- Part43 = Instance.new("Part")
- ParticleEmitter44 = Instance.new("ParticleEmitter")
- ParticleEmitter45 = Instance.new("ParticleEmitter")
- ManualWeld46 = Instance.new("ManualWeld")
- ParticleEmitter47 = Instance.new("ParticleEmitter")
- ParticleEmitter48 = Instance.new("ParticleEmitter")
- ParticleEmitter49 = Instance.new("ParticleEmitter")
- ParticleEmitter50 = Instance.new("ParticleEmitter")
- ParticleEmitter51 = Instance.new("ParticleEmitter")
- ParticleEmitter52 = Instance.new("ParticleEmitter")
- ParticleEmitter53 = Instance.new("ParticleEmitter")
- ParticleEmitter54 = Instance.new("ParticleEmitter")
- ParticleEmitter55 = Instance.new("ParticleEmitter")
- ParticleEmitter56 = Instance.new("ParticleEmitter")
- ParticleEmitter57 = Instance.new("ParticleEmitter")
- Part58 = Instance.new("Part")
- CylinderMesh59 = Instance.new("CylinderMesh")
- ParticleEmitter60 = Instance.new("ParticleEmitter")
- ParticleEmitter61 = Instance.new("ParticleEmitter")
- ParticleEmitter62 = Instance.new("ParticleEmitter")
- ParticleEmitter63 = Instance.new("ParticleEmitter")
- ParticleEmitter64 = Instance.new("ParticleEmitter")
- ParticleEmitter65 = Instance.new("ParticleEmitter")
- ParticleEmitter66 = Instance.new("ParticleEmitter")
- ManualWeld67 = Instance.new("ManualWeld")
- Part68 = Instance.new("Part")
- ParticleEmitter69 = Instance.new("ParticleEmitter")
- ParticleEmitter70 = Instance.new("ParticleEmitter")
- ParticleEmitter71 = Instance.new("ParticleEmitter")
- ParticleEmitter72 = Instance.new("ParticleEmitter")
- ParticleEmitter73 = Instance.new("ParticleEmitter")
- ParticleEmitter74 = Instance.new("ParticleEmitter")
- ParticleEmitter75 = Instance.new("ParticleEmitter")
- ManualWeld76 = Instance.new("ManualWeld")
- Part77 = Instance.new("Part")
- BlockMesh78 = Instance.new("BlockMesh")
- Part79 = Instance.new("Part")
- BlockMesh80 = Instance.new("BlockMesh")
- Part81 = Instance.new("Part")
- BlockMesh82 = Instance.new("BlockMesh")
- Part83 = Instance.new("Part")
- CylinderMesh84 = Instance.new("CylinderMesh")
- ManualWeld85 = Instance.new("ManualWeld")
- Part86 = Instance.new("Part")
- CylinderMesh87 = Instance.new("CylinderMesh")
- ManualWeld88 = Instance.new("ManualWeld")
- Part89 = Instance.new("Part")
- CylinderMesh90 = Instance.new("CylinderMesh")
- ManualWeld91 = Instance.new("ManualWeld")
- Part92 = Instance.new("Part")
- CylinderMesh93 = Instance.new("CylinderMesh")
- ManualWeld94 = Instance.new("ManualWeld")
- Part95 = Instance.new("Part")
- BlockMesh96 = Instance.new("BlockMesh")
- Part97 = Instance.new("Part")
- BlockMesh98 = Instance.new("BlockMesh")
- Part99 = Instance.new("Part")
- BlockMesh100 = Instance.new("BlockMesh")
- Part101 = Instance.new("Part")
- BlockMesh102 = Instance.new("BlockMesh")
- Part103 = Instance.new("Part")
- BlockMesh104 = Instance.new("BlockMesh")
- Part105 = Instance.new("Part")
- BlockMesh106 = Instance.new("BlockMesh")
- Part107 = Instance.new("Part")
- BlockMesh108 = Instance.new("BlockMesh")
- Script109 = Instance.new("Script")
- Tool0.Name = "Kylo Ren's Crossguard Lightsaber"
- Tool0.Parent = mas
- Tool0.TextureId = "http://www.roblox.com/asset/?id=329944200"
- Tool0.GripForward = Vector3.new(1, -0, -0)
- Tool0.GripPos = Vector3.new(0, -2.21224976, -0)
- Tool0.GripRight = Vector3.new(0, 0, 1)
- Tool0.CanBeDropped = false
- BoolValue1.Name = "PlayOverhead"
- BoolValue1.Parent = Tool0
- BoolValue2.Name = "PlaySlash"
- BoolValue2.Parent = Tool0
- BoolValue3.Name = "PlayThrust"
- BoolValue3.Parent = Tool0
- Animation4.Name = "IdleAnim3"
- Animation4.Parent = Tool0
- Animation4.AnimationId = "http://www.roblox.com/Asset?ID=94108418"
- Animation5.Name = "OverheadAnim2"
- Animation5.Parent = Tool0
- Animation5.AnimationId = "http://www.roblox.com/Asset?ID=74897796"
- Animation6.Name = "SlashAnim2"
- Animation6.Parent = Tool0
- Animation6.AnimationId = "http://www.roblox.com/asset/?id=186934658"
- Animation7.Name = "ThrustAnim2"
- Animation7.Parent = Tool0
- Animation7.AnimationId = "http://www.roblox.com/asset/?id=186934910"
- Animation8.Name = "UnequipAnim2"
- Animation8.Parent = Tool0
- Animation8.AnimationId = "http://www.roblox.com/Asset?ID=94095929"
- Animation9.Name = "EquipAnim5"
- Animation9.Parent = Tool0
- Animation9.AnimationId = "http://www.roblox.com/Asset?ID=86504773"
- Part10.Name = "Blade1"
- Part10.Parent = Tool0
- Part10.Material = Enum.Material.Neon
- Part10.BrickColor = BrickColor.new("Salmon")
- Part10.Rotation = Vector3.new(180, 90, 0)
- Part10.CanCollide = false
- Part10.FormFactor = Enum.FormFactor.Custom
- Part10.Size = Vector3.new(0.283499986, 5.08950138, 0.283499986)
- Part10.CFrame = CFrame.new(32.319519, 2.74679923, 12.6063404, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part10.Color = Color3.new(0.952941, 0.537255, 0.537255)
- Part10.Position = Vector3.new(32.319519, 2.74679923, 12.6063404)
- Part10.Orientation = Vector3.new(0, 90, 180)
- Part10.Color = Color3.new(0.952941, 0.537255, 0.537255)
- CylinderMesh11.Parent = Part10
- CylinderMesh11.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh11.Scale = Vector3.new(0.5, 1, 0.5)
- ParticleEmitter12.Name = "Emitter"
- ParticleEmitter12.Parent = Part10
- ParticleEmitter12.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
- ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter12.LightEmission = 1
- ParticleEmitter12.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter12.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter12.Rate = 2000
- ParticleEmitter12.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter12.Speed = NumberRange.new(0, 0)
- ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter13.Name = "Emitter"
- ParticleEmitter13.Parent = Part10
- ParticleEmitter13.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
- ParticleEmitter13.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter13.LightEmission = 1
- ParticleEmitter13.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter13.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter13.Rate = 2000
- ParticleEmitter13.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter13.Speed = NumberRange.new(0, 0)
- ParticleEmitter13.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter14.Name = "Emitter"
- ParticleEmitter14.Parent = Part10
- ParticleEmitter14.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
- ParticleEmitter14.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter14.LightEmission = 1
- ParticleEmitter14.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter14.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter14.Rate = 2000
- ParticleEmitter14.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter14.Speed = NumberRange.new(0, 0)
- ParticleEmitter14.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter15.Name = "Emitter"
- ParticleEmitter15.Parent = Part10
- ParticleEmitter15.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
- ParticleEmitter15.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter15.LightEmission = 1
- ParticleEmitter15.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter15.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter15.Rate = 2000
- ParticleEmitter15.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter15.Speed = NumberRange.new(0, 0)
- ParticleEmitter15.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter16.Name = "Emitter"
- ParticleEmitter16.Parent = Part10
- ParticleEmitter16.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
- ParticleEmitter16.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter16.LightEmission = 1
- ParticleEmitter16.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter16.Lifetime = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter16.Rate = 2000
- ParticleEmitter16.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter16.Speed = NumberRange.new(0, 0)
- ParticleEmitter16.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- Script17.Name = "BreakJointsScript"
- Script17.Parent = Part10
- table.insert(cors,sandbox(Script17,function()
- function onTouched(hit)
- hit:BreakJoints()
- end
- connection = script.Parent.Touched:connect(onTouched)
- end))
- Part18.Name = "Blade2"
- Part18.Parent = Tool0
- Part18.Material = Enum.Material.Neon
- Part18.BrickColor = BrickColor.new("Salmon")
- Part18.Rotation = Vector3.new(90, 90, 0)
- Part18.CanCollide = false
- Part18.FormFactor = Enum.FormFactor.Custom
- Part18.Size = Vector3.new(0.283499986, 0.850500047, 0.283499986)
- Part18.CFrame = CFrame.new(32.319519, 5.05828571, 11.9520311, 0, 0, 1, 0.999999881, 0, 0, 0, 0.999999881, 0)
- Part18.Color = Color3.new(0.952941, 0.537255, 0.537255)
- Part18.Position = Vector3.new(32.319519, 5.05828571, 11.9520311)
- Part18.Orientation = Vector3.new(0, 90, 90)
- Part18.Color = Color3.new(0.952941, 0.537255, 0.537255)
- CylinderMesh19.Parent = Part18
- CylinderMesh19.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh19.Scale = Vector3.new(0.5, 1, 0.5)
- ManualWeld20.Name = "Weld"
- ManualWeld20.Parent = Part18
- ManualWeld20.C0 = CFrame.new(0, 0, 0, 0, 0, -0.999999881, 0, -0.999999881, 0, -1, 0, 0)
- ManualWeld20.C1 = CFrame.new(-0.654309034, -1.65625, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0)
- ManualWeld20.Part0 = Part18
- ManualWeld20.Part1 = Part28
- Part21.Name = "Blade3"
- Part21.Parent = Tool0
- Part21.Material = Enum.Material.Neon
- Part21.BrickColor = BrickColor.new("Salmon")
- Part21.Rotation = Vector3.new(-90, 90, 0)
- Part21.CanCollide = false
- Part21.FormFactor = Enum.FormFactor.Custom
- Part21.Size = Vector3.new(0.283499986, 0.850500047, 0.283499986)
- Part21.CFrame = CFrame.new(32.319519, 5.05828571, 13.2562246, 0, 0, 1, -0.99999994, 0, 0, 0, -0.99999994, 0)
- Part21.Color = Color3.new(0.952941, 0.537255, 0.537255)
- Part21.Position = Vector3.new(32.319519, 5.05828571, 13.2562246)
- Part21.Orientation = Vector3.new(0, 90, -90)
- Part21.Color = Color3.new(0.952941, 0.537255, 0.537255)
- ManualWeld22.Name = "Weld"
- ManualWeld22.Parent = Part21
- ManualWeld22.C0 = CFrame.new(0, 0, 0, 0, 0, 0.99999994, 0, 0.99999994, 0, -1, 0, 0)
- ManualWeld22.C1 = CFrame.new(0.649883986, -1.65625, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0)
- ManualWeld22.Part0 = Part21
- ManualWeld22.Part1 = Part28
- CylinderMesh23.Parent = Part21
- CylinderMesh23.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh23.Scale = Vector3.new(0.5, 1, 0.5)
- Script24.Name = "SwordScript"
- Script24.Parent = Tool0
- table.insert(cors,sandbox(Script24,function()
- r = game:service("RunService")
- local damage = 15
- sword = script.Parent.Handle
- Tool = script.Parent
- local damages,values,sounds = {30,45,65},{Tool.PlaySlash,Tool.PlayThrust,Tool.PlayOverhead},{Tool.Handle.SlashSound,Tool.Handle.OverheadSound,Tool.Handle.LungeSound}
- local enabledToDamage = true
- function blow(hit)
- if enabledToDamage == false then return end
- enabledToDamage = false
- if (hit.Parent == nil) then enabledToDamage = true 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)
- humanoid.Died:connect(function()
- if debounce==nil then
- debounce=true
- M=Instance.new('Model')
- M.Name=humanoid.Parent.Name.."'s Body"
- h=Instance.new('Humanoid')
- h.Health=0
- h.DisplayDistanceType=Enum.HumanoidDisplayDistanceType.None
- h.Parent=M
- T1=humanoid.Parent.Torso:Clone()
- T1.Velocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- T1.Size=Vector3.new(2,1,1)
- T1.Material=Enum.Material.Neon
- T1.BrickColor=BrickColor.new('Light orange')
- T2=humanoid.Parent.Torso:Clone()
- T2.Material=Enum.Material.Neon
- T2.BrickColor=BrickColor.new('Light orange')
- T2.Size=Vector3.new(2,1,1)
- LA=humanoid.Parent['Left Arm']:Clone()
- LL=humanoid.Parent['Left Leg']:Clone()
- RA=humanoid.Parent['Right Arm']:Clone()
- RL=humanoid.Parent['Right Leg']:Clone()
- H=humanoid.Parent['Head']:Clone()
- game.Debris:AddItem(humanoid.Parent, .02)
- game.Debris:AddItem(M,10)
- wait(.01)
- debounce=nil
- end
- 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
- Weld(T1,LA)
- Weld(T1,RA)
- Weld(T1,H)
- Weld(T2,LL)
- Weld(T2,RL)
- T1.Parent=M
- T1.CFrame=T1.CFrame+Vector3.new(0,2,0)
- T2.Parent=M
- LL.Parent=M
- LA.Parent=M
- RL.Parent=M
- RA.Parent=M
- H.Parent=M
- ch=humanoid.Parent:GetChildren()
- for i, v in pairs(ch) do
- if v.ClassName=='CharacterMesh' and v.BodyPart~=Enum.BodyPart.Torso then
- cmc=v:Clone()
- cmc.Parent=M
- elseif v.ClassName=='Hat' then
- htc=v.Handle:Clone()
- Weld(htc, H)
- htc.Parent=M
- end
- end
- M.Parent=workspace
- end)
- untagHumanoid(humanoid)
- else
- enabledToDamage = true
- end
- else
- enabledToDamage = true
- end
- else
- enabledToDamage = true
- 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
- script.Parent.Handle.SlashSound:Play()
- script.Parent.PlaySlash.Value = not script.Parent.PlaySlash.Value
- end
- function lunge()
- damage = lunge_damage
- script.Parent.Handle.LungeSound:Play()
- script.Parent.PlayOverhead.Value = not script.Parent.PlayOverhead.Value
- force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80
- force.Parent = Tool.Parent.Torso
- wait(.5)
- force.Parent = nil
- wait(.5)
- damage = slash_damage
- end
- Tool.Enabled = true
- local last_attack = 0
- local status = 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()
- if (t - last_attack < 1.5) then
- rndm=math.random(1,3)
- if rndm==1 then
- status=1
- elseif rndm==2 then
- status=2
- elseif rndm==3 then
- status=3
- end
- values[status].Value = not values[status].Value
- damage = damages[status]
- sounds[status]:Play()
- enabledToDamage = true
- wait(0.5)
- enabledToDamage = false
- end
- last_attack = t
- Tool.Enabled = true
- end
- function onEquipped()
- wait(1)
- Tool.Handle.UnsheathSound:Play()
- end
- Tool.Equipped:connect(onEquipped)
- script.Parent.Activated:connect(onActivated)
- connection = sword.Touched:connect(blow)
- end))
- LocalScript25.Name = "AnimationScript"
- LocalScript25.Parent = Tool0
- table.insert(cors,sandbox(LocalScript25,function()
- -- Waits for the child of the specified parent
- local function WaitForChild(parent, childName)
- while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
- return parent[childName]
- end
- local Tool = script.Parent
- local Animations = {}
- local MyHumanoid
- local MyCharacter
- local function PlayAnimation(animationName)
- if Animations[animationName] then
- Animations[animationName]:Play()
- end
- end
- local function StopAnimation(animationName)
- if Animations[animationName] then
- Animations[animationName]:Stop()
- end
- end
- function OnEquipped(mouse)
- MyCharacter = Tool.Parent
- MyHumanoid = WaitForChild(MyCharacter, 'Humanoid')
- if MyHumanoid then
- Animations['EquipAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'EquipAnim5'))
- Animations['IdleAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'IdleAnim3'))
- Animations['OverheadAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'OverheadAnim2'))
- Animations['SlashAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'SlashAnim2'))
- Animations['ThrustAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'ThrustAnim2'))
- Animations['UnequipAnim'] = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'UnequipAnim2'))
- end
- mouse.KeyDown:connect(function(key)
- function Taunt()
- --gather all of the humanoids in a 30stud radius
- local torsos = {}
- for _, p in pairs(game.Players:GetChildren()) do
- if p ~= game.Players:GetPlayerFromCharacter(Tool.Parent) then
- if p.Character and p.Character:FindFirstChild('Torso') then
- torsos[#torsos+1] = p.Character.Torso
- end
- end
- end
- --now pull them in towards us
- local mpos = Tool.Parent.Torso.Position
- for _, torso in pairs(torsos) do
- if (mpos-torso.Position).magnitude < 40 then
- local dir = (mpos-torso.Position).unit
- ------------ stolen from dagger of time to make a character "fly" in some direction
- local force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,1,0)
- force.Parent = torso
- torso.Velocity = dir*250
- game.Debris:AddItem(force, 0.5)
- ------------
- end
- end
- end
- function rTaunt()
- --gather all of the humanoids in a 30stud radius
- local torsos = {}
- for _, p in pairs(game.Players:GetChildren()) do
- if p ~= game.Players:GetPlayerFromCharacter(Tool.Parent) then
- if p.Character and p.Character:FindFirstChild('Torso') then
- torsos[#torsos+1] = p.Character.Torso
- end
- end
- end
- --now pull them in towards us
- local mpos = Tool.Parent.Torso.Position
- for _, torso in pairs(torsos) do
- if (mpos-torso.Position).magnitude < 40 then
- local dir = (mpos-torso.Position).unit
- ------------ stolen from dagger of time to make a character "fly" in some direction
- local force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,1,0)
- force.Parent = torso
- torso.Velocity = -dir*250
- game.Debris:AddItem(force, 0.5)
- ------------
- end
- end
- end
- if key == 'q' then
- if debounce==nil then
- debounce=true
- Animations['EquipAnim']:Play(.1,.8,2)
- Taunt()
- wait(5)
- debounce=nil
- end
- elseif key == 'e' then
- if debounce2==nil then
- debounce2=true
- Animations['EquipAnim']:Play(.1,.8,2)
- rTaunt()
- wait(5)
- debounce2=nil
- end
- end
- end)
- Animations['EquipAnim']:Play(.1,.8,1)
- PlayAnimation('IdleAnim')
- end
- function OnUnequipped()
- Tool.Handle.deactivate:Play()
- for animName, _ in pairs(Animations) do
- StopAnimation(animName)
- end
- end
- Tool.Equipped:connect(OnEquipped)
- Tool.Unequipped:connect(OnUnequipped)
- WaitForChild(Tool, 'PlaySlash').Changed:connect(
- function (value)
- --if value then
- PlayAnimation('SlashAnim')
- --else
- -- StopAnimation('SlashAnim')
- --end
- end)
- WaitForChild(Tool, 'PlayThrust').Changed:connect(
- function (value)
- --if value then
- PlayAnimation('ThrustAnim')
- --else
- -- StopAnimation('ThrustAnim')
- --end
- end)
- WaitForChild(Tool, 'PlayOverhead').Changed:connect(
- function (value)
- --if value then
- Animations['OverheadAnim']:Play()
- --else
- -- StopAnimation('OverheadAnim')
- --end
- end)
- end))
- LocalScript26.Name = "Local Gui"
- LocalScript26.Parent = Tool0
- table.insert(cors,sandbox(LocalScript26,function()
- local Tool = script.Parent;
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- enabled = false
- mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
- while not Tool.Enabled do
- wait(0.05)
- end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- enabled = true
- end
- function onEquippedLocal(mouse)
- Tool.Blade1.Mesh.Scale=Vector3.new(.5,0,.5)
- Tool.Blade1.Mesh.Offset=Vector3.new(0,-2.5,0)
- Tool.Blade2.Mesh.Scale=Vector3.new(0.5,0,0.5)
- Tool.Blade2.Mesh.Offset=Vector3.new(0,0.5,0)
- Tool.Blade3.Mesh.Scale=Vector3.new(0.5,0,0.5)
- Tool.Blade3.Mesh.Offset=Vector3.new(0,0.5,0)
- for _, part in pairs(script.Parent.Parent:GetChildren()) do
- if part.Name == "Saber" then
- part:remove()
- end
- end
- wait(1)
- spawn(function()
- emitters={}
- local rnswdch=Tool:GetChildren()
- for i, v in pairs(rnswdch) do
- if v.Name=='BladeGlow1' or v.Name=='Blade1' then
- local bldch2=v:GetChildren()
- for i, v in pairs(bldch2) do
- if v.Name=='Emitter' or v.Name=='Lightning' then
- table.insert(emitters,v)
- end
- end
- end
- end
- for i, v in pairs(emitters) do
- v.Enabled=true
- end
- end)
- for i=1, 10 do
- Tool.Blade1.Mesh.Scale=Tool.Blade1.Mesh.Scale+Vector3.new(0,0.1,0)
- Tool.Blade1.Mesh.Offset=Tool.Blade1.Mesh.Offset+Vector3.new(0,0.25,0)
- wait(0.02)
- end
- spawn(function()
- emitters2={}
- local rnswdch=Tool:GetChildren()
- for i, v in pairs(rnswdch) do
- if v.Name=='BladeGlow2' or v.Name=='BladeGlow3' then
- local bldch2=v:GetChildren()
- for i, v in pairs(bldch2) do
- if v.Name=='Emitter' or v.Name=='Lightning' then
- table.insert(emitters2,v)
- end
- end
- end
- end
- for i, v in pairs(emitters2) do
- v.Enabled=true
- end
- end)
- for i=1, 10 do
- Tool.Blade2.Mesh.Scale=Tool.Blade2.Mesh.Scale+Vector3.new(0,0.1,0)
- Tool.Blade2.Mesh.Offset=Tool.Blade2.Mesh.Offset+Vector3.new(0,-0.05,0)
- Tool.Blade3.Mesh.Scale=Tool.Blade2.Mesh.Scale+Vector3.new(0,0.1,0)
- Tool.Blade3.Mesh.Offset=Tool.Blade2.Mesh.Offset+Vector3.new(0,-0.05,0)
- wait(0.02)
- end
- 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.Unequipped:connect(function()
- spawn(function()
- for i, v in pairs(emitters) do
- v.Enabled=false
- end
- end)
- spawn(function()
- for i, v in pairs(emitters2) do
- v.Enabled=false
- end
- end)
- wait(0.002)
- Tool.Blade1.Mesh.Scale=Vector3.new(.5,0,.5)
- Tool.Blade1.Mesh.Offset=Vector3.new(0,-2.5,0)
- Tool.Blade2.Mesh.Scale=Vector3.new(0.5,0,0.5)
- Tool.Blade2.Mesh.Offset=Vector3.new(0,0.5,0)
- Tool.Blade3.Mesh.Scale=Vector3.new(0.5,0,0.5)
- Tool.Blade3.Mesh.Offset=Vector3.new(0,0.5,0)
- if script.Parent.Parent ~= game.Workspace then
- ready = true
- m = Instance.new("Model")
- m.Name = "Saber"
- m.Parent = script.Parent.Parent.Parent.Character
- for _, part in pairs(script.Parent:GetChildren()) do
- if part.ClassName == "Part" or part.ClassName == 'UnionOperation' then
- if part.Name~='Blade1' and part.Name~='Blade2' and part.Name~='Blade3' and part.Name~='BladeGlow1' and part.Name~='BladeGlow2' and part.Name~='BladeGlow3' then
- p = part:clone()
- p.Anchored = false
- p.CanCollide = false
- p.Parent = m
- print(p)
- end
- end
- end
- s = script.AutoWeld:clone()
- s.Parent = m
- s.Disabled = false
- for _, parts in pairs(m:GetChildren()) do
- if parts.ClassName == "Part" or parts.ClassName == 'UnionOperation' then
- p.Anchored = false
- print(p)
- end
- end
- w = Instance.new("Weld")
- w.Parent = m.FakeHandle
- w.Part0 = script.Parent.Parent.Parent.Character["Left Leg"]
- w.Part1 = m.FakeHandle
- w.C0 = CFrame.new(-.6, .8, .1)*CFrame.Angles(math.pi*1.6, 0, 0)
- end
- end)
- Tool.Equipped:connect(onEquippedLocal)
- end))
- Script27.Name = "AutoWeld"
- Script27.Parent = LocalScript26
- Script27.Disabled = true
- table.insert(cors,sandbox(Script27,function()
- --This script automatically welds your tool (if it's a tool)
- --Else place it inside a model full of bricks to weld them together!
- --Script from free models, Modified to be universal by Redyz!
- --Sure you can edit both the script and the comment but the latter would be mean, no?
- PartFound = nil
- 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) --Get all parts
- if A.className == "Part" then
- if script.Parent:FindFirstChild("Handle") ~= nil then
- Weld(script.Parent.Handle, A) --You're a tool
- else
- Weld(PartFound, A) --Not a tool
- end
- A.Anchored = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Get(C[i])
- end
- end
- end
- function Finale()
- if(script.Parent:FindFirstChild("Handle")) ~= nil then -- A tool
- Get(script.Parent)
- else -- Something else~!
- List = script.Parent:GetChildren()
- for i = 1, #List do
- if List[i].ClassName == "Part" then --Find First Part
- PartFound = List[i]
- break
- end
- end
- Get(PartFound.Parent)
- end
- end
- if script.Parent.ClassName == "Tool" then
- Finale() --In case the tool is sitting in the workspace
- script.Parent.Equipped:connect(Finale) --When you equip it
- script.Parent.Unequipped:connect(Finale) --And when you unequip it
- else
- Finale() --But I'm not a tool!
- end
- end))
- Part28.Name = "Handle"
- Part28.Parent = Tool0
- Part28.Transparency = 1
- Part28.Rotation = Vector3.new(180, 90, 0)
- Part28.Locked = true
- Part28.FormFactor = Enum.FormFactor.Custom
- Part28.Size = Vector3.new(2.55149984, 6.80400038, 0.283499986)
- Part28.CFrame = CFrame.new(32.319519, 3.40203595, 12.6063404, 0, 0, 1, 0, -1, 0, 1, 0, -0)
- Part28.Position = Vector3.new(32.319519, 3.40203595, 12.6063404)
- Part28.Orientation = Vector3.new(0, 90, 180)
- Sound29.Name = "HitSound"
- Sound29.Parent = Part28
- Sound29.SoundId = "http://www.roblox.com/asset/?id=247718165"
- Sound30.Name = "LungeSound"
- Sound30.Parent = Part28
- Sound30.Pitch = 0.80000001192093
- Sound30.SoundId = "http://www.roblox.com/asset/?id=247718230"
- Sound30.Volume = 0.25
- Sound31.Name = "OverheadSound"
- Sound31.Parent = Part28
- Sound31.Pitch = 1.1699999570847
- Sound31.SoundId = "http://www.roblox.com/asset/?id=247718248"
- Sound32.Name = "SlashSound"
- Sound32.Parent = Part28
- Sound32.SoundId = "http://www.roblox.com/asset/?id=247718224"
- Sound32.Volume = 0.34999999403954
- Sound33.Name = "UnsheathSound"
- Sound33.Parent = Part28
- Sound33.Pitch = 1.2999999523163
- Sound33.SoundId = "rbxassetid://342646525"
- Sound33.Volume = 1
- Sound34.Name = "deactivate"
- Sound34.Parent = Part28
- Sound34.Pitch = 1.0499999523163
- Sound34.SoundId = "http://www.roblox.com/asset/?id=143855757"
- Sound34.Volume = 0.40000000596046
- Part35.Name = "FakeHandle"
- Part35.Parent = Tool0
- Part35.Material = Enum.Material.Metal
- Part35.BrickColor = BrickColor.new("Black")
- Part35.Rotation = Vector3.new(180, 90, 0)
- Part35.FormFactor = Enum.FormFactor.Custom
- Part35.Size = Vector3.new(0.283499986, 1.49849987, 0.283499986)
- Part35.CFrame = CFrame.new(32.319519, 5.77221394, 12.6082935, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part35.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part35.Position = Vector3.new(32.319519, 5.77221394, 12.6082935)
- Part35.Orientation = Vector3.new(0, 90, 180)
- Part35.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh36.Parent = Part35
- CylinderMesh36.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- CylinderMesh36.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- ManualWeld37.Name = "Weld"
- ManualWeld37.Parent = Part35
- ManualWeld37.C0 = CFrame.new(0, 0, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- ManualWeld37.C1 = CFrame.new(0.00201416016, -2.36914063, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- ManualWeld37.Part0 = Part35
- LocalScript38.Name = "Force Powers"
- LocalScript38.Parent = Tool0
- table.insert(cors,sandbox(LocalScript38,function()
- script.Parent.Equipped:connect(function(m)
- plr=game.Players:GetPlayerFromCharacter(script.Parent.Parent)
- char=script.Parent.Parent
- MyHumanoid=char.Humanoid
- LastSpace=0
- LastTeleport=0
- t=char.Torso
- childList={}
- local Animations = {}
- local function WaitForChild(parent, childName)
- while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
- return parent[childName]
- end
- Animations['EquipAnim'] = MyHumanoid:LoadAnimation(WaitForChild(script, 'EquipAnim5'))
- Animations['Roar'] = MyHumanoid:LoadAnimation(WaitForChild(script, 'Roar'))
- function f (p)
- p.RocketPropulsion:Fire()
- end
- m.KeyDown:connect(function(key)
- if key == 'g' then
- t=m.Target
- if t.Parent.ClassName=='Tool' and (plr.Character['Right Arm'].Position - t.Position).magnitude<=50 then
- Animations['EquipAnim']:Play(.1,.8,2)
- rp=Instance.new('RocketPropulsion')
- rp.Target=plr.Character['Right Arm']
- print(plr.Character.Name)
- rp.Parent=m.Target
- f(rp.Parent)
- t.Parent.Equipped:connect(function()
- rp:remove()
- end)
- else return
- end
- t=plr.Character.Torso
- --print (nkey)
- elseif key == string.char(32) then
- if tick()-LastSpace < 1 and tick()-LastTeleport >3 then
- fury()
- LastTeleport = tick()
- Animations['Roar']:Play(.1,1,3)
- t.Velocity = t.Velocity + Vector3.new(0,120,0)
- wait(3)
- elseif tick()-LastTeleport >3 then
- LastSpace = tick()
- end
- elseif key=='f' and d==nil then
- d=true
- fury()
- Animations['Roar']:Play()
- freeze()
- wait(10)
- d=nil
- elseif key == 'q' then
- if d2==nil then
- d2=true
- Animations['EquipAnim']:Play(.1,.8,2)
- Taunt()
- wait(5)
- d2=nil
- end
- elseif key == 'e' then
- if debounce2==nil then
- debounce2=true
- Animations['EquipAnim']:Play(.1,.8,2)
- rTaunt()
- wait(5)
- debounce2=nil
- end
- end
- end)
- function Taunt()
- --gather all of the humanoids in a 30stud radius
- local torsos = {}
- for _, p in pairs(game.Players:GetChildren()) do
- if p ~= plr then
- if p.Character and p.Character:FindFirstChild('Torso') then
- torsos[#torsos+1] = p.Character.Torso
- end
- end
- end
- --now pull them in towards us
- local mpos = char.Torso.Position
- for _, torso in pairs(torsos) do
- if (mpos-torso.Position).magnitude < 40 then
- local dir = (mpos-torso.Position).unit
- ------------ stolen from dagger of time to make a character "fly" in some direction
- local force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,1,0)
- force.Parent = torso
- torso.Velocity = dir*250
- game.Debris:AddItem(force, 0.5)
- ------------
- end
- end
- end
- function rTaunt()
- --gather all of the humanoids in a 30stud radius
- local torsos = {}
- for _, p in pairs(game.Players:GetChildren()) do
- if p ~= game.Players:GetPlayerFromCharacter(char) then
- if p.Character and p.Character:FindFirstChild('Torso') then
- torsos[#torsos+1] = p.Character.Torso
- end
- end
- end
- --now pull them in towards us
- local mpos = char.Torso.Position
- for _, torso in pairs(torsos) do
- if (mpos-torso.Position).magnitude < 40 then
- local dir = (mpos-torso.Position).unit
- ------------ stolen from dagger of time to make a character "fly" in some direction
- local force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,1,0)
- force.Parent = torso
- torso.Velocity = -dir*250
- game.Debris:AddItem(force, 0.5)
- ------------
- end
- end
- end
- function freeze()
- checkObject(workspace)
- for i, v in pairs(childList) do
- if (v.Position-char.Torso.Position).magnitude<=50 then
- v.Anchored=true
- wait(7)
- v.Anchored=false
- else return
- end
- end
- end
- function checkObject(obj) -- This is basically a function that finds all unanchored parts and adds them to childList.
- if (obj.className == "Part") and not (obj:IsDescendantOf(char)) 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
- function fury()
- ch=char:GetChildren()
- for i, v in pairs(ch) do
- if v.ClassName=='Part' then
- fp=script:WaitForChild('EffectFire'):Clone()
- fp.Enabled=true
- fp.Parent=v
- fp.Script.Disabled=false
- end
- end
- end
- end)
- end))
- Animation39.Name = "EquipAnim5"
- Animation39.Parent = LocalScript38
- Animation39.AnimationId = "http://www.roblox.com/Asset?ID=86504773"
- Animation40.Name = "Roar"
- Animation40.Parent = LocalScript38
- Animation40.AnimationId = "http://www.roblox.com/Asset?ID=75354915"
- ParticleEmitter41.Name = "EffectFire"
- ParticleEmitter41.Parent = LocalScript38
- ParticleEmitter41.Transparency = NumberSequence.new(0.89999997615814,0.89999997615814)
- ParticleEmitter41.Size = NumberSequence.new(0,0.5,0.5,0.5)
- ParticleEmitter41.Color = ColorSequence.new(Color3.new(0.45098, 0, 0),Color3.new(0.45098, 0, 0))
- ParticleEmitter41.LightEmission = 0.25
- ParticleEmitter41.Texture = "http://www.roblox.com/asset/?id=262362794"
- ParticleEmitter41.ZOffset = 1
- ParticleEmitter41.Acceleration = Vector3.new(0, 1.5, 0)
- ParticleEmitter41.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter41.Rate = 50
- ParticleEmitter41.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter41.VelocitySpread = 100
- ParticleEmitter41.Color = ColorSequence.new(Color3.new(0.45098, 0, 0),Color3.new(0.45098, 0, 0))
- Script42.Parent = ParticleEmitter41
- Script42.Disabled = true
- table.insert(cors,sandbox(Script42,function()
- wait(3)
- script.Parent:remove()
- end))
- Part43.Name = "BladeGlow1"
- Part43.Parent = Tool0
- Part43.Material = Enum.Material.Neon
- Part43.BrickColor = BrickColor.new("Salmon")
- Part43.Transparency = 1
- Part43.Rotation = Vector3.new(180, 90, 0)
- Part43.CanCollide = false
- Part43.FormFactor = Enum.FormFactor.Custom
- Part43.Size = Vector3.new(0.283499986, 0.200000003, 0.283499986)
- Part43.CFrame = CFrame.new(32.319519, 5.12155151, 12.6063404, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part43.Color = Color3.new(0.952941, 0.537255, 0.537255)
- Part43.Position = Vector3.new(32.319519, 5.12155151, 12.6063404)
- Part43.Orientation = Vector3.new(0, 90, 180)
- Part43.Color = Color3.new(0.952941, 0.537255, 0.537255)
- ParticleEmitter44.Name = "Lightning"
- ParticleEmitter44.Parent = Part43
- ParticleEmitter44.Rotation = NumberRange.new(0, 180)
- ParticleEmitter44.Size = NumberSequence.new(0.5,0.5)
- ParticleEmitter44.LightEmission = 1
- ParticleEmitter44.Texture = "http://www.roblox.com/asset/?id=243098098"
- ParticleEmitter44.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
- ParticleEmitter44.Rate = 25
- ParticleEmitter44.Speed = NumberRange.new(8, 8)
- ParticleEmitter45.Name = "Emitter"
- ParticleEmitter45.Parent = Part43
- ParticleEmitter45.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
- ParticleEmitter45.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter45.LightEmission = 1
- ParticleEmitter45.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter45.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
- ParticleEmitter45.Rate = 2000
- ParticleEmitter45.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter45.Speed = NumberRange.new(15, 15)
- ParticleEmitter45.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ManualWeld46.Name = "Weld"
- ManualWeld46.Parent = Part43
- ManualWeld46.C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, -1, 0, 1, 0, -0)
- ManualWeld46.C1 = CFrame.new(0, -1.7195158, 0, 0, 0, 1, 0, -1, 0, 1, 0, -0)
- ManualWeld46.Part0 = Part43
- ManualWeld46.Part1 = Part28
- ParticleEmitter47.Name = "Emitter"
- ParticleEmitter47.Parent = Part43
- ParticleEmitter47.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
- ParticleEmitter47.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter47.LightEmission = 0.5
- ParticleEmitter47.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter47.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
- ParticleEmitter47.Rate = 2000
- ParticleEmitter47.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter47.Speed = NumberRange.new(15, 15)
- ParticleEmitter47.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter48.Name = "Emitter"
- ParticleEmitter48.Parent = Part43
- ParticleEmitter48.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
- ParticleEmitter48.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter48.LightEmission = 1
- ParticleEmitter48.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter48.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
- ParticleEmitter48.Rate = 2000
- ParticleEmitter48.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter48.Speed = NumberRange.new(15, 15)
- ParticleEmitter48.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter49.Name = "Emitter"
- ParticleEmitter49.Parent = Part43
- ParticleEmitter49.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
- ParticleEmitter49.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter49.LightEmission = 1
- ParticleEmitter49.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter49.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
- ParticleEmitter49.Rate = 2000
- ParticleEmitter49.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter49.Speed = NumberRange.new(15, 15)
- ParticleEmitter49.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter50.Name = "Emitter"
- ParticleEmitter50.Parent = Part43
- ParticleEmitter50.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
- ParticleEmitter50.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter50.LightEmission = 0.5
- ParticleEmitter50.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter50.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
- ParticleEmitter50.Rate = 2000
- ParticleEmitter50.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter50.Speed = NumberRange.new(15, 15)
- ParticleEmitter50.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter51.Name = "Emitter"
- ParticleEmitter51.Parent = Part43
- ParticleEmitter51.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
- ParticleEmitter51.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter51.LightEmission = 1
- ParticleEmitter51.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter51.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
- ParticleEmitter51.Rate = 2000
- ParticleEmitter51.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter51.Speed = NumberRange.new(15, 15)
- ParticleEmitter51.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter52.Name = "Emitter"
- ParticleEmitter52.Parent = Part43
- ParticleEmitter52.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
- ParticleEmitter52.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter52.LightEmission = 0.5
- ParticleEmitter52.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter52.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
- ParticleEmitter52.Rate = 2000
- ParticleEmitter52.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter52.Speed = NumberRange.new(15, 15)
- ParticleEmitter52.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter53.Name = "Emitter"
- ParticleEmitter53.Parent = Part43
- ParticleEmitter53.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
- ParticleEmitter53.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter53.LightEmission = 0.5
- ParticleEmitter53.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter53.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
- ParticleEmitter53.Rate = 2000
- ParticleEmitter53.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter53.Speed = NumberRange.new(15, 15)
- ParticleEmitter53.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter54.Name = "Emitter"
- ParticleEmitter54.Parent = Part43
- ParticleEmitter54.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
- ParticleEmitter54.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter54.LightEmission = 0.5
- ParticleEmitter54.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter54.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
- ParticleEmitter54.Rate = 2000
- ParticleEmitter54.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter54.Speed = NumberRange.new(15, 15)
- ParticleEmitter54.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter55.Name = "Emitter"
- ParticleEmitter55.Parent = Part43
- ParticleEmitter55.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
- ParticleEmitter55.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter55.LightEmission = 1
- ParticleEmitter55.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter55.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
- ParticleEmitter55.Rate = 2000
- ParticleEmitter55.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter55.Speed = NumberRange.new(15, 15)
- ParticleEmitter55.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter56.Name = "Emitter"
- ParticleEmitter56.Parent = Part43
- ParticleEmitter56.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
- ParticleEmitter56.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter56.LightEmission = 1
- ParticleEmitter56.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter56.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
- ParticleEmitter56.Rate = 2000
- ParticleEmitter56.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter56.Speed = NumberRange.new(15, 15)
- ParticleEmitter56.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter57.Name = "Emitter"
- ParticleEmitter57.Parent = Part43
- ParticleEmitter57.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
- ParticleEmitter57.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter57.LightEmission = 0.5
- ParticleEmitter57.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter57.Lifetime = NumberRange.new(0.20000000298023, 0.33000001311302)
- ParticleEmitter57.Rate = 2000
- ParticleEmitter57.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter57.Speed = NumberRange.new(15, 15)
- ParticleEmitter57.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- Part58.Name = "BladeGlow2"
- Part58.Parent = Tool0
- Part58.Material = Enum.Material.Neon
- Part58.BrickColor = BrickColor.new("Salmon")
- Part58.Rotation = Vector3.new(90, 90, 0)
- Part58.CanCollide = false
- Part58.FormFactor = Enum.FormFactor.Custom
- Part58.Size = Vector3.new(0.283499986, 0.200000003, 0.283499986)
- Part58.CFrame = CFrame.new(32.319519, 5.05828571, 12.2772808, 0, 0, 1, 0.999999881, 0, 0, 0, 0.999999881, 0)
- Part58.Color = Color3.new(0.952941, 0.537255, 0.537255)
- Part58.Position = Vector3.new(32.319519, 5.05828571, 12.2772808)
- Part58.Orientation = Vector3.new(0, 90, 90)
- Part58.Color = Color3.new(0.952941, 0.537255, 0.537255)
- CylinderMesh59.Parent = Part58
- CylinderMesh59.Offset = Vector3.new(0, 0.5, 0)
- CylinderMesh59.Scale = Vector3.new(0.5, 0, 0.5)
- CylinderMesh59.Scale = Vector3.new(0.5, 0, 0.5)
- ParticleEmitter60.Name = "Emitter"
- ParticleEmitter60.Parent = Part58
- ParticleEmitter60.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
- ParticleEmitter60.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter60.LightEmission = 0.5
- ParticleEmitter60.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter60.Lifetime = NumberRange.new(0.10000000149012, 0.15000000596046)
- ParticleEmitter60.Rate = 2000
- ParticleEmitter60.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter60.Speed = NumberRange.new(-5, -5)
- ParticleEmitter60.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter61.Name = "Emitter"
- ParticleEmitter61.Parent = Part58
- ParticleEmitter61.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
- ParticleEmitter61.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter61.LightEmission = 1
- ParticleEmitter61.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter61.Lifetime = NumberRange.new(0.10000000149012, 0.15000000596046)
- ParticleEmitter61.Rate = 2000
- ParticleEmitter61.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter61.Speed = NumberRange.new(-5, -5)
- ParticleEmitter61.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter62.Name = "Lightning"
- ParticleEmitter62.Parent = Part58
- ParticleEmitter62.Rotation = NumberRange.new(0, 180)
- ParticleEmitter62.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
- ParticleEmitter62.LightEmission = 1
- ParticleEmitter62.Texture = "http://www.roblox.com/asset/?id=243098098"
- ParticleEmitter62.Lifetime = NumberRange.new(0.10000000149012, 0.30000001192093)
- ParticleEmitter62.Rate = 25
- ParticleEmitter62.Speed = NumberRange.new(-2, -2)
- ParticleEmitter63.Name = "Emitter"
- ParticleEmitter63.Parent = Part58
- ParticleEmitter63.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
- ParticleEmitter63.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter63.LightEmission = 1
- ParticleEmitter63.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter63.Lifetime = NumberRange.new(0.10000000149012, 0.15000000596046)
- ParticleEmitter63.Rate = 2000
- ParticleEmitter63.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter63.Speed = NumberRange.new(-5, -5)
- ParticleEmitter63.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter64.Name = "Emitter"
- ParticleEmitter64.Parent = Part58
- ParticleEmitter64.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
- ParticleEmitter64.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter64.LightEmission = 0.5
- ParticleEmitter64.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter64.Lifetime = NumberRange.new(0.10000000149012, 0.15000000596046)
- ParticleEmitter64.Rate = 2000
- ParticleEmitter64.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter64.Speed = NumberRange.new(-5, -5)
- ParticleEmitter64.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter65.Name = "Emitter"
- ParticleEmitter65.Parent = Part58
- ParticleEmitter65.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
- ParticleEmitter65.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter65.LightEmission = 1
- ParticleEmitter65.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter65.Lifetime = NumberRange.new(0.10000000149012, 0.15000000596046)
- ParticleEmitter65.Rate = 2000
- ParticleEmitter65.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter65.Speed = NumberRange.new(-5, -5)
- ParticleEmitter65.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter66.Name = "Emitter"
- ParticleEmitter66.Parent = Part58
- ParticleEmitter66.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
- ParticleEmitter66.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter66.LightEmission = 0.5
- ParticleEmitter66.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter66.Lifetime = NumberRange.new(0.10000000149012, 0.15000000596046)
- ParticleEmitter66.Rate = 2000
- ParticleEmitter66.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter66.Speed = NumberRange.new(-5, -5)
- ParticleEmitter66.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ManualWeld67.Name = "Weld"
- ManualWeld67.Parent = Part58
- ManualWeld67.C0 = CFrame.new(0, 0, 0, 0, 0, -0.999999881, 0, -0.999999881, 0, -1, 0, 0)
- ManualWeld67.C1 = CFrame.new(-0.329059124, -1.65625, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0)
- ManualWeld67.Part0 = Part58
- ManualWeld67.Part1 = Part28
- Part68.Name = "BladeGlow3"
- Part68.Parent = Tool0
- Part68.Material = Enum.Material.Neon
- Part68.BrickColor = BrickColor.new("Salmon")
- Part68.Transparency = 1
- Part68.Rotation = Vector3.new(-90, 90, 0)
- Part68.CanCollide = false
- Part68.FormFactor = Enum.FormFactor.Custom
- Part68.Size = Vector3.new(0.283499986, 0.200000003, 0.283499986)
- Part68.CFrame = CFrame.new(32.319519, 5.05828571, 12.930974, 0, 0, 1, -0.99999994, 0, 0, 0, -0.99999994, 0)
- Part68.Color = Color3.new(0.952941, 0.537255, 0.537255)
- Part68.Position = Vector3.new(32.319519, 5.05828571, 12.930974)
- Part68.Orientation = Vector3.new(0, 90, -90)
- Part68.Color = Color3.new(0.952941, 0.537255, 0.537255)
- ParticleEmitter69.Name = "Lightning"
- ParticleEmitter69.Parent = Part68
- ParticleEmitter69.Rotation = NumberRange.new(0, 180)
- ParticleEmitter69.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
- ParticleEmitter69.LightEmission = 1
- ParticleEmitter69.Texture = "http://www.roblox.com/asset/?id=243098098"
- ParticleEmitter69.Lifetime = NumberRange.new(0.10000000149012, 0.30000001192093)
- ParticleEmitter69.Rate = 25
- ParticleEmitter69.Speed = NumberRange.new(-2, -2)
- ParticleEmitter70.Name = "Emitter"
- ParticleEmitter70.Parent = Part68
- ParticleEmitter70.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
- ParticleEmitter70.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter70.LightEmission = 0.5
- ParticleEmitter70.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter70.Lifetime = NumberRange.new(0.15000000596046, 0.15000000596046)
- ParticleEmitter70.Rate = 2000
- ParticleEmitter70.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter70.Speed = NumberRange.new(-5, -5)
- ParticleEmitter70.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter71.Name = "Emitter"
- ParticleEmitter71.Parent = Part68
- ParticleEmitter71.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
- ParticleEmitter71.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter71.LightEmission = 1
- ParticleEmitter71.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter71.Lifetime = NumberRange.new(0.15000000596046, 0.15000000596046)
- ParticleEmitter71.Rate = 2000
- ParticleEmitter71.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter71.Speed = NumberRange.new(-5, -5)
- ParticleEmitter71.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter72.Name = "Emitter"
- ParticleEmitter72.Parent = Part68
- ParticleEmitter72.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
- ParticleEmitter72.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter72.LightEmission = 0.5
- ParticleEmitter72.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter72.Lifetime = NumberRange.new(0.15000000596046, 0.15000000596046)
- ParticleEmitter72.Rate = 2000
- ParticleEmitter72.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter72.Speed = NumberRange.new(-5, -5)
- ParticleEmitter72.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter73.Name = "Emitter"
- ParticleEmitter73.Parent = Part68
- ParticleEmitter73.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
- ParticleEmitter73.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter73.LightEmission = 1
- ParticleEmitter73.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter73.Lifetime = NumberRange.new(0.15000000596046, 0.15000000596046)
- ParticleEmitter73.Rate = 2000
- ParticleEmitter73.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter73.Speed = NumberRange.new(-5, -5)
- ParticleEmitter73.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter74.Name = "Emitter"
- ParticleEmitter74.Parent = Part68
- ParticleEmitter74.Size = NumberSequence.new(0.029999999329448,0.029999999329448)
- ParticleEmitter74.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter74.LightEmission = 0.5
- ParticleEmitter74.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter74.Lifetime = NumberRange.new(0.15000000596046, 0.15000000596046)
- ParticleEmitter74.Rate = 2000
- ParticleEmitter74.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter74.Speed = NumberRange.new(-5, -5)
- ParticleEmitter74.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
- ParticleEmitter75.Name = "Emitter"
- ParticleEmitter75.Parent = Part68
- ParticleEmitter75.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
- ParticleEmitter75.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter75.LightEmission = 1
- ParticleEmitter75.Texture = "rbxasset://textures/spark.png"
- ParticleEmitter75.Lifetime = NumberRange.new(0.15000000596046, 0.15000000596046)
- ParticleEmitter75.Rate = 2000
- ParticleEmitter75.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter75.Speed = NumberRange.new(-5, -5)
- ParticleEmitter75.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ManualWeld76.Name = "Weld"
- ManualWeld76.Parent = Part68
- ManualWeld76.C0 = CFrame.new(0, 0, 0, 0, 0, 0.99999994, 0, 0.99999994, 0, -1, 0, 0)
- ManualWeld76.C1 = CFrame.new(0.324633956, -1.65625, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0)
- ManualWeld76.Part0 = Part68
- ManualWeld76.Part1 = Part28
- Part77.Name = "LineSegment"
- Part77.Parent = Tool0
- Part77.BrickColor = BrickColor.new("Crimson")
- Part77.Rotation = Vector3.new(105.68, 0.979999959, 179.830002)
- Part77.Anchored = true
- Part77.FormFactor = Enum.FormFactor.Custom
- Part77.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part77.CFrame = CFrame.new(32.4458313, 5.42287683, 12.6626234, -0.999848545, -0.00290690456, 0.0171712227, -0.0173179898, 0.270167023, -0.962657928, -0.00184074172, -0.962809205, -0.270176291)
- Part77.BottomSurface = Enum.SurfaceType.Smooth
- Part77.TopSurface = Enum.SurfaceType.Smooth
- Part77.Color = Color3.new(0.592157, 0, 0)
- Part77.Position = Vector3.new(32.4458313, 5.42287683, 12.6626234)
- Part77.Orientation = Vector3.new(74.2900009, 176.360001, -3.66999984)
- Part77.Color = Color3.new(0.592157, 0, 0)
- BlockMesh78.Parent = Part77
- BlockMesh78.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- BlockMesh78.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- Part79.Name = "LineSegment"
- Part79.Parent = Tool0
- Part79.BrickColor = BrickColor.new("Crimson")
- Part79.Rotation = Vector3.new(93.1500015, 1.25, -179.940002)
- Part79.Anchored = true
- Part79.FormFactor = Enum.FormFactor.Custom
- Part79.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part79.CFrame = CFrame.new(32.4360657, 5.74733973, 12.7165174, -0.999760866, 0.00111518474, 0.0218526591, -0.0217585452, 0.0548899174, -0.99825567, -0.00231273076, -0.998492122, -0.0548524261)
- Part79.BottomSurface = Enum.SurfaceType.Smooth
- Part79.TopSurface = Enum.SurfaceType.Smooth
- Part79.Color = Color3.new(0.592157, 0, 0)
- Part79.Position = Vector3.new(32.4360657, 5.74733973, 12.7165174)
- Part79.Orientation = Vector3.new(86.6199951, 158.279999, -21.6199989)
- Part79.Color = Color3.new(0.592157, 0, 0)
- BlockMesh80.Parent = Part79
- BlockMesh80.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- BlockMesh80.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- Part81.Name = "LineSegment"
- Part81.Parent = Tool0
- Part81.BrickColor = BrickColor.new("Crimson")
- Part81.Rotation = Vector3.new(101.559998, 1.00999999, 179.899994)
- Part81.Anchored = true
- Part81.FormFactor = Enum.FormFactor.Custom
- Part81.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part81.CFrame = CFrame.new(32.4458313, 5.53127527, 12.6886854, -0.999844909, -0.00168787641, 0.017545186, -0.0175274648, 0.200418085, -0.979553998, -0.00186300697, -0.979709625, -0.20041658)
- Part81.BottomSurface = Enum.SurfaceType.Smooth
- Part81.TopSurface = Enum.SurfaceType.Smooth
- Part81.Color = Color3.new(0.592157, 0, 0)
- Part81.Position = Vector3.new(32.4458313, 5.53127527, 12.6886854)
- Part81.Orientation = Vector3.new(78.3899994, 175, -5)
- Part81.Color = Color3.new(0.592157, 0, 0)
- BlockMesh82.Parent = Part81
- BlockMesh82.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- BlockMesh82.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- Part83.Parent = Tool0
- Part83.Material = Enum.Material.Metal
- Part83.BrickColor = BrickColor.new("Really black")
- Part83.Rotation = Vector3.new(180, 90, 0)
- Part83.FormFactor = Enum.FormFactor.Custom
- Part83.Size = Vector3.new(0.354374975, 0.283499986, 0.354374975)
- Part83.CFrame = CFrame.new(32.3195457, 6.40185261, 12.6063404, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part83.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part83.Position = Vector3.new(32.3195457, 6.40185261, 12.6063404)
- Part83.Orientation = Vector3.new(0, 90, 180)
- Part83.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh84.Parent = Part83
- CylinderMesh84.Scale = Vector3.new(0.800000012, 0.699999988, 0.800000012)
- CylinderMesh84.Scale = Vector3.new(0.800000012, 0.699999988, 0.800000012)
- ManualWeld85.Name = "Weld"
- ManualWeld85.Parent = Part83
- ManualWeld85.C0 = CFrame.new(0, 0, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- ManualWeld85.C1 = CFrame.new(0, -1.55761719, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- ManualWeld85.Part0 = Part83
- Part86.Parent = Tool0
- Part86.Material = Enum.Material.Metal
- Part86.BrickColor = BrickColor.new("Really black")
- Part86.Rotation = Vector3.new(-90, 90, 0)
- Part86.FormFactor = Enum.FormFactor.Custom
- Part86.Size = Vector3.new(0.283499986, 0.850500047, 0.283499986)
- Part86.CFrame = CFrame.new(32.3195457, 5.0610323, 12.6063404, 0, 0, 1, -0.999999821, 2.98023224e-08, 0, -2.98023224e-08, -0.999999821, 0)
- Part86.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part86.Position = Vector3.new(32.3195457, 5.0610323, 12.6063404)
- Part86.Orientation = Vector3.new(0, 90, -90)
- Part86.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh87.Parent = Part86
- CylinderMesh87.Scale = Vector3.new(0.699999988, 1, 0.699999988)
- CylinderMesh87.Scale = Vector3.new(0.699999988, 1, 0.699999988)
- ManualWeld88.Name = "Weld"
- ManualWeld88.Parent = Part86
- ManualWeld88.C0 = CFrame.new(0, 0, 0, -0.999999821, 2.98023224e-08, 0, 2.98023224e-08, 0.999999821, 0, 0, 0, -1)
- ManualWeld88.C1 = CFrame.new(0, -1.65771484, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- ManualWeld88.Part0 = Part86
- Part89.Parent = Tool0
- Part89.Material = Enum.Material.Metal
- Part89.BrickColor = BrickColor.new("Really black")
- Part89.Rotation = Vector3.new(180, 90, 0)
- Part89.FormFactor = Enum.FormFactor.Custom
- Part89.Size = Vector3.new(0.283499986, 0.49849987, 0.283499986)
- Part89.CFrame = CFrame.new(32.3195457, 5.27245808, 12.6082935, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part89.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part89.Position = Vector3.new(32.3195457, 5.27245808, 12.6082935)
- Part89.Orientation = Vector3.new(0, 90, 180)
- Part89.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh90.Parent = Part89
- ManualWeld91.Name = "Weld"
- ManualWeld91.Parent = Part89
- ManualWeld91.C0 = CFrame.new(0, 0, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- ManualWeld91.C1 = CFrame.new(0.00201416016, -1.86914063, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- ManualWeld91.Part0 = Part89
- Part92.Parent = Tool0
- Part92.Material = Enum.Material.Metal
- Part92.BrickColor = BrickColor.new("Really black")
- Part92.Rotation = Vector3.new(180, 90, 0)
- Part92.FormFactor = Enum.FormFactor.Custom
- Part92.Size = Vector3.new(0.354374975, 0.283499986, 0.354374975)
- Part92.CFrame = CFrame.new(32.3195457, 4.96093464, 12.6063404, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part92.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part92.Position = Vector3.new(32.3195457, 4.96093464, 12.6063404)
- Part92.Orientation = Vector3.new(0, 90, 180)
- Part92.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh93.Parent = Part92
- CylinderMesh93.Scale = Vector3.new(0.600000024, 0.699999988, 0.600000024)
- CylinderMesh93.Scale = Vector3.new(0.600000024, 0.699999988, 0.600000024)
- ManualWeld94.Name = "Weld"
- ManualWeld94.Parent = Part92
- ManualWeld94.C0 = CFrame.new(0, 0, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- ManualWeld94.C1 = CFrame.new(0, -1.55761719, 0, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- ManualWeld94.Part0 = Part92
- Part95.Name = "LineSegment"
- Part95.Parent = Tool0
- Part95.BrickColor = BrickColor.new("Crimson")
- Part95.Rotation = Vector3.new(80.909996, 1.22000003, -179.669998)
- Part95.Anchored = true
- Part95.FormFactor = Enum.FormFactor.Custom
- Part95.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part95.CFrame = CFrame.new(32.4336243, 6.07790613, 12.6987257, -0.999756217, 0.00577225257, 0.0213140715, -0.0219581705, -0.157853991, -0.987218201, -0.00233394885, -0.987445593, 0.157942221)
- Part95.BottomSurface = Enum.SurfaceType.Smooth
- Part95.TopSurface = Enum.SurfaceType.Smooth
- Part95.Color = Color3.new(0.592157, 0, 0)
- Part95.Position = Vector3.new(32.4336243, 6.07790613, 12.6987257)
- Part95.Orientation = Vector3.new(80.8300018, 7.69000006, -172.080002)
- Part95.Color = Color3.new(0.592157, 0, 0)
- BlockMesh96.Parent = Part95
- BlockMesh96.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- BlockMesh96.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- Part97.Name = "LineSegment"
- Part97.Parent = Tool0
- Part97.BrickColor = BrickColor.new("Crimson")
- Part97.Rotation = Vector3.new(77.0299988, 1.18999994, -179.589996)
- Part97.Anchored = true
- Part97.FormFactor = Enum.FormFactor.Custom
- Part97.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part97.CFrame = CFrame.new(32.4302063, 6.1894784, 12.6771193, -0.999760747, 0.00713411812, 0.0206854045, -0.0217585452, -0.224217221, -0.974296391, -0.0023127289, -0.974513531, 0.224318862)
- Part97.BottomSurface = Enum.SurfaceType.Smooth
- Part97.TopSurface = Enum.SurfaceType.Smooth
- Part97.Color = Color3.new(0.592157, 0, 0)
- Part97.Position = Vector3.new(32.4302063, 6.1894784, 12.6771193)
- Part97.Orientation = Vector3.new(76.9799957, 5.26999998, -174.459991)
- Part97.Color = Color3.new(0.592157, 0, 0)
- BlockMesh98.Parent = Part97
- BlockMesh98.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- BlockMesh98.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- Part99.Name = "LineSegment"
- Part99.Parent = Tool0
- Part99.BrickColor = BrickColor.new("Crimson")
- Part99.Rotation = Vector3.new(109.699997, 1.23000002, 179.699997)
- Part99.Anchored = true
- Part99.FormFactor = Enum.FormFactor.Custom
- Part99.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part99.CFrame = CFrame.new(32.4468079, 5.31789589, 12.6287489, -0.999756217, -0.00520526292, 0.0214596111, -0.0219581705, 0.33706516, -0.941225529, -0.00233394885, -0.941467226, -0.337097406)
- Part99.BottomSurface = Enum.SurfaceType.Smooth
- Part99.TopSurface = Enum.SurfaceType.Smooth
- Part99.Color = Color3.new(0.592157, 0, 0)
- Part99.Position = Vector3.new(32.4468079, 5.31789589, 12.6287489)
- Part99.Orientation = Vector3.new(70.2600021, 176.360001, -3.73000002)
- Part99.Color = Color3.new(0.592157, 0, 0)
- BlockMesh100.Parent = Part99
- BlockMesh100.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- BlockMesh100.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- Part101.Name = "LineSegment"
- Part101.Parent = Tool0
- Part101.BrickColor = BrickColor.new("Crimson")
- Part101.Rotation = Vector3.new(97.3499985, 1.25999999, 179.970001)
- Part101.Anchored = true
- Part101.FormFactor = Enum.FormFactor.Custom
- Part101.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part101.CFrame = CFrame.new(32.4404602, 5.63942957, 12.7066298, -0.999756217, -0.000494105276, 0.0220763199, -0.0219581705, 0.127914265, -0.991542041, -0.00233394885, -0.991785169, -0.127893955)
- Part101.BottomSurface = Enum.SurfaceType.Smooth
- Part101.TopSurface = Enum.SurfaceType.Smooth
- Part101.Color = Color3.new(0.592157, 0, 0)
- Part101.Position = Vector3.new(32.4404602, 5.63942957, 12.7066298)
- Part101.Orientation = Vector3.new(82.5400009, 170.209991, -9.73999977)
- Part101.Color = Color3.new(0.592157, 0, 0)
- BlockMesh102.Parent = Part101
- BlockMesh102.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- BlockMesh102.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- Part103.Name = "LineSegment"
- Part103.Parent = Tool0
- Part103.BrickColor = BrickColor.new("Crimson")
- Part103.Rotation = Vector3.new(88.9899979, 1, -179.87999)
- Part103.Anchored = true
- Part103.FormFactor = Enum.FormFactor.Custom
- Part103.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part103.CFrame = CFrame.new(32.4350891, 5.85549402, 12.7186232, -0.999844968, 0.00217191922, 0.017491864, -0.0175274666, -0.0176218152, -0.999691308, -0.0018630065, -0.999842525, 0.0176572055)
- Part103.BottomSurface = Enum.SurfaceType.Smooth
- Part103.TopSurface = Enum.SurfaceType.Smooth
- Part103.Color = Color3.new(0.592157, 0, 0)
- Part103.Position = Vector3.new(32.4350891, 5.85549402, 12.7186232)
- Part103.Orientation = Vector3.new(88.5800018, 44.7299995, -135.149994)
- Part103.Color = Color3.new(0.592157, 0, 0)
- BlockMesh104.Parent = Part103
- BlockMesh104.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- BlockMesh104.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- Part105.Name = "LineSegment"
- Part105.Parent = Tool0
- Part105.BrickColor = BrickColor.new("Crimson")
- Part105.Rotation = Vector3.new(73.4000015, 0.930000007, -179.610001)
- Part105.Anchored = true
- Part105.FormFactor = Enum.FormFactor.Custom
- Part105.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part105.CFrame = CFrame.new(32.4302063, 6.30349207, 12.6470594, -0.999844968, 0.00679121679, 0.0162653606, -0.0175274648, -0.285538554, -0.958207309, -0.00186301023, -0.958343625, 0.285613179)
- Part105.BottomSurface = Enum.SurfaceType.Smooth
- Part105.TopSurface = Enum.SurfaceType.Smooth
- Part105.Color = Color3.new(0.592157, 0, 0)
- Part105.Position = Vector3.new(32.4302063, 6.30349207, 12.6470594)
- Part105.Orientation = Vector3.new(73.3799973, 3.25999999, -176.48999)
- Part105.Color = Color3.new(0.592157, 0, 0)
- BlockMesh106.Parent = Part105
- BlockMesh106.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- BlockMesh106.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- Part107.Name = "LineSegment"
- Part107.Parent = Tool0
- Part107.BrickColor = BrickColor.new("Crimson")
- Part107.Rotation = Vector3.new(84.9000015, 0.98999995, -179.800003)
- Part107.Anchored = true
- Part107.FormFactor = Enum.FormFactor.Custom
- Part107.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part107.CFrame = CFrame.new(32.4350891, 5.96657801, 12.7125502, -0.999844909, 0.00341415429, 0.0172923915, -0.0175274741, -0.0888893604, -0.995887756, -0.00186300708, -0.996035874, 0.0889354199)
- Part107.BottomSurface = Enum.SurfaceType.Smooth
- Part107.TopSurface = Enum.SurfaceType.Smooth
- Part107.Color = Color3.new(0.592157, 0, 0)
- Part107.Position = Vector3.new(32.4350891, 5.96657801, 12.7125502)
- Part107.Orientation = Vector3.new(84.7999954, 11, -168.849991)
- Part107.Color = Color3.new(0.592157, 0, 0)
- BlockMesh108.Parent = Part107
- BlockMesh108.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- BlockMesh108.Scale = Vector3.new(0.200000003, 0.200000003, 1)
- Script109.Name = "qPerfectionWeld"
- Script109.Parent = Tool0
- table.insert(cors,sandbox(Script109,function()
- -- Created by Quenty (@Quenty, follow me on twitter).
- -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
- -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
- --[[ INSTRUCTIONS
- - Place in the model
- - Make sure model is anchored
- - That's it. It will weld the model and all children.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
- This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
- ]]
- --[[ DOCUMENTATION
- - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
- - Will work in PBS servers
- - Will work as long as it starts out with the part anchored
- - Stores the relative CFrame as a CFrame value
- - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
- - Utilizes a recursive algorith to find all parts in the model
- - Will reweld on script reparent if the script is initially parented to a tool.
- - Welds as fast as possible
- ]]
- -- qPerfectionWeld.lua
- -- Created 10/6/2014
- -- Author: Quenty
- -- Version 1.0.3
- -- Updated 10/14/2014 - Updated to 1.0.1
- --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
- -- Updated 10/14/2014 - Updated to 1.0.2
- --- Fixed bug fix.
- -- Updated 10/14/2014 - Updated to 1.0.3
- --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
- local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
- local function CallOnChildren(Instance, FunctionToCall)
- -- Calls a function on each of the children of a certain object, using recursion.
- FunctionToCall(Instance)
- for _, Child in next, Instance:GetChildren() do
- CallOnChildren(Child, FunctionToCall)
- end
- end
- local function GetNearestParent(Instance, ClassName)
- -- Returns the nearest parent of a certain class, or returns nil
- local Ancestor = Instance
- repeat
- Ancestor = Ancestor.Parent
- if Ancestor == nil then
- return nil
- end
- until Ancestor:IsA(ClassName)
- return Ancestor
- end
- local function GetBricks(StartInstance)
- local List = {}
- -- if StartInstance:IsA("BasePart") then
- -- List[#List+1] = StartInstance
- -- end
- CallOnChildren(StartInstance, function(Item)
- if Item:IsA("BasePart") then
- List[#List+1] = Item;
- end
- end)
- return List
- end
- local function Modify(Instance, Values)
- -- Modifies an Instance by using a table.
- assert(type(Values) == "table", "Values is not a table");
- for Index, Value in next, Values do
- if type(Index) == "number" then
- Value.Parent = Instance
- else
- Instance[Index] = Value
- end
- end
- return Instance
- end
- local function Make(ClassType, Properties)
- -- Using a syntax hack to create a nice way to Make new items.
- return Modify(Instance.new(ClassType), Properties)
- end
- local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
- local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
- local function HasWheelJoint(Part)
- for _, SurfaceName in pairs(Surfaces) do
- for _, HingSurfaceName in pairs(HingSurfaces) do
- if Part[SurfaceName].Name == HingSurfaceName then
- return true
- end
- end
- end
- return false
- end
- local function ShouldBreakJoints(Part)
- --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
- -- definitely some edge cases.
- if NEVER_BREAK_JOINTS then
- return false
- end
- if HasWheelJoint(Part) then
- return false
- end
- local Connected = Part:GetConnectedParts()
- if #Connected == 1 then
- return false
- end
- for _, Item in pairs(Connected) do
- if HasWheelJoint(Item) then
- return false
- elseif not Item:IsDescendantOf(script.Parent) then
- return false
- end
- end
- return true
- end
- local function WeldTogether(Part0, Part1, JointType, WeldParent)
- --- Weld's 2 parts together
- -- @param Part0 The first part
- -- @param Part1 The second part (Dependent part most of the time).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
- -- @return The weld created.
- JointType = JointType or "Weld"
- local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
- local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
- Modify(NewWeld, {
- Name = "qCFrameWeldThingy";
- Part0 = Part0;
- Part1 = Part1;
- C0 = CFrame.new();--Part0.CFrame:inverse();
- C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
- Parent = Part1;
- })
- if not RelativeValue then
- RelativeValue = Make("CFrameValue", {
- Parent = Part1;
- Name = "qRelativeCFrameWeldValue";
- Archivable = true;
- Value = NewWeld.C1;
- })
- end
- return NewWeld
- end
- local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
- -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
- -- @param MainPart The part to weld the model to (can be in the model).
- -- @param [JointType] The type of joint. Defaults to weld.
- -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
- for _, Part in pairs(Parts) do
- if ShouldBreakJoints(Part) then
- Part:BreakJoints()
- end
- end
- for _, Part in pairs(Parts) do
- if Part ~= MainPart then
- WeldTogether(MainPart, Part, JointType, MainPart)
- end
- end
- if not DoNotUnanchor then
- for _, Part in pairs(Parts) do
- Part.Anchored = false
- end
- MainPart.Anchored = false
- end
- end
- local function PerfectionWeld()
- local Tool = GetNearestParent(script, "Tool")
- local Parts = GetBricks(script.Parent)
- local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
- if PrimaryPart then
- WeldParts(Parts, PrimaryPart, "Weld", false)
- else
- warn("qWeld - Unable to weld part")
- end
- return Tool
- end
- local Tool = PerfectionWeld()
- if Tool and script.ClassName == "Script" then
- --- Don't bother with local scripts
- script.Parent.AncestryChanged:connect(function()
- PerfectionWeld()
- end)
- end
- -- Created by Quenty (@Quenty, follow me on twitter).
- end))
- 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
- wait(0.1)
- game.Workspace.KYLETHORNTON.Humanoid.MaxHealth = 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e9
- wait(0.1)
- game.Workspace.KYLETHORNTON.Humanoid.Health = 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e9
- wait(0)
- wait()
- function descend(obj,class,func)
- for i,v in pairs(obj:GetChildren()) do
- if v:IsA(class) then
- func(v)
- end
- descend(v,class,func)
- end
- end
- local pls = game:GetService("Players").LocalPlayer
- function initiateCharacter(char)
- if not char then return end
- wait()
- descend(char,"BasePart",function(obj)
- obj.Anchored = false
- obj.Changed:connect(function()
- if obj.Anchored then
- local oof = Instance.new("Sound",Torso)
- oof.Name = "oof"
- oof.SoundId = "rbxassetid://1440191967"
- oof.Pitch = 0.99
- oof.Volume = 10
- oof.Looped = false
- wait(0)
- oof:Play()
- obj.Anchored = false
- end
- end)
- end)
- descend(char,"Humanoid",function(obj)
- obj.WalkSpeed = 16
- obj.Changed:connect(function()
- if obj.WalkSpeed == 0 then
- obj.WalkSpeed = 16
- end
- end)
- end)
- end
- initiateCharacter(pls.Character)
- pls.CharacterAdded:connect(function(c)
- initiateCharacter(c)
- end)
- wait(0)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- part = nil
- bp = nil
- particles = nil
- function clerp(a,b,c,d)
- for i = 0,d,.01 do
- a.CFrame = CFrame.new(b:lerp(c,i))
- wait()
- end
- end
- function slerp(a2,b2,c2,d2)
- for i2 = 0,d2,.01 do
- a2.CFrame = CFrame.new(b2:lerp(c2,i2))
- wait()
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == "f" and plr.Character.Parent == workspace then
- plr.Character.Parent = workspace
- plr.Character.Archivable = true
- Instance.new("ForceField",plr.Character).Visible = false
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
- t.Transparency = 0
- if t.Name == "Head" and t:FindFirstChild("face") then
- t.face.Transparency = 0
- end
- elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
- t.Handle.Transparency = 0
- end
- end
- elseif key == "z" and plr.Character.Parent == workspace and part == nil then
- plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
- elseif key == "x" and plr.Character.Parent == workspace and part == nil then
- if plr.Character.Torso.Anchored == true then
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") then
- t.Anchored = false
- end
- end
- else
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") then
- t.Anchored = true
- end
- end
- end
- elseif key == "c" and plr.Character.Parent == workspace and part ~= nil then
- local clone = part:Clone()
- clone.Parent = workspace
- clone.Anchored = false
- clone:ClearAllChildren()
- clone.CanCollide = true
- bp.Parent = clone
- particles.Parent = clone
- if part.Parent:FindFirstChildOfClass("Humanoid") then
- part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
- end
- part:Destroy()
- part = clone
- elseif key == "n" and plr.Character.Parent == workspace and part == nil then
- plr.Character.Parent = workspace
- plr.Character.Archivable = false
- plr.Character:FindFirstChildOfClass("ForceField"):Remove()
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
- t.Transparency = 0
- if t.Name == "Head" and t:FindFirstChild("face") then
- t.face.Transparency = 0
- end
- elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
- t.Handle.Transparency = 0
- end
- end
- end
- end)
- mouse.Button2Down:connect(function()
- if plr.Character.Parent == workspace then
- if mouse ~= nil then
- if mouse.Target ~= nil then
- part = mouse.Target
- bp = Instance.new("BodyPosition",part)
- bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bp.Position = part.Position
- particles = Instance.new("ParticleEmitter",part)
- particles.Color = ColorSequence.new(Color3.new(0,0,0))
- particles.Size = NumberSequence.new(1)
- particles.Texture = "rbxassetid://292289455"
- particles.VelocitySpread = 360
- particles.Speed = NumberRange.new(0)
- particles.RotSpeed = NumberRange.new(0)
- particles.Rotation = NumberRange.new(0)
- particles.Rate = 250
- particles.Lifetime = NumberRange.new(.2,.4)
- particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
- dwn = true
- end
- end
- while dwn == true do
- wait()
- bp.Position = mouse.hit.p
- if part then
- if part.Parent:FindFirstChildOfClass("Humanoid") then
- part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
- end
- end
- end
- end
- end)
- mouse.Button2Up:connect(function()
- dwn = false
- if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
- if bp then bp:Destroy() end
- if particles then particles:Destroy() end
- end)
- base = Instance.new("ScreenGui",plr.PlayerGui)
- bbg = Instance.new("BillboardGui",plr.Character.Head)
- bbg.Size = UDim2.new(0,200,0,50)
- bbg.StudsOffset = Vector3.new(0,3,0)
- bbgTl = Instance.new("TextLabel",bbg)
- bbgTl.BackgroundTransparency = 1
- bbgTl.Size = UDim2.new(10,0,1,0)
- bbgTl.Position = UDim2.new(-4.5,0,0,0)
- bbgTl.Font = "Code"
- bbgTl.Text = " "
- bbgTl.TextSize = 0
- bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
- bbgTl.TextColor3 = Color3.new(0,0,0)
- bbgTl.TextStrokeTransparency = 1
- bbgTl.TextTransparency = 1
- bbgTl.TextWrapped = true
- plr.Chatted:connect(function(msg)
- bbgTl.Text = msg
- wait(5)
- if bbgTl.Text == msg then
- bbgTl.Text = " "
- end
- end)
- touchCounter = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement