Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- TFont = "RobloxRoundDropdownButton"
- local Gui = Instance.new("ScreenGui")
- Gui.Parent = plr.PlayerGui
- Gui.Name = "SwordEditor"
- local Frame = Instance.new("Frame")
- Frame.Name = "Frame"
- Frame.Parent = Gui
- local StartSound = Instance.new("Sound",Frame)
- StartSound.SoundId = "rbxassetid://255881176"
- StartSound.Volume = 100000
- Frame.BackgroundColor3 = Color3.fromRGB(255,255,255)
- Frame.BackgroundTransparency = 0.2
- Frame.BorderColor3 = Color3.fromRGB(103, 161, 202)
- Frame.BorderSizePixel = 10
- Frame.Position = UDim2.new(0, -600,0, 23) --UDim2.new(0, 270,0, 23)
- Frame.Size = UDim2.new(0, 500,0, 420) --Blaze it
- Frame.Draggable = true
- Frame.Active = true
- local FHelp = Instance.new("Frame")
- FHelp.Name = "HelpFrame"
- FHelp.Parent = Gui
- FHelp.BackgroundColor3 = Color3.fromRGB(255,255,255)
- FHelp.BackgroundTransparency = 0
- FHelp.BorderColor3 = Color3.fromRGB(103, 161, 202)
- FHelp.BorderSizePixel = 10
- FHelp.Position = UDim2.new(0, 795,0, 10)
- FHelp.Size = UDim2.new(0, 200,0, 400)
- FHelp.Draggable = true
- FHelp.Active = true
- FHelp.Visible = false
- ClickId = 156286438
- local Preset5 = Instance.new("TextButton",Frame)
- local PresetSound5 = Instance.new("Sound",Preset5)
- PresetSound5.SoundId = "rbxassetid://"..ClickId
- local Preset4 = Instance.new("TextButton",Frame)
- local PresetSound4 = Instance.new("Sound",Preset4)
- PresetSound4.SoundId = "rbxassetid://"..ClickId
- local Preset3 = Instance.new("TextButton",Frame)
- local PresetSound3 = Instance.new("Sound",Preset3)
- PresetSound3.SoundId = "rbxassetid://"..ClickId
- local Preset2 = Instance.new("TextButton",Frame)
- local PresetSound2 = Instance.new("Sound",Preset2)
- PresetSound2.SoundId = "rbxassetid://"..ClickId
- local Preset1 = Instance.new("TextButton",Frame)
- local PresetSound1 = Instance.new("Sound",Preset1)
- PresetSound1.SoundId = "rbxassetid://"..ClickId
- local CloseGui = Instance.new("TextButton",Frame)
- local ClosSo = Instance.new("Sound",CloseGui)
- local CloCh = Instance.new("BoolValue",CloseGui)
- ClosSo.SoundId = "rbxassetid://"..ClickId
- local RangeHint = Instance.new("TextButton",Frame)
- local Rainb = Instance.new("TextButton",Frame)
- local RainS = Instance.new("Sound",Rainb)
- local RainV = Instance.new("BoolValue",Rainb)
- RainS.SoundId = "rbxassetid://"..ClickId
- local Color3Value = Instance.new("Color3Value",Frame)
- local SetColorValue = Instance.new("TextButton",Frame)
- local Color3M = Instance.new("Sound",SetColorValue)
- local DayChanger = Instance.new("TextButton",Frame)
- local DCS = Instance.new("Sound",DayChanger)
- DCS.SoundId = "rbxassetid://156286438"
- local DayVal = Instance.new("BoolValue",DayChanger)
- local Glow = Instance.new("TextButton",Frame)
- local SGlow = Instance.new("Sound",Glow)
- SGlow.SoundId = "rbxassetid://"..ClickId
- local GlowV = Instance.new("BoolValue",Glow)
- Color3M.SoundId = "rbxassetid://"..ClickId
- Color3Value.Name = "Color3a"
- local Color1 = Instance.new("TextButton")
- Color1.Parent = FHelp
- local Color2 = Instance.new("TextButton")
- Color2.Parent = FHelp
- local Color3i = Instance.new("TextButton")
- Color3i.Parent = FHelp
- local Color4 = Instance.new("TextButton")
- Color4.Parent = FHelp
- local Color5 = Instance.new("TextButton")
- Color5.Parent = FHelp
- local Color6 = Instance.new("TextButton")
- Color6.Parent = FHelp
- local Color7 = Instance.new("TextButton")
- Color7.Parent = FHelp
- local Color8 = Instance.new("TextButton")
- Color8.Parent = FHelp
- local Color9 = Instance.new("TextButton")
- Color9.Parent = FHelp
- local Color10 = Instance.new("TextButton")
- Color10.Parent = FHelp
- local Color11 = Instance.new("TextButton")
- Color11.Parent = FHelp
- local Color12 = Instance.new("TextButton")
- Color12.Parent = FHelp
- local Color13 = Instance.new("TextButton")
- Color13.Parent = FHelp
- local Color14 = Instance.new("TextButton")
- Color14.Parent = FHelp
- local Color15 = Instance.new("TextButton")
- Color15.Parent = FHelp
- local Color16 = Instance.new("TextButton")
- Color16.Parent = FHelp
- local FClose = Instance.new("TextButton")
- FClose.Parent = FHelp
- local FClS = Instance.new("Sound",FClose)
- FClS.SoundId = "rbxassetid://"..ClickId
- local Help = Instance.new("TextButton")
- Help.Parent = Frame
- HelpSO = Instance.new("Sound",Help)
- HelpSO.SoundId = "rbxassetid://"..ClickId
- local IdHint = Instance.new("TextButton")
- IdHint.Parent = Frame
- local PitHint = Instance.new("TextButton")
- PitHint.Parent = Frame
- thegui = plr.PlayerGui.SwordEditor.Frame
- helpgui = plr.PlayerGui.SwordEditor.HelpFrame
- local VolHint = Instance.new("TextButton")
- VolHint.Parent = Frame
- local ColorValue = Instance.new("TextBox")
- ColorValue.Parent = Frame
- local ColorE = Instance.new("TextButton")
- ColorE.Parent = Frame
- local ColEV = Instance.new("BoolValue",ColorE)
- local ColSO = Instance.new("Sound",ColorE)
- ColSO.SoundId = "rbxassetid://"..ClickId
- local Done = Instance.new("TextButton")
- Done.Parent = Frame
- local DSO = Instance.new("Sound",Done)
- DSO.SoundId = "rbxassetid://"..255881176
- local TITLE = Instance.new("TextButton")
- TITLE.Parent = Frame
- local Default = Instance.new("TextButton")
- Default.Parent = Frame
- local DEFSO = Instance.new("Sound",Default)
- DEFSO.SoundId = "rbxassetid://"..ClickId
- local RColor = Instance.new("TextButton")
- RColor.Parent = Frame
- local RCOSO = Instance.new("Sound",RColor)
- RCOSO.SoundId = "rbxassetid://"..ClickId
- local RColorB = Instance.new("BoolValue",RColor)
- local CE = Instance.new("TextButton")
- CE.Parent = Frame
- local CESO = Instance.new("Sound",CE)
- CESO.SoundId = "rbxassetid://"..ClickId
- local CEB = Instance.new("BoolValue",CE)
- local CC = Instance.new("TextBox")
- CC.Parent = Frame
- local MU = Instance.new("TextButton")
- MU.Parent = Frame
- local MUSO = Instance.new("Sound",MU)
- MUSO.SoundId = "rbxassetid://"..ClickId
- local MUB = Instance.new("BoolValue",MU)
- local MID = Instance.new("TextBox")
- MID.Parent = Frame
- local MPitch = Instance.new("TextBox")
- MPitch.Parent = Frame
- local LI = Instance.new("TextButton")
- LI.Parent = Frame
- local LISO = Instance.new("Sound",LI)
- LISO.SoundId = "rbxassetid://"..ClickId
- local LIB = Instance.new("BoolValue",LI)
- local LRange = Instance.new("TextBox")
- LRange.Parent = Frame
- local MVolume = Instance.new("TextBox")
- MVolume.Parent = Frame
- local PA = Instance.new("TextButton")
- PA.Parent = Frame
- local PASO = Instance.new("Sound",PA)
- PASO.SoundId = "rbxassetid://"..ClickId
- local PAB = Instance.new("BoolValue",PA)
- local HEA = Instance.new("TextBox")
- HEA.Parent = Frame
- local PSP = Instance.new("TextBox")
- PSP.Parent = Frame
- local MIDM = Instance.new("TextBox")
- MIDM.Parent = Frame
- local MADM = Instance.new("TextBox")
- MADM.Parent = Frame
- local HAX = Instance.new("TextButton")
- HAX.Parent = Frame
- local HAXSO = Instance.new("Sound",HAX)
- HAXSO.SoundId = "rbxassetid://"..ClickId
- local HAXB = Instance.new("BoolValue",HAX)
- local BAN = Instance.new("TextButton")
- BAN.Parent = Frame
- local BANSO = Instance.new("Sound",BAN)
- BANSO.SoundId = "rbxassetid://"..ClickId
- local BANB = Instance.new("BoolValue",BAN)
- ------------------------------------------ Presets
- Preset1.Name = "Preset1"
- Preset1.Position = UDim2.new(0, 10,0, 360)
- Preset1.Size = UDim2.new(0, 80,0, 50)
- Preset1.Font = "Highway"
- Preset1.Style = TFont
- Preset1.TextSize = 18
- Preset1.Text = "Red"
- Preset1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Preset1.TextWrapped = true
- Preset1.TextScaled = true
- thegui.Preset1.MouseButton1Down:connect(function()
- thegui.Preset1.Sound:Play()
- thegui.Music.Value.Value = true
- thegui.Music.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.Light.Value.Value = true
- thegui.Light.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.ColorValue.Value.Value = true
- thegui.ColorValue.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.ColorCode.Text = "15"
- thegui.Health.Text = "500"
- thegui.LightRange.Text = "7"
- thegui.MaximumDamage.Text = "50"
- thegui.MinimumDamage.Text = "30"
- thegui.MusicId.Text = "181547615"
- thegui.MusicPitch.Text = "1"
- thegui.Speed.Text = "30"
- thegui.TheColor.Text = "0,0,0"
- thegui.MusicVolume.Text = "1"
- end)
- -----
- Preset2.Name = "Preset2"
- Preset2.Position = UDim2.new(0, 90,0, 360)
- Preset2.Size = UDim2.new(0, 80,0, 50)
- Preset2.Font = "Highway"
- Preset2.Style = TFont
- Preset2.TextSize = 14
- Preset2.Text = "Violet"
- Preset2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Preset2.TextWrapped = false
- Preset2.TextScaled = false
- thegui.Preset2.MouseButton1Down:connect(function()
- thegui.Preset2.Sound:Play()
- thegui.Music.Value.Value = true
- thegui.Music.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.Light.Value.Value = true
- thegui.Light.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.ColorValue.Value.Value = true
- thegui.ColorValue.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.ColorCode.Text = "8"
- thegui.Particles.Value.Value = true
- thegui.Particles.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.Health.Text = "1000"
- thegui.LightRange.Text = "7"
- thegui.MaximumDamage.Text = "40"
- thegui.MinimumDamage.Text = "60"
- thegui.MusicId.Text = "293336157"
- thegui.MusicPitch.Text = "1"
- thegui.Speed.Text = "30"
- thegui.TheColor.Text = "0,0,0"
- thegui.MusicVolume.Text = "1"
- end)
- -----
- Preset3.Name = "Preset3"
- Preset3.Position = UDim2.new(0, 170,0, 360)
- Preset3.Size = UDim2.new(0, 80,0, 50)
- Preset3.Font = "Highway"
- Preset3.Style = TFont
- Preset3.TextSize = 14
- Preset3.Text = "Megalovania"
- Preset3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Preset3.TextWrapped = false
- Preset3.TextScaled = false
- thegui.Preset3.MouseButton1Down:connect(function()
- thegui.Preset3.Sound:Play()
- thegui.Music.Value.Value = true
- thegui.Music.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.ColorValue.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.ColorCode.Text = "4"
- thegui.Hackermode.Value.Value = true
- thegui.Hackermode.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.Health.Text = "1000"
- thegui.LightRange.Text = "0"
- thegui.MaximumDamage.Text = "40"
- thegui.MinimumDamage.Text = "60"
- thegui.MusicId.Text = "306370481"
- thegui.MusicPitch.Text = "1"
- thegui.Speed.Text = "50"
- thegui.TheColor.Text = "0,0,0"
- thegui.MusicVolume.Text = "1"
- end)
- -----
- Preset4.Name = "Preset4"
- Preset4.Position = UDim2.new(0, 250,0, 360)
- Preset4.Size = UDim2.new(0, 80,0, 50)
- Preset4.Font = "Highway"
- Preset4.Style = TFont
- Preset4.TextSize = 14
- Preset4.Text = "Rainbow"
- Preset4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Preset4.TextWrapped = false
- Preset4.TextScaled = false
- thegui.Preset4.MouseButton1Down:connect(function()
- thegui.Preset4.Sound:Play()
- thegui.Light.Value.Value = true
- thegui.Light.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.Music.Value.Value = true
- thegui.Music.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.Rainbow.Value.Value = true
- thegui.Rainbow.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.Particles.Value.Value = true
- thegui.Particles.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.Health.Text = "500000"
- thegui.LightRange.Text = "9"
- thegui.MaximumDamage.Text = "40"
- thegui.MinimumDamage.Text = "60"
- thegui.MusicId.Text = "340427391"
- thegui.MusicPitch.Text = "1"
- thegui.Speed.Text = "30"
- thegui.TheColor.Text = "0,0,0"
- thegui.MusicVolume.Text = "1"
- end)
- -----
- Preset5.Name = "Preset5"
- Preset5.Position = UDim2.new(0, 330,0, 360)
- Preset5.Size = UDim2.new(0, 80,0, 50)
- Preset5.Font = "Highway"
- Preset5.Style = TFont
- Preset5.TextSize = 14
- Preset5.Text = "Dubstep"
- Preset5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Preset5.TextWrapped = false
- Preset5.TextScaled = false
- thegui.Preset5.MouseButton1Down:connect(function()
- thegui.Preset5.Sound:Play()
- thegui.Music.Value.Value = true
- thegui.Music.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.Light.Value.Value = true
- thegui.Light.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.ColorValue.Value.Value = true
- thegui.ColorValue.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.ColorCode.Text = "6"
- thegui.Hackermode.Value.Value = true
- thegui.Hackermode.TextColor3 = Color3.fromRGB(0,255,0)
- thegui.Health.Text = "1000"
- thegui.LightRange.Text = "7"
- thegui.MaximumDamage.Text = "40"
- thegui.MinimumDamage.Text = "60"
- thegui.MusicId.Text = "477943828"
- thegui.MusicPitch.Text = "1"
- thegui.Speed.Text = "30"
- thegui.TheColor.Text = "0,0,0"
- thegui.MusicVolume.Text = "1"
- end)
- ---------------------------------- Close Button
- CloseGui.Name = "Close"
- CloseGui.Position = UDim2.new(0, 505,0, -15)
- CloseGui.Size = UDim2.new(0, 30,0, 30)
- CloseGui.Style = TFont
- CloseGui.TextSize = 18
- CloseGui.TextColor3 = Color3.fromRGB(255,0,0)
- CloseGui.Style = TFont
- CloseGui.Font = "Highway"
- CloseGui.Text = "<"
- CloseGui.TextScaled = false
- CloseGui.TextWrapped = false
- function ON11()
- thegui.Close.Sound.PlaybackSpeed = 1
- thegui.Close.Sound:Play()
- for Out = 270,-505,-25 do
- thegui.Position = UDim2.new(0, Out,0, 23)
- wait(0)
- end
- thegui.Close.Value.Value = true
- thegui.Close.Text = ">"
- StartSound.PlaybackSpeed = 0.93
- StartSound:Play()
- end
- function ON12()
- thegui.Close.Sound.PlaybackSpeed = 0.93
- thegui.Close.Sound:Play()
- for In = -505,270,25 do
- thegui.Position = UDim2.new(0, In,0, 23)
- wait(0)
- end
- thegui.Close.Value.Value = false
- thegui.Close.Text = "<"
- StartSound.PlaybackSpeed = 1
- StartSound:Play()
- end
- thegui.Close.MouseButton1Down:connect(function()
- if thegui.Close.Value.Value == false then
- ON11()
- else
- ON12()
- end
- end)
- ---------------------------------- Rainbow Sword
- Rainb.Name = "Rainbow"
- Rainb.Position = UDim2.new(0, 10,0, 250)
- Rainb.Size = UDim2.new(0, 80,0, 30)
- Rainb.Style = TFont
- Rainb.TextSize = 18
- Rainb.TextColor3 = Color3.fromRGB(255,0,0)
- Rainb.Style = TFont
- Rainb.Font = "Highway"
- Rainb.Text = "Rainbow"
- Rainb.TextScaled = false
- Rainb.TextWrapped = false
- function ON10()
- thegui.Rainbow.Sound.PlaybackSpeed = 1
- thegui.Rainbow.Sound:Play()
- thegui.Rainbow.Value.Value = true
- print("true")
- thegui.Rainbow.TextColor3 = Color3.fromRGB(0,255,0)
- end
- function OFF10()
- thegui.Rainbow.Sound.PlaybackSpeed = 0.93
- thegui.Rainbow.Sound:Play()
- if thegui.Rainbow.Value.Value == true then
- thegui.Rainbow.Value.Value = false
- print("false")
- thegui.Rainbow.TextColor3 = Color3.fromRGB(255,0,0)
- end
- end
- thegui.Rainbow.MouseButton1Down:connect(function()
- if thegui.Rainbow.Value.Value == false then
- ON10()
- else
- OFF10()
- end
- end)
- ---------------------------------- Glowing Sword
- Glow.Name = "GlowSword"
- Glow.Position = UDim2.new(0, 10,0, 220)
- Glow.Size = UDim2.new(0, 80,0, 30)
- Glow.BackgroundTransparency = 1
- Glow.TextSize = 18
- Glow.TextColor3 = Color3.fromRGB(255,0,0)
- Glow.Style = TFont
- Glow.Font = "Highway"
- Glow.Text = "Glow"
- Glow.TextScaled = false
- Glow.TextWrapped = true
- function ON9()
- thegui.GlowSword.Sound.PlaybackSpeed = 1
- thegui.GlowSword.Sound:Play()
- thegui.GlowSword.Value.Value = true
- print("true")
- thegui.GlowSword.TextColor3 = Color3.fromRGB(0,255,0)
- end
- function OFF9()
- thegui.GlowSword.Sound.PlaybackSpeed = 0.93
- thegui.GlowSword.Sound:Play()
- if thegui.GlowSword.Value.Value == true then
- thegui.GlowSword.Value.Value = false
- print("false")
- thegui.GlowSword.TextColor3 = Color3.fromRGB(255,0,0)
- end
- end
- thegui.GlowSword.MouseButton1Down:connect(function()
- if thegui.GlowSword.Value.Value == false then
- ON9()
- else
- OFF9()
- end
- end)
- ---------------------------------- Day Time Changer
- DayChanger.Name = "TimeChanger"
- DayChanger.Position = UDim2.new(0, 325,0, 200)
- DayChanger.Size = UDim2.new(0, 75,0, 30)
- DayChanger.BackgroundTransparency = 1
- DayChanger.TextSize = 14
- DayChanger.Style = TFont
- DayChanger.Font = "Highway"
- DayChanger.Text = "Dark"
- DayChanger.TextScaled = false
- DayChanger.TextWrapped = false
- thegui.TimeChanger.MouseButton1Down:connect(function()
- thegui.TimeChanger.Sound:Play()
- game.Lighting.Ambient = Color3.fromRGB(10,10,10)
- game.Lighting.GlobalShadows = false
- game.Lighting.Brightness = false
- game.Lighting.TimeOfDay = 0
- thegui.TimeChanger.Value.Value = true
- end)
- ---------------------------------- Help Color
- Color1.Name = "1color"
- Color1.Position = UDim2.new(0, 60,0, 0)
- Color1.Size = UDim2.new(0, 75,0, 30)
- Color1.BackgroundTransparency = 1
- Color1.TextSize = 14
- Color1.Font = "Highway"
- Color1.Text = "1 = RED"
- Color1.TextScaled = false
- Color1.TextWrapped = false
- -----
- Color2.Name = "2color"
- Color2.Position = UDim2.new(0, 60,0, 15)
- Color2.Size = UDim2.new(0, 75,0, 30)
- Color2.BackgroundTransparency = 1
- Color2.TextSize = 14
- Color2.Font = "Highway"
- Color2.Text = "2 = BLUE"
- Color2.TextScaled = false
- Color2.TextWrapped = false
- -----
- Color3i.Name = "3color"
- Color3i.Position = UDim2.new(0, 60,0, 30)
- Color3i.Size = UDim2.new(0, 75,0, 30)
- Color3i.BackgroundTransparency = 1
- Color3i.TextSize = 14
- Color3i.Font = "Highway"
- Color3i.Text = "3 = GREEN"
- Color3i.TextScaled = false
- Color3i.TextWrapped = false
- -----
- Color4.Name = "4color"
- Color4.Position = UDim2.new(0, 60,0, 45)
- Color4.Size = UDim2.new(0, 75,0, 30)
- Color4.BackgroundTransparency = 1
- Color4.TextSize = 14
- Color4.Font = "Highway"
- Color4.Text = "4 = BLACK"
- Color4.TextScaled = false
- Color4.TextWrapped = false
- -----
- Color5.Name = "5color"
- Color5.Position = UDim2.new(0, 60,0, 60)
- Color5.Size = UDim2.new(0, 75,0, 30)
- Color5.BackgroundTransparency = 1
- Color5.TextSize = 14
- Color5.Font = "Highway"
- Color5.Text = "5 = WHITE"
- Color5.TextScaled = false
- Color5.TextWrapped = false
- -----
- Color6.Name = "6color"
- Color6.Position = UDim2.new(0, 60,0, 75)
- Color6.Size = UDim2.new(0, 75,0, 30)
- Color6.BackgroundTransparency = 1
- Color6.TextSize = 14
- Color6.Font = "Highway"
- Color6.Text = "6 = CYAN"
- Color6.TextScaled = false
- Color6.TextWrapped = false
- -----
- Color7.Name = "7color"
- Color7.Position = UDim2.new(0, 60,0, 90)
- Color7.Size = UDim2.new(0, 75,0, 30)
- Color7.BackgroundTransparency = 1
- Color7.TextSize = 14
- Color7.Font = "Highway"
- Color7.Text = "7 = PINK"
- Color7.TextScaled = false
- Color7.TextWrapped = false
- -----
- Color8.Name = "8color"
- Color8.Position = UDim2.new(0, 60,0, 105)
- Color8.Size = UDim2.new(0, 75,0, 30)
- Color8.BackgroundTransparency = 1
- Color8.TextSize = 14
- Color8.Font = "Highway"
- Color8.Text = "8 = MAGENTA"
- Color8.TextScaled = false
- Color8.TextWrapped = false
- -----
- Color9.Name = "9color"
- Color9.Position = UDim2.new(0, 60,0, 120)
- Color9.Size = UDim2.new(0, 75,0, 30)
- Color9.BackgroundTransparency = 1
- Color9.TextSize = 14
- Color9.Font = "Highway"
- Color9.Text = "9 = ULTRAVIOLET"
- Color9.TextScaled = false
- Color9.TextWrapped = false
- -----
- Color10.Name = "10color"
- Color10.Position = UDim2.new(0, 60,0, 135)
- Color10.Size = UDim2.new(0, 75,0, 30)
- Color10.BackgroundTransparency = 1
- Color10.TextSize = 14
- Color10.Font = "Highway"
- Color10.Text = "10 = DARK GREEN"
- Color10.TextScaled = false
- Color10.TextWrapped = false
- -----
- Color11.Name = "11color"
- Color11.Position = UDim2.new(0, 60,0, 150)
- Color11.Size = UDim2.new(0, 75,0, 30)
- Color11.BackgroundTransparency = 1
- Color11.TextSize = 14
- Color11.Font = "Highway"
- Color11.Text = "11 = DARK GREY"
- Color11.TextScaled = false
- Color11.TextWrapped = false
- -----
- Color12.Name = "12color"
- Color12.Position = UDim2.new(0, 60,0, 165)
- Color12.Size = UDim2.new(0, 75,0, 30)
- Color12.BackgroundTransparency = 1
- Color12.TextSize = 14
- Color12.Font = "Highway"
- Color12.Text = "12 = LIGHT GREY"
- Color12.TextScaled = false
- Color12.TextWrapped = false
- -----
- Color13.Name = "13color"
- Color13.Position = UDim2.new(0, 60,0, 180)
- Color13.Size = UDim2.new(0, 75,0, 30)
- Color13.BackgroundTransparency = 1
- Color13.TextSize = 14
- Color13.Font = "Highway"
- Color13.Text = "13 = YELLOW"
- Color13.TextScaled = false
- Color13.TextWrapped = false
- -----
- Color14.Name = "14color"
- Color14.Position = UDim2.new(0, 60,0, 195)
- Color14.Size = UDim2.new(0, 75,0, 30)
- Color14.BackgroundTransparency = 1
- Color14.TextSize = 14
- Color14.Font = "Highway"
- Color14.Text = "14 = ORANGE"
- Color14.TextScaled = false
- Color14.TextWrapped = false
- -----
- Color15.Name = "15color"
- Color15.Position = UDim2.new(0, 60,0, 210)
- Color15.Size = UDim2.new(0, 75,0, 30)
- Color15.BackgroundTransparency = 1
- Color15.TextSize = 14
- Color15.Font = "Highway"
- Color15.Text = "15 = INFRA-RED"
- Color15.TextScaled = false
- Color15.TextWrapped = false
- -----
- Color16.Name = "16color"
- Color16.Position = UDim2.new(0, 60,0, 225)
- Color16.Size = UDim2.new(0, 75,0, 30)
- Color16.BackgroundTransparency = 1
- Color16.TextSize = 14
- Color16.Font = "Highway"
- Color16.Text = "16 = ALIEN COLOR"
- Color16.TextScaled = false
- Color16.TextWrapped = false
- ---------------------------------- Help Close
- FClose.Name = "HelpClose"
- FClose.Position = UDim2.new(0, 60,0, 365)
- FClose.Size = UDim2.new(0, 75,0, 30)
- FClose.Text = "Close"
- FClose.Style = TFont
- FClose.TextSize = 14
- FClose.TextScaled = false
- FClose.TextWrapped = false
- plr.PlayerGui.SwordEditor.HelpFrame.HelpClose.MouseButton1Down:connect(function()
- plr.PlayerGui.SwordEditor.HelpFrame.Visible = false
- plr.PlayerGui.SwordEditor.HelpFrame.HelpClose.Sound:Play()
- end)
- ---------------------------------- Help
- Help.Name = "Help"
- Help.Position = UDim2.new(0, -25,0, -25)
- Help.Size = UDim2.new(0, 40,0, 40)
- Help.Text = "Help"
- Help.Font = "Highway"
- Help.Style = TFont
- Help.TextSize = 14
- Help.TextScaled = false
- Help.TextWrapped = false
- thegui.Help.MouseButton1Down:connect(function()
- thegui.Help.Sound:Play()
- plr.PlayerGui.SwordEditor.HelpFrame.Visible = true
- end)
- ---------------------------------- Hints
- VolHint.Name = "VolumeHint"
- VolHint.Position = UDim2.new(0, 110,0, 85)
- VolHint.Size = UDim2.new(0, 80,0, 50)
- VolHint.BackgroundTransparency = 1
- VolHint.Font = "Highway"
- VolHint.TextSize = 18
- VolHint.Text = "Volume"
- VolHint.TextWrapped = true
- VolHint.TextScaled = false
- PitHint.Name = "PitchHint"
- PitHint.Position = UDim2.new(0, 180,0, 85)
- PitHint.Size = UDim2.new(0, 80,0, 50)
- PitHint.BackgroundTransparency = 1
- PitHint.Font = "Highway"
- PitHint.TextSize = 18
- PitHint.Text = "Pitch"
- PitHint.TextWrapped = true
- PitHint.TextScaled = false
- IdHint.Name = "IdHint"
- IdHint.Position = UDim2.new(0, 250,0, 85)
- IdHint.Size = UDim2.new(0, 80,0, 50)
- IdHint.BackgroundTransparency = 1
- IdHint.Font = "Highway"
- IdHint.TextSize = 18
- IdHint.Text = "Music Id"
- IdHint.TextWrapped = true
- IdHint.TextScaled = false
- RangeHint.Name = "RangeHint"
- RangeHint.Position = UDim2.new(0, 92,0, 152)
- RangeHint.Size = UDim2.new(0, 115,0, 30)
- RangeHint.BackgroundTransparency = 1
- RangeHint.Font = "Highway"
- RangeHint.TextSize = 18
- RangeHint.Text = "Light Range"
- RangeHint.TextWrapped = true
- RangeHint.TextScaled = false
- ---------------------------------- Random Color
- RColor.Name = "RandomColor"
- RColor.TextColor3 = Color3.fromRGB(255,0,0)
- RColor.Position = UDim2.new(0, 10,0, 10)
- RColor.Size = UDim2.new(0, 80,0, 30)
- RColor.Style = TFont
- RColor.Font = "Highway"
- RColor.TextSize = 18
- RColor.Text = "Random Color"
- RColor.TextWrapped = true
- RColor.TextScaled = false
- function ON1()
- thegui.RandomColor.Sound.PlaybackSpeed = 1
- thegui.RandomColor.Sound:Play()
- thegui.RandomColor.Value.Value = true
- print("true")
- thegui.RandomColor.TextColor3 = Color3.fromRGB(0,255,0)
- end
- function OFF1()
- thegui.RandomColor.Sound.PlaybackSpeed = 0.93
- thegui.RandomColor.Sound:Play()
- if thegui.RandomColor.Value.Value == true then
- thegui.RandomColor.Value.Value = false
- print("false")
- thegui.RandomColor.TextColor3 = Color3.fromRGB(255,0,0)
- end
- end
- thegui.RandomColor.MouseButton1Down:connect(function()
- if thegui.RandomColor.Value.Value == false then
- ON1()
- else
- OFF1()
- end
- end)
- ---------------------------------- Color
- ColorE.Name = "ColorValue"
- ColorE.TextColor3 = Color3.fromRGB(255,0,0)
- ColorE.Position = UDim2.new(0, 100,0, 10)
- ColorE.Size = UDim2.new(0, 80,0, 30)
- ColorE.Style = TFont
- ColorE.Font = "Highway"
- ColorE.TextSize = 18
- ColorE.Text = "Color"
- ColorE.TextWrapped = true
- ColorE.TextScaled = false
- function ON8()
- thegui.ColorValue.Sound.PlaybackSpeed = 1
- thegui.ColorValue.Sound:Play()
- thegui.ColorValue.Value.Value = true
- print("true")
- thegui.ColorValue.TextColor3 = Color3.fromRGB(0,255,0)
- end
- function OFF8()
- thegui.ColorValue.Sound.PlaybackSpeed = 0.93
- thegui.ColorValue.Sound:Play()
- if thegui.ColorValue.Value.Value == true then
- thegui.ColorValue.Value.Value = false
- print("false")
- thegui.ColorValue.TextColor3 = Color3.fromRGB(255,0,0)
- end
- end
- thegui.ColorValue.MouseButton1Down:connect(function()
- if thegui.ColorValue.Value.Value == false then
- ON8()
- else
- OFF8()
- end
- end)
- ---------------------------------- Color Id
- ColorValue.Name = "ColorCode"
- ColorValue.BackgroundColor3 = Color3.fromRGB(255,255,255)
- ColorValue.BorderSizePixel = 0
- ColorValue.TextColor3 = Color3.fromRGB(255,0,0)
- ColorValue.Position = UDim2.new(0, 180,0, 15)
- ColorValue.Size = UDim2.new(0, 20,0, 20)
- ColorValue.Font = "Highway"
- ColorValue.TextSize = 18
- ColorValue.Text = "ID"
- ColorValue.TextColor3 = Color3.new(0,0,0)
- ColorValue.TextWrapped = true
- ColorValue.TextScaled = false
- ---------------------------------- Custom Color
- CE.Name = "CustomColor"
- CE.TextColor3 = Color3.fromRGB(255,0,0)
- CE.Position = UDim2.new(0, 10,0, 40)
- CE.Size = UDim2.new(0, 80,0, 30)
- CE.Style = TFont
- CE.Font = "Highway"
- CE.TextSize = 18
- CE.Text = "Custom Color"
- CE.TextWrapped = true
- CE.TextScaled = false
- function ON2()
- thegui.CustomColor.Sound.PlaybackSpeed = 1
- thegui.CustomColor.Sound:Play()
- thegui.CustomColor.Value.Value = true
- print("true")
- thegui.CustomColor.TextColor3 = Color3.fromRGB(0,255,0)
- end
- function OFF2()
- thegui.CustomColor.Sound.PlaybackSpeed = 0.93
- thegui.CustomColor.Sound:Play()
- if thegui.CustomColor.Value.Value == true then
- thegui.CustomColor.Value.Value = false
- print("false")
- thegui.CustomColor.TextColor3 = Color3.fromRGB(255,0,0)
- end
- end
- thegui.CustomColor.MouseButton1Down:connect(function()
- if thegui.CustomColor.Value.Value == false then
- ON2()
- else
- OFF2()
- end
- end)
- ---------------------------------- Custom Color
- CC.Name = "TheColor"
- CC.Position = UDim2.new(0, 100,0, 45)
- CC.Size = UDim2.new(0, 100,0, 25)
- CC.Font = "Highway"
- CC.TextSize = 18
- CC.Text = "CustomColor"
- CC.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- CC.TextWrapped = true
- CC.TextScaled = false
- CC.BorderSizePixel = 0
- ---------------------------------- Music
- MU.Name = "Music"
- MU.TextColor3 = Color3.fromRGB(255,0,0)
- MU.Position = UDim2.new(0, 10,0, 70)
- MU.Size = UDim2.new(0, 80,0, 30)
- MU.Style = TFont
- MU.Font = "Highway"
- MU.TextSize = 18
- MU.Text = "Music"
- MU.TextWrapped = true
- MU.TextScaled = false
- MU.BackgroundColor3 = Color3.fromRGB(255,255,255)
- function ON3()
- thegui.Music.Sound.PlaybackSpeed = 1
- thegui.Music.Sound:Play()
- thegui.Music.Value.Value = true
- print("true")
- thegui.Music.TextColor3 = Color3.fromRGB(0,255,0)
- end
- function OFF3()
- thegui.Music.Sound.PlaybackSpeed = 0.93
- thegui.Music.Sound:Play()
- if thegui.Music.Value.Value == true then
- thegui.Music.Value.Value = false
- print("false")
- thegui.Music.TextColor3 = Color3.fromRGB(255,0,0)
- end
- end
- thegui.Music.MouseButton1Down:connect(function()
- if thegui.Music.Value.Value == false then
- ON3()
- else
- OFF3()
- end
- end)
- ---------------------------------- MusicId
- MID.Name = "MusicId"
- MID.BackgroundColor3 = Color3.fromRGB(255,2552,255)
- MID.BorderSizePixel = 0
- MID.Position = UDim2.new(0, 240,0, 75)
- MID.Size = UDim2.new(0, 100,0, 25)
- MID.Font = "Highway"
- MID.TextSize = 18
- MID.Text = ""
- MID.TextScaled = false
- MID.TextWrapped = true
- MID.TextScaled = false
- ---------------------------------- Music Pitch
- MPitch.Name = "MusicPitch"
- MPitch.Position = UDim2.new(0, 210,0, 75)
- MPitch.Size = UDim2.new(0, 20,0, 25)
- MPitch.Font = "Highway"
- MPitch.TextSize = 18
- MPitch.Text = ""
- MPitch.TextWrapped = true
- MPitch.TextScaled = false
- MPitch.BackgroundColor3 = Color3.fromRGB(255,255,255)
- MPitch.BorderSizePixel = 0
- ---------------------------------- Light
- LI.Name = "Light"
- LI.Position = UDim2.new(0, 10,0, 130)
- LI.Size = UDim2.new(0, 80,0, 30)
- LI.Style = TFont
- LI.Font = "Highway"
- LI.TextSize = 18
- LI.Text = "Light"
- LI.TextWrapped = true
- LI.TextScaled = false
- LI.TextColor3 = Color3.fromRGB(255,0,0)
- function ON4()
- thegui.Light.Sound.PlaybackSpeed = 1
- thegui.Light.Sound:Play()
- thegui.Light.Value.Value = true
- print("true")
- thegui.Light.TextColor3 = Color3.fromRGB(0,255,0)
- end
- function OFF4()
- thegui.Light.Sound.PlaybackSpeed = 0.93
- thegui.Light.Sound:Play()
- if thegui.Light.Value.Value == true then
- thegui.Light.Value.Value = false
- print("false")
- thegui.Light.TextColor3 = Color3.fromRGB(255,0,0)
- end
- end
- thegui.Light.MouseButton1Down:connect(function()
- if thegui.Light.Value.Value == false then
- ON4()
- else
- OFF4()
- end
- end)
- ---------------------------------- Range
- LRange.Name = "LightRange"
- LRange.Position = UDim2.new(0, 100,0, 135)
- LRange.BackgroundColor3 = Color3.fromRGB(255,255,255)
- LRange.BorderSizePixel = 0
- LRange.Size = UDim2.new(0, 100,0, 25)
- LRange.Font = "Highway"
- LRange.TextSize = 18
- LRange.Text = "Range"
- LRange.TextWrapped = true
- LRange.TextScaled = false
- ---------------------------------- Volume
- MVolume.Name = "MusicVolume"
- MVolume.Position = UDim2.new(0, 100,0, 75)
- MVolume.Size = UDim2.new(0, 100,0, 25)
- MVolume.Font = "Highway"
- MVolume.TextSize = 18
- MVolume.Text = ""
- MVolume.TextWrapped = true
- MVolume.TextScaled = false
- MVolume.BackgroundColor3 = Color3.fromRGB(255,255,255)
- MVolume.BorderSizePixel = 0
- ---------------------------------- Particles
- PA.Name = "Particles"
- PA.TextColor3 = Color3.fromRGB(255,0,0)
- PA.Position = UDim2.new(0, 10,0, 100)
- PA.Size = UDim2.new(0, 80,0, 30)
- PA.Style = TFont
- PA.Font = "Highway"
- PA.TextSize = 18
- PA.Text = "Particles"
- PA.TextWrapped = true
- PA.TextScaled = false
- function ON5()
- thegui.Particles.Sound.PlaybackSpeed = 1
- thegui.Particles.Sound:Play()
- thegui.Particles.Value.Value = true
- print("true")
- thegui.Particles.TextColor3 = Color3.fromRGB(0,255,0)
- end
- function OFF5()
- thegui.Particles.Sound.PlaybackSpeed = 0.93
- thegui.Particles.Sound:Play()
- if thegui.Particles.Value.Value == true then
- thegui.Particles.Value.Value = false
- print("false")
- thegui.Particles.TextColor3 = Color3.fromRGB(255,0,0)
- end
- end
- thegui.Particles.MouseButton1Down:connect(function()
- if thegui.Particles.Value.Value == false then
- ON5()
- else
- OFF5()
- end
- end)
- ---------------------------------- Health
- HEA.Name = "Health"
- HEA.Position = UDim2.new(0, 410,0, 10)
- HEA.BackgroundColor3 = Color3.fromRGB(255,255,255)
- HEA.BorderSizePixel = 0
- HEA.Size = UDim2.new(0, 80,0, 50)
- HEA.Font = "Highway"
- HEA.TextSize = 18
- HEA.Text = "Health"
- HEA.TextWrapped = true
- HEA.TextScaled = false
- ---------------------------------- Speed
- PSP.Name = "Speed"
- PSP.Position = UDim2.new(0, 410,0, 70)
- PSP.BackgroundColor3 = Color3.fromRGB(255,255,255)
- PSP.BorderSizePixel = 0
- PSP.Size = UDim2.new(0, 80,0, 50)
- PSP.Font = "Highway"
- PSP.TextSize = 18
- PSP.Text = "Speed"
- PSP.TextWrapped = true
- PSP.TextScaled = false
- ---------------------------------- Minimum Damage
- MIDM.Name = "MinimumDamage"
- MIDM.Position = UDim2.new(0, 410,0, 190)
- MIDM.BackgroundColor3 = Color3.fromRGB(255,255,255)
- MIDM.BorderSizePixel = 0
- MIDM.Size = UDim2.new(0, 80,0, 50)
- MIDM.Font = "Highway"
- MIDM.TextSize = 18
- MIDM.Text = "MinimumDamage"
- MIDM.TextWrapped = true
- MIDM.TextScaled = false
- ---------------------------------- Maximum Damage
- MADM.Name = "MaximumDamage"
- MADM.Position = UDim2.new(0, 410,0, 250)
- MADM.BackgroundColor3 = Color3.fromRGB(255,255,255)
- MADM.BorderSizePixel = 0
- MADM.Size = UDim2.new(0, 80,0, 50)
- MADM.Font = "Highway"
- MADM.TextSize = 18
- MADM.Text = "MaximumDamage"
- MADM.TextWrapped = true
- MADM.TextScaled = false
- ---------------------------------- Hackermode
- HAX.Name = "Hackermode"
- HAX.TextColor3 = Color3.fromRGB(255,0,0)
- HAX.Position = UDim2.new(0, 10,0, 160)
- HAX.Size = UDim2.new(0, 80,0, 30)
- HAX.Style = TFont
- HAX.TextSize = 18
- HAX.Font = "Highway"
- HAX.Text = "Hacker"
- HAX.TextWrapped = true
- HAX.TextScaled = false
- ---------------------------------- Done Button
- Done.Name = "Done"
- Done.Position = UDim2.new(0, 160,0, 300)
- Done.Size = UDim2.new(0, 200,0, 50)
- Done.Style = TFont
- Done.Font = "Highway"
- Done.TextSize = 23
- Done.Text = "Generate a Sword"
- Done.TextWrapped = true
- Done.TextScaled = false
- function Done()
- thegui.Done.Sound.Volume = 10000
- thegui.Done.Sound.PlaybackSpeed = 1.3
- thegui.Done.Sound:Play()
- thegui.Visible = false
- helpgui.Visible = false
- end
- -----------------------------------
- function ON6()
- thegui.Hackermode.Sound.PlaybackSpeed = 1
- thegui.Hackermode.Sound:Play()
- thegui.Hackermode.Value.Value = true
- print("true")
- thegui.Hackermode.TextColor3 = Color3.fromRGB(0,255,0)
- end
- function OFF6()
- thegui.Hackermode.Sound.PlaybackSpeed = 0.93
- thegui.Hackermode.Sound:Play()
- if thegui.Hackermode.Value.Value == true then
- thegui.Hackermode.Value.Value = false
- print("false")
- thegui.Hackermode.TextColor3 = Color3.fromRGB(255,0,0)
- end
- end
- thegui.Hackermode.MouseButton1Down:connect(function()
- if thegui.Hackermode.Value.Value == false then
- ON6()
- else
- OFF6()
- end
- end)
- ---------------------------------- Ban
- BAN.Name = "Banmode"
- BAN.TextColor3 = Color3.fromRGB(255,0,0)
- BAN.Position = UDim2.new(0, 10,0, 190)
- BAN.Size = UDim2.new(0, 80,0, 30)
- BAN.Style = TFont
- BAN.TextSize = 18
- BAN.Font = "Highway"
- BAN.Text = "Ban mode"
- BAN.TextWrapped = false
- BAN.TextScaled = false
- function ON7()
- thegui.Banmode.Sound.PlaybackSpeed = 1
- thegui.Banmode.Sound:Play()
- thegui.Banmode.Value.Value = true
- print("true")
- thegui.Banmode.TextColor3 = Color3.fromRGB(0,255,0)
- end
- function OFF7()
- thegui.Banmode.Sound.PlaybackSpeed = 0.93
- thegui.Banmode.Sound:Play()
- if thegui.Banmode.Value.Value == true then
- thegui.Banmode.Value.Value = false
- print("false")
- thegui.Banmode.TextColor3 = Color3.fromRGB(255,0,0)
- end
- end
- thegui.Banmode.MouseButton1Down:connect(function()
- if thegui.Banmode.Value.Value == false then
- ON7()
- else
- OFF7()
- end
- end)
- ---------------------------------- Defailt Button
- Default.Name = "Default"
- Default.Position = UDim2.new(0, 320,0, 250)
- Default.Size = UDim2.new(0, 80,0, 50)
- Default.Font = "Highway"
- Default.Style = TFont
- Default.TextSize = 18
- Default.Text = "Default Settings"
- Default.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Default.TextWrapped = true
- Default.TextScaled = true
- thegui.Default.MouseButton1Down:connect(function()
- thegui.Default.Sound.PlaybackSpeed = 1
- thegui.Default.Sound:Play()
- thegui.Health.Text = "100"
- thegui.ColorCode.Text = 1
- thegui.LightRange.Text = "0"
- thegui.MaximumDamage.Text = "70"
- thegui.MinimumDamage.Text = "40"
- thegui.MusicId.Text = "0"
- thegui.MusicPitch.Text = "1"
- thegui.Speed.Text = "16"
- thegui.TheColor.Text = "0,0,0"
- thegui.MusicVolume.Text = "1"
- end)
- ------------------------------------ TITLE
- TITLE.Name = "Title"
- TITLE.Position = UDim2.new(0, 140,0, -20)
- TITLE.Size = UDim2.new(0, 230,0, 30)
- TITLE.Font = "Highway"
- TITLE.Style = TFont
- TITLE.TextSize = 20
- TITLE.Text = "Luckyxero's Sword Editor"
- TITLE.TextWrapped = true
- TITLE.TextScaled = false
- TITLE.AutoButtonColor = false
- --------------------------------------
- -------------------------------------- Set Color Value
- SetColorValue.Name = "SetColorValue"
- SetColorValue.Position = UDim2.new(0, 205,0, 42)
- SetColorValue.Size = UDim2.new(0, 50,0, 30)
- SetColorValue.Font = "Highway"
- SetColorValue.TextSize = 18
- SetColorValue.Text = "Set"
- SetColorValue.TextWrapped = false
- thegui.SetColorValue.MouseButton1Down:connect(function()
- thegui.SetColorValue.Sound:Play()
- local nums = {}
- string.gsub(thegui.TheColor.Text,'[^,]+',function(c) table.insert(nums,tonumber(c)) end)
- thegui.Color3a.Value = Color3.new(nums[1]/255,nums[2]/255,nums[3]/255)
- thegui.SetColorValue.BackgroundColor3 = thegui.Color3a.Value
- thegui.SetColorValue.BorderColor3 = thegui.SetColorValue.BackgroundColor3
- end)
- for Pos = -600,270,25 do
- Frame.Position = UDim2.new(0, Pos,0, 23)
- wait(0)
- end
- StartSound:Play()
- print("waiting for respond")
- thegui.Done.MouseButton1Down:wait()
- Done()
- print("Continuing...")
- --[SETTINGS]--
- random = thegui.RandomColor.Value.Value --If you want a random color between 1 or 16, set on true
- CustomColorEnabled = thegui.CustomColor.Value.Value --If you want to make your own color. **WARNING** DO NOT ENABLE 2 BOOLEANS AT THE SAME TIME
- CustomColor = thegui.Color3a.Value --Color3.new(red,green,blue)
- Music = thegui.Music.Value.Value --Makes you emit music
- MusicId = thegui.MusicId.Text
- Pitch = thegui.MusicPitch.Text
- Light = thegui.Light.Value.Value
- LightRange = thegui.LightRange.Text
- MusicVolume = thegui.MusicVolume.Text
- Particles = thegui.Particles.Value.Value --Particle effects when attacking
- Health = thegui.Health.Text --Your health
- Speed = thegui.Speed.Text --Your speed
- DMGMIN = thegui.MinimumDamage.Text --Minimim sword damage
- DMGMAX = thegui.MaximumDamage.Text --Maximum sword damage
- Hackermode = thegui.Hackermode.Value.Value --Insta kill OP sword. Damage = 1.#INF. Infinity.
- Banmode = thegui.Banmode.Value.Value --Punishes player
- ColorNumber = tonumber(thegui.ColorCode.Text)
- ColorCodeVal = ColorNumber
- --[[SETTINGS]]--
- Val = 0
- function GetRandomVal()
- Val = math.random(1,16)
- end
- Colors = {"Really red", "Really blue", "Lime green", "Really black", "Institutional white", "Toothpaste", "Hot Pink", "Magenta", "Dark blue", "Camo", "Dark stone grey", "Fossil", "New Yeller", "Deep orange", "Crimson", "Eggplant"}
- local ColorColor = Colors[0] --Sword Color. To change color: Set Colors[Value] to any value between 1 and 12
- if ColorCodeVal == 1 then
- ColorColor = Colors[1]
- elseif ColorCodeVal == 2 then
- ColorColor = Colors[2]
- elseif ColorCodeVal == 3 then
- ColorColor = Colors[3]
- elseif ColorCodeVal == 4 then
- ColorColor = Colors[4]
- elseif ColorCodeVal == 5 then
- ColorColor = Colors[5]
- elseif ColorCodeVal == 6 then
- ColorColor = Colors[6]
- elseif ColorCodeVal == 7 then
- ColorColor = Colors[7]
- elseif ColorCodeVal == 8 then
- ColorColor = Colors[8]
- elseif ColorCodeVal == 9 then
- ColorColor = Colors[9]
- elseif ColorCodeVal == 10 then
- ColorColor = Colors[10]
- elseif ColorCodeVal == 11 then
- ColorColor = Colors[11]
- elseif ColorCodeVal == 12 then
- ColorColor = Colors[12]
- elseif ColorCodeVal == 13 then
- ColorColor = Colors[13]
- elseif ColorCodeVal == 14 then
- ColorColor = Colors[14]
- elseif ColorCodeVal == 15 then
- ColorColor = Colors[15]
- elseif ColorCodeVal == 16 then
- ColorColor = Colors[16]
- end
- --[[Values: Colors
- 1 = Red
- 2 = Blue
- 3 = Green --My favorite :D
- 4 = Black
- 5 = White
- 6 = Cyan
- 7 = Pink
- 8 = Magenta
- 9 = Ultraviolet
- 10 = Dark green
- 11 = Dark grey
- 12 = Light grey
- 13 = Yellow
- 14 = Orange
- 15 = Infra red
- 16 = Alien color
- ]]--
- if Hackermode == true then
- DMGMIN = 9999^9999
- DMGMAX = 99999^99999
- end
- SwordDamage = {DMGMIN, DMGMAX}
- if random == true then
- GetRandomVal()
- ColorColor = Colors[Val]
- end
- if CustomColorEnabled == true then
- ColorColor = CustomColor
- end
- plr = game.Players.LocalPlayer
- local TestPart = Instance.new("Part")
- TestPart.Size = Vector3.new(0.1,0.1,0.1)
- TestPart.Anchored = true
- TestPart.Transparency = 1
- if Music == true then
- local IdleSound = Instance.new("Sound")
- IdleSound.SoundId = "rbxassetid://"..MusicId
- IdleSound.PlaybackSpeed = Pitch
- IdleSound.Looped = true
- IdleSound.Volume = MusicVolume
- IdleSound.Parent = plr.Character.Torso
- IdleSound.MaxDistance = 230
- IdleSound:Play()
- end
- TestPart.BrickColor = BrickColor.new(ColorColor)
- if CustomColorEnabled == true then
- PermColor = thegui.Color3a.Value
- Cr = PermColor.r*255
- Cg = PermColor.g*255
- Cb = PermColor.b*255
- ColorColor = Color3.fromRGB(Cr,Cg,Cb)
- end
- print("Output:",ColorColor)
- plr.Character.Humanoid.MaxHealth = Health
- plr.Character.Humanoid.Health = Health
- plr.Character.Humanoid.WalkSpeed = Speed
- Player=game:GetService("Players").LocalPlayer
- Character=Player.Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- m=Instance.new('Model',Character)
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- Face = Head.face
- Neck=Torso.Neck
- it=Instance.new
- attacktype=2
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- cloaked=true
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- attack = false
- attackdebounce = false
- deb=false
- equipped=true
- hand=false
- MMouse=nil
- combo=0
- mana=0
- trispeed=.2
- attackmode='none'
- local idle=0
- local Anim="Idle"
- local Effects={}
- local gun=false
- local shoot=false
- player=nil
- mana=0
- local CurrentMode = "Unsheathed"
- mouse=Player:GetMouse()
- --save shoulders
- RSH, LSH=nil, nil
- --welds
- RW, LW=Instance.new("Weld"), Instance.new("Weld")
- RW.Name="Right Shoulder" LW.Name="Left Shoulder"
- LH=Torso["Left Hip"]
- RH=Torso["Right Hip"]
- TorsoColor=Torso.BrickColor
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- player=Player
- ch=Character
- RSH=ch.Torso["Right Shoulder"]
- LSH=ch.Torso["Left Shoulder"]
- --
- RSH.Parent=nil
- LSH.Parent=nil
- --
- RW.Name="Right Shoulder"
- RW.Part0=ch.Torso
- RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RW.C1=cf(0, 0.5, 0)
- RW.Part1=ch["Right Arm"]
- RW.Parent=ch.Torso
- --
- LW.Name="Left Shoulder"
- LW.Part0=ch.Torso
- LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1=cf(0, 0.5, 0)
- LW.Part1=ch["Left Arm"]
- LW.Parent=ch.Torso
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=BrickColor.new(tostring(brickcolor))
- fp.Name=name
- fp.Size=size
- fp.Position=Character.Torso.Position
- nooutline(fp)
- fp.Material=material
- fp:BreakJoints()
- return fp
- end
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Heartbeat:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Heartbeat:wait(0)
- end
- end
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- mesh.MeshId=meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0,c1)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- weld.C1=c1
- return weld
- end
- local function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CFrame.new(at.x, at.y, at.z,
- right.x, top.x, back.x,
- right.y, top.y, back.y,
- right.z, top.z, back.z)
- end
- function Triangle(a, b, c)
- local edg1 = (c-a):Dot((b-a).unit)
- local edg2 = (a-b):Dot((c-b).unit)
- local edg3 = (b-c):Dot((a-c).unit)
- if edg1 <= (b-a).magnitude and edg1 >= 0 then
- a, b, c = a, b, c
- elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
- a, b, c = b, c, a
- elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
- a, b, c = c, a, b
- else
- assert(false, "unreachable")
- end
- local len1 = (c-a):Dot((b-a).unit)
- local len2 = (b-a).magnitude - len1
- local width = (a + (b-a).unit*len1 - c).magnitude
- local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
- local list = {}
- if len1 > 0.01 then
- local w1 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w1,5)
- w1.Material = "SmoothPlastic"
- w1.FormFactor = 'Custom'
- if thegui.Rainbow.Value.Value == true then
- w1.Color = Color3.new(math.random(), math.random(), math.random())
- else
- w1.BrickColor = BrickColor.new(ColorColor)
- end
- w1.Transparency = 0
- w1.Reflectance = 0
- w1.Material = "Neon"
- w1.CanCollide = false
- NoOutline(w1)
- local sz = Vector3.new(0.2, width, len1)
- w1.Size = sz
- local sp = Instance.new("SpecialMesh",w1)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
- w1:BreakJoints()
- w1.Anchored = true
- w1.Parent = workspace
- w1.Transparency = 0.2
- if Particles == true then
- local Fire = Instance.new("ParticleEmitter")
- Fire.Rate = 1000
- Fire.Size = NumberSequence.new(0.1, 0.3)
- Fire.Transparency = NumberSequence.new(0.6, 0.6)
- Fire.Speed = NumberRange.new(2, 15)
- Fire.VelocitySpread = 100000
- Fire.Color = ColorSequence.new(w1.Color)
- Fire.LockedToPart = true
- Fire.Parent = w1
- Fire.LightEmission = 1000
- Fire.VelocityInheritance = 2
- Fire.RotSpeed = NumberRange.new(1000,10000)
- Fire.Rotation = NumberRange.new(1000,10000)
- end
- table.insert(Effects,{w1,"Disappear",.03})
- w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
- table.insert(list,w1)
- end
- if len2 > 0.01 then
- TestPart:Remove()
- local w2 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w2,5)
- w2.Material = "SmoothPlastic"
- w2.FormFactor = 'Custom'
- if thegui.Rainbow.Value.Value == true then
- w2.Color = Color3.new(math.random(), math.random(), math.random())
- else
- w2.BrickColor = BrickColor.new(ColorColor)
- end
- w2.Transparency = 0
- w2.Reflectance = 0
- w2.Material = "Neon"
- w2.CanCollide = false
- NoOutline(w2)
- local sz = Vector3.new(0.2, width, len2)
- w2.Size = sz
- local sp = Instance.new("SpecialMesh",w2)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
- w2:BreakJoints()
- w2.Anchored = true
- w2.Parent = workspace
- w2.Transparency = 0.2
- if Particles == true then
- local Fire2 = Instance.new("ParticleEmitter")
- Fire2.Rate = 1000
- Fire2.Size = NumberSequence.new(0.1, 0.3)
- Fire2.Transparency = NumberSequence.new(0.6, 0.6)
- Fire2.Speed = NumberRange.new(2, 15)
- Fire2.VelocitySpread = 100000
- Fire2.Color = ColorSequence.new(w2.Color)
- Fire2.LockedToPart = true
- Fire2.LightEmission = 1000
- Fire2.VelocityInheritance = 2
- Fire2.RotSpeed = NumberRange.new(1000,10000)
- Fire2.Rotation = NumberRange.new(1000,10000)
- Fire2.Parent = w2
- end
- table.insert(Effects,{w2,"Disappear",.03})
- w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
- table.insert(list,w2)
- end
- return unpack(list)
- end
- so = function(id,par,vol,pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound",par or workspace)
- sou.Volume=vol
- sou.Pitch=pit or 1
- sou.SoundId=id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou,6)
- end))
- end
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- local h=hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h=v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
- h=hit.Parent.Parent:FindFirstChild("Humanoid")
- end
- if hit.Parent.className=="Hat" then
- hit=hit.Parent.Parent:findFirstChild("Head")
- end
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- -- hs(hit,1.2)
- local c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- local Damage=math.random(SwordDamage[1],SwordDamage[2])
- -- h:TakeDamage(Damage)
- local blocked=false
- local block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print(block.className)
- if block.className=="NumberValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock==nil then
- block.Value=block.Value-1
- end
- end
- end
- if block.className=="IntValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock~=nil then
- block.Value=block.Value-1
- end
- end
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- h.Health=h.Health-Damage
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
- else
- h.Health=h.Health-(Damage/2)
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
- end
- if Type=="Knockdown" then
- local hum=hit.Parent.Humanoid
- hum.PlatformStand=true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand=false
- end),hum)
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=angle*knockback
- bodvol.P=5000
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- local rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.5)
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Normal" then
- local vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.5)
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,60,0)
- bodyVelocity.P=5000
- bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,1)
- local rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- local bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,1)
- elseif Type=="Target" then
- local Targetting = false
- if Targetting==false then
- ZTarget=hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- swait(5)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- end),ZTarget)
- local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
- local targetgui=Instance.new("BillboardGui")
- targetgui.Parent=ZTarget
- targetgui.Size=UDim2.new(10,100,10,100)
- local targ=Instance.new("ImageLabel")
- targ.Parent=targetgui
- targ.BackgroundTransparency=1
- targ.Image="rbxassetid://4834067"
- targ.Size=UDim2.new(1,0,1,0)
- cam.CameraType="Scriptable"
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- Targetting=true
- RocketTarget=ZTarget
- for i=1,Property do
- --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
- if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
- swait()
- end
- --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
- end
- Targetting=false
- RocketTarget=nil
- targetgui.Parent=nil
- cam.CameraType="Custom"
- end
- end
- local debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 0))
- local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
- EffectPart.Anchored = true
- local BillboardGui = Instance.new("BillboardGui")
- BillboardGui.Size = UDim2.new(3, 0, 3, 0)
- BillboardGui.Adornee = EffectPart
- local TextLabel = Instance.new("TextLabel")
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.Text = Text
- TextLabel.TextColor3 = Color
- TextLabel.TextScaled = true
- TextLabel.Font = Enum.Font.ArialBold
- TextLabel.Parent = BillboardGui
- BillboardGui.Parent = EffectPart
- game.Debris:AddItem(EffectPart, (Time + 0.1))
- EffectPart.Parent = game:GetService("Workspace")
- Delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- print("Rainbow: ",ColorColor)
- handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999))
- handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007))
- mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,ColorColor,"Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024))
- Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1))
- if Light == true then
- local Lite = it("PointLight",Torso)
- Lite.Color = TestPart.Color
- Lite.Name = "Lite"
- Lite.Range = LightRange
- Lite.Brightness = 10555
- Lite.Shadows = false
- end
- function CustomColorActive()
- print("CCFunction start")
- print("CCCheck true")
- for i,v in pairs(plr.Character.Model:GetChildren()) do
- if v.ClassName == "Part" then
- if v.BrickColor == BrickColor.new("Medium stone grey") then
- v.Color = ColorColor
- end
- end
- end
- print("CCFunction end")
- end
- function RainbowSword()
- print("RSFunction Start")
- for v,i in pairs(plr.Character.Model:GetChildren()) do
- if i.ClassName == "Part" then
- if i.BrickColor == BrickColor.new("Really red") then
- i.Color = Color3.new(math.random(), math.random(), math.random())
- end
- end
- end
- print("RSFunction End")
- end
- if thegui.Rainbow.Value.Value == true then
- RainbowSword()
- print("RSFunction Called")
- end
- function GlowActive()
- print("GFunction start")
- for a,b in pairs(plr.Character.Model:GetChildren()) do
- if b.ClassName == "Part" then
- b.Material = "Neon"
- end
- end
- end
- function BreakEffect(brickcolor,cframe,x1,y1,z1)
- local prt=part("Custom",workspace,"Neon",0,0,ColorColor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
- CF=Part.CFrame
- Numbb=0
- randnumb=math.random()-math.random()
- for i=0,1,0.05 do
- wait()
- CF=CF*cf(0,1,0)
- --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
- Part.CFrame=CF*euler(Numbb,0,0)
- Part.Transparency=i
- Numbb=Numbb+randnumb
- end
- Part.Parent=nil
- end),prt)
- end
- --BreakEffect(BrickColor.new(ColorColor),Hitbox.CFrame,0.5,math.random(5,20),0.5)
- function attackone()
- attack=true
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
- for i=0,2,0.5 do
- swait()
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
- end
- so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
- so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
- hitconasdf = Hitbox.Touched:connect(function(hit)
- local hum12 = hit.Parent:FindFirstChild("Humanoid")
- if hum12 and not hum12:IsDescendantOf(Character) then
- so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
- for i = 1,10 do
- BreakEffect(BrickColor.new(ColorColor),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
- end
- hitconasdf:disconnect()
- end
- end)
- for i=0,1,0.2 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
- if Hackermode == true then
- Hitbox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:BreakJoints()
- hit.Parent.Torso.Position = Vector3.new(hit.Parent.Torso.Position.X + 1, hit.Parent.Torso.Position.Y + 1, hit.Parent.Torso.Position.Z + 1)
- end
- end)
- end
- if Banmode == true then
- Hitbox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:Remove()
- end
- end)
- end
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
- end
- attack=false
- con:disconnect()
- scfr = nil
- pcall(function()
- hitconasdf:disconnect()
- end)
- end
- function attacktwo()
- attack=true
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
- for i=0,2,0.5 do
- swait()
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
- end
- so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
- so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
- hitconasdf = Hitbox.Touched:connect(function(hit)
- local hum12 = hit.Parent:FindFirstChild("Humanoid")
- if hum12 and not hum12:IsDescendantOf(Character) then
- so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
- for i = 1,10 do
- BreakEffect(BrickColor.new(ColorColor),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
- end
- hitconasdf:disconnect()
- end
- end)
- for i=0,1,0.2 do
- swait()
- if Hackermode == true then
- Hitbox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:BreakJoints()
- hit.Parent.Torso.Position = Vector3.new(hit.Parent.Torso.Position.X + 1, hit.Parent.Torso.Position.Y + 1, hit.Parent.Torso.Position.Z + 1)
- end
- end)
- end
- if Banmode == true then
- Hitbox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:Remove()
- end
- end)
- end
- local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
- end
- attack=false
- con:disconnect()
- scfr = nil
- pcall(function()
- hitconasdf:disconnect()
- end)
- end
- if CustomColorEnabled == true then
- CustomColorActive()
- print("CCE Activated")
- end
- if thegui.GlowSword.Value.Value == true then
- GlowActive()
- print("GFunction Activated")
- end
- function Stab()
- plr.Character.Humanoid.WalkSpeed = Speed*2+20
- attack=true
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
- for i=0,1,0.1 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
- end
- hitconasdf = Hitbox.Touched:connect(function(hit)
- local hum12 = hit.Parent:FindFirstChild("Humanoid")
- if hum12 and not hum12:IsDescendantOf(Character) then
- so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
- for i = 1,10 do
- BreakEffect(BrickColor.new(ColorColor),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
- end
- hitconasdf:disconnect()
- end
- end)
- if Hackermode == true then
- Hitbox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:BreakJoints()
- hit.Parent.Torso.Position = Vector3.new(hit.Parent.Torso.Position.X + 1, hit.Parent.Torso.Position.Y + 1, hit.Parent.Torso.Position.Z + 1)
- end
- end)
- end
- if Banmode == true then
- Hitbox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:Remove()
- end
- end)
- end
- so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
- so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
- for i=0,1,0.1 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-80)),.4)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
- RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
- handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
- end
- con:disconnect()
- attack=false
- scfr = nil
- pcall(function()
- hitconasdf:disconnect()
- end)
- plr.Character.Humanoid.WalkSpeed = Speed
- end
- function Spin()
- attack=true
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
- hitconasdf = Hitbox.Touched:connect(function(hit)
- local hum12 = hit.Parent:FindFirstChild("Humanoid")
- if hum12 and not hum12:IsDescendantOf(Character) then
- so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
- for i = 1,5 do
- BreakEffect(BrickColor.new(ColorColor),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
- end
- hitconasdf:disconnect()
- end
- end)
- if Hackermode == true then
- Hitbox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:BreakJoints()
- hit.Parent.Torso.Position = Vector3.new(hit.Parent.Torso.Position.X + 1, hit.Parent.Torso.Position.Y + 1, hit.Parent.Torso.Position.Z + 1)
- end
- end)
- end
- if Banmode == true then
- Hitbox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:Remove()
- end
- end)
- end
- for i=0,1,1 do
- so("http://roblox.com/asset/?id=154965962",Hitbox,1,1)
- so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
- swait()
- for i=0,1,0.1 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),1)
- end
- end
- attack=false
- con:disconnect()
- scfr = nil
- pcall(function()
- hitconasdf:disconnect()
- end)
- end
- function ContAttack()
- attack=true
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
- hitconasdf = Hitbox.Touched:connect(function(hit)
- local hum12 = hit.Parent:FindFirstChild("Humanoid")
- if hum12 and not hum12:IsDescendantOf(Character) then
- so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
- for i = 1,10 do
- BreakEffect(BrickColor.new(ColorColor),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
- end
- hitconasdf:disconnect()
- end
- end)
- for i=1,4 do
- swait()
- for i=0,1,0.2 do
- swait()
- if Hackermode == true then
- Hitbox.Touched:connect(function(hit)
- hit.Parent.Humanoid.Health = 0
- end)
- end
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
- end
- so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
- so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
- for i=0,1,0.2 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
- end
- for i=0,1,0.2 do
- swait()
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
- end
- so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
- so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
- for i=0,1,0.2 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
- end
- end
- attack=false
- con:disconnect()
- scfr = nil
- pcall(function()
- hitconasdf:disconnect()
- end)
- end
- function Sheathe()
- attack = true
- so("http://www.roblox.com/asset/?id=273797222",Hitbox,1,.9)
- CurrentMode = "Sheathed"
- for i = 0,1,0.1 do
- swait()
- handleweld.Part0 = Torso
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
- end
- attack = false
- end
- function Unsheathe()
- attack = true
- CurrentMode = "Unsheathed"
- so("http://www.roblox.com/asset/?id=239169404",Hitbox,1,.9)
- for i = 0,1,0.1 do
- swait()
- handleweld.Part0 = RightArm
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(-30),math.rad(-30)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
- end
- scfr = nil
- attack = false
- end
- local Sit = false
- mouse.Button1Down:connect(function()
- if attack==false then
- if attacktype==1 and CurrentMode == "Unsheathed" then
- attack=true
- attacktype=2
- attackone()
- elseif attacktype==2 and CurrentMode == "Unsheathed" then
- attack=true
- attacktype=1
- attacktwo()
- end
- end
- end)
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- if k=='q' then
- if attack==false and CurrentMode == "Unsheathed" then
- Stab()
- end
- elseif k=='e' then
- if attack==false and CurrentMode == "Unsheathed" then
- Spin()
- end
- elseif k=='r' then
- if attack==false and CurrentMode == "Unsheathed" then
- ContAttack()
- end
- elseif k=='f' then
- if attack==false and CurrentMode == "Unsheathed" then
- Sheathe()
- elseif k=='f' then
- if attack==false and Sit == false and CurrentMode == "Sheathed" then
- Unsheathe()
- end
- end
- elseif k=='t' then
- if attack==false and Sit == false and CurrentMode == "Sheathed" then
- Sit = true
- Humanoid.WalkSpeed = 0
- elseif k=='t' then
- if attack==false and Sit == true and CurrentMode == "Sheathed" then
- Sit = false
- Humanoid.WalkSpeed = 16
- end
- end
- end
- end)
- local sine = 0
- local change = 1
- local val = 0
- while true do
- swait()
- sine = sine + change
- local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
- local velderp=RootPart.Velocity.y
- hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
- if equipped==true or equipped==false then
- if attack==false then
- idle=idle+1
- else
- idle=0
- end
- if idle>=500 then
- if attack==false then
- end
- end
- if RootPart.Velocity.y > 1 and hitfloor==nil then
- Anim="Jump"
- if attack==false and Sit == false and CurrentMode == "Unsheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
- end
- if attack==false and Sit == false and CurrentMode == "Sheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
- end
- elseif RootPart.Velocity.y < -1 and hitfloor==nil then
- Anim="Fall"
- if attack==false and Sit == false and CurrentMode == "Unsheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
- end
- if attack==false and Sit == false and CurrentMode == "Sheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
- end
- elseif torvel<1 and hitfloor~=nil then
- Anim="Idle"
- if attack==false and Sit == false and CurrentMode == "Unsheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
- end
- if attack==false and Sit == false and CurrentMode == "Sheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
- end
- if attack==false and Sit == true and CurrentMode == "Sheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3)
- LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3)
- LH.C0=clerp(LH.C0,cf(-1,.7,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(70))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
- end
- elseif torvel>2 and hitfloor~=nil then
- Anim="Walk"
- if attack==false and Sit == false and CurrentMode == "Unsheathed" then
- change=3
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(5),math.rad(-10)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3)
- end
- if attack==false and Sit == false and CurrentMode == "Sheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(30*math.cos(sine/10)),math.rad(0),math.rad(5)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30*math.cos(sine/10)),math.rad(0),math.rad(-5)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
- end
- end
- end
- if thegui.TimeChanger.Value.Value == true then
- game.Lighting.Ambient = Color3.fromRGB(10,10,10)
- game.Lighting.Brightness = 0
- game.Lighting.GlobalShadows = false
- game.Lighting.TimeOfDay = 0
- wait(0)
- end
- if thegui.Rainbow.Value.Value == true and thegui.Light.Value.Value == true then
- plr.Character.Torso.Lite.Color = Color3.new(math.random(), math.random(), math.random())
- end
- CustomColorEnabled = false
- if #Effects>0 then
- for e=1,#Effects do
- if Effects[e]~=nil then
- local Thing=Effects[e]
- if Thing~=nil then
- local Part=Thing[1]
- local Mode=Thing[2]
- local Delay=Thing[3]
- local IncX=Thing[4]
- local IncY=Thing[5]
- local IncZ=Thing[6]
- if Thing[1].Transparency<=1 then
- if Thing[2]=="Block1" then
- Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Cylinder" then
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Blood" then
- Mesh=Thing[7]
- Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Elec" then
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Disappear" then
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- end
- else
- Part.Parent=nil
- table.remove(Effects,e)
- end
- end
- end
- end
- end
- end
- print("hey im done")
- Player=game:GetService("Players").LocalPlayer
- Character=Player.Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- m=Instance.new('Model',Character)
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- Face = Head.face
- Neck=Torso.Neck
- it=Instance.new
- attacktype=1
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- cloaked=false
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- attack = false
- attackdebounce = false
- deb=false
- equipped=true
- hand=false
- MMouse=nil
- combo=0
- mana=0
- trispeed=.2
- attackmode='none'
- local idle=0
- local Anim="Idle"
- local Effects={}
- local gun=false
- local shoot=false
- player=nil
- mana=0
- local CurrentMode = "Unsheathed"
- mouse=Player:GetMouse()
- --save shoulders
- RSH, LSH=nil, nil
- --welds
- RW, LW=Instance.new("Weld"), Instance.new("Weld")
- RW.Name="Right Shoulder" LW.Name="Left Shoulder"
- LH=Torso["Left Hip"]
- RH=Torso["Right Hip"]
- TorsoColor=Torso.BrickColor
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- player=Player
- ch=Character
- RSH=ch.Torso["Right Shoulder"]
- LSH=ch.Torso["Left Shoulder"]
- --
- RSH.Parent=nil
- LSH.Parent=nil
- --
- RW.Name="Right Shoulder"
- RW.Part0=ch.Torso
- RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RW.C1=cf(0, 0.5, 0)
- RW.Part1=ch["Right Arm"]
- RW.Parent=ch.Torso
- --
- LW.Name="Left Shoulder"
- LW.Part0=ch.Torso
- LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1=cf(0, 0.5, 0)
- LW.Part1=ch["Left Arm"]
- LW.Parent=ch.Torso
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=BrickColor.new(tostring(brickcolor))
- fp.Name=name
- fp.Size=size
- fp.Position=Character.Torso.Position
- nooutline(fp)
- fp.Material=material
- fp:BreakJoints()
- return fp
- end
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Heartbeat:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Heartbeat:wait(0)
- end
- end
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- mesh.MeshId=meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0,c1)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- weld.C1=c1
- return weld
- end
- local function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CFrame.new(at.x, at.y, at.z,
- right.x, top.x, back.x,
- right.y, top.y, back.y,
- right.z, top.z, back.z)
- end
- function Triangle(a, b, c)
- local edg1 = (c-a):Dot((b-a).unit)
- local edg2 = (a-b):Dot((c-b).unit)
- local edg3 = (b-c):Dot((a-c).unit)
- if edg1 <= (b-a).magnitude and edg1 >= 0 then
- a, b, c = a, b, c
- elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
- a, b, c = b, c, a
- elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
- a, b, c = c, a, b
- else
- assert(false, "unreachable")
- end
- local len1 = (c-a):Dot((b-a).unit)
- local len2 = (b-a).magnitude - len1
- local width = (a + (b-a).unit*len1 - c).magnitude
- local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
- local list = {}
- if len1 > 0.01 then
- local w1 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w1,5)
- w1.Material = "SmoothPlastic"
- w1.FormFactor = 'Custom'
- w1.BrickColor = BrickColor.new("New Yeller")
- w1.Transparency = 0
- w1.Reflectance = 0
- w1.Material = "Neon"
- w1.CanCollide = false
- NoOutline(w1)
- local sz = Vector3.new(0.2, width, len1)
- w1.Size = sz
- local sp = Instance.new("SpecialMesh",w1)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
- w1:BreakJoints()
- w1.Anchored = true
- w1.Parent = workspace
- w1.Transparency = 0.3
- table.insert(Effects,{w1,"Disappear",.03})
- w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
- table.insert(list,w1)
- end
- if len2 > 0.01 then
- local w2 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w2,5)
- w2.Material = "SmoothPlastic"
- w2.FormFactor = 'Custom'
- w2.BrickColor = BrickColor.new("New Yeller")
- w2.Transparency = 0
- w2.Reflectance = 0
- w2.Material = "Neon"
- w2.CanCollide = false
- NoOutline(w2)
- local sz = Vector3.new(0.2, width, len2)
- w2.Size = sz
- local sp = Instance.new("SpecialMesh",w2)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
- w2:BreakJoints()
- w2.Anchored = true
- w2.Parent = workspace
- w2.Transparency = 0.3
- table.insert(Effects,{w2,"Disappear",.03})
- w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
- table.insert(list,w2)
- end
- return unpack(list)
- end
- so = function(id,par,vol,pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound",par or workspace)
- sou.Volume=vol
- sou.Pitch=pit or 1
- sou.SoundId=id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou,6)
- end))
- end
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- local h=hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h=v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
- h=hit.Parent.Parent:FindFirstChild("Humanoid")
- end
- if hit.Parent.className=="Hat" then
- hit=hit.Parent.Parent:findFirstChild("Head")
- end
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- -- hs(hit,1.2)
- local c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- local Damage=math.random(minim,maxim)
- -- h:TakeDamage(Damage)
- local blocked=false
- local block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print(block.className)
- if block.className=="NumberValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock==nil then
- block.Value=block.Value-1
- end
- end
- end
- if block.className=="IntValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock~=nil then
- block.Value=block.Value-1
- end
- end
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- h.Health=h.Health-Damage
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
- else
- h.Health=h.Health-(Damage/2)
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
- end
- if Type=="Knockdown" then
- local hum=hit.Parent.Humanoid
- hum.PlatformStand=true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand=false
- end),hum)
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=angle*knockback
- bodvol.P=5000
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- local rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.5)
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Normal" then
- local vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.5)
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,60,0)
- bodyVelocity.P=5000
- bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,1)
- local rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- local bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,1)
- elseif Type=="Target" then
- local Targetting = false
- if Targetting==false then
- ZTarget=hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- swait(5)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- end),ZTarget)
- local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
- local targetgui=Instance.new("BillboardGui")
- targetgui.Parent=ZTarget
- targetgui.Size=UDim2.new(10,100,10,100)
- local targ=Instance.new("ImageLabel")
- targ.Parent=targetgui
- targ.BackgroundTransparency=1
- targ.Image="rbxassetid://4834067"
- targ.Size=UDim2.new(1,0,1,0)
- cam.CameraType="Scriptable"
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- Targetting=true
- RocketTarget=ZTarget
- for i=1,Property do
- --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
- if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
- swait()
- end
- --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
- end
- Targetting=false
- RocketTarget=nil
- targetgui.Parent=nil
- cam.CameraType="Custom"
- end
- end
- local debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 0))
- local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
- EffectPart.Anchored = true
- local BillboardGui = Instance.new("BillboardGui")
- BillboardGui.Size = UDim2.new(3, 0, 3, 0)
- BillboardGui.Adornee = EffectPart
- local TextLabel = Instance.new("TextLabel")
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.Text = Text
- TextLabel.TextColor3 = Color
- TextLabel.TextScaled = true
- TextLabel.Font = Enum.Font.ArialBold
- TextLabel.Parent = BillboardGui
- BillboardGui.Parent = EffectPart
- game.Debris:AddItem(EffectPart, (Time + 0.1))
- EffectPart.Parent = game:GetService("Workspace")
- Delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999))
- handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007))
- mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024))
- Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1))
- mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.00242900848, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -4.25688862e-009, -1.37317173e-013, -4.25688862e-009, 0.999999702, -2.46562365e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000484466553, -0.232157588, -1.08489037, -1.6391111e-007, -2.91180186e-007, -0.999989986, -0.999989986, 2.34624395e-007, 1.63911025e-007, 2.34622007e-007, 1, -2.91177315e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.812000036, 0.591600001))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144004822, -7.46494102, -8.79764557e-005, 4.47029542e-008, 2.42425131e-007, 0.999980867, -2.50834205e-007, 1, -2.42420526e-007, -0.999980867, -2.5083898e-007, 4.47030146e-008))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.232713461, -1.89698601, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.174778461, -1.66498375, 9.53674316e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(1.04400003, 4.75600052, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000287055969, -4.68094635, -3.14712524e-005, 0.999985695, 6.10369533e-011, -1.79689095e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689129e-014, -7.57438556e-011, 0.999985695))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.798079908, 0.843320072, 0.58927989))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00553905964, -0.620464325, 0.00238800049, 0.999994755, 4.21545732e-009, 1.69303116e-013, -4.2154511e-009, 1, -2.46550314e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.812000036, 0.200000003, 0.579999983))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.526639998, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.294445038, 1.4429245, 0.00253105164, 0.965925753, -0.258819014, 6.3815186e-008, 0.258819014, 0.965925753, -2.38160979e-007, -1.38366803e-013, 2.4656245e-007, 1))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28609848, -1.26961899, 0.00253105164, 0.707106709, -0.707106769, 1.74346084e-007, 0.707106769, 0.707106709, -1.74345857e-007, -1.38366803e-013, 2.4656245e-007, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.200000003, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000606894493, -1.54850197, -4.76837158e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.23126626, -1.89697075, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000222, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.859739304, -1.87621498, 0.00253105164, 0.70710659, 0.70710659, -1.74345828e-007, -0.70710659, 0.70710659, -1.74346027e-007, -1.38366803e-013, 2.4656245e-007, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58202362, 0.00305497646, 0.00253105164, 1.91577065e-008, -1, 2.46562593e-007, 0.999994159, 1.91577474e-008, -8.742213e-008, 4.37109904e-008, 2.46561086e-007, 0.999994159))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44659999, 0.69599998, 0.371199995))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555098057, -1.02645874, 0.00238800049, 0.999994278, 4.2154551e-009, 1.69303035e-013, -4.21544888e-009, 0.999999523, -2.46550201e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.0024292469, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -6.38615347e-008, -1.22620908e-013, -6.38615347e-008, 0.999999702, -2.46562365e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.463999987, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000650644302, -1.8385067, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 4.75600052, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000156164169, -4.68094444, -0.000274658203, 0.999971211, 5.13775689e-011, -1.44165397e-014, -5.13864507e-011, 1, 6.64499566e-011, 8.34828473e-015, -6.64783784e-011, 0.999971211))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000401, 1, 0.69599992))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.231999993, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000268936157, -7.1749382, -0.000166773796, -2.98020346e-008, 2.42384317e-007, 0.999980867, -2.50883971e-007, 1, -2.42379713e-007, -0.999980867, -2.50888746e-007, -2.98019742e-008))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.698320508, 1.00999999, 0.590207934))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44659999, 1.15999997, 0.371199995))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00572288036, 0.249307632, 0.00253105164, 0.999997973, 4.25688151e-009, 1.37316929e-013, -4.25688196e-009, 0.999998093, -2.46561967e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00575697422, 1.22929001, 0.00253105164, 1, 4.25689928e-009, 1.49599246e-013, -4.25689928e-009, 1, -2.46565691e-007, -1.50648848e-013, 2.46565691e-007, 1))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.579999983, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.347447634, -1.78050041, 0.000102043152, 0.999989986, 6.10373974e-011, -1.79689739e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999989986))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.872640967, -2.18717003, 0.00248718262, 1, 4.25688995e-009, 1.37317214e-013, -4.25688995e-009, 1, -2.4656245e-007, -1.38366803e-013, 2.4656245e-007, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1.50800002, 1.04400003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.53131104e-005, -7.8129406, 0.00018453598, 4.47029258e-008, 2.42408902e-007, 0.999980867, -2.50858221e-007, 1, -2.42404298e-007, -0.999980867, -2.50863025e-007, 4.47029933e-008))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.581159949, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000666975975, -2.18694496, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.173270226, -1.66498375, 0.0001039505, 0.999997854, 6.10373974e-011, -1.7969128e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79691145e-014, -7.57154339e-011, 0.999997854))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.863862991, -1.87209129, 0.00253105164, 0.70710659, -0.70710659, 1.74346027e-007, 0.70710659, 0.70710659, -1.74345828e-007, -1.38366803e-013, 2.4656245e-007, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.580000043, 4.75600052, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0001963377, -4.68094635, -9.53674316e-005, 0.999990404, 6.10373974e-011, -1.79689874e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57154339e-011, 0.999990404))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.638000011))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28197098, -1.27374649, 0.00253105164, 0.707106709, 0.707106769, -1.74345885e-007, -0.707106769, 0.707106709, -1.74346056e-007, -1.38366803e-013, 2.4656245e-007, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.116648793, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563848019, -0.388711929, 0.00253295898, 0.99999404, 4.25686464e-009, 1.37316401e-013, -4.25686508e-009, 0.999994159, -2.46561001e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799999, 0.34799999, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.595080018, 0.683239937))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.347726822, -1.60689163, -9.05990601e-005, 0.99999994, 6.59379218e-011, -1.80878482e-014, -6.59667876e-011, 1, -5.95150595e-011, 2.41627922e-014, 5.94866378e-011, 0.99999994))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.870689273, -2.18681908, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000425338745, -0.231835961, -1.08489037, -4.08055101e-009, 2.02203083e-007, 0.99999994, 0.99999994, 2.42933169e-007, 4.08050749e-009, -2.42933169e-007, 1, -2.02203097e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.812000036, 0.200000003, 0.812000036))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.444280028, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563395023, 0.887273788, 0.00253295898, 0.999990106, 4.25684776e-009, 1.37315859e-013, -4.25684821e-009, 0.999990225, -2.46560035e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.348541379, -1.89650154, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.835199952, 0.808520079, 0.58927989))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555217266, -1.43245697, 0.00238800049, 0.999993682, 4.21545243e-009, 1.69302926e-013, -4.21544666e-009, 0.999998927, -2.46550059e-007, -1.77448618e-013, 2.46551593e-007, 0.999994755))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.115347862, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
- Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300365448, 1.44133759, 0.00253105164, 0.965925753, 0.258819014, -6.3814916e-008, -0.258819014, 0.965925753, -2.38161064e-007, -1.38366803e-013, 2.4656245e-007, 1))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
- local Lite = it("PointLight",Torso)
- Lite.Color = Color3.new(255, 255, 0)
- Lite.Range = 8
- Lite.Brightness = 10
- Lite.Shadows = true
- function BreakEffect(brickcolor,cframe,x1,y1,z1)
- local prt=part("Custom",workspace,"Neon",0,0,"New Yeller","Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
- CF=Part.CFrame
- Numbb=0
- randnumb=math.random()-math.random()
- for i=0,1,0.05 do
- wait()
- CF=CF*cf(0,1,0)
- --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
- Part.CFrame=CF*euler(Numbb,0,0)
- Part.Transparency=i
- Numbb=Numbb+randnumb
- end
- Part.Parent=nil
- end),prt)
- end
- --BreakEffect(BrickColor.new("New Yeller"),Hitbox.CFrame,0.5,math.random(5,20),0.5)
- function attackone()
- attack=true
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
- for i=0,1,0.1 do
- swait()
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
- end
- so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
- so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
- hitconasdf = Hitbox.Touched:connect(function(hit)
- local hum12 = hit.Parent:FindFirstChild("Humanoid")
- if hum12 and not hum12:IsDescendantOf(Character) then
- so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
- for i = 1,10 do
- BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
- end
- hitconasdf:disconnect()
- end
- end)
- for i=0,1,0.1 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
- end
- attack=false
- con:disconnect()
- scfr = nil
- pcall(function()
- hitconasdf:disconnect()
- end)
- end
- function attacktwo()
- attack=true
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
- for i=0,1,0.1 do
- swait()
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
- end
- so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
- so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
- hitconasdf = Hitbox.Touched:connect(function(hit)
- local hum12 = hit.Parent:FindFirstChild("Humanoid")
- if hum12 and not hum12:IsDescendantOf(Character) then
- so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
- for i = 1,10 do
- BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
- end
- hitconasdf:disconnect()
- end
- end)
- for i=0,1,0.1 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
- end
- attack=false
- con:disconnect()
- scfr = nil
- pcall(function()
- hitconasdf:disconnect()
- end)
- end
- function Stab()
- attack=true
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
- for i=0,1,0.1 do
- swait()
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
- end
- hitconasdf = Hitbox.Touched:connect(function(hit)
- local hum12 = hit.Parent:FindFirstChild("Humanoid")
- if hum12 and not hum12:IsDescendantOf(Character) then
- so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
- for i = 1,10 do
- BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
- end
- hitconasdf:disconnect()
- end
- end)
- so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
- so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
- for i=0,1,0.1 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-80)),.4)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
- RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
- handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
- end
- con:disconnect()
- attack=false
- scfr = nil
- pcall(function()
- hitconasdf:disconnect()
- end)
- end
- function Spin()
- attack=true
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
- hitconasdf = Hitbox.Touched:connect(function(hit)
- local hum12 = hit.Parent:FindFirstChild("Humanoid")
- if hum12 and not hum12:IsDescendantOf(Character) then
- so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
- for i = 1,10 do
- BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
- end
- hitconasdf:disconnect()
- end
- end)
- for i=0,1,1 do
- so("http://roblox.com/asset/?id=154965962",Hitbox,1,1)
- so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
- swait()
- for i=0,1,0.1 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),1)
- end
- end
- attack=false
- con:disconnect()
- scfr = nil
- pcall(function()
- hitconasdf:disconnect()
- end)
- end
- function ContAttack()
- attack=true
- local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
- hitconasdf = Hitbox.Touched:connect(function(hit)
- local hum12 = hit.Parent:FindFirstChild("Humanoid")
- if hum12 and not hum12:IsDescendantOf(Character) then
- so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
- for i = 1,10 do
- BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
- end
- hitconasdf:disconnect()
- end
- end)
- for i=1,4 do
- swait()
- for i=0,1,0.2 do
- swait()
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
- end
- so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
- so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
- for i=0,1,0.2 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
- end
- for i=0,1,0.2 do
- swait()
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
- end
- so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
- so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
- for i=0,1,0.2 do
- swait()
- local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
- if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
- local h = 5
- local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
- if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
- scfr = blcf
- elseif not scfr then
- scfr = blcf
- end
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
- end
- end
- attack=false
- con:disconnect()
- scfr = nil
- pcall(function()
- hitconasdf:disconnect()
- end)
- end
- function Sheathe()
- attack = true
- so("http://www.roblox.com/asset/?id=273797222",Hitbox,1,.9)
- CurrentMode = "Sheathed"
- for i = 0,1,0.1 do
- swait()
- handleweld.Part0 = Torso
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
- end
- attack = false
- end
- function Unsheathe()
- attack = true
- CurrentMode = "Unsheathed"
- so("http://www.roblox.com/asset/?id=239169404",Hitbox,1,.9)
- for i = 0,1,0.1 do
- swait()
- handleweld.Part0 = RightArm
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(-30),math.rad(-30)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
- end
- scfr = nil
- attack = false
- end
- local Sit = false
- mouse.Button1Down:connect(function()
- if attack==false then
- if attacktype==1 and CurrentMode == "Unsheathed" then
- attack=true
- attacktype=2
- attackone()
- elseif attacktype==2 and CurrentMode == "Unsheathed" then
- attack=true
- attacktype=1
- attacktwo()
- end
- end
- end)
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- if k=='q' then
- if attack==false and CurrentMode == "Unsheathed" then
- Stab()
- end
- elseif k=='e' then
- if attack==false and CurrentMode == "Unsheathed" then
- Spin()
- end
- elseif k=='r' then
- if attack==false and CurrentMode == "Unsheathed" then
- ContAttack()
- end
- elseif k=='f' then
- if attack==false and CurrentMode == "Unsheathed" then
- Sheathe()
- elseif k=='f' then
- if attack==false and Sit == false and CurrentMode == "Sheathed" then
- Unsheathe()
- end
- end
- elseif k=='t' then
- if attack==false and Sit == false and CurrentMode == "Sheathed" then
- Sit = true
- Humanoid.WalkSpeed = 0
- elseif k=='t' then
- if attack==false and Sit == true and CurrentMode == "Sheathed" then
- Sit = false
- Humanoid.WalkSpeed = 16
- end
- end
- end
- end)
- local sine = 0
- local change = 1
- local val = 0
- while true do
- swait()
- sine = sine + change
- local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
- local velderp=RootPart.Velocity.y
- hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
- if equipped==true or equipped==false then
- if attack==false then
- idle=idle+1
- else
- idle=0
- end
- if idle>=500 then
- if attack==false then
- end
- end
- if RootPart.Velocity.y > 1 and hitfloor==nil then
- Anim="Jump"
- if attack==false and Sit == false and CurrentMode == "Unsheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
- end
- if attack==false and Sit == false and CurrentMode == "Sheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
- end
- elseif RootPart.Velocity.y < -1 and hitfloor==nil then
- Anim="Fall"
- if attack==false and Sit == false and CurrentMode == "Unsheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
- end
- if attack==false and Sit == false and CurrentMode == "Sheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
- end
- elseif torvel<1 and hitfloor~=nil then
- Anim="Idle"
- if attack==false and Sit == false and CurrentMode == "Unsheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
- end
- if attack==false and Sit == false and CurrentMode == "Sheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
- end
- if attack==false and Sit == true and CurrentMode == "Sheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3)
- LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3)
- LH.C0=clerp(LH.C0,cf(-1,.7,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(70))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
- end
- elseif torvel>2 and hitfloor~=nil then
- Anim="Walk"
- if attack==false and Sit == false and CurrentMode == "Unsheathed" then
- change=3
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(5),math.rad(-10)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3)
- end
- if attack==false and Sit == false and CurrentMode == "Sheathed" then
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(30*math.cos(sine/10)),math.rad(0),math.rad(5)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30*math.cos(sine/10)),math.rad(0),math.rad(-5)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
- end
- end
- end
- if #Effects>0 then
- for e=1,#Effects do
- if Effects[e]~=nil then
- local Thing=Effects[e]
- if Thing~=nil then
- local Part=Thing[1]
- local Mode=Thing[2]
- local Delay=Thing[3]
- local IncX=Thing[4]
- local IncY=Thing[5]
- local IncZ=Thing[6]
- if Thing[1].Transparency<=1 then
- if Thing[2]=="Block1" then
- Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Cylinder" then
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Blood" then
- Mesh=Thing[7]
- Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Elec" then
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Disappear" then
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- end
- else
- Part.Parent=nil
- table.remove(Effects,e)
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement