Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Part2 = Instance.new("Part")
- Part3 = Instance.new("Part")
- Part4 = Instance.new("Part")
- Part5 = Instance.new("Part")
- SpecialMesh6 = Instance.new("SpecialMesh")
- Part7 = Instance.new("Part")
- Part8 = Instance.new("Part")
- Part9 = Instance.new("Part")
- Part10 = Instance.new("Part")
- Part11 = Instance.new("Part")
- Part12 = Instance.new("Part")
- Part13 = Instance.new("Part")
- SpecialMesh14 = Instance.new("SpecialMesh")
- Part15 = Instance.new("Part")
- SpecialMesh16 = Instance.new("SpecialMesh")
- Part17 = Instance.new("Part")
- SpecialMesh18 = Instance.new("SpecialMesh")
- Part19 = Instance.new("Part")
- Part20 = Instance.new("Part")
- Script21 = Instance.new("Script")
- StringValue22 = Instance.new("StringValue")
- StringValue23 = Instance.new("StringValue")
- Model0.Name = "Default"
- Model0.Parent = mas
- Part1.Name = "Handle"
- Part1.Parent = Model0
- Part1.Material = Enum.Material.SmoothPlastic
- Part1.BrickColor = BrickColor.new("New Yeller")
- Part1.Reflectance = 0.5
- Part1.Transparency = 1
- Part1.Rotation = Vector3.new(11.9399996, 0, 0)
- Part1.CanCollide = false
- Part1.FormFactor = Enum.FormFactor.Custom
- Part1.Size = Vector3.new(1, 0.800000012, 1)
- Part1.CFrame = CFrame.new(1.50008965, 3.01360083, -0.134617209, 1, 3.35271907e-05, 2.71764075e-05, -2.71764075e-05, 0.978346705, -0.206972003, -3.35271907e-05, 0.206972003, 0.978346705)
- Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.Color = Color3.new(1, 1, 0)
- Part1.Position = Vector3.new(1.50008965, 3.01360083, -0.134617209)
- Part1.Orientation = Vector3.new(11.9399996, 0, 0)
- Part1.Color = Color3.new(1, 1, 0)
- Part2.Name = "Hitbox"
- Part2.Parent = Model0
- Part2.Material = Enum.Material.SmoothPlastic
- Part2.BrickColor = BrickColor.new("New Yeller")
- Part2.Reflectance = 0.5
- Part2.Transparency = 1
- Part2.Rotation = Vector3.new(11.9399996, 0, 0)
- Part2.CanCollide = false
- Part2.FormFactor = Enum.FormFactor.Custom
- Part2.Size = Vector3.new(1.60000002, 3.4000001, 1)
- Part2.CFrame = CFrame.new(1.80014038, 2.91554165, -0.155376464, 1, 3.35271907e-05, 2.71764075e-05, -2.71764075e-05, 0.978346705, -0.206972003, -3.35271907e-05, 0.206972003, 0.978346705)
- Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.Color = Color3.new(1, 1, 0)
- Part2.Position = Vector3.new(1.80014038, 2.91554165, -0.155376464)
- Part2.Orientation = Vector3.new(11.9399996, 0, 0)
- Part2.Color = Color3.new(1, 1, 0)
- Part3.Name = "Finger5"
- Part3.Parent = Model0
- Part3.Material = Enum.Material.SmoothPlastic
- Part3.BrickColor = BrickColor.new("New Yeller")
- Part3.Reflectance = 0.5
- Part3.Rotation = Vector3.new(101.939995, 10, 90)
- Part3.CanCollide = false
- Part3.FormFactor = Enum.FormFactor.Custom
- Part3.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
- Part3.CFrame = CFrame.new(1.70313048, 1.72302735, 0.00118745491, -1.32315272e-05, -0.984799027, 0.173697501, -0.206962526, -0.169934064, -0.963477492, 0.978348851, -0.0359616242, -0.203814253)
- Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.Color = Color3.new(1, 1, 0)
- Part3.Position = Vector3.new(1.70313048, 1.72302735, 0.00118745491)
- Part3.Orientation = Vector3.new(74.4700012, 139.559998, -129.389999)
- Part3.Color = Color3.new(1, 1, 0)
- Part4.Name = "Finger4"
- Part4.Parent = Model0
- Part4.Material = Enum.Material.SmoothPlastic
- Part4.BrickColor = BrickColor.new("New Yeller")
- Part4.Reflectance = 0.5
- Part4.Rotation = Vector3.new(11.9399996, 0, -80)
- Part4.CanCollide = false
- Part4.FormFactor = Enum.FormFactor.Custom
- Part4.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
- Part4.CFrame = CFrame.new(1.70305979, 1.77126026, -0.274805665, 0.173629209, 0.984811127, 9.0000849e-06, -0.96348989, 0.169872031, -0.206955895, -0.203813985, 0.0359249152, 0.978350341)
- Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.Color = Color3.new(1, 1, 0)
- Part4.Position = Vector3.new(1.70305979, 1.77126026, -0.274805665)
- Part4.Orientation = Vector3.new(11.9399996, 0, -80)
- Part4.Color = Color3.new(1, 1, 0)
- Part5.Parent = Model0
- Part5.Material = Enum.Material.SmoothPlastic
- Part5.BrickColor = BrickColor.new("New Yeller")
- Part5.Reflectance = 0.5
- Part5.Rotation = Vector3.new(101.939995, 0, 0)
- Part5.CanCollide = false
- Part5.FormFactor = Enum.FormFactor.Custom
- Part5.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- Part5.CFrame = CFrame.new(2.19997096, 4.09577703, -0.416760921, 1, -4.48787205e-06, -4.29228385e-05, -4.29225183e-05, -0.20692125, -0.978357673, -4.49090294e-06, 0.978357673, -0.206921265)
- Part5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.Color = Color3.new(1, 1, 0)
- Part5.Position = Vector3.new(2.19997096, 4.09577703, -0.416760921)
- Part5.Orientation = Vector3.new(78.0599976, -179.98999, -179.98999)
- Part5.Color = Color3.new(1, 1, 0)
- SpecialMesh6.Parent = Part5
- SpecialMesh6.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- SpecialMesh6.Scale = Vector3.new(0.404000014, 0.400000006, 0.560000002)
- SpecialMesh6.MeshType = Enum.MeshType.FileMesh
- SpecialMesh6.Scale = Vector3.new(0.404000014, 0.400000006, 0.560000002)
- Part7.Name = "Finger3"
- Part7.Parent = Model0
- Part7.Material = Enum.Material.SmoothPlastic
- Part7.BrickColor = BrickColor.new("New Yeller")
- Part7.Reflectance = 0.5
- Part7.Rotation = Vector3.new(11.9399996, 0, -80)
- Part7.CanCollide = false
- Part7.FormFactor = Enum.FormFactor.Custom
- Part7.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
- Part7.CFrame = CFrame.new(1.70306122, 1.81531525, -0.531240165, 0.173629209, 0.984811127, 9.0000849e-06, -0.96348989, 0.169872031, -0.206955895, -0.203813985, 0.0359249152, 0.978350341)
- Part7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.Color = Color3.new(1, 1, 0)
- Part7.Position = Vector3.new(1.70306122, 1.81531525, -0.531240165)
- Part7.Orientation = Vector3.new(11.9399996, 0, -80)
- Part7.Color = Color3.new(1, 1, 0)
- Part8.Name = "Finger5Connector"
- Part8.Parent = Model0
- Part8.Material = Enum.Material.SmoothPlastic
- Part8.BrickColor = BrickColor.new("New Yeller")
- Part8.Reflectance = 0.5
- Part8.Transparency = 1
- Part8.Rotation = Vector3.new(-168.059998, 90, 0)
- Part8.CanCollide = false
- Part8.FormFactor = Enum.FormFactor.Custom
- Part8.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part8.CFrame = CFrame.new(1.90002251, 1.65914929, -0.0123262703, -9.17903071e-06, 1.76440668e-11, 1, -0.206939563, -0.978353739, -1.89948742e-06, 0.978353739, -0.206939563, 8.9803425e-06)
- Part8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.Color = Color3.new(1, 1, 0)
- Part8.Position = Vector3.new(1.90002251, 1.65914929, -0.0123262703)
- Part8.Orientation = Vector3.new(0, 90, -168.059998)
- Part8.Color = Color3.new(1, 1, 0)
- Part9.Name = "Finger4Connector"
- Part9.Parent = Model0
- Part9.Material = Enum.Material.SmoothPlastic
- Part9.BrickColor = BrickColor.new("New Yeller")
- Part9.Reflectance = 0.5
- Part9.Transparency = 1
- Part9.Rotation = Vector3.new(11.9399996, 0, 0)
- Part9.CanCollide = false
- Part9.FormFactor = Enum.FormFactor.Custom
- Part9.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part9.CFrame = CFrame.new(1.90002072, 1.71718323, -0.286246032, 1, 2.71764075e-05, -3.35271907e-05, -3.35271907e-05, 0.978346705, -0.206972003, 2.71764075e-05, 0.206972003, 0.978346705)
- Part9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.Color = Color3.new(1, 1, 0)
- Part9.Position = Vector3.new(1.90002072, 1.71718323, -0.286246032)
- Part9.Orientation = Vector3.new(11.9399996, 0, 0)
- Part9.Color = Color3.new(1, 1, 0)
- Part10.Name = "Finger2Connector"
- Part10.Parent = Model0
- Part10.Material = Enum.Material.SmoothPlastic
- Part10.BrickColor = BrickColor.new("New Yeller")
- Part10.Reflectance = 0.5
- Part10.Transparency = 1
- Part10.Rotation = Vector3.new(11.9399996, 0, 0)
- Part10.CanCollide = false
- Part10.FormFactor = Enum.FormFactor.Custom
- Part10.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part10.CFrame = CFrame.new(1.90002441, 1.82472408, -0.795004249, 1, 2.71764075e-05, -3.35271907e-05, -3.35271907e-05, 0.978346705, -0.206972003, 2.71764075e-05, 0.206972003, 0.978346705)
- Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.Color = Color3.new(1, 1, 0)
- Part10.Position = Vector3.new(1.90002441, 1.82472408, -0.795004249)
- Part10.Orientation = Vector3.new(11.9399996, 0, 0)
- Part10.Color = Color3.new(1, 1, 0)
- Part11.Name = "Finger2"
- Part11.Parent = Model0
- Part11.Material = Enum.Material.SmoothPlastic
- Part11.BrickColor = BrickColor.new("New Yeller")
- Part11.Reflectance = 0.5
- Part11.Rotation = Vector3.new(11.9399996, 0, -80)
- Part11.CanCollide = false
- Part11.FormFactor = Enum.FormFactor.Custom
- Part11.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
- Part11.CFrame = CFrame.new(1.70306301, 1.87880099, -0.783563912, 0.173629209, 0.984811127, 9.0000849e-06, -0.96348989, 0.169872031, -0.206955895, -0.203813985, 0.0359249152, 0.978350341)
- Part11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.Color = Color3.new(1, 1, 0)
- Part11.Position = Vector3.new(1.70306301, 1.87880099, -0.783563912)
- Part11.Orientation = Vector3.new(11.9399996, 0, -80)
- Part11.Color = Color3.new(1, 1, 0)
- Part12.Name = "Finger3Connector"
- Part12.Parent = Model0
- Part12.Material = Enum.Material.SmoothPlastic
- Part12.BrickColor = BrickColor.new("New Yeller")
- Part12.Reflectance = 0.5
- Part12.Transparency = 1
- Part12.Rotation = Vector3.new(11.9399996, 0, 0)
- Part12.CanCollide = false
- Part12.FormFactor = Enum.FormFactor.Custom
- Part12.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part12.CFrame = CFrame.new(1.90002453, 1.77102208, -0.540610671, 1, 2.71764075e-05, -3.35271907e-05, -3.35271907e-05, 0.978346705, -0.206972003, 2.71764075e-05, 0.206972003, 0.978346705)
- Part12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.Color = Color3.new(1, 1, 0)
- Part12.Position = Vector3.new(1.90002453, 1.77102208, -0.540610671)
- Part12.Orientation = Vector3.new(11.9399996, 0, 0)
- Part12.Color = Color3.new(1, 1, 0)
- Part13.Parent = Model0
- Part13.Material = Enum.Material.SmoothPlastic
- Part13.BrickColor = BrickColor.new("New Yeller")
- Part13.Reflectance = 0.5
- Part13.Rotation = Vector3.new(101.939995, 0, 0)
- Part13.CanCollide = false
- Part13.FormFactor = Enum.FormFactor.Custom
- Part13.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- Part13.CFrame = CFrame.new(2.1999712, 3.88879919, 0.561584234, 1, -4.48787205e-06, -4.29228385e-05, -4.29225183e-05, -0.20692125, -0.978357673, -4.49090294e-06, 0.978357673, -0.206921265)
- Part13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part13.Color = Color3.new(1, 1, 0)
- Part13.Position = Vector3.new(2.1999712, 3.88879919, 0.561584234)
- Part13.Orientation = Vector3.new(78.0599976, -179.98999, -179.98999)
- Part13.Color = Color3.new(1, 1, 0)
- SpecialMesh14.Parent = Part13
- SpecialMesh14.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- SpecialMesh14.Scale = Vector3.new(0.403999984, 0.399999976, 0.560000002)
- SpecialMesh14.MeshType = Enum.MeshType.FileMesh
- SpecialMesh14.Scale = Vector3.new(0.403999984, 0.399999976, 0.560000002)
- Part15.Parent = Model0
- Part15.Material = Enum.Material.SmoothPlastic
- Part15.BrickColor = BrickColor.new("New Yeller")
- Part15.Reflectance = 0.5
- Part15.Rotation = Vector3.new(101.939995, 0, 0)
- Part15.CanCollide = false
- Part15.FormFactor = Enum.FormFactor.Custom
- Part15.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- Part15.CFrame = CFrame.new(2.1999712, 2.51911616, 0.271815419, 1, -4.48787205e-06, -4.29228385e-05, -4.29225183e-05, -0.20692125, -0.978357673, -4.49090294e-06, 0.978357673, -0.206921265)
- Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.Color = Color3.new(1, 1, 0)
- Part15.Position = Vector3.new(2.1999712, 2.51911616, 0.271815419)
- Part15.Orientation = Vector3.new(78.0599976, -179.98999, -179.98999)
- Part15.Color = Color3.new(1, 1, 0)
- SpecialMesh16.Parent = Part15
- SpecialMesh16.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- SpecialMesh16.Scale = Vector3.new(0.404000014, 0.400000006, 0.995999992)
- SpecialMesh16.MeshType = Enum.MeshType.FileMesh
- SpecialMesh16.Scale = Vector3.new(0.404000014, 0.400000006, 0.995999992)
- Part17.Parent = Model0
- Part17.Material = Enum.Material.SmoothPlastic
- Part17.BrickColor = BrickColor.new("New Yeller")
- Part17.Reflectance = 0.5
- Part17.Rotation = Vector3.new(101.939995, 0, 0)
- Part17.CanCollide = false
- Part17.FormFactor = Enum.FormFactor.Custom
- Part17.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006)
- Part17.CFrame = CFrame.new(2.19997096, 2.72609377, -0.706529677, 1, -4.48787205e-06, -4.29228385e-05, -4.29225183e-05, -0.20692125, -0.978357673, -4.49090294e-06, 0.978357673, -0.206921265)
- Part17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.Color = Color3.new(1, 1, 0)
- Part17.Position = Vector3.new(2.19997096, 2.72609377, -0.706529677)
- Part17.Orientation = Vector3.new(78.0599976, -179.98999, -179.98999)
- Part17.Color = Color3.new(1, 1, 0)
- SpecialMesh18.Parent = Part17
- SpecialMesh18.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- SpecialMesh18.Scale = Vector3.new(0.404000014, 0.400000006, 0.995999992)
- SpecialMesh18.MeshType = Enum.MeshType.FileMesh
- SpecialMesh18.Scale = Vector3.new(0.404000014, 0.400000006, 0.995999992)
- Part19.Name = "Finger1"
- Part19.Parent = Model0
- Part19.Material = Enum.Material.SmoothPlastic
- Part19.BrickColor = BrickColor.new("New Yeller")
- Part19.Reflectance = 0.5
- Part19.Rotation = Vector3.new(11.9499998, 0, 80)
- Part19.CanCollide = false
- Part19.FormFactor = Enum.FormFactor.Custom
- Part19.Size = Vector3.new(0.200000003, 0.400000006, 0.200000003)
- Part19.CFrame = CFrame.new(1.198596, 1.85425448, -0.584330082, 0.173704162, -0.984797955, -6.74169351e-05, 0.963466465, 0.169955745, -0.206996769, 0.203861445, 0.0358912423, 0.978341699)
- Part19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.Color = Color3.new(1, 1, 0)
- Part19.Position = Vector3.new(1.198596, 1.85425448, -0.584330082)
- Part19.Orientation = Vector3.new(11.9499998, 0, 80)
- Part19.Color = Color3.new(1, 1, 0)
- Part20.Name = "Finger1Connector"
- Part20.Parent = Model0
- Part20.Material = Enum.Material.SmoothPlastic
- Part20.BrickColor = BrickColor.new("New Yeller")
- Part20.Reflectance = 0.5
- Part20.Transparency = 1
- Part20.Rotation = Vector3.new(11.9399996, 0, 0)
- Part20.CanCollide = false
- Part20.FormFactor = Enum.FormFactor.Custom
- Part20.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part20.CFrame = CFrame.new(1.10011888, 1.78325272, -0.599351168, 1, 2.71764075e-05, -3.35271907e-05, -3.35271907e-05, 0.978346705, -0.206972003, 2.71764075e-05, 0.206972003, 0.978346705)
- Part20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.Color = Color3.new(1, 1, 0)
- Part20.Position = Vector3.new(1.10011888, 1.78325272, -0.599351168)
- Part20.Orientation = Vector3.new(11.9399996, 0, 0)
- Part20.Color = Color3.new(1, 1, 0)
- Script21.Name = "Weld"
- Script21.Parent = Model0
- table.insert(cors,sandbox(Script21,function()
- local prev
- local parts = script.Parent:GetChildren()
- for i = 1,#parts do
- if (parts[i].className == "Part") then
- if (prev ~= nil)then
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- end
- prev = parts[i]
- end
- if (parts[i].className == "UnionOperation") then
- if (prev ~= nil)then
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- end
- prev = parts[i]
- end
- end
- -- DO NOT CHANGE ANYTHING! --
- -- This script puts a weld in every brick that needs one.--
- -- MAKE SURE YOU ONLY HAVE 1 BRICK NAMED [Handle] !!! --
- end))
- StringValue22.Name = "description"
- StringValue22.Parent = Model0
- StringValue22.Value = "A Golden Glove Or Banna Man"
- StringValue23.Name = "image"
- StringValue23.Parent = Model0
- StringValue23.Value = "rbxassetid://48716061"
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game.Lighting
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- module = Instance.new("ModuleScript",game.ReplicatedStorage)
- module.Name = "TagService"
- event = Instance.new("Folder",game.ReplicatedStorage)
- event.Name = "Remotes"
- event2 = Instance.new("RemoteEvent",event)
- event2.Name = "HealthEvent"
- wait(1)
- local Character = game.Players.localPlayer.Character
- local Humanoid=Character.Humanoid
- script.Parent=nil
- wait()
- if Character:FindFirstChild"Animate" then
- Character.Animate:Destroy()
- end
- wait(1/60)
- local Player=game:GetService('Players').LocalPlayer
- local Character=Player.Character
- local Mouse=Player:GetMouse()
- local m=Instance.new('Model',Character)
- local TagService = game.ReplicatedStorage.TagService
- 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
- local it=Instance.new
- local function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- local 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
- local 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
- local function weld(parent,part0,part1,c0,c1)
- local weld=it("Motor")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- weld.C1=c1
- return weld
- end
- Handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Handle",Vector3.new(1, 0.800000012, 1))
- Handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.96453857e-005, 0.000481128693, -1.83582306e-005, 1, 1.92410751e-014, -4.42007258e-005, -1.93349195e-014, 0.999999881, -2.12312026e-012, 4.42007258e-005, 2.12312091e-012, 1))
- Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Hitbox",Vector3.new(1.60000002, 3.4000001, 1))
- Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300050735, 0.100232601, 3.57627869e-007, 1, 1.06558363e-014, -4.67116479e-009, -1.06558363e-014, 1, -7.35089073e-017, 4.67116479e-009, 7.35089073e-017, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(8.20159912e-005, 1.10002291, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254525e-014, 0.999996662, -2.14035647e-012, -4.41999473e-005, 2.14036427e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699694633, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699361324, -0.40998435, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.000346660614, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.700180769, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000400543213, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, 0.000326633453, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000392436981, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700207949, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, -0.699380398, 1.56164169e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.4100914, 0.700154781, 1.57356262e-005, 1, -1.93349195e-014, 4.42007258e-005, 1.92409124e-014, 0.999991417, 2.12310291e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700230837, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 2, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699924469, 4.14848328e-005, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1, 1.39999998, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.57356262e-005, -0.299851894, 0.999885559, -4.41999473e-005, -5.95854743e-008, 1, -2.60350986e-012, 1, 5.95854743e-008, -1, 3.01648321e-014, -4.41999473e-005))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1, 0.600000024, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.57356262e-005, -0.700007677, 0.999902725, 4.41999473e-005, -2.13950775e-012, -1, -2.65373322e-014, -1, 2.13950667e-012, -1, 2.64427677e-014, -4.41999473e-005))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.848457336, -0.300411701, -0.141453743, 0.707042813, -1.50516166e-012, -0.707170904, 1.1783393e-014, 1, -2.11664583e-012, 0.707170904, 1.48822632e-012, 0.707042813))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.560000002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409921646, -0.699380398, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.400000006))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56164169e-005, -1.10002637, 0.699918747, 4.41999473e-005, -2.14036427e-012, -1, -1.23254932e-014, -1, 2.14036362e-012, -1, 1.22308889e-014, -4.41999473e-005))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.599924088, 1.49999762, 4.41999473e-005, -2.14036427e-012, -1, 1, -1.22308889e-014, 4.41999473e-005, -1.23254932e-014, -1, 2.14036362e-012))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.141283035, -0.300261259, -0.848459244, 0.707067847, -1.51049073e-012, -0.70714587, 1.20093924e-014, 1, -2.12403055e-012, 0.70714587, 1.49334115e-012, 0.707067847))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.403999984, 0.399999976, 0.560000002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.400000006))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.79992485, 1.19999647, 4.41999473e-005, -2.14036427e-012, -1, 0.999999821, 2.980231e-008, 4.419994e-005, 2.980231e-008, -0.999999821, 3.45762416e-012))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599924088, -1.19995832, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
- Finger1Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Finger1Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Finger1Connectorweld=weld(m,Handle,Finger1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399971008, 1.29990399, 0.200015664, 1, 1.78782017e-007, 4.41999473e-005, -1.7878321e-007, 0.999993324, -1.00110302e-011, -4.41999473e-005, 2.10883698e-012, 1))
- Finger2Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Finger2Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Finger2Connectorweld=weld(m,Handle,Finger2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29982674, 0.400015712, 1, 2.97982776e-008, 4.41999473e-005, -2.97984766e-008, 0.999993324, -3.43642345e-012, -4.41999473e-005, 2.11934723e-012, 1))
- Finger3Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Finger3Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Finger3Connectorweld=weld(m,Handle,Finger3Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29971194, 0.140015721, 1, 8.93768473e-008, 4.421228e-005, -8.93774441e-008, 0.999993324, -1.82566007e-012, -4.421228e-005, -2.12587717e-012, 1))
- Finger4Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Finger4Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Finger4Connectorweld=weld(m,Handle,Finger4Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399930954, 1.29973722, -0.119984269, 1, 8.93806842e-008, 4.421228e-005, -8.9381281e-008, 0.999993324, -1.82601091e-012, -4.421228e-005, -2.12569589e-012, 1))
- Finger5Connector=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"New Yeller","Finger5Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Finger5Connectorweld=weld(m,Handle,Finger5Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399984121, -1.29981911, -0.399932861, -4.41701486e-005, 5.95858012e-008, 1, 4.58027785e-008, -0.999993324, 5.95882241e-008, 1, 4.58051019e-008, 4.41701486e-005))
- Finger1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Finger1",Vector3.new(0.200000003, 0.400000006, 0.200000003))
- Finger1weld=weld(m,Finger1Connector,Finger1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, 0.100007057, 0, 1, 2.06483719e-011, -5.55111512e-017, -2.54232191e-011, 0.999986649, 4.50594423e-016, 5.55111512e-017, -4.49727061e-016, 1))
- Finger2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Finger2",Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Finger2weld=weld(m,Finger2Connector,Finger2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199999213, 1.1920929e-007, 1, 8.77520279e-013, 0, -1.67332814e-012, 0.999986649, 1.50920942e-016, 0, -1.50053581e-016, 1))
- Finger3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Finger3",Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Finger3weld=weld(m,Finger3Connector,Finger3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.200001121, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23739232e-016, 4.35207426e-013, 2.38535383e-016, 1))
- Finger4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Finger4",Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Finger4weld=weld(m,Finger4Connector,Finger4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199998736, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23732138e-016, 4.35207426e-013, 2.38539513e-016, 1))
- Finger5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"New Yeller","Finger5",Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Finger5weld=weld(m,Finger5Connector,Finger5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.38418579e-007, -0.199927688, 9.53674316e-006, 1, -3.86535248e-012, -7.77482967e-010, 5.45696821e-012, 0.999986649, -1.35540613e-012, 7.77477638e-010, 2.57749442e-012, 1))
- for i,v in pairs(m:GetChildren()) do
- if v.ClassName == 'Part' then
- v.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0 ,0)
- end
- end
- wait(1/60)
- local player = game.Players.localPlayer
- local char = player.Character
- local mouse = player:GetMouse()
- local m = Instance.new('Model',char)
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local cam = game.Workspace.CurrentCamera
- local RootPart = char.HumanoidRootPart
- local equipped = false
- local attack = false
- local Anim = 'Idle'
- local idle = 0
- local sprint = false
- local battlestance = false
- local attacktype = 1
- local state = 'none'
- local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
- local velderp=RootPart.Velocity.y
- local sine = 0
- local change = 1
- local val = 0
- local on = false
- local grabbed=false
- local skill1=false
- local skill2=false
- local skill3=false
- local skill4=false
- local cooldown1=10
- local cooldown2=15
- local cooldown3=10
- local cooldown4=20
- local inputserv = game:GetService('UserInputService')
- local typing=false
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- RootCF=cf(0,-1,0)
- necko=cf(0,1.5,0)
- Meshes = {
- Blast = '20329976',
- Crown = '1323306',
- Ring = '3270017',
- Claw = '10681506',
- Crystal = '9756362',
- Coil = '9753878',
- Cloud = '1095708',
- }
- clangsounds = {
- '199149119',
- '199149109',
- '199149072',
- '199149025',
- '199148971'
- }
- hitsounds = {
- '199149137',
- '199149186',
- '199149221',
- '199149235',
- '199149269',
- '199149297'
- }
- blocksounds = {
- '199148933',
- '199148947'
- }
- armorsounds = {
- '199149321',
- '199149338',
- '199149367',
- '199149409',
- '199149452'
- }
- woosh = {
- Heavy1 = '320557353',
- Heavy2 = '320557382',
- Heavy3 = '320557453',
- Heavy4 = '199144226',
- Heavy5 = '203691447',
- Heavy6 = '203691467',
- Heavy7 = '203691492',
- Light1 = '320557413',
- Light2 = '320557487',
- Light3 = '199145095',
- Light4 = '199145146',
- Light5 = '199145887',
- Light6 = '199145913',
- Light7 = '199145841',
- Medium1 = '320557518',
- Medium2 = '320557537',
- Medium3 = '320557563',
- Medium4 = '199145204'
- }
- music = {--i like music a lot
- Breaking = '179281636',
- FinalReckoning = '357375770',
- NotDeadYet = '346175829',
- Intense = '151514610',
- JumpP1 = '160536628',
- JumpP2 = '60536666',
- SonsOfWar = '158929777',
- WrathOfSea = '165520893',
- ProtectorsOfEarth = '160542922',
- SkyTitans = '179282324',
- ArchAngel = '144043274',
- Anticipation = '168614529',
- TheMartyred = '186849544',
- AwakeP1 = '335631255',
- AwakeP2 = '335631297',
- ReadyAimFireP1 = '342455387',
- ReadyAimFireP2 = '342455399',
- DarkLordP1 = '209567483',
- DarkLordP2 = '209567529',
- BloodDrainP1 = '162914123',
- BloodDrainP2 = '162914203',
- DanceOfSwords = '320473062',
- Opal = '286415112',
- Calamity = '190454307',
- Hypnotica = '155968128',
- Nemisis = '160453802',
- Breathe = '276963903',
- GateToTheRift = '270655227',
- InfernalBeserking = '244143404',
- Trust = '246184492',
- AwakeningTheProject = '245121821',
- BloodPain = '242545577',
- Chaos = '247241693',
- NightmareFictionHighStake = '248062278',
- TheWhiteWeapon = '247236446',
- Gale = '256851659',
- ImperialCode = '256848383',
- Blitzkrieg = '306431437',
- RhapsodyRage = '348690251',
- TheGodFist = '348541501',
- BattleForSoul = '321185592',
- TheDarkColossus = '305976780',
- EmpireOfAngels = '302580452',
- Kronos = '302205297',
- Exorcist = '299796054',
- CrimsonFlames = '297799220',
- UltimatePower = '295753229',
- DrivingInTheDark = '295753229',
- AscendToPower = '293860654',
- GodOfTheSun = '293612495',
- DarkRider = '293861765',
- Vengeance = '293375555',
- SoundOfWar = '293376196',
- HellsCrusaders = '293012202',
- Legend = '293011823',
- RisingSouls = '290524959'
- }
- misc = {
- GroundSlam = '199145477',
- LaserSlash = '199145497',
- RailGunFire = '199145534',
- Charge1 = '199145659',
- Charge2 = '169380469',
- Charge3 = '169380479',
- EmptyGun = '203691822',
- GunShoot = '203691837',
- Stomp1 = '200632875',
- Stomp2 = '200632561',
- TelsaCannonCharge = '169445572',
- TelsaCannonShoot = '169445602',
- AncientHymm = '245313442',
- Ha='180840266'
- }
- wait(1 / 60)
- local player = game.Players.localPlayer
- local char = player.Character
- local mouse = player:GetMouse()
- local m = Instance.new('Model', char)
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local cam = game.Workspace.CurrentCamera
- local RootPart = char.HumanoidRootPart
- local equipped = false
- local attack = false
- local Anim = 'Idle'
- local idle = 0
- local sprint = false
- local battlestance = false
- local attacktype = 1
- local state = 'none'
- torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local on = false
- local grabbed = false
- local skill1 = false
- local skill2 = false
- local skill3 = false
- local skill4 = false
- local cooldown1 = 0
- local cooldown2 = 0
- local cooldown3 = 0
- local cooldown4 = 0
- local co1 = 14--how long it will take for skill to cooldown
- local co2 = 15
- local co3 = 22
- local co4 = 30
- local inputserv = game:GetService('UserInputService')
- local typing = false
- local crit = false
- local critchance = 2--critical chance percentage
- local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage
- local critdamageaddmax = 7--maximum amount
- local maxstamina = 100--max amount of stamina
- local stamina = 0--stamina you start out with
- local skill1stam = 30--how much stamina is needed for a skill
- local skill2stam = 40
- local skill3stam = 45
- local skill4stam = 50
- local recovermana = 7--how much mana per second
- local defensevalue = 1.3--how much defense this character has
- local speedvalue = 1.05--how much speed this character has
- --speed is 16*speedvalue
- local mindamage = 7--self explanatory
- local maxdamage = 10--self explanatory
- local damagevalue = 1--how much damage this character has
- --damage is math.random(mindamage,maxdamage)*damagevalue
- --damage(hit, mindamage, maxdamage, 1, 1, RootPart)
- --asd
- local cn = CFrame.new-- make things easier :)
- local mr = math.rad
- local angles = CFrame.Angles
- local ud = UDim2.new
- local c3 = Color3.new
- local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol
- --asd
- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Motor", wp1)
- wld.Name = "Weld"
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- return wld
- end
- newWeld(torso, larm, -1.5, 0.5, 0)
- larm.Weld.C1 = CFrame.new(0, 0.65, 0)
- newWeld(torso, rarm, 1.5, 0.5, 0)
- rarm.Weld.C1 = CFrame.new(0, 0.65, 0)
- newWeld(torso, hed, 0, 1.5, 0)
- newWeld(torso, lleg, -0.5, -1, 0)
- lleg.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(torso, rleg, 0.5, -1, 0)
- rleg.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(RootPart, torso, 0, -1, 0)
- torso.Weld.C1 = CFrame.new(0, -1, 0)
- RW=rarm.Weld
- LW=larm.Weld
- RH=rleg.Weld
- LH=lleg.Weld
- Humanoid = char.Humanoid
- if Humanoid:FindFirstChild("Animator")then
- Humanoid:FindFirstChild("Animator"):Destroy()
- end
- local scrn = Instance.new('ScreenGui', player.PlayerGui)
- function makeframe(par, trans, pos, size, color)
- local frame = Instance.new('Frame', par)
- frame.BackgroundTransparency = trans
- frame.BorderSizePixel = 0
- frame.Position = pos
- frame.Size = size
- frame.BackgroundColor3 = color
- return frame
- end
- function makelabel(par, text)
- local label = Instance.new('TextLabel', par)
- label.BackgroundTransparency = 1
- label.Size = ud(1, 0, 1, 0)
- label.Position = ud(0, 0, 0, 0)
- label.TextColor3 = c3(255, 255, 255)
- label.TextStrokeTransparency = 0
- label.FontSize = Enum.FontSize.Size32
- label.Font = Enum.Font.SourceSansBold
- label.BorderSizePixel = 0
- label.TextScaled = true
- label.Text = text
- end
- local framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
- local framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
- local framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
- local framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
- local bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
- local bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
- local bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
- local bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
- local text1 = makelabel(framesk1, '[C] Gold Clap')
- local text2 = makelabel(framesk2, '[V] Grab n\' Slam')
- local text3 = makelabel(framesk3, "[X] Hammerfist")
- local text4 = makelabel(framesk4, '[Z] Golden Punch')
- local staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1))
- local staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1))
- local staminatext = makelabel(staminabar, 'Stamina')
- local healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0))
- local healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255))
- local healthtext = makelabel(healthbar, 'Health')
- local stats=Instance.new('Folder',char)
- stats.Name='Stats'
- local block=Instance.new('BoolValue',stats)
- block.Name='Block'
- block.Value=false
- local stun=Instance.new('BoolValue',stats)
- stun.Name='Stun'
- stun.Value=false
- local defense=Instance.new('NumberValue',stats)
- defense.Name='Defence'
- defense.Value=defensevalue
- local speed=Instance.new('NumberValue',stats)
- speed.Name='Speed'
- speed.Value=speedvalue
- local damagea=Instance.new('NumberValue',stats)
- damagea.Name='Damage'
- damagea.Value=damagevalue
- function CheckClose(Obj,Dist)
- for _,v in pairs(workspace:GetChildren()) do
- if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= char then
- local DistFromTorso = (v.Torso.Position - Obj.Position).magnitude
- if DistFromTorso < Dist then
- return v
- end
- end
- end
- end
- function begoneoutlines(part)
- part.BottomSurface, part.TopSurface, part.FrontSurface, part.BackSurface, part.RightSurface, part.LeftSurface = 10, 10, 10, 10, 10, 10
- end
- function flame(color,pos,size)
- local rng = Instance.new("Part",m)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new(color)
- rng.FormFactor='Custom'
- rng.Size=Vector3.new(1, 1, 1)
- rng.CanCollide=false
- rng.Transparency=0.35
- rng.TopSurface=0
- rng.BottomSurface=0
- rng.CFrame=pos
- local rngm=Instance.new("SpecialMesh", rng)
- rngm.MeshType='Sphere'
- rngm.Scale=size
- if CheckClose(rng,4) then
- CheckClose(rng,4).Humanoid:TakeDamage(15)
- CheckClose(rng,4).Torso.Velocity=Vector3.new(0,100,0)
- end
- coroutine.wrap(function()
- for i=0,1,.1 do
- wait(1/30)
- rngm.Scale=rngm.Scale+Vector3.new(-1,3,-1)
- rng.Transparency=rng.Transparency+i/10
- end
- rng:Destroy()
- end)()
- end
- function atktype(s,e)
- coroutine.resume(coroutine.create(function()
- attacktype = e
- wait(1.5)
- attacktype = s
- end))
- 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
- fat = Instance.new("BindableEvent", script)
- fat.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- tf = 0
- allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
- tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
- lastframe = tick()
- script.Heartbeat:Fire() --ayy lmao
- game:GetService("RunService").Heartbeat:connect(function(s, p) --herp derp
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- --To use: fat.Event:fat.Event:wait() or fat.Event:connect(function() asdcode end)
- function Lerp(a, b, i)
- return a:lerp(b,i)
- end
- local Lerp = CFrame.new().lerp
- 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
- function flame2(color,pos,size)
- local rng = Instance.new("Part",m)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new(color)
- rng.FormFactor='Custom'
- rng.Size=Vector3.new(1, 1, 1)
- rng.CanCollide=false
- rng.Transparency=0.35
- rng.TopSurface=0
- rng.BottomSurface=0
- rng.CFrame=pos
- local rngm=Instance.new("SpecialMesh", rng)
- rngm.MeshType='Sphere'
- rngm.Scale=size
- coroutine.wrap(function()
- for i=0,1,.1 do
- wait(1/30)
- rngm.Scale=rngm.Scale+Vector3.new(-1,3,-1)
- rng.Transparency=rng.Transparency+i/5
- end
- rng:Destroy()
- end)()
- end
- function blocks(pos1,size1,breaka)
- hit,pos=rayCast(torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,char)
- local p=Instance.new('Part',m)
- p.Material=hit.Material
- p.Color=hit.Color
- p.CFrame=pos1
- p.Size=size1
- p.Anchored=true
- p.CanCollide=false
- p.TopSurface=0
- p.BottomSurface=0
- p.Transparency=.5
- p.FormFactor='Custom'
- if breaka==true then
- flame2('Black',p.CFrame,Vector3.new(1,1,1))
- end
- coroutine.wrap(function()
- for i=0,25,.1 do
- wait(1/30)
- p.CFrame=p.CFrame*CFrame.Angles(math.rad(-1),math.rad(1),math.rad(2))
- p.Position=p.Position+Vector3.new(0,.1,0)
- p.Transparency=p.Transparency+.0025
- end
- p:Destroy()
- end)()
- end
- function fireout(color,pos1)
- local p=Instance.new('Part',m)
- p.BrickColor=BrickColor.new(color)
- p.CFrame=pos1
- p.Anchored=true
- p.Material='Plastic'
- p.CanCollide=false
- p.TopSurface=0
- p.Size=Vector3.new(1,1,1)
- p.BottomSurface=0
- p.Transparency=0.5
- p.FormFactor='Custom'
- local mesh=Instance.new('BlockMesh',p)
- mesh.Scale=Vector3.new(1,1,1)
- coroutine.wrap(function()
- for i=0,15,.1 do
- wait(1/30)
- p.CFrame=p.CFrame
- mesh.Scale=mesh.Scale+Vector3.new(.01,.01,.01)
- p.Transparency=p.Transparency+.025
- end
- p:Destroy()
- end)()
- end
- function firein(color,pos1)
- local p=Instance.new('Part',m)
- p.BrickColor=BrickColor.new(color)
- p.CFrame=pos1
- p.Anchored=true
- p.Material='Plastic'
- p.CanCollide=false
- p.TopSurface=0
- p.Size=Vector3.new(1,1,1)
- p.BottomSurface=0
- p.Transparency=0.5
- p.FormFactor='Custom'
- local mesh=Instance.new('BlockMesh',p)
- mesh.Scale=Vector3.new(1,1,1)
- coroutine.wrap(function()
- for i=0,15,.1 do
- wait(1/30)
- p.CFrame=p.CFrame
- mesh.Scale=mesh.Scale-Vector3.new(.01,.01,.01)
- p.Transparency=p.Transparency+.025
- end
- p:Destroy()
- end)()
- end
- function firespaz1(color,pos1)
- local p=Instance.new('Part',m)
- p.BrickColor=color
- p.CFrame=pos1
- p.Anchored=true
- p.Material='Plastic'
- p.CanCollide=false
- p.TopSurface=0
- p.Size=Vector3.new(1,1,1)
- p.BottomSurface=0
- p.Transparency=0.5
- p.FormFactor='Custom'
- local mesh=Instance.new('BlockMesh',p)
- mesh.Scale=Vector3.new(1,1,1)
- coroutine.wrap(function()
- for i=0,15,.1 do
- wait(1/30)
- p.CFrame=p.CFrame*CFrame.new(0,.1,0)
- mesh.Scale=mesh.Scale-Vector3.new(.1,.1,.1)
- p.Transparency=p.Transparency+.025
- end
- p:Destroy()
- end)()
- end
- function firespaz2(color,pos1)
- local p=Instance.new('Part',m)
- p.BrickColor=BrickColor.new(color)
- p.CFrame=pos1
- p.Anchored=true
- p.Material='Plastic'
- p.CanCollide=false
- p.TopSurface=0
- p.Size=Vector3.new(.8,.8,.8)
- p.BottomSurface=0
- p.Transparency=0.5
- p.FormFactor='Custom'
- local mesh=Instance.new('BlockMesh',p)
- mesh.Scale=Vector3.new(1,1,1)
- coroutine.wrap(function()
- for i=0,1,.1 do
- wait(1/30)
- p.CFrame=p.CFrame*CFrame.new(0,.1,0)
- mesh.Scale=mesh.Scale-Vector3.new(.1,.1,.1)
- end
- p:Destroy()
- end)()
- end
- function circle(color,pos1)
- local p=Instance.new('Part',m)
- p.BrickColor=BrickColor.new(color)
- p.CFrame=pos1
- p.Anchored=true
- p.Material='Plastic'
- p.CanCollide=false
- p.TopSurface=0
- p.Size=Vector3.new(1,1,1)
- p.BottomSurface=0
- p.Transparency=0.35
- p.FormFactor='Custom'
- local mesh=Instance.new('CylinderMesh',p)
- mesh.Scale=Vector3.new(0,0,0)
- coroutine.wrap(function()
- for i=0,5,.1 do
- wait(1/60)
- p.CFrame=p.CFrame
- mesh.Scale=mesh.Scale+Vector3.new(.5,0,.5)
- p.Transparency=p.Transparency+.025
- end
- p:Destroy()
- end)()
- end
- function blast(size,pos1,trans,howmuch,delay1)
- hit,pos=rayCast(torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,char)
- local p=Instance.new('Part',m)
- p.BrickColor=hit.BrickColor
- p.CFrame=pos1
- p.Anchored=true
- p.Material='Plastic'
- p.CanCollide=false
- p.TopSurface=0
- p.Size=Vector3.new(1,1,1)
- p.BottomSurface=0
- p.Transparency=0.35
- p.FormFactor='Custom'
- local mesh=Instance.new('SpecialMesh',p)
- mesh.Scale=size
- mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
- coroutine.wrap(function()
- for i=0,delay1,.1 do
- wait(1/60)
- p.CFrame=p.CFrame
- mesh.Scale=mesh.Scale+howmuch
- p.Transparency=p.Transparency+trans
- end
- p:Destroy()
- end)()
- return p
- end
- function ring(size,pos1,trans,howmuch,delay1)
- hit,pos=rayCast(torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,char)
- local p=Instance.new('Part',m)
- p.BrickColor=hit.BrickColor
- p.CFrame=pos1
- p.Anchored=true
- p.Material='Plastic'
- p.CanCollide=false
- p.TopSurface=0
- p.Size=Vector3.new(1,1,1)
- p.BottomSurface=0
- p.Transparency=0.35
- p.FormFactor='Custom'
- local mesh=Instance.new('SpecialMesh',p)
- mesh.Scale=size
- mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
- coroutine.wrap(function()
- for i=0,delay1,.1 do
- wait(1/60)
- p.CFrame=p.CFrame
- mesh.Scale=mesh.Scale+howmuch
- p.Transparency=p.Transparency+trans
- end
- p:Destroy()
- end)()
- end
- function subtractstamina(k)
- if stamina>=k then
- stamina=stamina-k
- end
- end
- function sphere(size,pos1,trans,howmuch,delay1)
- hit,pos=rayCast(torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,char)
- local p=Instance.new('Part',m)
- p.BrickColor=hit.BrickColor
- p.CFrame=pos1
- p.Anchored=true
- p.Material='Plastic'
- p.CanCollide=false
- p.TopSurface=0
- p.Size=Vector3.new(1,1,1)
- p.BottomSurface=0
- p.Transparency=0.35
- p.FormFactor='Custom'
- local mesh=Instance.new('SpecialMesh',p)
- mesh.Scale=size
- mesh.MeshType='Sphere'
- coroutine.wrap(function()
- for i=0,delay1,.1 do
- wait(1/60)
- p.CFrame=p.CFrame
- mesh.Scale=mesh.Scale+howmuch
- p.Transparency=p.Transparency+trans
- end
- p:Destroy()
- end)()
- return p
- end
- function crown(size,pos1,trans,howmuch,delay1)
- hit,pos=rayCast(torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,char)
- local p=Instance.new('Part',m)
- p.BrickColor=hit.BrickColor
- p.CFrame=pos1
- p.Anchored=true
- p.Material='Plastic'
- p.CanCollide=false
- p.TopSurface=0
- p.Size=Vector3.new(1,1,1)
- p.BottomSurface=0
- p.Transparency=0.35
- p.FormFactor='Custom'
- local mesh=Instance.new('SpecialMesh',p)
- mesh.Scale=size
- mesh.MeshId='http://www.roblox.com/asset/?id=1323306'
- coroutine.wrap(function()
- for i=0,delay1,.1 do
- wait(1/60)
- p.CFrame=p.CFrame
- mesh.Scale=mesh.Scale+howmuch
- p.Transparency=p.Transparency+trans
- end
- p:Destroy()
- end)()
- 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
- wait()
- sou:play()
- game:GetService("Debris"):AddItem(sou,6)
- end))
- end
- local function GetClosest(obj,MaxDistance)
- local Last,Lastx = MaxDistance +1
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")and v ~= Character and v:findFirstChild("Humanoid")and v:findFirstChild("Torso")and v:findFirstChild("Humanoid").Health > 0 then
- local t = v.Torso
- local dist = (t.Position - obj.Position).magnitude
- if dist <= MaxDistance then
- if dist < Last then
- Last = dist
- Lastx = v
- end end end end
- return Lastx
- end
- function FindNearestTorso(Position,Distance,SinglePlayer)
- if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
- local List = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")then
- if v:findFirstChild("Torso")then
- if v ~= char then
- if(v.Torso.Position -Position).magnitude <= Distance then
- table.insert(List,v)
- end
- end
- end
- end
- end
- return List
- end
- function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
- local p = Instance.new('Part', par or workspace)
- p.CFrame = pos1
- p.Anchored = true
- p.Material = 'Plastic'
- p.CanCollide = false
- p.TopSurface = 0
- p.Size = Vector3.new(1, 1, 1)
- p.BottomSurface = 0
- p.Transparency = trans
- p.FormFactor = 'Custom'
- begoneoutlines(p)
- local mesh = Instance.new('SpecialMesh', p)
- mesh.Scale = size
- if id ~= nil and type == nil then
- mesh.MeshId = 'rbxassetid://'..id
- elseif id == nil and type ~= nil then
- mesh.MeshType = type
- elseif id == nil and type == nil then
- mesh.MeshType = 'Brick'
- end
- game:GetService'Debris':AddItem(p,delay1)
- coroutine.wrap(function()
- for i = 0, delay1, .1 do
- wait(1 / 60)
- p.CFrame = p.CFrame
- mesh.Scale = mesh.Scale + howmuch
- p.Transparency = p.Transparency + trans1
- end
- p:Destroy()
- end)()
- return p
- end
- function clangy(cframe)
- wait(1 / 60)
- local clang = {}
- local dis = 0
- local part = Instance.new('Part', nil)
- part.CFrame = cframe
- part.Anchored = true
- part.CanCollide = false
- part.BrickColor = BrickColor.new('New Yeller')
- part.FormFactor = 'Custom'
- part.Name='clanger'
- part.Size = Vector3.new(.2, .2, .2)
- part.TopSurface = 10
- part.BottomSurface = 10
- part.RightSurface = 10
- part.LeftSurface = 10
- part.BackSurface = 10
- part.FrontSurface = 10
- --part.Material='Neon'
- part:BreakJoints()
- local mesh=Instance.new('BlockMesh',part)
- coroutine.wrap(function()
- for i = 1, 7 do
- wait(1 / 60)
- dis = dis + .2
- local partc = part:clone()
- partc.Parent = workspace
- partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
- partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
- table.insert(clang, partc)
- end
- for i, v in pairs(clang) do
- coroutine.wrap(function()
- for i = 1, 10 do
- wait(.01)
- v.Transparency = v.Transparency + .1
- end
- v:destroy()
- end)()
- end
- end)()
- end
- --damage effects
- function circle(color, pos1)
- local p = Instance.new('Part', m)
- p.BrickColor = BrickColor.new(color)
- p.CFrame = pos1
- p.Anchored = true
- p.Material = 'Plastic'
- p.CanCollide = false
- p.TopSurface = 0
- p.Size = Vector3.new(1, 1, 1)
- p.BottomSurface = 0
- p.Transparency = 0.35
- p.FormFactor = 'Custom'
- local mesh = Instance.new('CylinderMesh', p)
- mesh.Scale = Vector3.new(0, 0, 0)
- coroutine.wrap(function()
- for i = 0, 5, .1 do
- wait(1 / 60)
- p.CFrame = p.CFrame
- mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5)
- p.Transparency = p.Transparency + .025
- end
- p:Destroy()
- end)()
- end
- function firespaz1(color, pos1)
- local p = Instance.new('Part', m)
- p.BrickColor = BrickColor.new(color)
- p.CFrame = pos1
- p.Anchored = true
- p.Material = 'Plastic'
- p.CanCollide = false
- p.TopSurface = 0
- p.Size = Vector3.new(1, 1, 1)
- p.BottomSurface = 0
- p.Transparency = 0.5
- p.FormFactor = 'Custom'
- local mesh = Instance.new('BlockMesh', p)
- mesh.Scale = Vector3.new(1, 1, 1)
- coroutine.wrap(function()
- for i = 0, 15, .1 do
- wait(1 / 30)
- p.CFrame = p.CFrame * CFrame.new(0, .1, 0)
- mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1)
- p.Transparency = p.Transparency + .025
- end
- p:Destroy()
- end)()
- end
- function pickrandom(tablesa)
- local randomized=tablesa[math.random(1,#tablesa)]
- return randomized
- end
- function sound(id,pitch,volume,par,last)
- local s=Instance.new('Sound',par or torso)
- s.SoundId='rbxassetid://'..id
- s.Pitch=pitch or 1
- s.Volume=volume or 1
- wait()
- s:play()
- game.Debris:AddItem(s,last or 120)
- end
- function clangy(cframe)
- wait(1 / 60)
- local clang = {}
- local dis = 0
- local part = Instance.new('Part', nil)
- part.CFrame = cframe
- part.Anchored = true
- part.CanCollide = false
- part.BrickColor = BrickColor.new('New Yeller')
- part.FormFactor = 'Custom'
- part.Name='clanger'
- part.Size = Vector3.new(.2, .2, .2)
- part.TopSurface = 10
- part.BottomSurface = 10
- part.RightSurface = 10
- part.LeftSurface = 10
- part.BackSurface = 10
- part.FrontSurface = 10
- --part.Material='Neon'
- part:BreakJoints()
- local mesh=Instance.new('BlockMesh',part)
- coroutine.wrap(function()
- for i = 1, 7 do
- wait(1 / 60)
- dis = dis + .2
- local partc = part:clone()
- partc.Parent = workspace
- partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
- partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
- table.insert(clang, partc)
- end
- for i, v in pairs(clang) do
- coroutine.wrap(function()
- for i = 1, 10 do
- wait(.01)
- v.Transparency = v.Transparency + .1
- end
- v:destroy()
- end)()
- end
- end)()
- end
- --damage effects
- --Effects
- 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
- wait()
- sou:play()
- game:GetService("Debris"):AddItem(sou, 6)
- end))
- end
- function getclosest(obj,dis, player)
- if player then
- return (player.Torso.CFrame.p - obj).magnitude < dis
- end
- local list = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") then
- if v:findFirstChild("Torso") then
- if v ~= char then
- if (v.Torso.Position - obj).magnitude <= dis then
- table.insert(list, v)
- end
- end
- end
- end
- end
- return list
- end
- function getclosest_angled(obj,dis,player,max_deg)
- if not max_deg then max_deg = 49.333 end
- if player then
- return (player.Torso.CFrame.p - obj).magnitude < dis
- end
- local list = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") then
- if v:findFirstChild("Torso") then
- if v ~= char then
- if (v.Torso.Position - obj).magnitude <= dis then
- local lv = -(torso.CFrame.lookVector*Vector3.new(1,0,1)).unit
- local to = ((torso.Position-v.Torso.Position)*Vector3.new(1,0,1)).unit
- if math.deg(math.acos(lv:Dot(to)))<=max_deg then
- print'it worked'
- table.insert(list, v)
- else
- print('nope',math.deg(math.acos(lv:Dot(to))))
- end
- else
- print'no distance'
- end
- end
- end
- elseif v:IsA'Part' and v.Name:lower()=='hitbox' and v.Parent.Parent~=char then
- if (v.Position - obj).magnitude <= dis * 1.55 then --cause weapons are usually extended a bit
- local pos = CFrame.new(0, 1, -1)
- sound(pickrandom(clangsounds),math.random(100,150)/100,1,torso,6)
- coroutine.wrap(function()
- for i = 1, 4 do
- clangy(torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0))
- end
- end)()
- end
- end
- end
- return list
- end
- function makegui(cframe, text)
- local a = math.random(-10, 10) / 100
- local c = Instance.new("Part")
- c.Transparency = 1
- Instance.new("BodyGyro").Parent = c
- c.Parent = m
- c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
- local f = Instance.new("BodyPosition")
- f.P = 2000
- f.D = 100
- f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- f.position = c.Position + Vector3.new(0, 3, 0)
- f.Parent = c
- game:GetService("Debris"):AddItem(c, .5 + 6)
- c.CanCollide = false
- m.Parent = workspace
- c.CanCollide = false
- local bg = Instance.new('BillboardGui', m)
- game:GetService("Debris"):AddItem(bg, .5 + 6)
- bg.Adornee = c
- bg.Size = UDim2.new(1, 0, 1, 0)
- bg.StudsOffset = Vector3.new(0, 0, 0)
- bg.AlwaysOnTop = false
- local tl = Instance.new('TextLabel', bg)
- tl.BackgroundTransparency = 1
- tl.Size = UDim2.new(1, 0, 1, 0)
- tl.Text = text
- tl.Font = 'SourceSansBold'
- tl.FontSize = 'Size42'
- if crit == true then
- tl.TextColor3 = Color3.new(180 / 255, 0, 0)
- else
- tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
- end
- tl.TextStrokeTransparency = 0
- tl.TextScaled = true
- tl.TextWrapped = true
- coroutine.wrap(function()
- wait(2)
- for i = 1, 10 do
- fat.Event:wait()
- tl.TextTransparency = tl.TextTransparency + .1
- end
- end)()
- end
- function tag(hum, player)
- local creator = Instance.new('ObjectValue', hum)
- creator.Value = player
- creator.Name = 'creator'
- end
- function untag(hum)
- if hum ~= nil then
- local tag = hum:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function tagplayer(h)
- coroutine.wrap(function()
- tag(h, player)
- wait(1)
- untag(h)
- end)()
- end
- function turncrit()
- coroutine.resume(coroutine.create(function()
- print'CRITICAL!'
- crit = true
- wait(.5)
- crit = false
- end))
- end
- function randomizer(percent)
- local randomized = math.random(0, 100)
- if randomized <= percent then
- return true
- elseif randomized >= percent then
- return false
- end
- end
- function damage(hit, mind, maxd, knock, type, prop)
- --[[
- to apply it to a player directly, make the first arg go to the players torso
- 1 - normal type(damage and knockback)
- 2 - drain type(damage no knockback)
- 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed
- 4 - heal(heals target)
- ]]
- if hit.Name:lower()=='hitbox'then
- local pos = CFrame.new(0, 1, -1)
- sound(pickrandom(clangsounds),math.random(100,150)/100,1,torso,6)
- coroutine.wrap(function()
- for i = 1, 4 do
- clangy(torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0))
- end
- end)()
- end
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- for i, 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:IsA('Hat') then
- hit = hit.Parent.Parent:findFirstChild('Head')
- end
- local D = math.random(mind, maxd)*damagea.Value
- if h then
- if h.Parent:FindFirstChild('Stats') then
- D=D/h.Parent:FindFirstChild('Stats').Defence.Value
- elseif not h.Parent:FindFirstChild('Stats') then
- D=D
- end
- end
- if h and h.Parent.Head then
- makegui(h.Parent.Head.CFrame, tostring(math.floor(D+.5)))
- end
- hit.Parent.Humanoid:TakeDamage(D)
- if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if type == 1 then
- tagplayer(h)
- local asd = randomizer(critchance)
- if asd == true then
- turncrit()
- end
- if crit == false then
- --h.Health = h.Health - D
- game.ReplicatedStorage.Remotes.HealthEvent:FireServer(h, D, 1)
- else
- --h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
- game.ReplicatedStorage.Remotes.HealthEvent:FireServer(h, D + math.random(critdamageaddmin, critdamageaddmax), 1)
- end
- so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
- local vp = Instance.new('BodyVelocity')
- vp.P = 500
- vp.maxForce = Vector3.new(math.huge, 0, math.huge)
- vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05
- if knock > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, .5)
- elseif type == 2 then
- so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
- local asd = randomizer(critchance)
- if asd == true then
- turncrit()
- end
- if crit == false then
- --h.Health = h.Health - D
- game.ReplicatedStorage.Remotes.HealthEvent:FireServer(h, D, 1)
- else
- --h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
- game.ReplicatedStorage.Remotes.HealthEvent:FireServer(h, D + math.random(critdamageaddmin, critdamageaddmax), 1)
- end
- tagplayer(h)
- elseif type == 3 then
- tagplayer(h)
- local asd = randomizer(critchance)
- if asd == true then
- turncrit()
- end
- if crit == false then
- --h.Health = h.Health - D
- game.ReplicatedStorage.Remotes.HealthEvent:FireServer(h, D, 1)
- else
- --h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
- game.ReplicatedStorage.Remotes.HealthEvent:FireServer(h, D + math.random(critdamageaddmin, critdamageaddmax), 1)
- end
- char.Humanoid.Health = char.Humanoid.Health + D / 2
- so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
- for i = 1, 10 do
- firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
- end
- elseif type == 4 then
- h.Health = h.Health + D
- so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
- circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
- end
- end
- end
- function subtrackstamina(k)
- if stamina>=k then
- stamina=stamina-k
- end
- end
- function attackone()
- attack = true
- for i = 0,1,0.1 do
- fat.Event:wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(70),math.rad(0)),.3)
- hed.Weld.C0 = Lerp(hed.Weld.C0,necko *angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
- RW.C0 = Lerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.3)
- LW.C0 = Lerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- if torvel>2 and torvel<18 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- elseif torvel<1 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- end
- end
- for i, v in pairs(getclosest(Hitbox.CFrame.p, 5)) do
- if v:FindFirstChild('Humanoid') then
- damage(v.Torso, mindamage,maxdamage, 1, 1, RootPart)
- end
- end
- so("http://roblox.com/asset/?id=200632136",Hitbox,1,.9)
- for i = 0,1,0.1 do
- fat.Event:wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-70),math.rad(0)),.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0,necko *angles(math.rad(0),math.rad(60),math.rad(0)),.4)
- RW.C0 =Lerp(RW.C0, CFrame.new(1.3, 0.5, 0.5) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.4)
- LW.C0 = Lerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-20),math.rad(0),math.rad(-20)),.3)
- if torvel>2 and torvel<18 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- elseif torvel<1 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- end
- end
- attack = false
- atktype(1,2)
- end
- function attacktwo()
- attack = true
- for i = 0,1,0.1 do
- fat.Event:wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
- hed.Weld.C0 = Lerp(hed.Weld.C0,necko *angles(math.rad(0),math.rad(60),math.rad(0)),.3)
- RW.C0 = Lerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
- LW.C0 = Lerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- if torvel>2 and torvel<18 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- elseif torvel<1 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- end
- end
- for i, v in pairs(getclosest(Hitbox.CFrame.p, 5)) do
- if v:FindFirstChild('Humanoid') then
- damage(v.Torso, mindamage,maxdamage, 1, 1, RootPart)
- end
- end
- so("http://roblox.com/asset/?id=200632136",Hitbox,1,.8)
- for i = 0,1,0.1 do
- fat.Event:wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(90),math.rad(0)),.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0,necko *angles(math.rad(0),math.rad(-80),math.rad(0)),.4)
- RW.C0 = Lerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(-40*i)), 0.4)
- LW.C0 = Lerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- if torvel>2 and torvel<18 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- elseif torvel<1 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- end
- end
- attack = false
- atktype(1,1)
- end
- function eat()
- attack = true
- for i = 0,1,0.1 do
- fat.Event:wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(30),math.rad(0)),.3)
- hed.Weld.C0 = Lerp(hed.Weld.C0,necko *angles(math.rad(0),math.rad(-30),math.rad(0)),.3)
- RW.C0 = Lerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-170)), 0.3)
- LW.C0 = Lerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
- if torvel>2 and torvel<18 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- elseif torvel<1 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- end
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- end
- for i = 0,1,0.01 do
- fat.Event:wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(30),math.rad(0)),.3)
- hed.Weld.C0 = Lerp(hed.Weld.C0,necko *angles(math.rad(0),math.rad(-30),math.rad(0)),.3)
- RW.C0 = Lerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-150)), 0.3)
- LW.C0 = Lerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
- if torvel>2 and torvel<18 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- elseif torvel<1 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- end
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- end
- attack = false
- end
- function hammerfist()
- attack = true
- skill1=true
- char.Humanoid.WalkSpeed = 0
- for i = 0,1,0.1 do
- fat.Event:wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- hed.Weld.C0 = Lerp(hed.Weld.C0,necko *angles(math.rad(0),math.rad(-30),math.rad(0)),.3)
- RW.C0 = Lerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)), 0.3)
- LW.C0 = Lerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
- RH.C0=Lerp(RH.C0,cf(.5,-1,0)*angles(math.rad(0),math.rad(0),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- LH.C0=Lerp(LH.C0,cf(-.5,-1,0)*angles(math.rad(0),math.rad(0),math.rad(-5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- end
- so("http://roblox.com/asset/?id=200632875",torso,1,.9)
- so("http://roblox.com/asset/?id=263610131",torso,1,1)
- so("http://roblox.com/asset/?id=263610111",torso,1,1)
- local asd=sphere(Vector3.new(1,.25,1),RootPart.CFrame*CFrame.new(0,-2,0),.025,Vector3.new(1,1,1),3)
- asd.BrickColor=BrickColor.new('New Yeller')
- local asd=blast(Vector3.new(1,2,1),RootPart.CFrame*CFrame.new(0,-2,0),.025,Vector3.new(1,0,1),3)
- asd.BrickColor=BrickColor.new('New Yeller')
- for i,v in pairs(FindNearestTorso(torso.CFrame.p,15))do
- if v:FindFirstChild('Humanoid') then
- damage(v.Torso,10,15,1,1,RootPart)
- end
- end
- local hit,pos=rayCast(Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
- if hit~=nil then
- local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Black"),"Effect",Vector3.new())
- ref.Anchored=true
- ref.CFrame=cf(pos)
- game:GetService("Debris"):AddItem(ref,3)
- for i=1,5 do
- local Col=hit.BrickColor
- local groundpart=part(3,workspace,hit.Material,0.5,0,Col,"Ground",Vector3.new(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
- groundpart.Anchored=true
- groundpart.CanCollide=false
- groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- game:GetService("Debris"):AddItem(groundpart,5)
- end
- end
- for i = 0,1,0.1 do
- fat.Event:wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0,RootCF*cf(0,-1.5,0)* angles(math.rad(-40),math.rad(0),math.rad(0)),.5)
- hed.Weld.C0 = Lerp(hed.Weld.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
- RW.C0 = Lerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(0)), 0.5)
- LW.C0 = Lerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.3)
- RH.C0=Lerp(RH.C0,cf(.5,-1,-.2)*angles(math.rad(-40),math.rad(0),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(0)),.3)
- LH.C0=Lerp(LH.C0,cf(-.5,.5,-.5)*angles(math.rad(40),math.rad(0),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- end
- attack = false
- char.Humanoid.WalkSpeed = 16.3
- skill1=false
- end
- function weld5(part0, part1, c0, c1)
- local weeld=Instance.new("Weld", part0)
- weeld.Part0=part0
- weeld.Part1=part1
- weeld.C0=c0
- weeld.C1=c1
- return weeld
- end
- function grabMove(follow, target, offset, delay)
- coroutine.resume(coroutine.create(function()
- local timer = time()
- target.Anchored = true
- while game:service'RunService'.RenderStepped:wait(0) do
- target.CFrame = follow.CFrame * offset
- if time() > timer + delay then
- target.Anchored = false
- break
- end
- end
- end))
- end
- function grabsmash()
- attack = true
- so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
- local target=CheckClose(rarm,7)
- if grabbed == false then
- if target then
- target.Humanoid.PlatformStand=true
- if target ~= nil then
- grabbed = true
- subtractstamina(skill4stam)
- cooldown4=0
- grabMove(rarm, target:FindFirstChild("HumanoidRootPart"), CFrame.new(0,-1.7,0)*CFrame.Angles(math.rad(-90),0,-1.57), .9)
- --local asd=weld5(rarm,target:FindFirstChild("HumanoidRootPart"),CFrame.new(0,-1.7,0),CFrame.new(0,0,0))
- --asd.Parent = rarm
- --asd.Name = "asd"
- --asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,-1.57)
- so("http://roblox.com/asset/?id=200632821",torso,1,.9)
- coroutine.wrap(function()
- wait(2)
- target.Humanoid.PlatformStand=false
- end)()
- end
- elseif target==nil then
- subtractstamina(skill4stam/2)
- cooldown4=cooldown4/2
- end
- end
- for i = 0,1,0.1 do
- fat.Event:wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(50),math.rad(0)),.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0,necko *angles(math.rad(0),math.rad(-40),math.rad(0)),.5)
- RW.C0 = Lerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.4)
- LW.C0 = Lerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
- RH.C0=Lerp(RH.C0,cf(.5,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
- LH.C0=Lerp(LH.C0,cf(-.5,-1,0)*angles(math.rad(0),math.rad(50),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- if grabbed == true then
- for i = 0,1,0.1 do
- fat.Event:wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(-50),math.rad(0)),.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0,necko *angles(math.rad(0),math.rad(40),math.rad(0)),.5)
- RW.C0 = Lerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.4)
- LW.C0 = Lerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
- RH.C0=Lerp(RH.C0,cf(.5,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
- LH.C0=Lerp(LH.C0,cf(-.5,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- so("rbxassetid://"..misc.GroundSlam,torso,1,.9)
- local asd=sphere(Vector3.new(1,.25,1),RootPart.CFrame*CFrame.new(0,-2,0),.025,Vector3.new(1,1,1),3)
- asd.BrickColor=BrickColor.new('New Yeller')
- local asd=blast(Vector3.new(1,2,1),RootPart.CFrame*CFrame.new(0,-2,0),.025,Vector3.new(1,0,1),3)
- asd.BrickColor=BrickColor.new('New Yeller')
- for i,v in pairs(FindNearestTorso(torso.CFrame.p,15))do
- if v:FindFirstChild('Humanoid') then
- damage(v.Torso,15,21,1,1,RootPart)
- end
- end
- for i = 0,1,0.1 do
- fat.Event:wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0,RootCF*cf(0,0,0)* angles(math.rad(-50),math.rad(70),math.rad(0)),.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0,necko *angles(math.rad(0),math.rad(-60),math.rad(0)),.5)
- RW.C0 = Lerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.4)
- LW.C0 = Lerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-70)), 0.3)
- RH.C0=Lerp(RH.C0,cf(.5,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(50))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
- LH.C0=Lerp(LH.C0,cf(-.5,-1,0)*angles(math.rad(0),math.rad(50),math.rad(-50))*angles(math.rad(-10),math.rad(0),math.rad(0)),.4)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- end
- --for i,v in pairs(rarm:GetChildren()) do
- --if v.Name == "asd" and v:IsA("Weld") then
- -- v:Remove()
- --end
- --end
- grabbed = false
- attack = false
- end
- function goldenpunch()
- attack = true
- for i = 0,1,0.1 do
- fat.Event:wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * angles(math.rad(0),math.rad(-70),math.rad(0)), 0.3)
- hed.Weld.C0 = Lerp(hed.Weld.C0,necko *angles(math.rad(0),math.rad(60),math.rad(0)),.3)
- RW.C0 = Lerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(-50), math.rad(150), math.rad(90)), 0.3)
- LW.C0 = Lerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- if torvel>2 and torvel<18 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- elseif torvel<1 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- end
- end
- for i, v in pairs(getclosest(Hitbox.CFrame.p, 5.5)) do
- if v:FindFirstChild('Humanoid') then
- damage(v.Torso, mindamage+7,maxdamage+7, 1, 1, RootPart)
- end
- end
- so("http://roblox.com/asset/?id=200632211",Hitbox,1,.5)
- for i = 0,1,0.1 do
- fat.Event:wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(70),math.rad(0)),.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0,necko *angles(math.rad(0),math.rad(-60),math.rad(0)),.5)
- RW.C0 = Lerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.4)
- LW.C0 = Lerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- if torvel>2 and torvel<18 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(40*math.cos(sine/10)), math.rad(-20), 0), 0.4)
- elseif torvel<1 and hitfloor~=nil then
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- end
- end
- attack = false
- atktype(1,3)
- end
- function goldclap()
- attack=true
- local las=speed.Value
- speed.Value=0
- for i=0,1,.1 do
- wait(1/60)
- torso.Weld.C0 = Lerp(torso.Weld.C0, cn(0, -1, 0) * angles(0, 0, 0), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, cn(0, 1.5, 0) * angles(0, 0, 0), 0.4)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, cn(1.5, 0.51, .1) * angles(1.57,0,-.5), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, cn(-1.5, 0.51, .1) * angles(1.57,0,.5), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, cn(-.5, -1, 0) * angles(0,0,-.1), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, cn(.5, -1, 0) * angles(0,0,.1), 0.4)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- local a=makeeffect(workspace,Vector3.new(3,1,3), RootPart.CFrame*cn(0,-2,0), .35, .025, Vector3.new(1,.1,1), 10,Meshes.Blast, nil)
- a.BrickColor=BrickColor.new'New Yeller'
- local a=makeeffect(workspace,Vector3.new(3,3,3), RootPart.CFrame*angles(0,1.57,0), .35, .025, Vector3.new(1,1,1), 10,Meshes.Ring, nil)
- a.BrickColor=BrickColor.new'New Yeller'
- local a=makeeffect(workspace,Vector3.new(3,3,3), RootPart.CFrame*angles(1.57,0,0), .35, .025, Vector3.new(1,1,1), 10,Meshes.Ring, nil)
- a.BrickColor=BrickColor.new'New Yeller'
- local a=makeeffect(workspace,Vector3.new(3,3,3), RootPart.CFrame*angles(0,0,0), .35, .025, Vector3.new(1,1,1), 10,Meshes.Ring, nil)
- a.BrickColor=BrickColor.new'New Yeller'
- so("rbxassetid://180204501",a, 1,1)
- so("rbxassetid://180204586",a, 1,1)
- so("rbxassetid://180204603",a, 1,1)
- for i, v in pairs(getclosest(torso.CFrame.p, 15)) do
- if v:FindFirstChild('Humanoid') then
- damage(v.Torso, mindamage+7,maxdamage+7, 1, 1, RootPart)
- coroutine.wrap(function()
- if v:FindFirstChild'Stats' then
- local lasasdf=v.Stats.Speed.Value
- v.Stats.Speed.Value=lasasdf/2
- wait(3)
- if v.Stats.Speed.Value <= lasasdf/2 then
- v.Stats.Speed.Value=lasasdf
- end
- end
- end)()
- end
- end
- for i=0,1,.1 do
- wait(1/60)
- torso.Weld.C0 = Lerp(torso.Weld.C0, cn(0, -1, 0) * angles(0, 0, 0), 0.8)
- hed.Weld.C0 = Lerp(hed.Weld.C0, cn(0, 1.5, -.1) * angles(-.2, 0, 0), 0.8)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, cn(1.2, 0.5, -.5) * angles(1.57,0,-1), 0.8)
- larm.Weld.C0 = Lerp(larm.Weld.C0, cn(-1.2, 0.5, -.5) * angles(1.57,0,1), 0.8)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, cn(-.5, -1, 0) * angles(0,0,-.1), 0.8)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, cn(.5, -1, 0) * angles(0,0,.1), 0.8)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- speed.Value=1
- attack=false
- end
- function equip()
- equipped=true
- end
- function unequip()
- equipped=false
- end
- equipped=true
- inputserv.InputBegan:connect(function(k)
- if k.KeyCode == Enum.KeyCode.Z and attack==false and equipped==true and typing == false and cooldown1 >= co1 and stamina>=skill1stam then
- subtractstamina(skill1stam)
- cooldown1=0
- goldenpunch()
- elseif k.KeyCode == Enum.KeyCode.X and attack==false and equipped==true and typing == false and cooldown2 >= co2 and stamina>=skill2stam then
- subtractstamina(skill2stam)
- cooldown2=0
- hammerfist()
- elseif k.KeyCode == Enum.KeyCode.C and attack==false and equipped==true and typing == false and cooldown3 >= co3 and stamina>=skill3stam then
- subtractstamina(skill3stam)
- cooldown3=0
- goldclap()
- elseif k.KeyCode == Enum.KeyCode.V and attack==false and equipped==true and typing == false and cooldown4 >= co4 and stamina>=skill4stam then
- --elseif k.KeyCode == Enum.KeyCode.V and attack==false then
- grabsmash()
- end
- end)
- inputserv.InputBegan:connect(function(k)
- if k.KeyCode == Enum.KeyCode.Slash then
- local fin = nil
- typing = true
- fin = inputserv.InputBegan:connect(function(k)
- if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then
- typing = false
- fin:disconnect()
- end
- end)
- end
- end)
- mouse.Button1Down:connect(function()
- if attack==false and equipped==true then
- if attacktype==1 then
- attackone()
- elseif attacktype==2 then
- attacktwo()
- end
- end
- end)
- function updateskills()
- if cooldown1 <= co1 then
- cooldown1 = cooldown1 + 1 / 30
- end
- if cooldown2 <= co2 then
- cooldown2 = cooldown2 + 1 / 30
- end
- if cooldown3 <= co3 then
- cooldown3 = cooldown3 + 1 / 30
- end
- if cooldown4 <= co4 then
- cooldown4 = cooldown4 + 1 / 30
- end
- if stamina<=skill1stam then
- bar4.BackgroundColor3=c3(104/255,104/255,104/255)
- else
- bar4.BackgroundColor3=skillcolorscheme
- end
- if stamina<=skill2stam then
- bar3.BackgroundColor3=c3(104/255,104/255,104/255)
- else
- bar3.BackgroundColor3=skillcolorscheme
- end
- if stamina<=skill3stam then
- bar1.BackgroundColor3=c3(104/255,104/255,104/255)
- else
- bar1.BackgroundColor3=skillcolorscheme
- end
- if stamina<=skill4stam then
- bar2.BackgroundColor3=c3(104/255,104/255,104/255)
- else
- bar2.BackgroundColor3=skillcolorscheme
- end
- if stamina <= maxstamina then
- stamina = stamina + recovermana / 30
- end
- end
- sine=0
- change=1
- fat.Event:connect(function()
- updateskills()
- healthcover:TweenSize(ud(1 * (char.Humanoid.Health / char.Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5)
- staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), 'Out', 'Quad', .5)
- bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
- bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
- bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
- bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
- torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
- velderp=RootPart.Velocity.y
- sine = sine + change
- hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,char)
- char.Humanoid.WalkSpeed=16*speed.Value
- 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 and state=='none' then
- Anim="Jump"
- if attack == false then
- torso.Weld.C0 = Lerp(torso.Weld.C0, cn(0, -1, 0) * angles(.3, 0, 0), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, cn(0, 1.5, 0) * angles(.3, 0, 0), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, cn(1.5, 0.65, 0) * angles(-.4, 0, .3), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, cn(-1.5, 0.65, 0) * angles(-.4, 0, -.3), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, cn(-.5, -1, 0) * angles(-.4, 0, -.3), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, cn(.5, -1, 0) * angles(-.4, 0, .3), 0.2)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value~=true then
- Anim = "Fall"
- if attack == false then
- torso.Weld.C0 = Lerp(torso.Weld.C0, cn(0, -1, 0) * angles(-.1, 0, 0), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, cn(0, 1.5, 0) * angles(-.1, 0, 0), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, cn(1.5, 0.65, 0) * angles(0, 0, .7), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, cn(-1.5, 0.65, 0) * angles(0, 0, -.7), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, cn(-.5, -1, 0) * angles(0, 0, -.1), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, cn(.5, -1, 0) * angles(0, 0, .1), 0.2)
- end
- elseif torvel<1 and hitfloor~=nil and state=='none' then
- Anim="Idle"
- if attack==false then
- if not equipped then
- change=1
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(5*math.cos(sine/25)), math.rad(0), 0), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(10)+math.sin(sine/22)/5,0,0), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(10)+math.sin(sine/22)/5,0,0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- --handleweld.C0 = Lerp(handleweld.C0, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0),.2)
- elseif equipped==true then
- change=1
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(0, math.rad(-20), 0), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-1)+math.sin(sine/22)/15, math.rad(20), 0), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-5)+math.sin(sine/35)/10,math.rad(-30),math.rad(30)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(10)+math.sin(sine/22)/5,0,math.rad(-10)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-5)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(0, 0, math.rad(5)), 0.2)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
- end
- end
- elseif torvel>2 and torvel<18 and hitfloor~=nil and state=='none' then
- Anim="Walk"
- if attack==false then
- if not equipped then
- change=3
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(3*math.cos(sine/10)), 0), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(35*math.cos(sine/15)),math.rad(0),0), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-35*math.cos(sine/15)),math.rad(0),0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0) * CFrame.Angles(math.rad(35*math.cos(sine/15)), 0, 0), .2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0) * CFrame.Angles(math.rad(-35*math.cos(sine/15)), 0, 0), .2)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
- elseif equipped==true then
- change=1
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(-.1, math.rad(0), 0), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(.1, math.rad(0), 0), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),0,math.rad(-20)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0) * CFrame.Angles(0, math.rad(0), 0)*CFrame.Angles(math.rad(90*math.cos(sine/3)),0,0), .2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0) * CFrame.Angles(0, math.rad(0), 0)*CFrame.Angles(math.rad(-90*math.cos(sine/3)),0,0), .2)
- Finger1weld.C0=Lerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
- Finger2weld.C0=Lerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- Finger3weld.C0=Lerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
- Finger4weld.C0=Lerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
- Finger5weld.C0=Lerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
- end
- end
- elseif torvel>=18 and hitfloor~=nil and state=='none' then
- Anim="Run"
- if attack==false then
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(55*math.cos(sine/10)),math.rad(55*math.cos(sine/10)),0), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-55*math.cos(sine/10)),math.rad(55*math.cos(sine/10)),0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0) * CFrame.Angles(math.rad(55*math.cos(sine/10)), 0, 0), .2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0) * CFrame.Angles(math.rad(-55*math.cos(sine/10)), 0, 0), .2)
- end
- elseif state=='Sit' then
- if attack==false then
- char.Humanoid.WalkSpeed=0
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(40), math.rad(0), 0), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-50),0,math.rad(0)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -.3, -.7) * CFrame.Angles(math.rad(-10), 0, 0), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(50), math.rad(0), 0), 0.2)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement