SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 4 | local RealPlayer = Player | |
| 5 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 6 | ||
| 7 | ||
| 8 | ||
| 9 | ||
| 10 | Effects = {} --sound effects, for advanced players.
| |
| 11 | local Player = game.Players.localPlayer | |
| 12 | local Character = Player.Character | |
| 13 | local Humanoid = Character.Humanoid | |
| 14 | z = Instance.new("Sound", Character)
| |
| 15 | z.SoundId = "rbxassetid://401120618"-- | |
| 16 | z.Looped = true --False for a one-time song. | |
| 17 | z.Pitch = 1.0 | |
| 18 | z.Volume = 1.6 | |
| 19 | wait(.1) | |
| 20 | z:Play() | |
| 21 | ------------------------ | |
| 22 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"MrWolf's Beast Claw.", "Green") | |
| 23 | wait(0.016666666666667) | |
| 24 | script.Archivable = false | |
| 25 | Effects = {}
| |
| 26 | local Player = game.Players.localPlayer | |
| 27 | local Character = Player.Character | |
| 28 | local Humanoid = Character.Humanoid | |
| 29 | local mouse = Player:GetMouse() | |
| 30 | local m = Instance.new("Model", Character)
| |
| 31 | m.Name = "WeaponModel" | |
| 32 | local effect = Instance.new("Model", Character)
| |
| 33 | effect.Name = "effecsfsafzx" | |
| 34 | local demon = Instance.new("Model", Character)
| |
| 35 | demon.Name = "demdemd" | |
| 36 | local LeftArm = Character["Left Arm"] | |
| 37 | local RightArm = Character["Right Arm"] | |
| 38 | local LeftLeg = Character["Left Leg"] | |
| 39 | local RightLeg = Character["Right Leg"] | |
| 40 | local do2target = nil | |
| 41 | local Head = Character.Head | |
| 42 | local Torso = Character.Torso | |
| 43 | local cam = game.Workspace.CurrentCamera | |
| 44 | local RootPart = Character.HumanoidRootPart | |
| 45 | local RootJoint = RootPart.RootJoint | |
| 46 | local equipped = false | |
| 47 | local attack = false | |
| 48 | local Anim = "Idle" | |
| 49 | local idle = 0 | |
| 50 | local attacktype = 1 | |
| 51 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
| 52 | local velocity = RootPart.Velocity.y | |
| 53 | local sine = 0 | |
| 54 | local change = 1 | |
| 55 | local mana = 0 | |
| 56 | local it = Instance.new | |
| 57 | vt = Vector3.new | |
| 58 | local grabbed = false | |
| 59 | local cf = CFrame.new | |
| 60 | local mr = math.rad | |
| 61 | local angles = CFrame.Angles | |
| 62 | local ud = UDim2.new | |
| 63 | local c3 = Color3.new | |
| 64 | local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 65 | Humanoid.Animator:Destroy() | |
| 66 | Character.Animate:Destroy() | |
| 67 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 68 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 69 | local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0)) | |
| 70 | RSH = nil | |
| 71 | RW = Instance.new("Weld")
| |
| 72 | LW = Instance.new("Weld")
| |
| 73 | RH = Torso["Right Hip"] | |
| 74 | LH = Torso["Left Hip"] | |
| 75 | RSH = Torso["Right Shoulder"] | |
| 76 | LSH = Torso["Left Shoulder"] | |
| 77 | RSH.Parent = nil | |
| 78 | LSH.Parent = nil | |
| 79 | RW.Name = "RW" | |
| 80 | RW.Part0 = Torso | |
| 81 | RW.C0 = cf(1.5, 0.5, 0) | |
| 82 | RW.C1 = cf(0, 0.5, 0) | |
| 83 | RW.Part1 = RightArm | |
| 84 | RW.Parent = Torso | |
| 85 | LW.Name = "LW" | |
| 86 | LW.Part0 = Torso | |
| 87 | LW.C0 = cf(-1.5, 0.5, 0) | |
| 88 | LW.C1 = cf(0, 0.5, 0) | |
| 89 | LW.Part1 = LeftArm | |
| 90 | LW.Parent = Torso | |
| 91 | clerp = function(a, b, t) | |
| 92 | ||
| 93 | return a:lerp(b, t) | |
| 94 | end | |
| 95 | ||
| 96 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 97 | local Create = RbxUtility.Create | |
| 98 | RemoveOutlines = function(part) | |
| 99 | ||
| 100 | part.TopSurface = 10 | |
| 101 | end | |
| 102 | ||
| 103 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 104 | ||
| 105 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 106 | RemoveOutlines(Part) | |
| 107 | return Part | |
| 108 | end | |
| 109 | ||
| 110 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 111 | ||
| 112 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 113 | if Mesh == "SpecialMesh" then | |
| 114 | Msh.MeshType = MeshType | |
| 115 | Msh.MeshId = MeshId | |
| 116 | end | |
| 117 | return Msh | |
| 118 | end | |
| 119 | ||
| 120 | local co1 = 3 | |
| 121 | local co2 = 10 | |
| 122 | local co3 = 15 | |
| 123 | local co4 = 30 | |
| 124 | local cooldown1 = 0 | |
| 125 | local cooldown2 = 0 | |
| 126 | local cooldown3 = 0 | |
| 127 | local cooldown4 = 0 | |
| 128 | local maxEnergy = 100 | |
| 129 | local Energy = 0 | |
| 130 | local skill1stam = 10 | |
| 131 | local skill2stam = 50 | |
| 132 | local skill3stam = 60 | |
| 133 | local skill4stam = 100 | |
| 134 | local recovermana = 5 | |
| 135 | local skillcolorscheme = BrickColor.new("Magenta").Color
| |
| 136 | local scrn = Instance.new("ScreenGui", Player.PlayerGui)
| |
| 137 | makeframe = function(par, trans, pos, size, color) | |
| 138 | ||
| 139 | local frame = Instance.new("Frame", par)
| |
| 140 | frame.BackgroundTransparency = trans | |
| 141 | frame.BorderSizePixel = 0 | |
| 142 | frame.Position = pos | |
| 143 | frame.Size = size | |
| 144 | frame.BackgroundColor3 = color | |
| 145 | return frame | |
| 146 | end | |
| 147 | ||
| 148 | makelabel = function(par, text) | |
| 149 | ||
| 150 | local label = Instance.new("TextLabel", par)
| |
| 151 | label.BackgroundTransparency = 1 | |
| 152 | label.Size = UDim2.new(1, 0, 1, 0) | |
| 153 | label.Position = UDim2.new(0, 0, 0, 0) | |
| 154 | label.TextColor3 = Color3.new(255, 255, 255) | |
| 155 | label.TextStrokeTransparency = 0 | |
| 156 | label.FontSize = Enum.FontSize.Size32 | |
| 157 | label.Font = Enum.Font.SourceSansLight | |
| 158 | label.BorderSizePixel = 0 | |
| 159 | label.TextScaled = true | |
| 160 | label.Text = text | |
| 161 | end | |
| 162 | ||
| 163 | framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.93, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme) | |
| 164 | framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.86, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme) | |
| 165 | framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.79, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme) | |
| 166 | framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.72, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme) | |
| 167 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 168 | bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 169 | bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 170 | bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 171 | text1 = makelabel(framesk1, "[z] Hunt") | |
| 172 | text2 = makelabel(framesk2, "[x] Ravage") | |
| 173 | text3 = makelabel(framesk3, "[c] Capture") | |
| 174 | text4 = makelabel(framesk4, "[v] Flower of Fear") | |
| 175 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 176 | ArtificialHB.Name = "Heartbeat" | |
| 177 | script:WaitForChild("Heartbeat")
| |
| 178 | frame = 0.033333333333333 | |
| 179 | tf = 0 | |
| 180 | allowframeloss = false | |
| 181 | tossremainder = false | |
| 182 | lastframe = tick() | |
| 183 | script.Heartbeat:Fire() | |
| 184 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 185 | ||
| 186 | tf = tf + s | |
| 187 | if frame <= tf then | |
| 188 | if allowframeloss then | |
| 189 | script.Heartbeat:Fire() | |
| 190 | lastframe = tick() | |
| 191 | else | |
| 192 | for i = 1, math.floor(tf / frame) do | |
| 193 | script.Heartbeat:Fire() | |
| 194 | end | |
| 195 | lastframe = tick() | |
| 196 | end | |
| 197 | if tossremainder then | |
| 198 | tf = 0 | |
| 199 | else | |
| 200 | tf = tf - frame * math.floor(tf / frame) | |
| 201 | end | |
| 202 | end | |
| 203 | end | |
| 204 | ) | |
| 205 | swait = function(num) | |
| 206 | ||
| 207 | if num == 0 or num == nil then | |
| 208 | ArtificialHB.Event:wait() | |
| 209 | else | |
| 210 | for i = 0, num do | |
| 211 | ArtificialHB.Event:wait() | |
| 212 | end | |
| 213 | end | |
| 214 | end | |
| 215 | ||
| 216 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
| 217 | ||
| 218 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
| |
| 219 | return Weld | |
| 220 | end | |
| 221 | ||
| 222 | rayCast = function(Position, Direction, Range, Ignore) | |
| 223 | ||
| 224 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 225 | end | |
| 226 | ||
| 227 | CreateSound = function(id, par, vol, pit) | |
| 228 | ||
| 229 | coroutine.resume(coroutine.create(function() | |
| 230 | ||
| 231 | local sou = Instance.new("Sound", par or workspace)
| |
| 232 | sou.Volume = vol | |
| 233 | sou.Pitch = pit or 1 | |
| 234 | sou.SoundId = id | |
| 235 | swait() | |
| 236 | sou:play() | |
| 237 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 238 | end | |
| 239 | )) | |
| 240 | end | |
| 241 | ||
| 242 | local getclosest = function(obj, distance) | |
| 243 | ||
| 244 | local last, lastx = distance + 1, nil | |
| 245 | for i,v in pairs(workspace:GetChildren()) do | |
| 246 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
| |
| 247 | local t = v.Torso | |
| 248 | local dist = t.Position - obj.Position.magnitude | |
| 249 | if dist <= distance and dist < last then | |
| 250 | last = dist | |
| 251 | lastx = v | |
| 252 | end | |
| 253 | end | |
| 254 | end | |
| 255 | return lastx | |
| 256 | end | |
| 257 | ||
| 258 | CreatePart2 = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size) | |
| 259 | ||
| 260 | if PartType == "Part" then | |
| 261 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 262 | RemoveOutlines(Part) | |
| 263 | return Part | |
| 264 | else | |
| 265 | do | |
| 266 | if PartType == "WedgePart" then | |
| 267 | local Part = Create("WedgePart")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 268 | RemoveOutlines(Part) | |
| 269 | return Part | |
| 270 | end | |
| 271 | end | |
| 272 | end | |
| 273 | end | |
| 274 | ||
| 275 | Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Dirt brown", "Handle", Vector3.new(1, 2, 1)) | |
| 276 | HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 277 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial black", "Claw", Vector3.new(1, 1, 1)) | |
| 278 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142869996, -0.598956585, -0.401195407, 0, 0, 1, 0.25881803, -0.965926111, 0, 0.965926111, 0.25881803, 0)) | |
| 279 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.150000006))
| |
| 280 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial black", "Claw", Vector3.new(1, 1, 1)) | |
| 281 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.858075142, -0.276378155, -0.49209857, 0.353552133, -0.866025269, 0.353555113, 0.707108736, -9.03335206e-07, -0.707104981, 0.612371027, 0.500000358, 0.61237365)) | |
| 282 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.100000001))
| |
| 283 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial black", "Claw", Vector3.new(1, 1, 1)) | |
| 284 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142959999, -0.79026103, -0.577523232, 0, 0, 1, 0.0581610166, -0.998307228, 0, 0.998307228, 0.0581610166, 0)) | |
| 285 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.400000006, 1, 0.100000001))
| |
| 286 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial black", "Claw", Vector3.new(1, 1, 1)) | |
| 287 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.857914209, 0.258751988, -0.512362957, 0.353553236, -0.866025567, -0.353553236, -0.707106471, 3.09715034e-07, -0.707107246, 0.612372994, 0.499999791, -0.6123721)) | |
| 288 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.100000001))
| |
| 289 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
| 290 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.508293927, 0.581420183, 0.355297565, -1, 0, 0, 0, -0.694275975, -0.719708979, 0, -0.719708979, 0.694275975)) | |
| 291 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1))
| |
| 292 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
| 293 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, -0.605236769, -0.322324991, 1, 0, 0, 0, 0.719708979, -0.694275975, 0, 0.694275975, 0.719708979)) | |
| 294 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1))
| |
| 295 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
| 296 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, 0.0117408261, -0.729162693, 1, 0, 0, 0, -0.0252030101, -0.999682367, 0, 0.999682367, -0.0252030101)) | |
| 297 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.208000004, 0.47299999, 0.47299999))
| |
| 298 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
| 299 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.123879015, -0.278857708, -0.00617899979, 0.965925336, -0.2588211, 0, 0.2588211, 0.965925336, 0, 0, 0, 1)) | |
| 300 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999))
| |
| 301 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.445813209, 0.210449979, 1.04200566)) | |
| 302 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.223450184, 0.0305250883, -0.00618699985, -0.25881803, 0.965926111, 0, -0.965926111, -0.25881803, 0, 0, 0, 1)) | |
| 303 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999))
| |
| 304 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
| 305 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.407537222, 0.0663063526, -0.00618699985, 0.707106352, -0.707107365, 0, 0.707107365, 0.707106352, 0, 0, 0, 1)) | |
| 306 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999))
| |
| 307 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.664211631, 0.210449979, 1.04200566)) | |
| 308 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0544009209, 0.0101571083, -0.00617499975, 0.499998987, 0.866025984, 0, -0.866025984, 0.499998987, 0, 0, 0, 1)) | |
| 309 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999))
| |
| 310 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
| 311 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.212381959, -0.663311005, -0.00618499983, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 312 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.730365157, 0.388499111, 1.00999999))
| |
| 313 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
| 314 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0184851885, 0.339620829, -0.0061809998, 0.715359032, -0.698757052, 0, 0.698757052, 0.715359032, 0, 0, 0, 1)) | |
| 315 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.834142029, 0.388499111, 1.00999999))
| |
| 316 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.627083898, 0.210449979, 1.04200566)) | |
| 317 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.280005217, -0.363016367, -0.00617299974, 0.707106352, 0.707107365, 0, -0.707107365, 0.707106352, 0, 0, 0, 1)) | |
| 318 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999))
| |
| 319 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.329999983)) | |
| 320 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, 0.00543988496, -0.414242506, 1, 0, 0, 0, -0.0252030101, -0.999682367, 0, 0.999682367, -0.0252030101)) | |
| 321 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1))
| |
| 322 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Industrial White", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
| 323 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.453824013, -0.291407824, -0.00616900017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 324 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.83414197, 0.388499111, 1.00999999))
| |
| 325 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 326 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51018995, -0.50767684, 0.297928989, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 327 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445))
| |
| 328 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725)) | |
| 329 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0117785633, -0.903934956, 0.39272213, 0.707106352, 0, 0.707107365, 0, 1, 0, -0.707107365, 0, 0.707106352)) | |
| 330 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
| |
| 331 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 332 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51076597, -0.677359819, -0.295575023, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 333 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445))
| |
| 334 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368)) | |
| 335 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0118038058, 0.689624906, 0.570050001, 0.707103848, 0, 0.707109809, -0.707109809, 0, 0.707103848, 0, -1, 0)) | |
| 336 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
| |
| 337 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 338 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.510767996, -0.508222818, -0.295575023, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 339 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445))
| |
| 340 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954)) | |
| 341 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.285520971, -0.664801836, -0.00591700012, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 342 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1))
| |
| 343 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.728394926, 0.35408181, 1.04200566)) | |
| 344 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.159419954, -0.695495844, -0.00616900017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 345 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 346 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Black", "Part", Vector3.new(0.796342552, 0.65287286, 1.04582763)) | |
| 347 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.144507021, 0.270431995, -0.00702500017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 348 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 349 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
| 350 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0228680372, -0.903097868, -0.00617699977, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 351 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
| |
| 352 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 353 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51076597, -0.157143831, -0.295579016, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 354 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445))
| |
| 355 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.475480139, 0.404664904, 1.04200566)) | |
| 356 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.236273766, -0.56151557, -0.0061809998, 0.707106352, 0.707107365, 0, -0.707107365, 0.707106352, 0, 0, 0, 1)) | |
| 357 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 358 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725)) | |
| 359 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000811070204, -0.902295828, 0.381639034, -0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, -0.707106829)) | |
| 360 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
| |
| 361 | Part = CreatePart2(m, Enum.Material.Neon, 0, 0, "Part", "Black", "Part", Vector3.new(1, 1, 1)) | |
| 362 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142869996, -0.618730307, -0.382281303, 0, 0, 1, 0.36670509, -0.93033725, 0, 0.93033725, 0.36670509, 0)) | |
| 363 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.709999979, 0.100000001))
| |
| 364 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368)) | |
| 365 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000812500715, 0.678554535, 0.570062876, -0.707106829, 0, 0.707106829, -0.707106829, 0, -0.707106829, 0, -1, 0)) | |
| 366 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
| |
| 367 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Black", "Part", Vector3.new(0.274916351, 0.495625556, 1.04582763)) | |
| 368 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.386464, 0.349603176, -0.00702300016, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 369 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 370 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954)) | |
| 371 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.285515964, -0.215442896, -0.00591900013, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 372 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1))
| |
| 373 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 374 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51019901, -0.156597853, 0.297930986, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 375 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445))
| |
| 376 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(1.06224263, 1.11860847, 1.04200566)) | |
| 377 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00774800777, 0.0171630383, -0.0061809998, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 378 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 379 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 380 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.510194004, -0.67681098, 0.297922999, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 381 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445))
| |
| 382 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "WedgePart", "Industrial White", "ClawMaterial", Vector3.new(1.0507766, 0.342107773, 0.210450009)) | |
| 383 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00591100007, -0.468749046, 0.193565369, 0, 0, 1, -0.700001419, -0.714141428, 0, 0.714141428, -0.700001419, 0)) | |
| 384 | CreateMesh("SpecialMesh", ClawMaterial, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.961421788))
| |
| 385 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 386 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00134065747, 0.207813978, 0.709334135, 0.707106829, 0, -0.707106829, 0, -1, 0, -0.707106829, 0, -0.707106829)) | |
| 387 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788))
| |
| 388 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
| 389 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00947299972, -0.114370823, -0.440932035, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 390 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.561885834, 0.961421788))
| |
| 391 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.411995441, 0.210450009)) | |
| 392 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00891099963, -0.798730135, 0.476718009, 0, 0, 1, 0, -1, 0, 1, 0, 0)) | |
| 393 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481))
| |
| 394 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.04586256, 0.210449979, 0.27767837)) | |
| 395 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00726700015, 0.0232260227, 0.391721964, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 396 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.764251173, 1))
| |
| 397 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.385787576, 0.210450009)) | |
| 398 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00509499991, -0.792718172, 0.456955969, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
| 399 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481))
| |
| 400 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
| 401 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00509600015, -0.696686029, 0.42363596, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
| 402 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788))
| |
| 403 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
| 404 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012203753, 0.206679821, 0.707822442, -0.707106352, 0, -0.707107365, 0, -1, 0, -0.707107365, 0, 0.707106352)) | |
| 405 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788))
| |
| 406 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
| 407 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00947900023, -0.695355177, 0.440928012, 0, 0, 1, 0, -1, 0, 1, 0, 0)) | |
| 408 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788))
| |
| 409 | MotorOne = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, "Industrial red", "MotorOne", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 410 | MotorOneWeld = CreateWeld(m, Handle, MotorOne, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.165818453, -0.00628910959, -0.978227913, -0.0732169896, -0.996971905, -0.0261989962, -0.542171299, 0.0618378855, -0.83798945, 0.837072074, -0.0471507274, -0.545057178)) | |
| 411 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
| 412 | ShardWeld = CreateWeld(m, MotorOne, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413149118, -0.00709122419, -1.08955288, 0.90752846, 5.51342964e-07, -0.419990718, -1.73971057e-06, 1, -2.44379044e-06, 0.419990718, 2.95042992e-06, 0.90752852)) | |
| 413 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 0.200000003, 0.200000003))
| |
| 414 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
| 415 | ShardWeld = CreateWeld(m, MotorOne, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.205875158, -0.00710588694, -1.48987699, 0.747897685, -5.36441803e-07, -0.663814127, -1.66893005e-06, 1, -2.68220901e-06, 0.663814127, 3.12924385e-06, 0.747897744)) | |
| 416 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
| |
| 417 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993)) | |
| 418 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151987076, 0.549069643, -0.614215612, -1.19581819e-06, 1, 1.37090683e-06, -0.999459982, -1.24052167e-06, 0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
| 419 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974)) | |
| 420 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151856542, -0.490994453, -0.295432806, -1.19581819e-06, 1, 1.37090683e-06, -0.961226821, -7.5250864e-07, -0.27575928, -0.27575931, -1.57952309e-06, 0.96122694)) | |
| 421 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989)) | |
| 422 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.015198648, 0.650615692, -0.406500697, -1.19581819e-06, 1, 1.37090683e-06, -0.978774786, -8.94069672e-07, -0.204939544, -0.204939514, -1.51991844e-06, 0.978774667)) | |
| 423 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974)) | |
| 424 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0152282119, 0.624634504, 0.129744053, -1.19581819e-06, 1, 1.37090683e-06, -0.832109034, -2.5331974e-07, -0.554612279, -0.554612339, -1.78813934e-06, 0.832108974)) | |
| 425 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019)) | |
| 426 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0152042508, 0.944105864, 0.894237399, 1.19581819e-06, -1, -1.37090683e-06, -0.999459982, -1.24052167e-06, 0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
| 427 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Claw", Vector3.new(1, 1, 1)) | |
| 428 | ClawWeld = CreateWeld(m, MotorOne, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.86121058, -0.0170745254, -0.650540829, 1.00000012, 0, 3.7252903e-09, 0, 1, 0, 3.7252903e-09, 0, 1.00000024)) | |
| 429 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2.5, 0.300000012, 0.519999981))
| |
| 430 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
| 431 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151966214, -1.64906764, 1.03426063, -1.19581819e-06, 1, 1.37090683e-06, 0.999459982, 1.24052167e-06, -0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
| 432 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
| 433 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0252064466, -1.54980397, -0.844281435, 1.19581819e-06, -1, -1.37090683e-06, 0.999459982, 1.24052167e-06, -0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
| 434 | MotorTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, "Industrial red", "MotorTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 435 | MotorTwoWeld = CreateWeld(m, Handle, MotorTwo, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0479729176, -0.503670454, -0.786706924, 0.0261989962, -0.996971905, -0.0732169896, 0.83798945, 0.0618378855, -0.542171299, 0.545057178, -0.0471507274, 0.837072074)) | |
| 436 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
| 437 | ShardWeld = CreateWeld(m, MotorTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413152218, -0.00709152222, -1.08955348, 0.90752846, 5.66244125e-07, -0.419990689, -1.74157321e-06, 1, -2.47359276e-06, 0.419990718, 2.98023224e-06, 0.907528639)) | |
| 438 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 0.200000003, 0.200000003))
| |
| 439 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
| 440 | ShardWeld = CreateWeld(m, MotorTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.20587635, -0.00710582733, -1.4898783, 0.747897685, -5.36441803e-07, -0.663814127, -1.6707927e-06, 1, -2.68220901e-06, 0.663814127, 3.12924385e-06, 0.747897804)) | |
| 441 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
| |
| 442 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993)) | |
| 443 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151982307, 0.549069643, -0.614216566, -1.19395554e-06, 1, 1.37090683e-06, -0.999459982, -1.24005601e-06, 0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
| 444 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974)) | |
| 445 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151848793, -0.490990877, -0.295432806, -1.19395554e-06, 1, 1.37090683e-06, -0.961226821, -7.74860382e-07, -0.27575931, -0.27575925, -1.63912773e-06, 0.961226881)) | |
| 446 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989)) | |
| 447 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151979923, 0.650617838, -0.406501412, -1.19395554e-06, 1, 1.37090683e-06, -0.978774786, -8.94069672e-07, -0.204939544, -0.204939514, -1.51991844e-06, 0.978774667)) | |
| 448 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974)) | |
| 449 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0152257681, 0.624636889, 0.129745722, -1.19395554e-06, 1, 1.37090683e-06, -0.832109034, -2.38418579e-07, -0.554612279, -0.554612339, -1.78813934e-06, 0.832108974)) | |
| 450 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019)) | |
| 451 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.015203476, 0.944107533, 0.894238472, 1.19395554e-06, -1, -1.37090683e-06, -0.999459982, -1.24005601e-06, 0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
| 452 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Claw", Vector3.new(1, 1, 1)) | |
| 453 | ClawWeld = CreateWeld(m, MotorTwo, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.86121142, -0.0170750618, -0.650540113, 1.00000012, -1.86264515e-09, 4.65661287e-09, -1.86264515e-09, 1, 0, 4.65661287e-09, 0, 1.00000024)) | |
| 454 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2.5, 0.300000012, 0.519999981))
| |
| 455 | CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
| 456 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151972771, -1.64906967, 1.03426158, -1.19395554e-06, 1, 1.37090683e-06, 0.999459982, 1.24005601e-06, -0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
| 457 | CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
| 458 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0252062082, -1.54980803, -0.844281912, 1.19395554e-06, -1, -1.37090683e-06, 0.999459982, 1.24005601e-06, -0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
| 459 | MotorThumb = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, "Industrial red", "MotorThumb", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 460 | MotorThumbWeld = CreateWeld(m, Handle, MotorThumb, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.436262846, -0.542311668, -0.983556807, -0.068211019, -0.995336354, 0.0682120249, -0.707106829, -7.08211871e-07, -0.707106709, 0.703809023, -0.0964656472, -0.703809083)) | |
| 461 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Claw", Vector3.new(1, 1, 1)) | |
| 462 | ClawWeld = CreateWeld(m, MotorThumb, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.607737899, 0.0110911727, 0.0515184402, 0.925057888, -4.47034836e-08, 0.379826128, -5.96046448e-08, 0.99999994, 2.68220901e-07, -0.379826188, -2.98023224e-07, 0.925057888)) | |
| 463 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2, 0.300000012, 0.370000005))
| |
| 464 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
| 465 | ShardWeld = CreateWeld(m, MotorThumb, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.414689064, 0.0210665464, 0.175723732, 0.990283549, 1.41561031e-06, -0.13906303, -1.4193356e-06, 0.99999994, 1.49011612e-07, 0.13906303, 8.94069672e-08, 0.990283489)) | |
| 466 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
| |
| 467 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
| 468 | ShardWeld = CreateWeld(m, MotorThumb, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.222025633, 0.0210601687, -0.0396541655, 0.908135235, 2.08616257e-06, -0.418677092, -1.47148967e-06, 1.00000012, 1.75833702e-06, 0.418677121, -9.23871994e-07, 0.908135176)) | |
| 469 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
| |
| 470 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
| 471 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129690766, -0.393394113, 0.191975117, -7.11530447e-07, 1, 2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097559, 0.258097589, 2.08616257e-07, -0.966118932)) | |
| 472 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003)) | |
| 473 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129775405, -0.706632137, 0.168079853, -7.11530447e-07, 1, 2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097559, -0.258097589, -2.08616257e-07, 0.966118932)) | |
| 474 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
| 475 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00299531221, -0.294105291, -0.00194394588, 7.11530447e-07, -1, -2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097559, -0.258097589, -2.08616257e-07, 0.966118932)) | |
| 476 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015)) | |
| 477 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012973249, -0.311598301, 0.0969114304, 7.11530447e-07, -1, -2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097559, 0.258097589, 2.08616257e-07, -0.966118932)) | |
| 478 | MotorThumbTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, "Industrial red", "MotorThumbTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 479 | MotorThumbTwoWeld = CreateWeld(m, Handle, MotorThumbTwo, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.444597721, 0.423756033, -0.897562623, -0.0682120249, -0.995336354, -0.068211019, 0.707106709, -7.08211871e-07, -0.707106829, 0.703809083, -0.0964656621, 0.703809023)) | |
| 480 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Claw", Vector3.new(1, 1, 1)) | |
| 481 | ClawWeld = CreateWeld(m, MotorThumbTwo, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.607738018, 0.0110911727, 0.0515185595, 0.925057888, -4.47034836e-08, 0.379826128, -5.96046448e-08, 0.99999994, 2.68220901e-07, -0.379826188, -2.98023224e-07, 0.925057888)) | |
| 482 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2, 0.300000012, 0.370000005))
| |
| 483 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
| 484 | ShardWeld = CreateWeld(m, MotorThumbTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.414689064, 0.0210665464, 0.175723612, 0.990283549, 1.42306089e-06, -0.139062777, -1.4193356e-06, 0.99999994, 1.49011612e-07, 0.139062807, 1.1920929e-07, 0.990283608)) | |
| 485 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
| |
| 486 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Industrial red", "Shard", Vector3.new(1, 1, 1)) | |
| 487 | ShardWeld = CreateWeld(m, MotorThumbTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.222025394, 0.0210601091, -0.0396541059, 0.908135235, 2.08616257e-06, -0.418677092, -1.72480941e-06, 1, 1.16229057e-06, 0.418677121, -3.57627869e-07, 0.908135176)) | |
| 488 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
| |
| 489 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
| 490 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.012969017, -0.393394232, 0.191974878, -7.11530447e-07, 1, 2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097589, 0.258097559, 1.78813934e-07, -0.966118813)) | |
| 491 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003)) | |
| 492 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129775107, -0.706632137, 0.168079972, -7.11530447e-07, 1, 2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097589, -0.258097559, -1.78813934e-07, 0.966118813)) | |
| 493 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
| 494 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00299596786, -0.29410553, -0.00194442272, 7.11530447e-07, -1, -2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097589, -0.258097559, -1.78813934e-07, 0.966118813)) | |
| 495 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really red", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015)) | |
| 496 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012973249, -0.311598063, 0.0969111919, 7.11530447e-07, -1, -2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097589, 0.258097559, 1.78813934e-07, -0.966118813)) | |
| 497 | MagniHit = CreatePart(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "MagniHit", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 498 | MagniHitWeld = CreateWeld(m, Character.HumanoidRootPart, MagniHit, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.01003361, -0.230025291, 0.070048213, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
| 499 | local CBlade = {}
| |
| 500 | local CBladeWelds = {}
| |
| 501 | for _,c in pairs(m:children()) do | |
| 502 | if c.className == "Part" then | |
| 503 | table.insert(CBlade, R67_PC6072) | |
| 504 | end | |
| 505 | end | |
| 506 | for _,c in pairs(m:children()) do | |
| 507 | if c.className == "Weld" then | |
| 508 | table.insert(CBladeWelds, R67_PC6072) | |
| 509 | print(R66_PC6093) | |
| 510 | end | |
| 511 | end | |
| 512 | -- NIGH-OMNI FATAL ERROR at PC6105: Re-wrote register: R67 in 'AssignReg' | |
| 513 | ||
| 514 | -- NIGH-OMNI FATAL ERROR at PC6106: Re-wrote register: R67 in 'AssignReg' | |
| 515 | ||
| 516 | --Hit = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", R66_PC6093, R67_PC6072(5, 0.200000003, 5)) | |
| 517 | -- NIGH-OMNI FATAL ERROR at PC6120: Re-wrote register: R66 in 'AssignReg' | |
| 518 | ||
| 519 | -- NIGH-OMNI FATAL ERROR at PC6134: Re-wrote register: R66 in 'AssignReg' | |
| 520 | ||
| 521 | HitWeld = CreateWeld(demon, Character.HumanoidRootPart, Hit, CFrame.new(0, R66_PC6093, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(R66_PC6093, -3.50004387, 0.0299530029, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
| 522 | CreateMesh("SpecialMesh", Hit, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(3, 4, 3))
| |
| 523 | FakeMotor = CreatePart(demon, Enum.Material.Neon, 0, 1, "Really black", "FakeMotor", Vector3.new(2.01999998, 0.2016, 2.36000013)) | |
| 524 | FakeMotorWeld = CreateWeld(demon, Hit, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0199999809, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 525 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
| 526 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -5.06998634, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
| 527 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(2.5, 10, 2.5))
| |
| 528 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
| 529 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -7.1599884, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
| 530 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(1, 10, 1))
| |
| 531 | TornadoHat = CreatePart(demon, Enum.Material.Neon, 0.20000000298023, 0.5, "Black", "TornadoHat", Vector3.new(3, 0.400000006, 3)) | |
| 532 | TornadoHatWeld = CreateWeld(demon, FakeMotor, TornadoHat, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, -1.65001106, -0.0699994564, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
| 533 | CreateMesh("SpecialMesh", TornadoHat, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1051557", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
| |
| 534 | local DBlade = {}
| |
| 535 | local DBladeWelds = {}
| |
| 536 | for _,c in pairs(demon:children()) do | |
| 537 | if c.className == "Part" then | |
| 538 | table.insert(DBlade, c) | |
| 539 | end | |
| 540 | end | |
| 541 | for _,c in pairs(demon:children()) do | |
| 542 | if c.className == "Weld" then | |
| 543 | table.insert(DBladeWelds, c) | |
| 544 | print(c) | |
| 545 | end | |
| 546 | end | |
| 547 | demon.Parent = nil | |
| 548 | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 549 | ||
| 550 | if hit.Parent == nil then | |
| 551 | return | |
| 552 | end | |
| 553 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 554 | for _,v in pairs(hit.Parent:children()) do | |
| 555 | if v:IsA("Humanoid") then
| |
| 556 | h = v | |
| 557 | end | |
| 558 | end | |
| 559 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 560 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 561 | return | |
| 562 | end | |
| 563 | local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
| |
| 564 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 565 | if HitSound ~= nil and HitPitch ~= nil then | |
| 566 | CreateSound(HitSound, hit, 1, HitPitch) | |
| 567 | end | |
| 568 | local Damage = math.random(minim, maxim) | |
| 569 | local blocked = false | |
| 570 | local block = hit.Parent:findFirstChild("Block")
| |
| 571 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 572 | blocked = true | |
| 573 | block.Value = block.Value - 1 | |
| 574 | print(block.Value) | |
| 575 | end | |
| 576 | if blocked == false then | |
| 577 | h.Health = h.Health - Damage | |
| 578 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 579 | else | |
| 580 | h.Health = h.Health - Damage / 2 | |
| 581 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 582 | end | |
| 583 | if Type == "Knockdown" then | |
| 584 | local hum = hit.Parent.Humanoid | |
| 585 | hum.PlatformStand = true | |
| 586 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 587 | ||
| 588 | swait(1) | |
| 589 | HHumanoid.PlatformStand = false | |
| 590 | end | |
| 591 | ), hum) | |
| 592 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 593 | local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 594 | local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
| |
| 595 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 596 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 597 | else | |
| 598 | do | |
| 599 | if Type == "Normal" then | |
| 600 | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
| |
| 601 | if knockback > 0 then | |
| 602 | vp.Parent = hit.Parent.Torso | |
| 603 | end | |
| 604 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 605 | else | |
| 606 | do | |
| 607 | if Type == "Up" then | |
| 608 | local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 609 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 610 | else | |
| 611 | do | |
| 612 | if Type == "DarkUp" then | |
| 613 | coroutine.resume(coroutine.create(function() | |
| 614 | ||
| 615 | for i = 0, 1, 0.1 do | |
| 616 | swait() | |
| 617 | BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
| |
| 618 | end | |
| 619 | end | |
| 620 | )) | |
| 621 | local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 622 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 623 | else | |
| 624 | do | |
| 625 | if Type == "Snare" then | |
| 626 | local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
| |
| 627 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 628 | else | |
| 629 | do | |
| 630 | if Type == "Freeze" then | |
| 631 | local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
| |
| 632 | local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
| |
| 633 | hit.Parent.Torso.Anchored = true | |
| 634 | coroutine.resume(coroutine.create(function(Part) | |
| 635 | ||
| 636 | swait(1.5) | |
| 637 | Part.Anchored = false | |
| 638 | end | |
| 639 | ), hit.Parent.Torso) | |
| 640 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 641 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 642 | end | |
| 643 | do | |
| 644 | local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
| |
| 645 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 646 | c = Instance.new("ObjectValue")
| |
| 647 | c.Name = "creator" | |
| 648 | c.Value = Player | |
| 649 | c.Parent = h | |
| 650 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 651 | end | |
| 652 | end | |
| 653 | end | |
| 654 | end | |
| 655 | end | |
| 656 | end | |
| 657 | end | |
| 658 | end | |
| 659 | end | |
| 660 | end | |
| 661 | end | |
| 662 | end | |
| 663 | end | |
| 664 | coroutine.resume(coroutine.create(function() | |
| 665 | if script.ClassName == "LocalScript" then | |
| 666 | game.StarterGui:SetCore("ChatMakeSystemMessage", {
| |
| 667 | Text = "Beast Z fixed by norp/end_itt"; | |
| 668 | Color = Color3.new(1, 0, 0); | |
| 669 | Font = Enum.Font.SourceSans; | |
| 670 | FontSize = Enum.FontSize.Size24; | |
| 671 | }) | |
| 672 | end | |
| 673 | end)) | |
| 674 | ||
| 675 | ShowDamage = function(Pos, Text, Time, Color) | |
| 676 | ||
| 677 | local Rate = 0.033333333333333 | |
| 678 | if not Pos then | |
| 679 | local Pos = Vector3.new(0, 0, 0) | |
| 680 | end | |
| 681 | local Text = Text or "" | |
| 682 | local Time = Time or 2 | |
| 683 | if not Color then | |
| 684 | local Color = Color3.new(1, 0, 1) | |
| 685 | end | |
| 686 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0)) | |
| 687 | EffectPart.Anchored = true | |
| 688 | local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
| |
| 689 | local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
| |
| 690 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 691 | EffectPart.Parent = game:GetService("Workspace")
| |
| 692 | delay(0, function() | |
| 693 | ||
| 694 | local Frames = Time / Rate | |
| 695 | for Frame = 1, Frames do | |
| 696 | wait(Rate) | |
| 697 | local Percent = Frame / Frames | |
| 698 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 699 | TextLabel.TextTransparency = Percent | |
| 700 | end | |
| 701 | if EffectPart and EffectPart.Parent then | |
| 702 | EffectPart:Destroy() | |
| 703 | end | |
| 704 | end | |
| 705 | ) | |
| 706 | end | |
| 707 | ||
| 708 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
| 709 | ||
| 710 | for _,c in pairs(workspace:children()) do | |
| 711 | local hum = c:findFirstChild("Humanoid")
| |
| 712 | if hum ~= nil then | |
| 713 | local head = c:findFirstChild("Torso")
| |
| 714 | if head ~= nil then | |
| 715 | local targ = head.Position - Part.Position | |
| 716 | local mag = targ.magnitude | |
| 717 | if mag <= magni and c.Name ~= Player.Name then | |
| 718 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1) | |
| 719 | end | |
| 720 | end | |
| 721 | end | |
| 722 | end | |
| 723 | end | |
| 724 | ||
| 725 | SlashEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 726 | ||
| 727 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 728 | prt.Anchored = true | |
| 729 | prt.CFrame = cframe | |
| 730 | msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=448386996", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 731 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 732 | coroutine.resume(coroutine.create(function(Part, Mesh, num) | |
| 733 | ||
| 734 | for i = 0, 1, delay do | |
| 735 | swait() | |
| 736 | Part.Transparency = i | |
| 737 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 738 | end | |
| 739 | Part.Parent = nil | |
| 740 | end | |
| 741 | ), prt, msh, (math.random(0, 1) + math.random()) / 5) | |
| 742 | end | |
| 743 | ||
| 744 | BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 745 | ||
| 746 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 747 | prt.Anchored = true | |
| 748 | prt.CFrame = cframe | |
| 749 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 750 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 751 | if Type == 1 or Type == nil then | |
| 752 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
| |
| 753 | else | |
| 754 | if Type == 2 then | |
| 755 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
| |
| 756 | end | |
| 757 | end | |
| 758 | end | |
| 759 | ||
| 760 | SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 761 | ||
| 762 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 763 | prt.Anchored = true | |
| 764 | prt.CFrame = cframe | |
| 765 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 766 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 767 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 768 | end | |
| 769 | ||
| 770 | RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 771 | ||
| 772 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 773 | prt.Anchored = true | |
| 774 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
| 775 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 776 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 777 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 778 | end | |
| 779 | ||
| 780 | CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 781 | ||
| 782 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 783 | prt.Anchored = true | |
| 784 | prt.CFrame = cframe | |
| 785 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 786 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 787 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 788 | end | |
| 789 | ||
| 790 | WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 791 | ||
| 792 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 793 | prt.Anchored = true | |
| 794 | prt.CFrame = cframe | |
| 795 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 796 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 797 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 798 | end | |
| 799 | ||
| 800 | SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 801 | ||
| 802 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 803 | prt.Anchored = true | |
| 804 | prt.CFrame = cframe | |
| 805 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 806 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 807 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 808 | end | |
| 809 | ||
| 810 | BreakEffect = function(brickcolor, cframe, x1, y1, z1) | |
| 811 | ||
| 812 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 813 | prt.Anchored = true | |
| 814 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 815 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 816 | local num = math.random(10, 50) / 1000 | |
| 817 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 818 | table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
| |
| 819 | end | |
| 820 | ||
| 821 | CloudEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 822 | ||
| 823 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 824 | prt.Anchored = true | |
| 825 | prt.CFrame = cframe | |
| 826 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 827 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 828 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 829 | end | |
| 830 | ||
| 831 | attackone = function() | |
| 832 | ||
| 833 | attack = true | |
| 834 | for i = 0, 1, 0.15 do | |
| 835 | swait() | |
| 836 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.3) | |
| 837 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(40)), 0.3) | |
| 838 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-130 + 10 * math.cos(sine / 8))), 0.3) | |
| 839 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
| 840 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3) | |
| 841 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
| 842 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 843 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 844 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 845 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 846 | end | |
| 847 | CreateSound("http://www.roblox.com/asset/?id=338586331", RootPart, 1, 0.8)
| |
| 848 | for i = 0, 1, 0.5 do | |
| 849 | swait() | |
| 850 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3) | |
| 851 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3) | |
| 852 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-190), math.rad(-90)), 0.3) | |
| 853 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
| 854 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 855 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
| 856 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 857 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 858 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 859 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 860 | end | |
| 861 | MagniDamage(MagniHit, 6, 10, 14, 0, "Normal", "199149221") | |
| 862 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, -1, -5) * angles(math.rad(90), 1.2, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
| |
| 863 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 1.2, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
| |
| 864 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 2, -5) * angles(math.rad(90), 1.2, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
| |
| 865 | for i = 0, 1, 0.1 do | |
| 866 | swait() | |
| 867 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
| 868 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(-60)), 0.5) | |
| 869 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-190), math.rad(-190)), 0.4) | |
| 870 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 871 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 872 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
| 873 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3) | |
| 874 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3) | |
| 875 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3) | |
| 876 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3) | |
| 877 | end | |
| 878 | attack = false | |
| 879 | end | |
| 880 | ||
| 881 | attacktwo = function() | |
| 882 | ||
| 883 | attack = true | |
| 884 | for i = 0, 1, 0.1 do | |
| 885 | swait() | |
| 886 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
| 887 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(40)), 0.3) | |
| 888 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-30)), 0.3) | |
| 889 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
| 890 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3) | |
| 891 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
| 892 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 893 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 894 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 895 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 896 | end | |
| 897 | MagniDamage(MagniHit, 6, 10, 13, 0, "Normal", "199149221") | |
| 898 | CreateSound("http://www.roblox.com/asset/?id=338586331", RootPart, 1, 1)
| |
| 899 | for i = 0, 1, 0.5 do | |
| 900 | swait() | |
| 901 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3) | |
| 902 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3) | |
| 903 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-190), math.rad(-90)), 0.3) | |
| 904 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
| 905 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 906 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
| 907 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 908 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 909 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 910 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 911 | end | |
| 912 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, -1, -5) * angles(math.rad(90), 1.8, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
| |
| 913 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 1.8, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
| |
| 914 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 2, -5) * angles(math.rad(90), 1.8, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
| |
| 915 | for i = 0, 1, 0.1 do | |
| 916 | swait() | |
| 917 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
| 918 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-60)), 0.5) | |
| 919 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-110), math.rad(-190)), 0.4) | |
| 920 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 921 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 922 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
| 923 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(50), math.rad(0)), 0.3) | |
| 924 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(50), math.rad(0)), 0.3) | |
| 925 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(50), math.rad(0)), 0.3) | |
| 926 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3) | |
| 927 | end | |
| 928 | attack = false | |
| 929 | end | |
| 930 | ||
| 931 | attackthree = function() | |
| 932 | ||
| 933 | attack = true | |
| 934 | for i = 0, 1, 0.1 do | |
| 935 | swait() | |
| 936 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
| 937 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(40)), 0.3) | |
| 938 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-60), math.rad(-100), math.rad(-60)), 0.3) | |
| 939 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
| 940 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3) | |
| 941 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
| 942 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 943 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 944 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 945 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 946 | end | |
| 947 | CreateSound("http://www.roblox.com/asset/?id=338586331", RootPart, 1, 0.7)
| |
| 948 | for i = 0, 1, 0.5 do | |
| 949 | swait() | |
| 950 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3) | |
| 951 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3) | |
| 952 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-100), math.rad(-90)), 0.3) | |
| 953 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
| 954 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 955 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
| 956 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 957 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 958 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 959 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 960 | end | |
| 961 | MagniDamage(MagniHit, 6, 13, 15, 0, "Normal", "199149221") | |
| 962 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(-1.5, 0, -5) * angles(math.rad(90), 0, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
| |
| 963 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, -5) * angles(math.rad(90), 0, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
| |
| 964 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(1.5, 0, -5) * angles(math.rad(90), 0, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
| |
| 965 | for i = 0, 1, 0.1 do | |
| 966 | swait() | |
| 967 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.5) | |
| 968 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-60)), 0.5) | |
| 969 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-260), math.rad(-100)), 0.4) | |
| 970 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 971 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 972 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
| 973 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3) | |
| 974 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3) | |
| 975 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3) | |
| 976 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3) | |
| 977 | end | |
| 978 | attack = false | |
| 979 | end | |
| 980 | ||
| 981 | findNearestTorso = function(pos) | |
| 982 | ||
| 983 | local list = (game.Workspace:children()) | |
| 984 | local torso = nil | |
| 985 | local dist = 1000 | |
| 986 | local temp, human, temp2 = nil, nil, nil | |
| 987 | for x = 1, #list do | |
| 988 | temp2 = list[x] | |
| 989 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
| 990 | temp = temp2:findFirstChild("Torso")
| |
| 991 | human = temp2:findFirstChild("Humanoid")
| |
| 992 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
| 993 | local dohit = true | |
| 994 | if Player.Neutral == false and game.Players:GetPlayerFromCharacter(temp.Parent) ~= nil and game.Players:GetPlayerFromCharacter(temp.Parent).TeamColor == Player.TeamColor then | |
| 995 | dohit = false | |
| 996 | end | |
| 997 | if dohit == true then | |
| 998 | torso = temp | |
| 999 | dist = (temp.Position - pos).magnitude | |
| 1000 | end | |
| 1001 | end | |
| 1002 | end | |
| 1003 | end | |
| 1004 | return torso, dist | |
| 1005 | end | |
| 1006 | ||
| 1007 | qaeoshotdog = function() | |
| 1008 | ||
| 1009 | attack = true | |
| 1010 | local x, y, z, newpos = nil, nil, nil, nil | |
| 1011 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 15, 15, 15, 2, 2, 2, 0.07)
| |
| 1012 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 0.5, 0.1, 0.5, 0.05)
| |
| 1013 | do | |
| 1014 | if do2target ~= nil and do2target.Parent.Humanoid.PlatformStand ~= true then | |
| 1015 | local dist = (Torso.Position - do2target.Position).magnitude | |
| 1016 | if dist < 50 then | |
| 1017 | Humanoid.WalkSpeed = 0 | |
| 1018 | RootPart.CFrame = do2target.CFrame * cf(0, 50, 5) | |
| 1019 | else | |
| 1020 | RootPart.CFrame = RootPart.CFrame * cf(0, 50, 5) | |
| 1021 | end | |
| 1022 | end | |
| 1023 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 15, 15, 15, 2, 2, 2, 0.07)
| |
| 1024 | for i = 0, 1, 0.1 do | |
| 1025 | swait() | |
| 1026 | if do2target ~= nil then | |
| 1027 | newpos = vt(do2target.Position.X, RootPart.Position.Y, do2target.Position.Z) | |
| 1028 | MoveCF = cf(RootPart.Position, newpos) | |
| 1029 | local mpos = Torso.CFrame * angles(0, 0, 0) | |
| 1030 | local cff = CFrame.new(mpos.p, newpos) * CFrame.Angles(math.pi / 2, 0, 0) | |
| 1031 | x = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ() | |
| 1032 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.28) | |
| 1033 | end | |
| 1034 | do | |
| 1035 | do | |
| 1036 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(30), math.rad(50)), 0.3) | |
| 1037 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 1038 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3) | |
| 1039 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
| 1040 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(30)), 0.3) | |
| 1041 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1042 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1043 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1044 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1045 | -- NIGH-OMNI FATAL ERROR at PC435: LeaveBlock: unexpected jumping out DO_STMT | |
| 1046 | ||
| 1047 | end | |
| 1048 | end | |
| 1049 | end | |
| 1050 | for i = 0, 1, 0.1 do | |
| 1051 | swait() | |
| 1052 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(70), math.rad(0), math.rad(80)), 0.28) | |
| 1053 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
| 1054 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 1055 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 1056 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
| 1057 | LH.C0 = clerp(LH.C0, cf(-1, -0.7, -1) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(-30)), 0.3) | |
| 1058 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1059 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1060 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1061 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1062 | end | |
| 1063 | hit = nil | |
| 1064 | for i = 1, 1 do | |
| 1065 | if hit == nil then | |
| 1066 | swait() | |
| 1067 | end | |
| 1068 | hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character) | |
| 1069 | end | |
| 1070 | local hit = nil | |
| 1071 | while hit == nil do | |
| 1072 | swait() | |
| 1073 | hit = rayCast(RightArm.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character) | |
| 1074 | end | |
| 1075 | hit = rayCast(RightArm.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character) | |
| 1076 | do | |
| 1077 | if hit ~= nil then | |
| 1078 | local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt())
| |
| 1079 | ref.Anchored = true | |
| 1080 | -- ref.CFrame = cf(pos) | |
| 1081 | game:GetService("Debris"):AddItem(ref, 3)
| |
| 1082 | for i = 1, 10 do | |
| 1083 | Col = hit.BrickColor | |
| 1084 | local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100)) | |
| 1085 | groundpart.Anchored = true | |
| 1086 | groundpart.CanCollide = true | |
| 1087 | -- groundpart.CFrame = cf(pos) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1088 | game:GetService("Debris"):AddItem(groundpart, 5)
| |
| 1089 | end | |
| 1090 | CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2)
| |
| 1091 | --[[ WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.05) | |
| 1092 | BreakEffect(hit.BrickColor, cf(pos), 0.1, 1, 0.1, 0.5, 5, 0.5, 0.05) | |
| 1093 | BreakEffect(hit.BrickColor, cf(pos), 0.1, 1, 0.1, 0.5, 5, 0.5, 0.05) | |
| 1094 | BreakEffect(hit.BrickColor, cf(pos), 0.1, 1, 0.1, 0.5, 5, 0.5, 0.05)]] | |
| 1095 | MagniDamage(ref, 9, 20, 23, math.random(10, 20), "Knockdown") | |
| 1096 | end | |
| 1097 | CloudEffect(BrickColor.new("Black"), RightArm.CFrame, 1, 1, 1, 0.5, 3, 0.5, 0.05)
| |
| 1098 | CloudEffect(BrickColor.new("Black"), RightArm.CFrame, 1, 1, 1, 1, 1, 1, 0.05)
| |
| 1099 | Humanoid.WalkSpeed = 16 | |
| 1100 | attack = false | |
| 1101 | end | |
| 1102 | end | |
| 1103 | end | |
| 1104 | ||
| 1105 | dead = function() | |
| 1106 | ||
| 1107 | attack = true | |
| 1108 | local x, y, z, newpos = nil, nil, nil, nil | |
| 1109 | for i = 0, 1, 0.1 do | |
| 1110 | swait() | |
| 1111 | if do2target ~= nil then | |
| 1112 | newpos = vt(do2target.Position.X, RootPart.Position.Y, do2target.Position.Z) | |
| 1113 | MoveCF = cf(RootPart.Position, newpos) | |
| 1114 | local mpos = Torso.CFrame * angles(0, 0, 0) | |
| 1115 | local cff = CFrame.new(mpos.p, newpos) * CFrame.Angles(math.pi / 2, 0, 0) | |
| 1116 | x = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ() | |
| 1117 | y = RootPart.CFrame:toEulerAnglesXYZ() | |
| 1118 | z = RootPart.CFrame:toEulerAnglesXYZ() | |
| 1119 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.Angles(x,y,z) * angles(0, 3.14, 0) * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.4) | |
| 1120 | else | |
| 1121 | do | |
| 1122 | do | |
| 1123 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.28) | |
| 1124 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(30), math.rad(50)), 0.3) | |
| 1125 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 1126 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3) | |
| 1127 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
| 1128 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(30)), 0.3) | |
| 1129 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1130 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1131 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1132 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1133 | end | |
| 1134 | end | |
| 1135 | end | |
| 1136 | end | |
| 1137 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 15, 15, 15, 2, 2, 2, 0.07)
| |
| 1138 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 0.5, 0.1, 0.5, 0.05)
| |
| 1139 | do | |
| 1140 | if do2target ~= nil then | |
| 1141 | local dist = (Torso.Position - do2target.Position).magnitude | |
| 1142 | if dist < 20 then | |
| 1143 | MagniDamage(do2target, 10, 10, 10, 10, "Normal") | |
| 1144 | end | |
| 1145 | end | |
| 1146 | CreateSound("http://www.roblox.com/asset/?id=338586299", RootPart, 1, 1)
| |
| 1147 | SlashEffect(BrickColor.new("Magenta"), Head.CFrame * cf(0, -1, -15) * angles(math.rad(0), 1.47, math.rad(90)) * angles(-1.47, 0, 0), 0.001, 0.1, 0.2, 0, 0.001, 0.003, 0.07)
| |
| 1148 | SlashEffect(BrickColor.new("Magenta"), Head.CFrame * cf(0, 0.5, -15) * angles(math.rad(0), 1.47, math.rad(90)) * angles(-1.47, 0, 0), 0.001, 0.1, 0.2, 0, 0.001, 0.003, 0.07)
| |
| 1149 | SlashEffect(BrickColor.new("Magenta"), Head.CFrame * cf(0, 2, -15) * angles(math.rad(0), 1.47, math.rad(90)) * angles(-1.47, 0, 0), 0.001, 0.1, 0.2, 0, 0.001, 0.003, 0.07)
| |
| 1150 | RootPart.CFrame = Head.CFrame * cf(0, 0, -30) | |
| 1151 | for i = 0, 1, 0.05 do | |
| 1152 | swait() | |
| 1153 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(70), math.rad(0), math.rad(80)), 0.28) | |
| 1154 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
| 1155 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 1156 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 1157 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
| 1158 | LH.C0 = clerp(LH.C0, cf(-1, -0.7, -1) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(-30)), 0.3) | |
| 1159 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1160 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1161 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1162 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1163 | end | |
| 1164 | attack = false | |
| 1165 | end | |
| 1166 | end | |
| 1167 | ||
| 1168 | Face = Head.face | |
| 1169 | Shirt = Character:FindFirstChild("Shirt")
| |
| 1170 | Pants = Character:FindFirstChild("Pants")
| |
| 1171 | Cloak = function() | |
| 1172 | ||
| 1173 | Face.Parent = nil | |
| 1174 | cloaked = true | |
| 1175 | for _,v in pairs(Torso.Parent:children()) do | |
| 1176 | do | |
| 1177 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 1178 | coroutine.resume(coroutine.create(function() | |
| 1179 | ||
| 1180 | for i = 0, 0.7, 0.2 do | |
| 1181 | swait() | |
| 1182 | v.Transparency = i | |
| 1183 | end | |
| 1184 | v.Transparency = 1 | |
| 1185 | end | |
| 1186 | )) | |
| 1187 | end | |
| 1188 | if v.className == "Hat" then | |
| 1189 | do | |
| 1190 | hatp = v.Handle | |
| 1191 | coroutine.resume(coroutine.create(function(derp) | |
| 1192 | ||
| 1193 | for i = 0, 0.7, 0.2 do | |
| 1194 | swait() | |
| 1195 | derp.Transparency = i | |
| 1196 | end | |
| 1197 | derp.Transparency = 1 | |
| 1198 | end | |
| 1199 | ), hatp) | |
| 1200 | -- NIGH-OMNI FATAL ERROR at PC38: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 1201 | ||
| 1202 | -- NIGH-OMNI FATAL ERROR at PC38: LeaveBlock: unexpected jumping out IF_STMT | |
| 1203 | ||
| 1204 | end | |
| 1205 | end | |
| 1206 | end | |
| 1207 | end | |
| 1208 | end | |
| 1209 | ||
| 1210 | UnCloak = function() | |
| 1211 | ||
| 1212 | CreateSound("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
| |
| 1213 | Face.Parent = Head | |
| 1214 | cloaked = false | |
| 1215 | for _,v in pairs(Torso.Parent:children()) do | |
| 1216 | do | |
| 1217 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 1218 | coroutine.resume(coroutine.create(function() | |
| 1219 | ||
| 1220 | for i = 0, 1, 0.1 do | |
| 1221 | swait() | |
| 1222 | v.Transparency = v.Transparency - 0.1 | |
| 1223 | end | |
| 1224 | v.Transparency = 0 | |
| 1225 | end | |
| 1226 | )) | |
| 1227 | end | |
| 1228 | if v.className == "Hat" then | |
| 1229 | do | |
| 1230 | hatp = v.Handle | |
| 1231 | coroutine.resume(coroutine.create(function(derp) | |
| 1232 | ||
| 1233 | for i = 0, 1, 0.1 do | |
| 1234 | swait() | |
| 1235 | derp.Transparency = derp.Transparency - 0.1 | |
| 1236 | end | |
| 1237 | derp.Transparency = 0 | |
| 1238 | end | |
| 1239 | ), hatp) | |
| 1240 | -- NIGH-OMNI FATAL ERROR at PC45: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 1241 | ||
| 1242 | -- NIGH-OMNI FATAL ERROR at PC45: LeaveBlock: unexpected jumping out IF_STMT | |
| 1243 | ||
| 1244 | end | |
| 1245 | end | |
| 1246 | end | |
| 1247 | end | |
| 1248 | end | |
| 1249 | ||
| 1250 | hotdog = function() | |
| 1251 | ||
| 1252 | attack = true | |
| 1253 | for i = 0, 1, 0.1 do | |
| 1254 | swait() | |
| 1255 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) | |
| 1256 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(20), math.rad(50)), 0.3) | |
| 1257 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 1258 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3) | |
| 1259 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
| 1260 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(30)), 0.3) | |
| 1261 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1262 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1263 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1264 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1265 | end | |
| 1266 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 20, 20, 20, 5, 5, 5, 0.07)
| |
| 1267 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 1, 0.5, 1, 0.05)
| |
| 1268 | --[[ local con = Hit.Touched:connect(function(hit) | |
| 1269 | ||
| 1270 | Damagefunc(Hit, hit, 10, 25, math.random(1, 5), "Snare", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
| 1271 | end | |
| 1272 | )]] | |
| 1273 | m.Parent = nil | |
| 1274 | demon.Parent = Character | |
| 1275 | Cloak() | |
| 1276 | CreateSound("http://roblox.com/asset/?id=257001320", Torso, 1, 0.5)
| |
| 1277 | CreateSound("http://roblox.com/asset/?id=28257433", Torso, 1, 0.5)
| |
| 1278 | for i = 0, 1, 0.02 do | |
| 1279 | swait() | |
| 1280 | MagniDamage(RootPart, 5, 1, 3, 0, "Normal") | |
| 1281 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 1, 1, 1, 5, 5, 5, 0.07)
| |
| 1282 | Torso.Velocity = RootPart.CFrame.lookVector * 75 | |
| 1283 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.5) | |
| 1284 | end | |
| 1285 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 20, 20, 20, 5, 5, 5, 0.07)
| |
| 1286 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 1, 0.5, 1, 0.05)
| |
| 1287 | UnCloak() | |
| 1288 | -- con:disconnect() | |
| 1289 | demon.Parent = nil | |
| 1290 | m.Parent = Character | |
| 1291 | for i = 0, 1, 0.05 do | |
| 1292 | swait() | |
| 1293 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(70), math.rad(0), math.rad(80)), 0.28) | |
| 1294 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
| 1295 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 1296 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 1297 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
| 1298 | LH.C0 = clerp(LH.C0, cf(-1, -0.7, -1) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(-30)), 0.3) | |
| 1299 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1300 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1301 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1302 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1303 | end | |
| 1304 | attack = false | |
| 1305 | end | |
| 1306 | ||
| 1307 | truehotdog = function() | |
| 1308 | ||
| 1309 | attack = true | |
| 1310 | for i = 0, 1, 0.1 do | |
| 1311 | swait() | |
| 1312 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 1, 1, 1, 0.5, 0.5, 0.5, 0.07)
| |
| 1313 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) | |
| 1314 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(20), math.rad(50)), 0.3) | |
| 1315 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 1316 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3) | |
| 1317 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
| 1318 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(30)), 0.3) | |
| 1319 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1320 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1321 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1322 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1323 | end | |
| 1324 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 20, 20, 20, 5, 5, 5, 0.07)
| |
| 1325 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 1, 0.5, 1, 0.05)
| |
| 1326 | m.Parent = nil | |
| 1327 | Cloak() | |
| 1328 | CreateSound("http://roblox.com/asset/?id=190119264", Torso, 1, 0.5)
| |
| 1329 | for i = 0, 1, 0.01 do | |
| 1330 | swait() | |
| 1331 | MagniDamage(RootPart, 15, 1, 3, -30, "Normal") | |
| 1332 | SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(math.random(-10, 10), -1, math.random(-10, 10)) * angles(math.random(-5, 5), math.random(-5, 5), 0) * angles(0, 0, math.random(-5, 5)), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
| |
| 1333 | CreateSound("http://roblox.com/asset/?id=62339698", Torso, 0.7, 2)
| |
| 1334 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 1, 1, 1, 5, 5, 5, 0.07)
| |
| 1335 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame * angles(0, math.random(-50, 50), 0), 1, 1, 1, math.random(0.5, 1), 0.5, math.random(0.5, 1), 0.05)
| |
| 1336 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, -1.5, 0) * angles(0, math.random(-50, 50), 0), 1, 1, 1, 1, -0.01, 1, 0.05)
| |
| 1337 | Torso.Velocity = RootPart.CFrame.lookVector * 10 | |
| 1338 | end | |
| 1339 | BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 20, 20, 20, 5, 5, 5, 0.07)
| |
| 1340 | WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 1, 0.5, 1, 0.05)
| |
| 1341 | UnCloak() | |
| 1342 | m.Parent = Character | |
| 1343 | for i = 0, 1, 0.05 do | |
| 1344 | swait() | |
| 1345 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(70), math.rad(0), math.rad(80)), 0.28) | |
| 1346 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
| 1347 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 1348 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
| 1349 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3) | |
| 1350 | LH.C0 = clerp(LH.C0, cf(-1, -0.7, -1) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(-30)), 0.3) | |
| 1351 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1352 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1353 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1354 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1355 | end | |
| 1356 | attack = false | |
| 1357 | end | |
| 1358 | ||
| 1359 | mouse.Button1Down:connect(function() | |
| 1360 | ||
| 1361 | if attack == false and attacktype == 1 then | |
| 1362 | attackone() | |
| 1363 | attacktype = 2 | |
| 1364 | else | |
| 1365 | if attack == false and attacktype == 2 then | |
| 1366 | attacktype = 3 | |
| 1367 | attacktwo() | |
| 1368 | else | |
| 1369 | if attack == false and attacktype == 3 then | |
| 1370 | attacktype = 1 | |
| 1371 | attackthree() | |
| 1372 | end | |
| 1373 | end | |
| 1374 | end | |
| 1375 | end | |
| 1376 | ) | |
| 1377 | mouse.KeyDown:connect(function(k) | |
| 1378 | ||
| 1379 | k = k:lower() | |
| 1380 | if attack == false and co1 <= cooldown1 and k == "z" then | |
| 1381 | cooldown1 = 0 | |
| 1382 | dead() | |
| 1383 | else | |
| 1384 | if attack == false and co2 <= cooldown2 and k == "x" then | |
| 1385 | cooldown2 = 0 | |
| 1386 | hotdog() | |
| 1387 | else | |
| 1388 | if attack == false and co3 <= cooldown3 and k == "c" then | |
| 1389 | cooldown3 = 0 | |
| 1390 | qaeoshotdog() | |
| 1391 | else | |
| 1392 | if attack == false and co4 <= cooldown4 and k == "v" then | |
| 1393 | cooldown4 = 0 | |
| 1394 | truehotdog() | |
| 1395 | end | |
| 1396 | end | |
| 1397 | end | |
| 1398 | end | |
| 1399 | end | |
| 1400 | ) | |
| 1401 | updateskills = function() | |
| 1402 | ||
| 1403 | if cooldown1 <= co1 then | |
| 1404 | cooldown1 = cooldown1 + 0.033333333333333 | |
| 1405 | end | |
| 1406 | if cooldown2 <= co2 then | |
| 1407 | cooldown2 = cooldown2 + 0.033333333333333 | |
| 1408 | end | |
| 1409 | if cooldown3 <= co3 then | |
| 1410 | cooldown3 = cooldown3 + 0.033333333333333 | |
| 1411 | end | |
| 1412 | if cooldown4 <= co4 then | |
| 1413 | cooldown4 = cooldown4 + 0.033333333333333 | |
| 1414 | end | |
| 1415 | end | |
| 1416 | ||
| 1417 | while 1 do | |
| 1418 | swait() | |
| 1419 | updateskills() | |
| 1420 | target = findNearestTorso(RootPart.Position) | |
| 1421 | do2target = target | |
| 1422 | bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1423 | bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1424 | bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1425 | bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1426 | Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
| 1427 | velocity = RootPart.Velocity.y | |
| 1428 | sine = sine + change | |
| 1429 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
| 1430 | if equipped == true or equipped == false then | |
| 1431 | if 1 < RootPart.Velocity.y and hit == nil then | |
| 1432 | Anim = "Jump" | |
| 1433 | if attack == false then | |
| 1434 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos((sine) / 8)) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3) | |
| 1435 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
| 1436 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-130 + 10 * math.cos((sine) / 8))), 0.3) | |
| 1437 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos((sine) / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1438 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
| 1439 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos((sine) / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3) | |
| 1440 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 1441 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 1442 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1443 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1444 | end | |
| 1445 | else | |
| 1446 | if RootPart.Velocity.y < -1 and hit == nil then | |
| 1447 | Anim = "Fall" | |
| 1448 | if attack == false then | |
| 1449 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos((sine) / 8)) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3) | |
| 1450 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(40), math.rad(0), math.rad(30)), 0.3) | |
| 1451 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 13), 0) * angles(math.rad(-150), math.rad(-190), math.rad(-130 + 10 * math.cos((sine) / 8))), 0.3) | |
| 1452 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos((sine) / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3) | |
| 1453 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3) | |
| 1454 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos((sine) / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
| 1455 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 1456 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 1457 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1458 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1459 | end | |
| 1460 | else | |
| 1461 | if (math.abs(Torsovelocity.x) + math.abs(Torsovelocity.z)) < 1 and hit ~= nil then | |
| 1462 | Anim = "Idle" | |
| 1463 | if attack == false then | |
| 1464 | change = 1 | |
| 1465 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos((sine) / 8)) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3) | |
| 1466 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3) | |
| 1467 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-130 + 10 * math.cos((sine) / 8))), 0.3) | |
| 1468 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos((sine) / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.3) | |
| 1469 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3) | |
| 1470 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos((sine) / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3) | |
| 1471 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 1472 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 1473 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1474 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1475 | end | |
| 1476 | else | |
| 1477 | if 2 < (math.abs(Torsovelocity.x) + math.abs(Torsovelocity.z)) and hit ~= nil then | |
| 1478 | Anim = "Walk" | |
| 1479 | if attack == false then | |
| 1480 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos((sine) / 8)) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.3) | |
| 1481 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(40)), 0.3) | |
| 1482 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-130 + 10 * math.cos((sine) / 8))), 0.3) | |
| 1483 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5 + 0.1 * math.cos((sine) / 8), -1) * angles(math.rad(-90), math.rad(0), math.rad(80)), 0.3) | |
| 1484 | RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(40), math.rad(0 + 50 * math.cos((sine) / 4))), 0.3) | |
| 1485 | LH.C0 = clerp(LH.C0, cf(-1.2, -1 + 0.1 * math.cos((sine) / 8), 0) * LHCF * angles(math.rad(0), math.rad(40), math.rad(0 + 50 * math.cos((sine) / 4))), 0.3) | |
| 1486 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 1487 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
| 1488 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1489 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1490 | end | |
| 1491 | end | |
| 1492 | end | |
| 1493 | end | |
| 1494 | end | |
| 1495 | end | |
| 1496 | if 0 < #Effects then | |
| 1497 | for e = 1, #Effects do | |
| 1498 | if Effects[e] ~= nil then | |
| 1499 | local Thing = Effects[e] | |
| 1500 | if Thing ~= nil then | |
| 1501 | local Part = Thing[1] | |
| 1502 | local Mode = Thing[2] | |
| 1503 | local Delay = Thing[3] | |
| 1504 | local IncX = Thing[4] | |
| 1505 | local IncY = Thing[5] | |
| 1506 | local IncZ = Thing[6] | |
| 1507 | if Thing[1].Transparency <= 1 then | |
| 1508 | if Thing[2] == "Block1" then | |
| 1509 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1510 | Mesh = Thing[1].Mesh | |
| 1511 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1512 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1513 | else | |
| 1514 | if Thing[2] == "Block2" then | |
| 1515 | Thing[1].CFrame = Thing[1].CFrame | |
| 1516 | Mesh = Thing[7] | |
| 1517 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1518 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1519 | else | |
| 1520 | if Thing[2] == "Cylinder" then | |
| 1521 | Mesh = Thing[1].Mesh | |
| 1522 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1523 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1524 | else | |
| 1525 | if Thing[2] == "Blood" then | |
| 1526 | Mesh = Thing[7] | |
| 1527 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 1528 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1529 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1530 | else | |
| 1531 | if Thing[2] == "Elec" then | |
| 1532 | Mesh = Thing[1].Mesh | |
| 1533 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1534 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1535 | else | |
| 1536 | if Thing[2] == "Disappear" then | |
| 1537 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1538 | else | |
| 1539 | if Thing[2] == "Shatter" then | |
| 1540 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1541 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1542 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1543 | Thing[6] = Thing[6] + Thing[5] | |
| 1544 | end | |
| 1545 | end | |
| 1546 | end | |
| 1547 | end | |
| 1548 | end | |
| 1549 | end | |
| 1550 | end | |
| 1551 | else | |
| 1552 | Part.Parent = nil | |
| 1553 | table.remove(Effects, e) | |
| 1554 | end | |
| 1555 | end | |
| 1556 | end | |
| 1557 | end | |
| 1558 | end | |
| 1559 | end |