SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | - | -- == Nightmares' Axe by Yourfirstnightmare == -- |
| 2 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
| 3 | - | -- == Also known as Kyndre, If this is leaked keep credits pleaase. == -- |
| 3 | + | do |
| 4 | - | -- == Enjoy... -- == |
| 4 | + | print("FE Compatibility code by Mokiros")
|
| 5 | - | local p = game.Players.LocalPlayer |
| 5 | + | script.Parent = Player.Character |
| 6 | ||
| 7 | - | local mouse = p:GetMouse() |
| 7 | + | --RemoteEvent for communicating |
| 8 | local Event = Instance.new("RemoteEvent")
| |
| 9 | Event.Name = "UserInput_Event" | |
| 10 | ||
| 11 | --Fake event to make stuff like Mouse.KeyDown work | |
| 12 | local function fakeEvent() | |
| 13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 14 | t.connect = t.Connect | |
| 15 | return t | |
| 16 | end | |
| 17 | ||
| 18 | --Creating fake input objects with fake variables | |
| 19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 22 | - | local rs = game:GetService("RunService").RenderStepped
|
| 22 | + | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
|
| 23 | end} | |
| 24 | --Merged 2 functions into one by checking amount of arguments | |
| 25 | CAS.UnbindAction = CAS.BindAction | |
| 26 | ||
| 27 | --This function will trigger the events that have been :Connect()'ed | |
| 28 | local function te(self,ev,...) | |
| 29 | local t = m[ev] | |
| 30 | if t and t._fakeEvent and t.Function then | |
| 31 | t.Function(...) | |
| 32 | end | |
| 33 | end | |
| 34 | m.TrigEvent = te | |
| 35 | UIS.TrigEvent = te | |
| 36 | ||
| 37 | Event.OnServerEvent:Connect(function(plr,io) | |
| 38 | if plr~=Player then return end | |
| 39 | if io.isMouse then | |
| 40 | m.Target = io.Target | |
| 41 | m.Hit = io.Hit | |
| 42 | else | |
| 43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 46 | end | |
| 47 | for _,t in pairs(CAS.Actions) do | |
| 48 | for _,k in pairs(t.Keys) do | |
| 49 | if k==io.KeyCode then | |
| 50 | t.Function(t.Name,io.UserInputState,io) | |
| 51 | end | |
| 52 | end | |
| 53 | end | |
| 54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 56 | end | |
| 57 | end) | |
| 58 | Event.Parent = NLS([==[ | |
| 59 | local Player = game:GetService("Players").LocalPlayer
| |
| 60 | local Event = script:WaitForChild("UserInput_Event")
| |
| 61 | ||
| 62 | local UIS = game:GetService("UserInputService")
| |
| 63 | local input = function(io,a) | |
| 64 | if a then return end | |
| 65 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 67 | end | |
| 68 | UIS.InputBegan:Connect(input) | |
| 69 | UIS.InputEnded:Connect(input) | |
| 70 | ||
| 71 | local Mouse = Player:GetMouse() | |
| 72 | local h,t | |
| 73 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 74 | --If player is not moving their mouse, client won't fire events | |
| 75 | while wait(1/30) do | |
| 76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 77 | h,t=Mouse.Hit,Mouse.Target | |
| 78 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 79 | end | |
| 80 | end]==],Player.Character) | |
| 81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 82 | end | |
| 83 | ||
| 84 | local p = owner | |
| 85 | local char = p.Character | |
| 86 | local larm = char["Left Arm"] | |
| 87 | local rarm = char["Right Arm"] | |
| 88 | local lleg = char["Left Leg"] | |
| 89 | local rleg = char["Right Leg"] | |
| 90 | local euler=CFrame.fromEulerAnglesXYZ | |
| 91 | local hed = char.Head | |
| 92 | local torso = char.Torso | |
| 93 | local hum = char.Humanoid | |
| 94 | local root = char.HumanoidRootPart | |
| 95 | local rj=root.RootJoint | |
| 96 | local slashing=false | |
| 97 | local canwalk = true | |
| 98 | local canwalk1 = true | |
| 99 | local canidle = true | |
| 100 | local new = Instance.new | |
| 101 | local v3 = Vector3.new | |
| 102 | local ns = NumberSequence.new | |
| 103 | local nr = NumberRange.new | |
| 104 | local Create = LoadLibrary("RbxUtility").Create
| |
| 105 | local bc = BrickColor.new | |
| 106 | local cf = CFrame.new | |
| 107 | attacking = false | |
| 108 | local cfa = CFrame.Angles | |
| 109 | local rad = math.rad | |
| 110 | local swingdb=false | |
| 111 | sine = 0 | |
| 112 | -------------------------- | |
| 113 | screengui=Instance.new("ScreenGui",p.PlayerGui)wide=Instance.new("Frame")
| |
| 114 | textbox=Instance.new("TextBox")spin=Instance.new("Frame")
| |
| 115 | textbox_2=Instance.new("TextBox")smash=Instance.new("Frame")
| |
| 116 | textbox_3=Instance.new("TextBox")wide.Transparency=1;wide.Name="wide"
| |
| 117 | wide.Size=UDim2.new(0,100,0,30)wide.BackgroundColor3=Color3.new(1,1,1) | |
| 118 | wide.BackgroundTransparency=1;wide.Position=UDim2.new(0.85,0,0.7,0)wide.Parent=screengui | |
| 119 | textbox.TextWrapped=true;textbox.TextScaled=true;textbox.BackgroundTransparency=.8 | |
| 120 | textbox.TextSize=30;textbox.FontSize=11;textbox.BorderSizePixel=2 | |
| 121 | textbox.Transparency=.8;textbox.BackgroundColor3=Color3.new(1,1,1)textbox.Font=5 | |
| 122 | textbox.Size=UDim2.new(1,0,1,0)textbox.Text="(E) Axe swing"textbox.Parent=wide;spin.Transparency=1 | |
| 123 | textbox.TextColor3=Color3.new(0,0,0) | |
| 124 | spin.Name="spin"spin.Size=UDim2.new(0,100,0,30) | |
| 125 | spin.BackgroundColor3=Color3.new(1,1,1)spin.BackgroundTransparency=1 | |
| 126 | spin.Position=UDim2.new(0.85,0,0.7,40)spin.Parent=screengui;textbox_2.TextWrapped=true | |
| 127 | textbox_2.TextScaled=true;textbox_2.BackgroundTransparency=.8;textbox_2.TextSize=35 | |
| 128 | textbox_2.FontSize=8;textbox_2.BorderSizePixel=2;textbox_2.Transparency=.8 | |
| 129 | textbox_2.TextTransparency=0 | |
| 130 | textbox_2.TextColor3=Color3.new(0,0,0) | |
| 131 | textbox_2.BackgroundColor3=Color3.new(1,1,1)textbox_2.Font=5;textbox_2.Size=UDim2.new(1,0,1,0) | |
| 132 | textbox_2.Text="(R) Whirl"textbox_2.Parent=spin;smash.Transparency=1;smash.Name="smash" | |
| 133 | smash.Size=UDim2.new(0,100,0,30)smash.BackgroundColor3=Color3.new(1,1,1) | |
| 134 | smash.BackgroundTransparency=1;smash.Position=UDim2.new(0.85,0,0.7,-40) | |
| 135 | smash.Parent=screengui;textbox_3.TextWrapped=true;textbox_3.TextScaled=true | |
| 136 | textbox_3.BackgroundTransparency=.8;textbox_3.TextSize=30;textbox_3.FontSize=11 | |
| 137 | textbox_3.BorderSizePixel=2;textbox_3.Transparency=.8 | |
| 138 | textbox_3.BackgroundColor3=Color3.new(1,1,1)textbox_3.Font=5;textbox_3.Size=UDim2.new(1,0,1,0) | |
| 139 | textbox_3.Text="(F) Ground smash"textbox_3.Parent=smash | |
| 140 | textbox_3.TextTransparency=0 | |
| 141 | textbox_3.TextColor3=Color3.new(0,0,0) | |
| 142 | textbox.TextTransparency=0 | |
| 143 | decapitate=Instance.new("Frame")
| |
| 144 | textbox_4=Instance.new("TextBox")decapitate.Transparency=1;decapitate.Name="decapitate"
| |
| 145 | decapitate.Size=UDim2.new(0,100,0,30)decapitate.BackgroundColor3=Color3.new(1,1,1) | |
| 146 | decapitate.BackgroundTransparency=1;decapitate.Position=UDim2.new(0.85,0,0.7,80) | |
| 147 | decapitate.Parent=screengui;textbox_4.TextWrapped=true;textbox_4.TextScaled=true | |
| 148 | textbox_4.BackgroundTransparency=0.8;textbox_4.TextSize=35;textbox_4.FontSize=8;textbox_4.BorderSizePixel=2 | |
| 149 | textbox_4.Transparency=0.8;textbox_4.BackgroundColor3=Color3.new(1,1,1)textbox_4.Font=5 | |
| 150 | textbox_4.Size=UDim2.new(1,0,1,0)textbox_4.Text="(Q) Decapitate"textbox_4.Parent=decapitate | |
| 151 | textbox_4.TextTransparency=0 | |
| 152 | textbox_3.TextColor3=Color3.new(0,0,0) | |
| 153 | textbox_4.TextColor3=Color3.new(0,0,0) | |
| 154 | textbox.TextColor3=Color3.new(0,0,0) | |
| 155 | -------------------------- | |
| 156 | local inputserv=game:GetService("UserInputService")
| |
| 157 | local folder=Instance.new("Folder",char)
| |
| 158 | folder.Name = "Cooldowns" | |
| 159 | local axecd=Instance.new("BoolValue",folder);axecd.Name="axeCD"
| |
| 160 | local whirlcd=Instance.new("BoolValue",folder);whirlcd.Name="whirlCD"
| |
| 161 | local smashcd=Instance.new("BoolValue",folder);smashcd.Name="smashCD"
| |
| 162 | local decapcd=Instance.new("BoolValue",folder);decapcd.Name="decapitateCD"
| |
| 163 | local cooldown = function(length,target,spellname,db) | |
| 164 | coroutine.wrap(function() | |
| 165 | repeat | |
| 166 | wait() | |
| 167 | length = length -.1 | |
| 168 | target.Text ="(" .. length .. ")"
| |
| 169 | until length <= 1 | |
| 170 | target.Text = spellname | |
| 171 | db.Value = false | |
| 172 | end)() | |
| 173 | end | |
| 174 | -------------------------- | |
| 175 | function NoOutline(Part) | |
| 176 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 177 | end | |
| 178 | db=game:GetService('Debris')
| |
| 179 | function Debris(item,timer) | |
| 180 | db:AddItem(item,timer) | |
| 181 | end | |
| 182 | function Lerp(a,b,c) | |
| 183 | return a:lerp(b,c) | |
| 184 | end | |
| 185 | ArtificialHB = Create("BindableEvent", script){
| |
| 186 | Parent = script, | |
| 187 | Name = "Heartbeat", | |
| 188 | } | |
| 189 | script:WaitForChild("Heartbeat")
| |
| 190 | frame = 1 / 30 | |
| 191 | tf = 0 | |
| 192 | allowframeloss = false | |
| 193 | tossremainder = false | |
| 194 | lastframe = tick() | |
| 195 | script.Heartbeat:Fire() | |
| 196 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 197 | tf = tf + s | |
| 198 | if tf >= frame then | |
| 199 | if allowframeloss then | |
| 200 | script.Heartbeat:Fire();lastframe = tick() | |
| 201 | else for i = 1, math.floor(tf / frame) do | |
| 202 | script.Heartbeat:Fire() | |
| 203 | end | |
| 204 | lastframe = tick() | |
| 205 | end if tossremainder then tf = 0 | |
| 206 | else tf = tf - frame * math.floor(tf / frame) | |
| 207 | end end end) | |
| 208 | function swait(num) | |
| 209 | if num == 0 or num == nil then | |
| 210 | ArtificialHB.Event:wait() | |
| 211 | else | |
| 212 | for i = 0, num do | |
| 213 | ArtificialHB.Event:wait() | |
| 214 | end | |
| 215 | end | |
| 216 | end | |
| 217 | ---------------------------------------------------- | |
| 218 | ||
| 219 | function fxpart(targetpos) | |
| 220 | local velpart=Instance.new("Part",workspace)
| |
| 221 | velpart.CFrame = targetpos.CFrame*CFrame.new(0,1,0) | |
| 222 | velpart.Velocity= Vector3.new(math.random(-25,25),math.random(20,60),math.random(-25,25)) | |
| 223 | velpart.CanCollide=false | |
| 224 | velpart.Size = Vector3.new(1,1,1) | |
| 225 | velpart.Transparency=1 | |
| 226 | return velpart | |
| 227 | end | |
| 228 | function show(target,text,timer) | |
| 229 | text = text or "" | |
| 230 | local fx=fxpart(target) | |
| 231 | local bbg=Instance.new("BillboardGui",fx)
| |
| 232 | Debris(fx,timer) | |
| 233 | Debris(bbg,timer) | |
| 234 | bbg.StudsOffset=Vector3.new(0,2,0) | |
| 235 | bbg.Size = UDim2.new(3,0,3,0) | |
| 236 | bbg.AlwaysOnTop=true | |
| 237 | local tlabel=Instance.new("TextLabel",bbg)
| |
| 238 | tlabel.Size = UDim2.new(1,0,1,0) | |
| 239 | tlabel.TextScaled=true | |
| 240 | tlabel.Text=text | |
| 241 | tlabel.BackgroundTransparency=1 | |
| 242 | end | |
| 243 | takedmg=function(hum,min,max,knockback) | |
| 244 | local knockb=Instance.new("BodyVelocity")
| |
| 245 | knockb.MaxForce=Vector3.new(4000,1000,4000) | |
| 246 | if knockback>1 then | |
| 247 | if hum.Parent:findFirstChild("Head") then
| |
| 248 | knockb.Parent = hum.Parent.Head | |
| 249 | Debris(knockb,.2) | |
| 250 | knockb.Velocity = torso.CFrame.lookVector*knockback | |
| 251 | local dmg=math.random(min,max) | |
| 252 | hum:TakeDamage(dmg) | |
| 253 | show(hum.Parent.Head,dmg,3) | |
| 254 | end | |
| 255 | else local dmg=hum:TakeDamage(min,max);show(hum.Parent.Head,dmg,3) | |
| 256 | end | |
| 257 | end | |
| 258 | local sound = Instance.new("Sound",torso)
| |
| 259 | sound.SoundId="rbxassetid://231917871" | |
| 260 | sound2=Instance.new("Sound",torso)
| |
| 261 | sound2.SoundId="rbxassetid://710036613" | |
| 262 | cut = Instance.new("Sound",torso)
| |
| 263 | cut.SoundId="rbxassetid://429400881" | |
| 264 | ---------------------------------------------------- | |
| 265 | --AXE generation | |
| 266 | ||
| 267 | New = function(Object, Parent, Name, Data) | |
| 268 | local Object = Instance.new(Object) | |
| 269 | for Index, Value in pairs(Data or {}) do
| |
| 270 | Object[Index] = Value | |
| 271 | end | |
| 272 | Object.Parent = Parent | |
| 273 | Object.Name = Name | |
| 274 | return Object | |
| 275 | end | |
| 276 | ||
| 277 | HandL = New("Part",char,"HandL",{BrickColor = BrickColor.new("Burnt Sienna"),Material = Enum.Material.Wood,Size = Vector3.new(0.5, 5.5999999, 0.5),CFrame = CFrame.new(2.22001171, 3.02700567, 17.8400173, 1.0000062, -9.53681592e-07, 8.94073594e-07, -1.19195079e-07, 1.00000095, 3.17847793e-08, 2.98028567e-07, 2.78228285e-08, 1.00000715),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
| |
| 278 | eeeg = New("Part",HandL,"eeeg",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 2, 0.5),CFrame = CFrame.new(2.21999168, 6.80004835, 17.8400211, 1.0000124, 2.56300791e-06, -2.9206667e-06, 4.17235611e-07, -1.00000191, -3.37739827e-08, -5.36448965e-07, -8.54409379e-08, -1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 279 | Mesh = New("CylinderMesh",eeeg,"Mesh",{Scale = Vector3.new(1.14999998, 1, 1.14999998),})
| |
| 280 | Joint = New("Weld",eeeg,"Joint",{Part0 = eeeg,Part1 = HandL,C0 = CFrame.new(1.02519989e-05, 3.77303553, 3.81469727e-06, 1.0000062, 5.36430946e-07, -8.3447344e-07, 1.60931552e-06, -1.00000095, -5.7618152e-08, -2.02657407e-06, -1.98921413e-09, -1.00000715),})
| |
| 281 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 2.20000005, 0.5),CFrame = CFrame.new(2.22001719, 1.47200155, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 282 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 283 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(-1.43051147e-06, 1.55500126, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 284 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.2200098, 3.92201042, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 285 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 286 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(-4.76837158e-07, -0.89500308, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 287 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001052, 3.72200918, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 288 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 289 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(-4.76837158e-07, -0.695002317, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 290 | Part = New("Part",HandL,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.900000095, 2, 0.400000006),CFrame = CFrame.new(2.21998835, 6.80004692, 17.239996, 4.67703603e-06, -4.17237106e-06, -1.0000124, 2.10601726e-07, 1.00000191, -2.02658111e-06, 1.00001431, -9.13845923e-08, 2.29282227e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 291 | Joint = New("Weld",Part,"Joint",{Part0 = Part,Part1 = HandL,C0 = CFrame.new(0.600011826, -3.7730341, -4.76837158e-06, 3.78293271e-06, 1.78817004e-07, 1.00000715, -3.21866855e-06, 1.00000095, -1.19205637e-07, -1.0000062, -2.14577494e-06, 2.59083413e-06),})
| |
| 292 | Part = New("Part",HandL,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.900000095, 2, 0.400000006),CFrame = CFrame.new(2.21999502, 6.80004644, 18.4400425, -4.58961222e-06, -4.17237106e-06, 1.0000124, -2.10601684e-07, 1.00000191, 2.02658111e-06, -1.00001431, -9.13847202e-08, -2.205398e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 293 | Joint = New("Weld",Part,"Joint",{Part0 = Part,Part1 = HandL,C0 = CFrame.new(0.600017548, -3.77303362, 3.81469727e-06, -3.69550935e-06, -1.78816947e-07, -1.00000715, -3.21866855e-06, 1.00000095, -1.19205765e-07, 1.0000062, 2.14577494e-06, -2.50341054e-06),})
| |
| 294 | ddddddddd = New("Part",HandL,"ddddddddd",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Metal,Size = Vector3.new(0.399999976, 0.5, 1.99999988),CFrame = CFrame.new(2.21998596, 6.80004692, 16.5399723, -1.0000124, -2.86106069e-06, 2.44379839e-06, -2.98027004e-07, -2.10601129e-07, -1.00000191, 4.76843411e-07, -1.00001431, 9.13884719e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 295 | Mesh = New("SpecialMesh",ddddddddd,"Mesh",{MeshType = Enum.MeshType.Torso,})
| |
| 296 | Joint = New("Weld",ddddddddd,"Joint",{Part0 = ddddddddd,Part1 = HandL,C0 = CFrame.new(-1.28746033e-05, -1.30002594, 3.77303457, -1.0000062, -4.17222452e-07, 7.74868226e-07, -1.96696874e-06, -1.7881618e-07, -1.00000715, 1.49010668e-06, -1.00000095, 1.19210029e-07),})
| |
| 297 | Hitbox = New("Part",HandL,"Hitbox",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Transparency = 1,Transparency = 1,Size = Vector3.new(3.59999871, 2.69999933, 0.600000024),CFrame = CFrame.new(2.22000647, 6.75003195, 17.8900318, -1.60932836e-06, -1.4901234e-06, 1.0000031, -6.15879401e-08, 1.00000048, 9.53683752e-07, -1.00000358, -3.17832267e-08, -1.01327976e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 298 | Joint = New("Weld",Hitbox,"Joint",{Part0 = Hitbox,Part1 = HandL,C0 = CFrame.new(0.0500144958, -3.72302461, -2.38418579e-07, -1.31130685e-06, -5.96063998e-08, -1.00000358, -1.07288145e-06, 1.00000048, -2.98026848e-08, 1.0000031, 5.3644078e-07, -7.15258352e-07),})
| |
| 299 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001362, 2.72200537, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 300 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 301 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(-1.1920929e-06, 0.304999828, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 302 | Mesh = New("BlockMesh",HandL,"Mesh",{Scale = Vector3.new(0.800000012, 1, 0.800000012),})
| |
| 303 | tip = New("Part",HandL,"tip",{BrickColor = BrickColor.new("Burnt Sienna"),Material = Enum.Material.Wood,Size = Vector3.new(0.5, 0.500002444, 0.5),CFrame = CFrame.new(2.21999836, 7.77707148, 17.8400211, 1.0000124, -2.56300837e-06, 2.68224449e-06, 4.17235839e-07, 1.00000191, 1.21197246e-07, -2.98026634e-07, -1.98350314e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
| |
| 304 | Mesh = New("BlockMesh",tip,"Mesh",{Scale = Vector3.new(0.800000012, 1, 0.800000012),})
| |
| 305 | Joint = New("Weld",tip,"Joint",{Part0 = tip,Part1 = HandL,C0 = CFrame.new(1.1920929e-06, -4.75005627, -3.81469727e-06, 1.0000062, 5.36431173e-07, -5.96052814e-07, -1.60931586e-06, 1.00000095, -2.98056655e-08, 1.78815344e-06, 8.94123602e-08, 1.00000715),})
| |
| 306 | ddddddddd = New("Part",HandL,"ddddddddd",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Metal,Size = Vector3.new(0.399999976, 0.5, 1.99999988),CFrame = CFrame.new(2.22000241, 6.80004597, 19.1400642, 1.0000124, 2.94848496e-06, -2.98033342e-07, -2.44377566e-06, 8.74295409e-08, -1.00000191, -5.6426768e-07, 1.00001431, -3.17831095e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 307 | Mesh = New("SpecialMesh",ddddddddd,"Mesh",{MeshType = Enum.MeshType.Torso,})
| |
| 308 | Attachment1 = New("Attachment",ddddddddd,"Attachment",{CFrame = CFrame.new(0, 0.25, -0.900000036, 0, -1, 0, 1, 0, -0, 0, 0, 1),})
| |
| 309 | Attachment2 = New("Attachment",ddddddddd,"Attachment",{CFrame = CFrame.new(0, 0.25, 0.900000036, 0, -1, 0, 1, 0, -0, 0, 0, 1),})
| |
| 310 | Joint = New("Weld",ddddddddd,"Joint",{Part0 = ddddddddd,Part1 = HandL,C0 = CFrame.new(1.43051147e-05, -1.30002785, 3.77303338, 1.0000062, -2.32457751e-06, -8.62291813e-07, 2.0543921e-06, 5.56447226e-08, 1.00000715, -1.25170811e-06, -1.00000095, -3.95985467e-09),})
| |
| 311 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001481, 2.32200432, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 312 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 313 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(-1.1920929e-06, 0.704999924, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 314 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001505, 2.12200403, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 315 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 316 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(-9.53674316e-07, 0.904999971, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 317 | ddddddddd = New("Part",HandL,"ddddddddd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.300000012, 0.600000024),CFrame = CFrame.new(2.22002268, 0.249996662, 17.8400249, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 318 | Mesh = New("CylinderMesh",ddddddddd,"Mesh",{Scale = Vector3.new(1.29999995, 1, 1.29999995),})
| |
| 319 | Joint = New("Weld",ddddddddd,"Joint",{Part0 = ddddddddd,Part1 = HandL,C0 = CFrame.new(-3.81469727e-06, 2.77700377, -7.62939453e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 320 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.2200129, 2.92200613, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 321 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 322 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(-9.53674316e-07, 0.104999304, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 323 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001243, 3.12200713, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 324 | - | rs:connect(function() |
| 324 | + | |
| 325 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(-9.53674316e-07, -0.0950012207, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 326 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001171, 3.32200789, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 327 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 328 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(-7.15255737e-07, -0.295001745, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 329 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001696, 1.62200129, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 330 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 331 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(-1.66893005e-06, 1.40500176, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 332 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Wood,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001791, 1.42200053, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 333 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 334 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(-2.14576721e-06, 1.60500205, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 335 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001123, 3.52200866, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 336 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 337 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(-7.15255737e-07, -0.495002031, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 338 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 2.20000005, 0.5),CFrame = CFrame.new(2.22000599, 3.97201204, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 339 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 340 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(3.33786011e-06, -0.945004463, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 341 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.2200141, 2.52200484, 17.8400211, 1.0000124, -2.56300814e-06, 2.68224426e-06, 4.17235611e-07, 1.00000191, 1.21197246e-07, -2.98026407e-07, -1.98351735e-09, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 342 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 343 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = HandL,C0 = CFrame.new(-1.1920929e-06, 0.504999876, -3.81469727e-06, 1.0000062, 5.36430946e-07, -5.96052587e-07, -1.60931563e-06, 1.00000095, -2.98056797e-08, 1.78815321e-06, 8.94123744e-08, 1.00000715),})
| |
| 344 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001004, 4.62200737, 17.8400211, 1, -1.49011134e-06, 1.49011544e-06, 1.49011123e-06, 1, 6.15909101e-08, -1.49011555e-06, -6.15886862e-08, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 345 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 346 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001386, 4.82200336, 17.8400211, 1.0000124, -3.63590243e-06, 3.87435102e-06, 1.49011817e-06, 1.00000191, 1.80804577e-07, -1.4901359e-06, -6.15894749e-08, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 347 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 348 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = eeeg,C0 = CFrame.new(-1.50203705e-05, 1.97804117, 0, 1, -1.07288054e-06, 9.53673407e-07, -1.07288088e-06, -1, 1.47028885e-07, 9.53673066e-07, -1.47029908e-07, -1),})
| |
| 349 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001314, 5.02200413, 17.8400211, 1.0000124, -3.63590243e-06, 3.87435102e-06, 1.49011817e-06, 1.00000191, 1.80804577e-07, -1.4901359e-06, -6.15894749e-08, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 350 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 351 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = eeeg,C0 = CFrame.new(-1.50203705e-05, 1.77804089, 0, 1, -1.07288054e-06, 9.53673407e-07, -1.07288088e-06, -1, 1.47028885e-07, 9.53673066e-07, -1.47029908e-07, -1),})
| |
| 352 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001266, 5.22200441, 17.8400211, 1.0000124, -3.63590243e-06, 3.87435102e-06, 1.49011817e-06, 1.00000191, 1.80804577e-07, -1.4901359e-06, -6.15894749e-08, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 353 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 354 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = eeeg,C0 = CFrame.new(-1.52587891e-05, 1.57804108, 0, 1, -1.07288054e-06, 9.53673407e-07, -1.07288088e-06, -1, 1.47028885e-07, 9.53673066e-07, -1.47029908e-07, -1),})
| |
| 355 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001195, 5.4220047, 17.8400211, 1.0000124, -3.63590243e-06, 3.87435102e-06, 1.49011817e-06, 1.00000191, 1.80804577e-07, -1.4901359e-06, -6.15894749e-08, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 356 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 357 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = eeeg,C0 = CFrame.new(-1.52587891e-05, 1.37804127, 0, 1, -1.07288054e-06, 9.53673407e-07, -1.07288088e-06, -1, 1.47028885e-07, 9.53673066e-07, -1.47029908e-07, -1),})
| |
| 358 | dfd = New("Part",HandL,"dfd",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Size = Vector3.new(0.5, 0.100000143, 0.5),CFrame = CFrame.new(2.22001123, 5.62200451, 17.8400211, 1.0000124, -3.63590243e-06, 3.87435102e-06, 1.49011817e-06, 1.00000191, 1.80804577e-07, -1.4901359e-06, -6.15894749e-08, 1.00001431),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 359 | Mesh = New("BlockMesh",dfd,"Mesh",{Scale = Vector3.new(0.899999976, 0.5, 0.899999976),})
| |
| 360 | Joint = New("Weld",dfd,"Joint",{Part0 = dfd,Part1 = eeeg,C0 = CFrame.new(-1.52587891e-05, 1.17804146, 0, 1, -1.07288054e-06, 9.53673407e-07, -1.07288088e-06, -1, 1.47028885e-07, 9.53673066e-07, -1.47029908e-07, -1),})
| |
| 361 | ||
| 362 | local color=Color3.new(0,0,0) | |
| 363 | local firstSequence = ColorSequence.new(color) | |
| 364 | Trail = New("Trail",HandL,"Trail",{Color =firstSequence,Enabled = false,})
| |
| 365 | Trail.Attachment0=Attachment1 | |
| 366 | Trail.Attachment1=Attachment2 | |
| 367 | Trail.Lifetime = .5 | |
| 368 | Trail.MinLength = 0 | |
| 369 | Weld = New("Weld",HandL,"Weld",{Part0 = HandL,C0 = CFrame.new(0, 1, 1, 0.866025448, 2.98023224e-08, 0.5, 0.49999997, -1.93715096e-07, -0.866025507, 7.4505806e-08, 1.00000012, -1.86264515e-07),})
| |
| 370 | Hitbox = New("Part",HandL,"Hitbox",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Transparency = 1,Transparency = 1,Size = Vector3.new(4.4000001, 2.70000005, 0.400000006),CFrame = CFrame.new(2.22000074, 6.76002264, -9.14998627, -1.19209375e-07, -1.49011612e-07, 1.00000131, 1.29170559e-08, 1.00000024, -1.19209389e-07, -1.00000155, 2.78181531e-08, 1.7881402e-07),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 371 | Joint = New("Weld",Hitbox,"Joint",{Part0 = Hitbox,Part1 = HandL,C0 = CFrame.new(-0.0300006866, -3.98301864, 1.1920929e-06, -4.17233593e-07, -1.49011194e-08, -1.00000346, -2.68221328e-07, 1.00000048, 1.49011568e-08, 1.00000298, -2.68221243e-07, 1.78814304e-07),})
| |
| 372 | for i,v in pairs(HandL:GetChildren()) do | |
| 373 | if v:IsA("BasePart") then
| |
| 374 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
| 375 | end | |
| 376 | end | |
| 377 | ||
| 378 | armweld=Instance.new("Weld",HandL)
| |
| 379 | armweld.Part0=HandL | |
| 380 | armweld.Part1=rarm | |
| 381 | armweld.C0 = CFrame.new(0,1,1)*CFrame.Angles(math.rad(90),rad(30),0) | |
| 382 | defaultc0= CFrame.new(0,1,1)*CFrame.Angles(math.rad(90),rad(30),0) | |
| 383 | ---------------------------------------------------- | |
| 384 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 385 | local wld = Instance.new("Weld", wp1)
| |
| 386 | wld.Part0 = wp0 | |
| 387 | wld.Part1 = wp1 | |
| 388 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 389 | end | |
| 390 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 391 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 392 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 393 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 394 | newWeld(torso, hed, 0, 1.5, 0) | |
| 395 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 396 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 397 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 398 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 399 | newWeld(root, torso, 0, -1, 0) | |
| 400 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 401 | (function() | |
| 402 | sine=sine+1 | |
| 403 | if hum.MoveDirection.x == 0 then | |
| 404 | if canidle == true then | |
| 405 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)--head | |
| 406 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0)*CFrame.new(0,0,0),.1) | |
| 407 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5+.1*math.sin(sine/20),0)*CFrame.Angles(math.rad(120+2*math.sin(sine/20)),math.rad(-25),math.rad(-10)), .1)--arm | |
| 408 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.5+.1*math.sin(sine/20),-.3)*CFrame.Angles(math.rad(65+2*math.sin(sine/20)),math.rad(0),math.rad(20)),.1)--arm | |
| 409 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)),.1)--leg | |
| 410 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(5)),.1)--leg | |
| 411 | armweld.C0 = Lerp(armweld.C0,defaultc0,.1) | |
| 412 | end | |
| 413 | end | |
| 414 | if hum.MoveDirection.x > 0 and canwalk1 == true or hum.MoveDirection.x < 0 and canwalk1==true then | |
| 415 | if canwalk1 == true then | |
| 416 | armweld.C0 = Lerp(armweld.C0,defaultc0,.1) | |
| 417 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 418 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), .1)--head | |
| 419 | end | |
| 420 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 421 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(5*math.sin(sine/8)), math.rad(0)), .1)--torso | |
| 422 | end | |
| 423 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 424 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(-25),math.rad(-10)), .1)--arm | |
| 425 | end | |
| 426 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 427 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.3)*CFrame.Angles(math.rad(65),math.rad(0),math.rad(20)), .1)--arm | |
| 428 | end | |
| 429 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 430 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(50*math.sin(sine/8)), math.rad(0), math.rad(0)),.1)--leg | |
| 431 | end | |
| 432 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 433 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50*math.sin(sine/8)), math.rad(0), math.rad(0)),.1)--leg | |
| 434 | end | |
| 435 | end | |
| 436 | end | |
| 437 | end) | |
| 438 | function wideswing() | |
| 439 | local hb=Hitbox.Touched:connect(function(hit) | |
| 440 | if attacking == true then return end | |
| 441 | attacking = true | |
| 442 | local tab={}
| |
| 443 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 444 | if v:IsA("Humanoid") then
| |
| 445 | table.insert(tab,v) | |
| 446 | end | |
| 447 | end | |
| 448 | if tab[1] and hit.Parent and hit.Parent:findFirstChild("Head") then
| |
| 449 | takedmg(tab[1],12,40,35) | |
| 450 | end | |
| 451 | end) | |
| 452 | for i=1,7 do | |
| 453 | swait() | |
| 454 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(65),math.rad(0),math.rad(0)), .3)--arm | |
| 455 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(65),math.rad(0),math.rad(0)), .3)--arm | |
| 456 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), .4) | |
| 457 | armweld.C0 = Lerp(armweld.C0,CFrame.new(0,1,1)*CFrame.Angles(rad(90),rad(90),0),.4) | |
| 458 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)),.6) | |
| 459 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(5)),.6) | |
| 460 | hed.Weld.C0 = Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.4) | |
| 461 | end | |
| 462 | Trail.Enabled = true | |
| 463 | swait() | |
| 464 | for i=1,7 do | |
| 465 | swait() | |
| 466 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(65),math.rad(0),math.rad(0)), .3)--arm | |
| 467 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(65),math.rad(0),math.rad(0)), .3)--arm | |
| 468 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), .4) | |
| 469 | armweld.C0 = Lerp(armweld.C0,CFrame.new(0,1,1)*CFrame.Angles(rad(90),rad(90),0),.4) | |
| 470 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)),.6) | |
| 471 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(5)),.6) | |
| 472 | end | |
| 473 | hb:Disconnect() | |
| 474 | attacking = false | |
| 475 | Trail.Enabled = false | |
| 476 | swait(.2) | |
| 477 | end | |
| 478 | function spin() | |
| 479 | local hb=Hitbox.Touched:connect(function(hit) | |
| 480 | if attacking == true then return end | |
| 481 | attacking = true | |
| 482 | local tab={}
| |
| 483 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 484 | if v:IsA("Humanoid") then
| |
| 485 | table.insert(tab,v) | |
| 486 | end | |
| 487 | end | |
| 488 | if tab[1] and hit.Parent and hit.Parent:findFirstChild("Head") then
| |
| 489 | takedmg(tab[1],5,20,3) | |
| 490 | end | |
| 491 | end) | |
| 492 | Trail.Enabled = true | |
| 493 | sound:Play() | |
| 494 | for i=1,1440,20 do | |
| 495 | swait() | |
| 496 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(95),math.rad(0),math.rad(0)), .3) | |
| 497 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(95),math.rad(0),math.rad(0)), .3) | |
| 498 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0)), .4) | |
| 499 | armweld.C0 = Lerp(armweld.C0,CFrame.new(0,1,1)*CFrame.Angles(rad(90),rad(90),0),.4) | |
| 500 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)),.6) | |
| 501 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(5)),.6) | |
| 502 | hed.Weld.C0 = Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.4) | |
| 503 | attacking = false | |
| 504 | end | |
| 505 | hb:Disconnect() | |
| 506 | Trail.Enabled = false | |
| 507 | attacking = false | |
| 508 | swait(.2) | |
| 509 | end | |
| 510 | function smash() | |
| 511 | for i=1,7 do | |
| 512 | swait() | |
| 513 | torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0,-1,0)*CFrame.new(0,3,0)*CFrame.Angles(rad(10),0,0),.4) | |
| 514 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.7,-1)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-45)),.4)--arm | |
| 515 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,.7,-1)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(45)),.4)--arm | |
| 516 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),.4)--leg | |
| 517 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),.4)--leg | |
| 518 | armweld.C0 = Lerp(armweld.C0,defaultc0*CFrame.Angles(rad(0),rad(-30),rad(-40))*CFrame.new(.7,.7,3),.4) | |
| 519 | end | |
| 520 | wait(.4) | |
| 521 | sound2:Play() | |
| 522 | Trail.Enabled = true | |
| 523 | for i=1,7 do | |
| 524 | swait() | |
| 525 | torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0,-1,0)*CFrame.new(0,3,0)*CFrame.Angles(rad(-120),0,0),.4) | |
| 526 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.7,-1)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-45)),.4)--arm | |
| 527 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,.7,-1)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(45)),.4)--arm | |
| 528 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),.4)--leg | |
| 529 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),.4)--leg | |
| 530 | armweld.C0 = Lerp(armweld.C0,defaultc0*CFrame.Angles(rad(70),rad(-10),rad(-20))*CFrame.new(-2,3,2.4),.4) | |
| 531 | end | |
| 532 | for i=5,70 do | |
| 533 | local z = Instance.new("Part",workspace)
| |
| 534 | Debris(z,5) | |
| 535 | NoOutline(z) | |
| 536 | z.CanCollide = false | |
| 537 | local hb=z.Touched:connect(function(hit) | |
| 538 | if not hit:IsDescendantOf(char) and hit.Parent:findFirstChildOfClass("Humanoid") and not hit.Parent:findFirstChild("Tagged") then
| |
| 539 | local hmn=hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 540 | local tag=Instance.new("IntValue",hit.Parent)
| |
| 541 | Debris(tag,3) | |
| 542 | tag.Name = "Tagged" | |
| 543 | takedmg(hmn,35,55,5) | |
| 544 | end | |
| 545 | end) | |
| 546 | z.BrickColor = BrickColor.new("Burnt Sienna")
| |
| 547 | z.Material = "Slate" | |
| 548 | z.Anchored = true | |
| 549 | z.Size = Vector3.new(4,4,4) | |
| 550 | z.CFrame = root.CFrame*CFrame.new(0,-1,-i)*CFrame.Angles(math.rad(math.random(-20,20)),math.rad(math.random(-20,30)),math.rad(math.random(-20,20))) | |
| 551 | end | |
| 552 | Trail.Enabled = false | |
| 553 | wait(.4) | |
| 554 | end | |
| 555 | function decapitate() | |
| 556 | for i=1,7 do | |
| 557 | swait() | |
| 558 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), .3)--arm | |
| 559 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(30)), .3)--arm | |
| 560 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), .4) | |
| 561 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)),.6) | |
| 562 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(5)),.6) | |
| 563 | hed.Weld.C0 = Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.4) | |
| 564 | armweld.C0= Lerp(defaultc0,CFrame.new(0,-5,0)*CFrame.Angles(rad(90),rad(-50),rad(0)),.3) | |
| 565 | end | |
| 566 | swait(.5) | |
| 567 | for i=1,7 do | |
| 568 | swait() | |
| 569 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), .3)--arm | |
| 570 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(30)), .3)--arm | |
| 571 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), .4) | |
| 572 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)),.6) | |
| 573 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(5)),.6) | |
| 574 | hed.Weld.C0 = Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.4) | |
| 575 | armweld.C0 = Lerp(defaultc0,CFrame.new(0,-5,0)*CFrame.Angles(rad(90),rad(-50),rad(0)), .3) | |
| 576 | end | |
| 577 | swait(.5) | |
| 578 | for i=1,7 do | |
| 579 | swait() | |
| 580 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), .3)--arm | |
| 581 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(30)), .3)--arm | |
| 582 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), .4) | |
| 583 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)),.6) | |
| 584 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(5)),.6) | |
| 585 | hed.Weld.C0 = Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.4) | |
| 586 | armweld.C0 = Lerp(armweld.C0,CFrame.new(0,-1,1)*CFrame.Angles(rad(90),rad(90),0),.4) | |
| 587 | end | |
| 588 | local ws=hum.WalkSpeed | |
| 589 | hum.WalkSpeed=0 | |
| 590 | for i=1,7 do | |
| 591 | swait() | |
| 592 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), .3)--arm | |
| 593 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(90),math.rad(20),math.rad(30)), .3)--arm | |
| 594 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), .4) | |
| 595 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)),.6) | |
| 596 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(5)),.6) | |
| 597 | hed.Weld.C0 = Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.4) | |
| 598 | armweld.C0 = Lerp(armweld.C0,CFrame.new(0,-1.3,1)*CFrame.Angles(rad(100),rad(100),0),.4) | |
| 599 | end | |
| 600 | local bvol=Instance.new("BodyVelocity",torso)
| |
| 601 | bvol.P = 100000 | |
| 602 | bvol.MaxForce=Vector3.new(bvol.P,0,bvol.P) | |
| 603 | bvol.Velocity = root.CFrame.lookVector*100 | |
| 604 | Debris(bvol,.2) | |
| 605 | local chopdb = false | |
| 606 | local hb=Hitbox.Touched:connect(function(hit) | |
| 607 | if chopdb==true then return end | |
| 608 | if hit.Parent:findFirstChild("Head") and hit.Parent:FindFirstChildOfClass("Humanoid") and not hit:IsDescendantOf(char) then
| |
| 609 | chopdb=true | |
| 610 | local hmu=hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 611 | cut:Play() | |
| 612 | for i,v in pairs(hit.Parent.Head:GetChildren()) do | |
| 613 | if v:IsA("Weld") then v:Destroy() end
| |
| 614 | end | |
| 615 | local clon=hit.Parent.Head:Clone() | |
| 616 | clon.Parent = Hitbox | |
| 617 | for i,v in pairs(clon:GetChildren()) do if v:IsA("Motor6D") or v:IsA("Attachment") then
| |
| 618 | v:Destroy() | |
| 619 | end | |
| 620 | end | |
| 621 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 622 | if v:IsA("Model") or v:IsA("Attachment") then
| |
| 623 | v:Destroy() | |
| 624 | end | |
| 625 | end | |
| 626 | show(hit.Parent.Head,"DECAPITAION",2) | |
| 627 | hit.Parent:findFirstChild("Head"):Remove()
| |
| 628 | local particleemitter=Instance.new("ParticleEmitter")particleemitter.Acceleration=Vector3.new(0,-50,0)particleemitter.Rate=10
| |
| 629 | particleemitter.Lifetime=NumberRange.new(1,3) | |
| 630 | particleemitter.Color=ColorSequence.new(Color3.new(1,0,0),Color3.new(1,0,0)) | |
| 631 | particleemitter.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.5)})particleemitter.Texture="rbxassetid://176677966"
| |
| 632 | particleemitter.Parent=clon | |
| 633 | local hweld=Instance.new("Weld",Hitbox)
| |
| 634 | hweld.C0 = CFrame.new(-2,0,0) | |
| 635 | hweld.Part0=clon | |
| 636 | hweld.Part1=Hitbox | |
| 637 | Debris(hweld,5) | |
| 638 | Debris(clon,6) | |
| 639 | end | |
| 640 | end) | |
| 641 | Trail.Enabled = true | |
| 642 | for i=1,400,20 do | |
| 643 | swait() | |
| 644 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), .3)--arm | |
| 645 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(90),math.rad(20),math.rad(30)), .3)--arm | |
| 646 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0)), .4) | |
| 647 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)),.6) | |
| 648 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(5)),.6) | |
| 649 | hed.Weld.C0 = Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.4) | |
| 650 | armweld.C0 = Lerp(armweld.C0,CFrame.new(0,-1.3,1)*CFrame.Angles(rad(100),rad(100),0),.4) | |
| 651 | end | |
| 652 | Trail.Enabled = false | |
| 653 | hb:Disconnect() | |
| 654 | hum.WalkSpeed = ws | |
| 655 | end | |
| 656 | inputserv.InputBegan:connect(function(input,gproc) | |
| 657 | if not gproc then | |
| 658 | if input.UserInputType == Enum.UserInputType.Keyboard then | |
| 659 | local key=input.KeyCode | |
| 660 | if key==Enum.KeyCode.E then -- e(swing) | |
| 661 | if axecd.Value then return end | |
| 662 | if swingdb then return end | |
| 663 | axecd.Value=true | |
| 664 | swingdb = true | |
| 665 | canwalk1=false | |
| 666 | canidle=false | |
| 667 | sound:Play() | |
| 668 | wideswing() | |
| 669 | cooldown(4,textbox,"(E) Axe swing",axecd) | |
| 670 | swingdb=false | |
| 671 | canwalk1=true | |
| 672 | canidle=true | |
| 673 | elseif key==Enum.KeyCode.R then -- r(whirl) | |
| 674 | if whirlcd.Value then return end | |
| 675 | if swingdb then return end | |
| 676 | swingdb = true | |
| 677 | whirlcd.Value = true | |
| 678 | canidle=false | |
| 679 | canwalk1=false | |
| 680 | sound:Play() | |
| 681 | spin() | |
| 682 | cooldown(15,textbox_2,"(R) Whirl",whirlcd) | |
| 683 | swingdb=false | |
| 684 | canwalk1=true | |
| 685 | canidle=true | |
| 686 | elseif key==Enum.KeyCode.F then -- f(smash) | |
| 687 | if smashcd.Value then return end | |
| 688 | if swingdb then return end | |
| 689 | swingdb=true | |
| 690 | smashcd.Value = true | |
| 691 | canwalk1=false | |
| 692 | canidle=false | |
| 693 | sound:Play() | |
| 694 | smash() | |
| 695 | cooldown(20,textbox_3,"(F) Smash ground",smashcd) | |
| 696 | canwalk1=true | |
| 697 | canidle=true | |
| 698 | swingdb=false | |
| 699 | elseif key==Enum.KeyCode.Q then | |
| 700 | print("q press")
| |
| 701 | if decapcd.Value then return end | |
| 702 | if swingdb then return end | |
| 703 | swingdb = true | |
| 704 | decapcd.Value = true | |
| 705 | canidle=false | |
| 706 | canwalk1=false | |
| 707 | decapitate() | |
| 708 | cooldown(25,textbox_4,"(Q) Decapitate",decapcd) | |
| 709 | canwalk1=true | |
| 710 | canidle=true | |
| 711 | swingdb=false | |
| 712 | end | |
| 713 | end | |
| 714 | end | |
| 715 | end) |