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,game,owner = owner,game | |
| 4 | local RealPlayer = Player | |
| 5 | do | |
| 6 | print("FE Compatibility code V2 by Mokiros")
| |
| 7 | local RealPlayer = RealPlayer | |
| 8 | script.Parent = RealPlayer.Character | |
| 9 | ||
| 10 | --Fake event to make stuff like Mouse.KeyDown work | |
| 11 | local Disconnect_Function = function(this) | |
| 12 | this[1].Functions[this[2]] = nil | |
| 13 | end | |
| 14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
| |
| 15 | local FakeEvent_Metatable = {__index={
| |
| 16 | Connect = function(this,f) | |
| 17 | local i = tostring(math.random(0,10000)) | |
| 18 | while this.Functions[i] do | |
| 19 | i = tostring(math.random(0,10000)) | |
| 20 | end | |
| 21 | this.Functions[i] = f | |
| 22 | return setmetatable({this,i},Disconnect_Metatable)
| |
| 23 | end | |
| 24 | }} | |
| 25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
| 26 | local function fakeEvent() | |
| 27 | return setmetatable({Functions={}},FakeEvent_Metatable)
| |
| 28 | end | |
| 29 | ||
| 30 | --Creating fake input objects with fake variables | |
| 31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
| |
| 32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
| 33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
| 34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 37 | end} | |
| 38 | --Merged 2 functions into one by checking amount of arguments | |
| 39 | CAS.UnbindAction = CAS.BindAction | |
| 40 | ||
| 41 | --This function will trigger the events that have been :Connect()'ed | |
| 42 | local function TriggerEvent(self,ev,...) | |
| 43 | for _,f in pairs(self[ev].Functions) do | |
| 44 | f(...) | |
| 45 | end | |
| 46 | end | |
| 47 | FakeMouse.TriggerEvent = TriggerEvent | |
| 48 | UIS.TriggerEvent = TriggerEvent | |
| 49 | ||
| 50 | --Client communication | |
| 51 | local Event = Instance.new("RemoteEvent")
| |
| 52 | Event.Name = "UserInput_Event" | |
| 53 | Event.OnServerEvent:Connect(function(plr,io) | |
| 54 | if plr~=RealPlayer then return end | |
| 55 | FakeMouse.Target = io.Target | |
| 56 | FakeMouse.Hit = io.Hit | |
| 57 | if not io.isMouse then | |
| 58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
| 61 | end | |
| 62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
| 63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
| 64 | end | |
| 65 | for _,t in pairs(CAS.Actions) do | |
| 66 | for _,k in pairs(t.Keys) do | |
| 67 | if k==io.KeyCode then | |
| 68 | t.Function(t.Name,io.UserInputState,io) | |
| 69 | end | |
| 70 | end | |
| 71 | end | |
| 72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 74 | end | |
| 75 | end) | |
| 76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
| |
| 77 | local Mouse = owner:GetMouse() | |
| 78 | local UIS = game:GetService("UserInputService")
| |
| 79 | local input = function(io,RobloxHandled) | |
| 80 | if RobloxHandled then return end | |
| 81 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 83 | end | |
| 84 | UIS.InputBegan:Connect(input) | |
| 85 | UIS.InputEnded:Connect(input) | |
| 86 | local h,t | |
| 87 | --Give the server mouse data every second frame, but only if the values changed | |
| 88 | --If player is not moving their mouse, client won't fire events | |
| 89 | local HB = game:GetService("RunService").Heartbeat
| |
| 90 | while true do | |
| 91 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 92 | h,t=Mouse.Hit,Mouse.Target | |
| 93 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 94 | end | |
| 95 | --Wait 2 frames | |
| 96 | for i=1,2 do | |
| 97 | HB:Wait() | |
| 98 | end | |
| 99 | end]==],script) | |
| 100 | ||
| 101 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 102 | --Real game object | |
| 103 | local RealGame = game | |
| 104 | ||
| 105 | --Metatable for fake service | |
| 106 | local FakeService_Metatable = {
| |
| 107 | __index = function(self,k) | |
| 108 | local s = rawget(self,"_RealService") | |
| 109 | if s then | |
| 110 | return typeof(s[k])=="function" | |
| 111 | and function(_,...)return s[k](s,...)end or s[k] | |
| 112 | end | |
| 113 | end, | |
| 114 | __newindex = function(self,k,v) | |
| 115 | local s = rawget(self,"_RealService") | |
| 116 | if s then s[k]=v end | |
| 117 | end | |
| 118 | } | |
| 119 | local function FakeService(t,RealService) | |
| 120 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
| 121 | return setmetatable(t,FakeService_Metatable) | |
| 122 | end | |
| 123 | ||
| 124 | --Fake game object | |
| 125 | local FakeGame = {
| |
| 126 | GetService = function(self,s) | |
| 127 | return rawget(self,s) or RealGame:GetService(s) | |
| 128 | end, | |
| 129 | Players = FakeService({
| |
| 130 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
| |
| 131 | },"Players"), | |
| 132 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 133 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 134 | RunService = FakeService({
| |
| 135 | _btrs = {},
| |
| 136 | RenderStepped = RealGame:GetService("RunService").Heartbeat,
| |
| 137 | BindToRenderStep = function(self,name,_,fun) | |
| 138 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 139 | end, | |
| 140 | UnbindFromRenderStep = function(self,name) | |
| 141 | self._btrs[name]:Disconnect() | |
| 142 | end, | |
| 143 | },"RunService") | |
| 144 | } | |
| 145 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
| 146 | FakeGame.service = FakeGame.GetService | |
| 147 | FakeService(FakeGame,game) | |
| 148 | --Changing owner to fake player object to support owner:GetMouse() | |
| 149 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
| 150 | end | |
| 151 | ||
| 152 | ||
| 153 | ||
| 154 | ||
| 155 | ---------------------------------------------------------------------------------------------------------------------- | |
| 156 | Hood = false --[[ 164414939 ]] | |
| 157 | ------------------------------------------------------------------------------------------------------------------------- | |
| 158 | --[[ | |
| 159 | ||
| 160 | A Power That Should Never Be Messed With... | |
| 161 | ||
| 162 | ||
| 163 | ||
| 164 | ||
| 165 | At ThIs MoMeNt YoU kNeW yOu FuCkEd Up!!! | |
| 166 | ]]-- | |
| 167 | ||
| 168 | ||
| 169 | ------------Don't Touch These Yet-------------- | |
| 170 | local colorone = "Royal purple" -- Crimson | |
| 171 | local colortwo = "Really black" -- Bright red | |
| 172 | local colorthree = "Really black" -- Really red | |
| 173 | ||
| 174 | local mode = "BerserkMode" | |
| 175 | ------------------------------------------------ | |
| 176 | ||
| 177 | ||
| 178 | wait(1 / 60) | |
| 179 | Effects = { }
| |
| 180 | local Player = game.Players.localPlayer | |
| 181 | script.Parent = Player.PlayerGui | |
| 182 | script.Name = math.random(100, 100000)..[[ ]]..math.random(100000, 1000000000) | |
| 183 | local Character = Player.Character | |
| 184 | local Humanoid = Character.Humanoid | |
| 185 | local Mouse = Player:GetMouse() | |
| 186 | local LeftArm = Character["Left Arm"] | |
| 187 | local RightArm = Character["Right Arm"] | |
| 188 | local LeftLeg = Character["Left Leg"] | |
| 189 | local RightLeg = Character["Right Leg"] | |
| 190 | local Head = Character.Head | |
| 191 | local Torso = Character.Torso | |
| 192 | local Camera = game.Workspace.CurrentCamera | |
| 193 | local RootPart = Character.HumanoidRootPart | |
| 194 | local RootJoint = RootPart.RootJoint | |
| 195 | local attack = false | |
| 196 | local Anim = 'Idle' | |
| 197 | local attacktype = 1 | |
| 198 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 199 | local velocity = RootPart.Velocity.y | |
| 200 | local sine = 0 | |
| 201 | local change = 1 | |
| 202 | local hobb = 0 | |
| 203 | local rest = 0 | |
| 204 | local looprevive = false | |
| 205 | local revive = false | |
| 206 | local Create = LoadLibrary("RbxUtility").Create
| |
| 207 | ||
| 208 | ||
| 209 | ||
| 210 | ||
| 211 | ||
| 212 | ||
| 213 | ||
| 214 | function RemoveOutlines(part) | |
| 215 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 216 | end | |
| 217 | ||
| 218 | CFuncs = {
| |
| 219 | ["Part"] = {
| |
| 220 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 221 | local Part = Create("Part"){
| |
| 222 | Parent = Parent, | |
| 223 | Reflectance = Reflectance, | |
| 224 | Transparency = Transparency, | |
| 225 | CanCollide = false, | |
| 226 | Locked = true, | |
| 227 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 228 | Name = Name, | |
| 229 | Size = Size, | |
| 230 | Material = Material, | |
| 231 | } | |
| 232 | --remove these lines if u want it purple-------- | |
| 233 | ||
| 234 | ------------------------------------------------ | |
| 235 | RemoveOutlines(Part) | |
| 236 | return Part | |
| 237 | end; | |
| 238 | }; | |
| 239 | ||
| 240 | ["Mesh"] = {
| |
| 241 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 242 | local Msh = Create(Mesh){
| |
| 243 | Parent = Part, | |
| 244 | Offset = OffSet, | |
| 245 | Scale = Scale, | |
| 246 | } | |
| 247 | if Mesh == "SpecialMesh" then | |
| 248 | Msh.MeshType = MeshType | |
| 249 | Msh.MeshId = MeshId | |
| 250 | end | |
| 251 | return Msh | |
| 252 | end; | |
| 253 | }; | |
| 254 | ||
| 255 | ["Mesh"] = {
| |
| 256 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 257 | local Msh = Create(Mesh){
| |
| 258 | Parent = Part, | |
| 259 | Offset = OffSet, | |
| 260 | Scale = Scale, | |
| 261 | } | |
| 262 | if Mesh == "SpecialMesh" then | |
| 263 | Msh.MeshType = MeshType | |
| 264 | Msh.MeshId = MeshId | |
| 265 | end | |
| 266 | return Msh | |
| 267 | end; | |
| 268 | }; | |
| 269 | ||
| 270 | ["Weld"] = {
| |
| 271 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 272 | local Weld = Create("Weld"){
| |
| 273 | Parent = Parent, | |
| 274 | Part0 = Part0, | |
| 275 | Part1 = Part1, | |
| 276 | C0 = C0, | |
| 277 | C1 = C1, | |
| 278 | } | |
| 279 | return Weld | |
| 280 | end; | |
| 281 | }; | |
| 282 | ||
| 283 | ["Sound"] = {
| |
| 284 | Create = function(id, par, vol, pit) | |
| 285 | coroutine.resume(coroutine.create(function() | |
| 286 | local S = Create("Sound"){
| |
| 287 | Volume = vol, | |
| 288 | Pitch = pit or 1, | |
| 289 | SoundId = id, | |
| 290 | Parent = par or workspace, | |
| 291 | } | |
| 292 | wait() | |
| 293 | S:play() | |
| 294 | game:GetService("Debris"):AddItem(S, 6)
| |
| 295 | end)) | |
| 296 | end; | |
| 297 | }; | |
| 298 | ||
| 299 | ["ParticleEmitter"] = {
| |
| 300 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 301 | local fp = Create("ParticleEmitter"){
| |
| 302 | Parent = Parent, | |
| 303 | Color = ColorSequence.new(Color1, Color2), | |
| 304 | LightEmission = LightEmission, | |
| 305 | Size = Size, | |
| 306 | Texture = Texture, | |
| 307 | Transparency = Transparency, | |
| 308 | ZOffset = ZOffset, | |
| 309 | Acceleration = Accel, | |
| 310 | Drag = Drag, | |
| 311 | LockedToPart = LockedToPart, | |
| 312 | VelocityInheritance = VelocityInheritance, | |
| 313 | EmissionDirection = EmissionDirection, | |
| 314 | Enabled = Enabled, | |
| 315 | Lifetime = LifeTime, | |
| 316 | Rate = Rate, | |
| 317 | Rotation = Rotation, | |
| 318 | RotSpeed = RotSpeed, | |
| 319 | Speed = Speed, | |
| 320 | VelocitySpread = VelocitySpread, | |
| 321 | } | |
| 322 | return fp | |
| 323 | end; | |
| 324 | }; | |
| 325 | ||
| 326 | CreateTemplate = {
| |
| 327 | ||
| 328 | }; | |
| 329 | } | |
| 330 | ||
| 331 | ||
| 332 | ||
| 333 | local p = game.Players.LocalPlayer | |
| 334 | --if p.Name~='UniversalDespair' and p.Name~='hasang1' then p.Character:Destroy() script:Destroy() return end | |
| 335 | local char = p.Character | |
| 336 | local mouse = p:GetMouse() | |
| 337 | local larm = char["Left Arm"] | |
| 338 | local rarm = char["Right Arm"] | |
| 339 | local lleg = char["Left Leg"] | |
| 340 | local rleg = char["Right Leg"] | |
| 341 | local hed = char.Head | |
| 342 | local torso = char.Torso | |
| 343 | local hum = char.Humanoid | |
| 344 | local cam = game.Workspace.CurrentCamera | |
| 345 | local root = char.HumanoidRootPart | |
| 346 | local deb = false | |
| 347 | local shot = 0 | |
| 348 | local debris=game:service"Debris" | |
| 349 | local l = game:GetService("Lighting")
| |
| 350 | local rs = game:GetService("RunService").RenderStepped
| |
| 351 | ||
| 352 | ||
| 353 | ||
| 354 | ||
| 355 | Debounces = {
| |
| 356 | CanAttack = true; | |
| 357 | NoIdl = false; | |
| 358 | Slashing = false; | |
| 359 | Slashed = false; | |
| 360 | RPunch = false; | |
| 361 | RPunched = false; | |
| 362 | LPunch = false; | |
| 363 | LPunched = false; | |
| 364 | } | |
| 365 | local Touche = {Character.Name, }
| |
| 366 | ||
| 367 | ||
| 368 | ---------------------------------------------------- | |
| 369 | function genWeld(a,b) | |
| 370 | local w = Instance.new("Weld",a)
| |
| 371 | w.Part0 = a | |
| 372 | w.Part1 = b | |
| 373 | return w | |
| 374 | end | |
| 375 | function weld(a, b) | |
| 376 | local weld = Instance.new("Weld")
| |
| 377 | weld.Name = "W" | |
| 378 | weld.Part0 = a | |
| 379 | weld.Part1 = b | |
| 380 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 381 | weld.Parent = a | |
| 382 | return weld; | |
| 383 | end | |
| 384 | ---------------------------------------------------- | |
| 385 | function Lerp(c1,c2,al) | |
| 386 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 387 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 388 | for i,v in pairs(com1) do | |
| 389 | com1[i] = v+(com2[i]-v)*al | |
| 390 | end | |
| 391 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 392 | end | |
| 393 | ---------------------------------------------------- | |
| 394 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 395 | local wld = Instance.new("Weld", wp1)
| |
| 396 | wld.Part0 = wp0 | |
| 397 | wld.Part1 = wp1 | |
| 398 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 399 | end | |
| 400 | ---------------------------------------------------- | |
| 401 | function weld5(part0, part1, c0, c1) | |
| 402 | weeld=Instance.new("Weld", part0)
| |
| 403 | weeld.Part0=part0 | |
| 404 | weeld.Part1=part1 | |
| 405 | weeld.C0=c0 | |
| 406 | weeld.C1=c1 | |
| 407 | return weeld | |
| 408 | end | |
| 409 | ---------------------------------------------------- | |
| 410 | function HasntTouched(plrname) | |
| 411 | local ret = true | |
| 412 | for _, v in pairs(Touche) do | |
| 413 | if v == plrname then | |
| 414 | ret = false | |
| 415 | end | |
| 416 | end | |
| 417 | return ret | |
| 418 | end | |
| 419 | ---------------------------------------------------- | |
| 420 | ||
| 421 | function chatfunc(text) | |
| 422 | local chat = coroutine.wrap(function() | |
| 423 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 424 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 425 | end | |
| 426 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 427 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 428 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 429 | naeeym2.Adornee = Head | |
| 430 | naeeym2.Name = "TalkingBillBoard" | |
| 431 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 432 | tecks2.BackgroundTransparency = 1 | |
| 433 | tecks2.BorderSizePixel = 0 | |
| 434 | tecks2.Text = "" | |
| 435 | tecks2.Font = "Fantasy" | |
| 436 | tecks2.FontSize = "Size24" | |
| 437 | tecks2.TextStrokeTransparency = 0 | |
| 438 | tecks2.TextColor3 = BrickColor.new(colortwo).Color | |
| 439 | tecks2.TextStrokeColor3 = BrickColor.new(colorone).Color | |
| 440 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 441 | local shk = coroutine.wrap(function() | |
| 442 | while tecks2 ~= nil do | |
| 443 | wait(.05) | |
| 444 | tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) | |
| 445 | end | |
| 446 | end) | |
| 447 | shk() | |
| 448 | for i = 1,string.len(text),1 do | |
| 449 | CFuncs.Sound.Create("rbxassetid://358280695", Torso, 2, 0.5)
| |
| 450 | tecks2.Text = string.sub(text,1,i) | |
| 451 | wait(0.01) | |
| 452 | end | |
| 453 | wait(1) | |
| 454 | for i = 1, 5 do | |
| 455 | wait(.01) | |
| 456 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
| 457 | tecks2.Rotation = tecks2.Rotation + 2 | |
| 458 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
| 459 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
| 460 | end | |
| 461 | naeeym2:Destroy() | |
| 462 | end) | |
| 463 | chat() | |
| 464 | end | |
| 465 | function onChatted(msg) | |
| 466 | chatfunc(msg) | |
| 467 | end | |
| 468 | ---Player.Chatted:connect(onChatted) | |
| 469 | ||
| 470 | ||
| 471 | ||
| 472 | ||
| 473 | ||
| 474 | ||
| 475 | ||
| 476 | ||
| 477 | ||
| 478 | ||
| 479 | ||
| 480 | ||
| 481 | ||
| 482 | ||
| 483 | ||
| 484 | function chatfunc2(text) | |
| 485 | local chat = coroutine.wrap(function() | |
| 486 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 487 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 488 | end | |
| 489 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 490 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 491 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 492 | naeeym2.Adornee = Head | |
| 493 | naeeym2.Name = "TalkingBillBoard" | |
| 494 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 495 | tecks2.BackgroundTransparency = 1 | |
| 496 | tecks2.BorderSizePixel = 0 | |
| 497 | tecks2.Text = "" | |
| 498 | tecks2.Font = "Fantasy" | |
| 499 | tecks2.FontSize = "Size24" | |
| 500 | tecks2.TextStrokeTransparency = 0 | |
| 501 | tecks2.TextColor3 = BrickColor.new(colortwo).Color | |
| 502 | tecks2.TextStrokeColor3 = BrickColor.new(colorthree).Color | |
| 503 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 504 | local shk = coroutine.wrap(function() | |
| 505 | while tecks2 ~= nil do | |
| 506 | wait(.05) | |
| 507 | tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) | |
| 508 | end | |
| 509 | end) | |
| 510 | shk() | |
| 511 | for i = 1,string.len(text),1 do | |
| 512 | CFuncs.Sound.Create("rbxassetid://358280695", Torso, 2, 0.5)
| |
| 513 | tecks2.Text = string.sub(text,1,i) | |
| 514 | wait(0.01) | |
| 515 | end | |
| 516 | wait(1) | |
| 517 | for i = 1, 5 do | |
| 518 | wait(.01) | |
| 519 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
| 520 | tecks2.Rotation = tecks2.Rotation + 2 | |
| 521 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
| 522 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
| 523 | end | |
| 524 | naeeym2:Destroy() | |
| 525 | end) | |
| 526 | chat() | |
| 527 | end | |
| 528 | function onChatted(msg) | |
| 529 | chatfunc(msg) | |
| 530 | end | |
| 531 | ||
| 532 | ||
| 533 | ||
| 534 | ||
| 535 | ||
| 536 | ||
| 537 | local Transforming = false | |
| 538 | Transforming = true | |
| 539 | ||
| 540 | chatfunc("So you finally made it...")
| |
| 541 | ||
| 542 | wait(4) | |
| 543 | ||
| 544 | chatfunc("Final warning pal.")
| |
| 545 | ||
| 546 | wait(6) | |
| 547 | ||
| 548 | chatfunc("Trust me, I wouldn't want to fight me either...")
| |
| 549 | ||
| 550 | wait(4) | |
| 551 | ||
| 552 | chatfunc("Here goes nothing...")
| |
| 553 | ||
| 554 | wait(4) | |
| 555 | ||
| 556 | ||
| 557 | ----------- | |
| 558 | ||
| 559 | ----- | |
| 560 | local p = game.Players.LocalPlayer | |
| 561 | local char = p.Character | |
| 562 | local mouse = p:GetMouse() | |
| 563 | local larm = char["Left Arm"] | |
| 564 | local rarm = char["Right Arm"] | |
| 565 | local lleg = char["Left Leg"] | |
| 566 | local rleg = char["Right Leg"] | |
| 567 | local hed = char.Head | |
| 568 | local torso = char.Torso | |
| 569 | plr=game:service'Players'.LocalPlayer | |
| 570 | chr=plr.Character | |
| 571 | local ms = plr:GetMouse() | |
| 572 | CV="Dark indigo" | |
| 573 | local hum = char.Humanoid | |
| 574 | local cam = game.Workspace.CurrentCamera | |
| 575 | local root = char.HumanoidRootPart | |
| 576 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 577 | local vt=Vector3.new | |
| 578 | local deb = false | |
| 579 | local CanAttack = true | |
| 580 | local shot = 0 | |
| 581 | local animpose = "Idle" | |
| 582 | local lastanimpose = "Idle" | |
| 583 | local stanceToggle = "Normal" | |
| 584 | local l = game:GetService("Lighting")
| |
| 585 | local rs = game:GetService("RunService").RenderStepped
| |
| 586 | math.randomseed(os.time()) | |
| 587 | hum.MaxHealth = 9001 | |
| 588 | wait(1) | |
| 589 | hum.Health = 9001 | |
| 590 | ||
| 591 | --game:service'InsertService':LoadAsset(16469427):children()[1].Parent = char | |
| 592 | --char.Reaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=176349813" | |
| 593 | ||
| 594 | ||
| 595 | Mesh2 = function(par,num,x,y,z) | |
| 596 | local msh = _ | |
| 597 | if num == 1 then | |
| 598 | msh = Instance.new("CylinderMesh",par)
| |
| 599 | elseif num == 2 then | |
| 600 | msh = Instance.new("SpecialMesh",par)
| |
| 601 | msh.MeshType = 3 | |
| 602 | elseif num == 3 then | |
| 603 | msh = Instance.new("BlockMesh",par)
| |
| 604 | elseif num == 4 then | |
| 605 | msh = Instance.new("SpecialMesh",par)
| |
| 606 | msh.MeshType = "Torso" | |
| 607 | elseif type(num) == 'string' then | |
| 608 | msh = Instance.new("SpecialMesh",par)
| |
| 609 | msh.MeshId = num | |
| 610 | end | |
| 611 | msh.Scale = Vector3.new(x,y,z) | |
| 612 | return msh | |
| 613 | end | |
| 614 | ||
| 615 | Weld2 = function(p0,p1,x,y,z,rx,ry,rz,par) | |
| 616 | local w = Instance.new('Motor',par or p0)
| |
| 617 | w.Part0 = p0 | |
| 618 | w.Part1 = p1 | |
| 619 | w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz) | |
| 620 | return w | |
| 621 | end | |
| 622 | ||
| 623 | function NoOutline(Part) | |
| 624 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 625 | end | |
| 626 | ||
| 627 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 628 | local fp=Instance.new("Part")
| |
| 629 | fp.formFactor=formfactor | |
| 630 | fp.Parent=parent | |
| 631 | fp.Reflectance=reflectance | |
| 632 | fp.Transparency=transparency | |
| 633 | fp.CanCollide=false | |
| 634 | fp.Locked=true | |
| 635 | fp.BrickColor=brickcolor | |
| 636 | fp.Name=name | |
| 637 | fp.Size=size | |
| 638 | fp.Position=torso.Position | |
| 639 | NoOutline(fp) | |
| 640 | fp.Material="SmoothPlastic" | |
| 641 | fp:BreakJoints() | |
| 642 | return fp | |
| 643 | end | |
| 644 | ||
| 645 | if Hood == true then | |
| 646 | for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end | |
| 647 | local hat = part(3,char,0,0,BrickColor.new("Really black"),"Hood",vt(0.5,1,1.02))
| |
| 648 | Mesh2(hat,'http://www.roblox.com/asset/?id=16952952',1.05,1.05,1.05) --hood | |
| 649 | Weld2(char.Head,hat,0,-.25,0,0,0,0,hat) | |
| 650 | end | |
| 651 | ||
| 652 | ||
| 653 | local p = game.Players.LocalPlayer | |
| 654 | local char = p.Character | |
| 655 | local mouse = p:GetMouse() | |
| 656 | local larm = char["Left Arm"] | |
| 657 | local rarm = char["Right Arm"] | |
| 658 | local lleg = char["Left Leg"] | |
| 659 | local rleg = char["Right Leg"] | |
| 660 | local hed = char.Head | |
| 661 | hed.face.Texture = "574157327" | |
| 662 | local torso = char.Torso | |
| 663 | local hum = char.Humanoid | |
| 664 | local cam = game.Workspace.CurrentCamera | |
| 665 | local root = char.HumanoidRootPart | |
| 666 | local deb = false | |
| 667 | local shot = 0 | |
| 668 | local l = game:GetService("Lighting")
| |
| 669 | local rs = game:GetService("RunService").RenderStepped
| |
| 670 | local stanceToggle = "Normal" | |
| 671 | math.randomseed(os.time()) | |
| 672 | ||
| 673 | ||
| 674 | ---------------------------------------------------- | |
| 675 | local Player = game.Players.LocalPlayer | |
| 676 | local Character = Player.Character | |
| 677 | local Humanoid = Character.Humanoid | |
| 678 | local Head = Character.Head | |
| 679 | local Torso = Character.Torso | |
| 680 | local RootPart = Character.HumanoidRootPart | |
| 681 | local RightArm = Character["Right Arm"] | |
| 682 | local LeftArm = Character["Left Arm"] | |
| 683 | local RightLeg = Character["Right Leg"] | |
| 684 | local LeftLeg = Character["Left Leg"] | |
| 685 | local Neck = Torso.Neck | |
| 686 | local RootJoint = RootPart.RootJoint | |
| 687 | local RightShoulder = Torso["Right Shoulder"] | |
| 688 | local LeftShoulder = Torso["Left Shoulder"] | |
| 689 | local RightHip = Torso["Right Hip"] | |
| 690 | local LeftHip = Torso["Left Hip"] | |
| 691 | local Insert = table.insert | |
| 692 | local Mouse = Player:GetMouse() | |
| 693 | VFXList = {}
| |
| 694 | ||
| 695 | ||
| 696 | ---------------- | |
| 697 | New = function(Object, Parent, Name, Data) | |
| 698 | local Object = Instance.new(Object) | |
| 699 | for Index, Value in pairs(Data or {}) do
| |
| 700 | Object[Index] = Value | |
| 701 | end | |
| 702 | Object.Parent = Parent | |
| 703 | Object.Name = Name | |
| 704 | return Object | |
| 705 | end | |
| 706 | ||
| 707 | ||
| 708 | ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 709 | Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
| |
| 710 | Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 711 | ||
| 712 | ||
| 713 | wait(.1) | |
| 714 | local Models = New("Model",Character,"Model",{})
| |
| 715 | local eyesz = New("Part",Models,"eye",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.0288696, 1.56154633, -44.8319473, -1.00000036, 3.95500101e-005, -5.96046945e-008, -3.95501265e-005, -1.00000024, -4.44026066e-011, 2.98024041e-008, -3.24078958e-012, 1),CanCollide = false,Color = BrickColor.new("Royal purple").Color,})
| |
| 716 | Meshs = New("SpecialMesh",eyesz,"Mesh",{MeshType = Enum.MeshType.Sphere,})
| |
| 717 | mots = New("Weld",eyesz,"mot",{Part0 = eyesz,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1.00000036, -3.95501265e-005, 2.98024041e-008, 3.95500101e-005, -1.00000024, -3.24078958e-012, -5.96046945e-008, -4.44026066e-011, 1),C1 = CFrame.new(0.0999984741, 0.230003357, -0.54234314, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 718 | ||
| 719 | ||
| 720 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.0288696, 1.56154633, -44.791954, 0, 3.89999987e-005, 1, 0, -1, 3.89999987e-005, 1, -0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 721 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 1, 1),MeshType = Enum.MeshType.Cylinder,})
| |
| 722 | mot = New("Weld",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 3.89999987e-005, -1, 0, 1, 3.89999987e-005, 0),C1 = CFrame.new(0.0999984741, 0.230003357, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 723 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.1781769, 1.47783697, -44.791954, 0, 0.383733064, 0.923444092, 0, -0.923444092, 0.383733094, 1, -0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 724 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,})
| |
| 725 | mot = New("Weld",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0.383733064, -0.923444092, 0, 0.923444092, 0.383733094, 0),C1 = CFrame.new(0.249305725, 0.146293998, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 726 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.1935196, 1.51477695, -44.791954, 0, -0.383726001, 0.923447013, 0, 0.923447013, 0.383726001, -1, 0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 727 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,})
| |
| 728 | mot = New("Weld",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, -1, -0.383726001, 0.923447013, 0, 0.923447013, 0.383726001, 0),C1 = CFrame.new(0.264648438, 0.183233976, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 729 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.8642044, 1.60829198, -44.791954, 0, 0.383726001, -0.923447013, 0, -0.923447013, -0.383726001, -1, -0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 730 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,})
| |
| 731 | mot = New("Weld",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0.383726001, -0.923447013, 0, -0.923447013, -0.383726001, 0),C1 = CFrame.new(-0.064666748, 0.276749015, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 732 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.8795433, 1.64523494, -44.791954, 0, -0.383733064, -0.923444092, 0, 0.923444092, -0.383733094, 1, 0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 733 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,})
| |
| 734 | mot = New("Weld",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.383733064, 0.923444092, 0, -0.923444092, -0.383733094, 0),C1 = CFrame.new(-0.0493278503, 0.313691974, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 735 | local eye1 = New("Part",Models,"eye1",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.0288696, 1.56154633, -44.8119507, -1.00000036, 3.95500101e-005, -5.96046945e-008, -3.95501265e-005, -1.00000024, -4.44026066e-011, 2.98024041e-008, -3.24078958e-012, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 736 | Mesh = New("SpecialMesh",eye1,"Mesh",{Scale = Vector3.new(0.3, 0.8, 0.9),MeshType = Enum.MeshType.Sphere,})
| |
| 737 | mot = New("Weld",eye1,"mot",{Part0 = eye1,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1.00000036, -3.95501265e-005, 2.98024041e-008, 3.95500101e-005, -1.00000024, -3.24078958e-012, -5.96046945e-008, -4.44026066e-011, 1),C1 = CFrame.new(0.0999984741, 0.230003357, -0.562339783, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 738 | ||
| 739 | DeathClaw = New("Model",Character,"DeathClaw",{})
| |
| 740 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 1.301, 1.00999999),CFrame = CFrame.new(-8.18999767, 2.64003253, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 741 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(2.86102295e-06, -0.359999895, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 742 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550000012, 0.25999999),CFrame = CFrame.new(-7.58999872, 2.16453266, -8.08500957, -9.61124897e-07, 6.97365886e-06, -1, 9.77374555e-08, 1, 6.97365886e-06, 1, -9.77312951e-08, -9.61124897e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 743 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 744 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -9.61124897e-07, 9.77374413e-08, 1, 6.97365886e-06, 1, -9.77313022e-08, -1, 6.97365886e-06, -9.61124897e-07),C1 = CFrame.new(0.600004673, -0.835495472, 0.0150003433, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 745 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.25000003, 0.25999999),CFrame = CFrame.new(-7.58999777, 1.77453327, -8.08500767, 9.61683781e-07, -6.97418636e-06, -1, 1.04010105e-05, -1, 6.97419773e-06, -1.00000036, -1.0356307e-05, -9.61610908e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 746 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 747 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 9.61683781e-07, 1.04010105e-05, -1.00000036, -6.97418636e-06, -1, -1.0356307e-05, -1, 6.97419773e-06, -9.61610908e-07),C1 = CFrame.new(0.600008488, -1.22549498, 0.0150022507, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 748 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550000012, 0.25999999),CFrame = CFrame.new(-8.18999958, 2.16453195, -7.51500511, -1, -1.86969225e-14, 0, 1.86969208e-14, 1, -1.42108547e-14, 0, 1.42108547e-14, -1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 749 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 750 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1, 1.86969208e-14, 0, -1.86969208e-14, 1, 7.10542736e-15, 0, -7.10542736e-15, -1),C1 = CFrame.new(3.81469727e-06, -0.835500479, 0.585004807, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 751 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.25000003, 0.25999999),CFrame = CFrame.new(-8.18999767, 1.77453327, -7.51500511, 1, 1.86969225e-14, 0, -1.86969208e-14, -1, -1.42108547e-14, 0, -1.42108547e-14, -1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 752 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 753 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -1.86969208e-14, 0, 1.86969208e-14, -1, -7.10542736e-15, 0, -7.10542736e-15, -1),C1 = CFrame.new(8.58306885e-06, -1.22549915, 0.585004807, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 754 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550000012, 0.25999999),CFrame = CFrame.new(-8.77497768, 2.16453099, -8.06999302, 0, -1.86969225e-14, 1, -1.42108547e-14, 1, -1.86969208e-14, -1, 1.42108547e-14, 0),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 755 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 756 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, -7.10542736e-15, -1, -1.86969208e-14, 1, 7.10542736e-15, 1, -1.86969208e-14, 0),C1 = CFrame.new(-0.584974289, -0.835505486, 0.0300168991, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 757 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.25000003, 0.25999999),CFrame = CFrame.new(-8.77498817, 1.77453351, -8.06999683, 0, 1.86969225e-14, 1, 1.42108547e-14, -1, -1.86969208e-14, 1, -1.42108547e-14, 0),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 758 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 759 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 7.10542736e-15, 1, 1.86969208e-14, -1, -7.10542736e-15, 1, -1.86969208e-14, 0),C1 = CFrame.new(-0.584981918, -1.22550297, 0.0300130844, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 760 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.25000003, 0.25999999),CFrame = CFrame.new(-8.17498684, 1.77453244, -8.6399889, -1, 1.86969225e-14, 0, 1.86969208e-14, -1, 1.42108547e-14, 0, -1.42108547e-14, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 761 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 762 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1, 1.86969208e-14, 0, 1.86969208e-14, -1, -7.10542736e-15, 0, 7.10542736e-15, 1),C1 = CFrame.new(0.0150194168, -1.22549987, -0.539978981, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 763 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550000012, 0.25999999),CFrame = CFrame.new(-8.17498493, 2.16453147, -8.63999176, 1, -1.86969225e-14, 0, -1.86969208e-14, 1, 1.42108547e-14, 0, 1.42108547e-14, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 764 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 765 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -1.86969208e-14, 0, -1.86969208e-14, 1, 7.10542736e-15, 0, 7.10542736e-15, 1),C1 = CFrame.new(0.0150184631, -0.835500717, -0.539981842, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 766 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550999999, 1.00999999),CFrame = CFrame.new(-8.19000053, 1.96503329, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 767 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(4.76837158e-06, -1.03499913, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 768 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("308"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.5, 0.5),CFrame = CFrame.new(-8.19000053, 1.78503358, -8.10000992, -4.37112426e-08, -1, 0, 1, -4.37112071e-08, 1.42108547e-14, 1.42108547e-14, 0, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
| |
| 769 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Cylinder,})
| |
| 770 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -4.37112426e-08, 1, 7.10542736e-15, -1, -4.37112071e-08, 0, 0, 7.10542736e-15, 1),C1 = CFrame.new(5.7220459e-06, -1.21499884, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 771 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.879999995, 0.25999999),CFrame = CFrame.new(-8.80498791, 3.55953217, -8.09999657, 0, 1.86969225e-14, 1, 1.42108547e-14, -1, -1.86969208e-14, 1, -1.42108547e-14, 0),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 772 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 773 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 7.10542736e-15, 1, 1.86969208e-14, -1, -7.10542736e-15, 1, -1.86969208e-14, 0),C1 = CFrame.new(-0.614994049, 0.559495449, 1.33514404e-05, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 774 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.610000014, 0.559999943),CFrame = CFrame.new(-8.65498829, 4.29453278, -8.09999752, -3.88175249e-06, 6.16863917e-06, 1.00000167, -7.53802908e-07, 1, -6.168651e-06, -1.00000167, -7.53825816e-07, -3.88175249e-06),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 775 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 776 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -3.88175249e-06, -7.53802908e-07, -1.00000167, 6.16863917e-06, 1, -7.53825816e-07, 1.00000167, -6.168651e-06, -3.88175249e-06),C1 = CFrame.new(-0.464999199, 1.29449725, 1.23977661e-05, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 777 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.610000014, 0.559999943),CFrame = CFrame.new(-8.11498737, 4.29453278, -8.09999752, -1.78813934e-07, 6.16862235e-06, -1.00000012, 7.53896074e-07, 1, 6.16862371e-06, 1.00000012, -7.53894938e-07, -1.78813934e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 778 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 779 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1.78813934e-07, 7.53896074e-07, 1.00000012, 6.16862235e-06, 1, -7.53894938e-07, -1.00000012, 6.16862371e-06, -1.78813934e-07),C1 = CFrame.new(0.0750017166, 1.29450107, 1.23977661e-05, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 780 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.370000005, 0.73999989),CFrame = CFrame.new(-8.02498817, 4.17453337, -8.09999752, -1.78813934e-07, 6.16862235e-06, -1.00000012, 7.53896074e-07, 1, 6.16862371e-06, 1.00000012, -7.53894938e-07, -1.78813934e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 781 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 782 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1.78813934e-07, 7.53896074e-07, 1.00000012, 6.16862235e-06, 1, -7.53894938e-07, -1.00000012, 6.16862371e-06, -1.78813934e-07),C1 = CFrame.new(0.165000916, 1.17450213, 1.23977661e-05, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 783 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.789999962, 0.200000003),CFrame = CFrame.new(-7.90498638, 4.38453436, -7.69499397, -1.78996103e-07, 0.342027485, -0.939698875, 7.53943937e-07, 0.939689457, 0.342029005, 1.00000966, -6.47293803e-07, -4.25697635e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 784 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 785 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1.78996103e-07, 7.53943937e-07, 1.00000966, 0.342027485, 0.939689457, -6.47293803e-07, -0.939698875, 0.342029005, -4.25697635e-07),C1 = CFrame.new(0.285001755, 1.38450408, 0.405015945, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 786 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.789999962, 0.200000003),CFrame = CFrame.new(-7.90498638, 4.38453436, -8.5049963, -1.78996103e-07, 0.342027485, -0.939698875, 7.53943937e-07, 0.939689457, 0.342029005, 1.00000966, -6.47293803e-07, -4.25697635e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 787 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 788 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1.78996103e-07, 7.53943937e-07, 1.00000966, 0.342027485, 0.939689457, -6.47293803e-07, -0.939698875, 0.342029005, -4.25697635e-07),C1 = CFrame.new(0.285001755, 1.38450408, -0.404986382, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 789 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.789999962, 0.439999998),CFrame = CFrame.new(-8.22774792, 4.42557859, -8.5049963, -3.11434269e-06, 0.34202829, 0.939689755, 8.30739737e-07, 0.939689636, -0.342028916, -1.00000107, -3.18491402e-07, -3.46451998e-06),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 790 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 791 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -3.11434269e-06, 8.30739737e-07, -1.00000107, 0.34202829, 0.939689636, -3.18491402e-07, 0.939689755, -0.342028916, -3.46451998e-06),C1 = CFrame.new(-0.0377607346, 1.42554593, -0.404986382, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 792 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.789999962, 0.439999998),CFrame = CFrame.new(-8.22774982, 4.42557859, -7.69499588, -3.11434269e-06, 0.34202829, 0.939689755, 8.30739737e-07, 0.939689636, -0.342028916, -1.00000107, -3.18491402e-07, -3.46451998e-06),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 793 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 794 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -3.11434269e-06, 8.30739737e-07, -1.00000107, 0.34202829, 0.939689636, -3.18491402e-07, 0.939689755, -0.342028916, -3.46451998e-06),C1 = CFrame.new(-0.0377616882, 1.42554593, 0.405014038, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 795 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("308"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.201000005, 0.550999999, 0.200000003),CFrame = CFrame.new(-8.59500027, 2.89503574, -8.1300106, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
| |
| 796 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.400999993),MeshType = Enum.MeshType.Brick,})
| |
| 797 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(-0.40500164, -0.104999542, -0.0300006866, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 798 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("308"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.201000005, 0.281000018, 0.200000003),CFrame = CFrame.new(-8.59499931, 3.06003571, -8.04001141, 1, 6.13489965e-06, 3.32129116e-06, -6.97362293e-06, 0.866024673, 0.500001252, 1.91137516e-07, -0.500001252, 0.866024673),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
| |
| 799 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.400999993),MeshType = Enum.MeshType.Brick,})
| |
| 800 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91137516e-07, 6.13489919e-06, 0.866024673, -0.500001252, 3.32129093e-06, 0.500001252, 0.866024673),C1 = CFrame.new(-0.40500164, 0.0600004196, 0.0599985123, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 801 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("308"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.201000005, 0.281000018, 0.200000003),CFrame = CFrame.new(-8.59499931, 2.73003602, -8.04001141, 1, 5.94368294e-06, -3.65236247e-06, -6.97355335e-06, 0.866026044, -0.500001729, 1.91185379e-07, 0.500001729, 0.866026044),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
| |
| 802 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.400999993),MeshType = Enum.MeshType.Brick,})
| |
| 803 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97355335e-06, 1.91185379e-07, 5.94368294e-06, 0.866026044, 0.500001729, -3.65236247e-06, -0.500001729, 0.866026044),C1 = CFrame.new(-0.404999733, -0.269999266, 0.0599985123, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 804 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("308"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.201000005, 0.200000003, 0.200000003),CFrame = CFrame.new(-8.59499931, 2.89053583, -7.98001146, 1, 6.97355881e-06, -1.91176355e-07, -6.97355881e-06, 1, 1.86264515e-07, 1.91177477e-07, -1.86264515e-07, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
| |
| 805 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.400999993),MeshType = Enum.MeshType.Brick,})
| |
| 806 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97355881e-06, 1.91177477e-07, 6.97355881e-06, 1, -1.86264515e-07, -1.91176355e-07, 1.86264515e-07, 1),C1 = CFrame.new(-0.405000687, -0.109499454, 0.119998455, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 807 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300000012, 1.73000002, 0.300000012),CFrame = CFrame.new(-7.64528942, 2.08194613, -7.50872564, 0.57357645, -0.409576029, 0.709406495, 2.84217094e-14, 0.866025388, 0.5, -0.819152057, -0.286788225, 0.496731758),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 808 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.57357645, 2.84217094e-14, -0.819152057, -0.409576029, 0.866025388, -0.286788225, 0.709406495, 0.5, 0.496731758),C1 = CFrame.new(0.544714928, -0.918082476, 0.591284275, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 809 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-7.46966791, 1.04344952, -7.39113998, 0.573576868, 0.469845414, 0.671012759, -2.96045641e-07, 0.81915319, -0.573575616, -0.819153547, 0.328988761, 0.469848096),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 810 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.573576868, -2.96045414e-07, -0.819153547, 0.469845414, 0.81915319, 0.328988761, 0.671012759, -0.573575616, 0.469848096),C1 = CFrame.new(0.72034359, -1.95657802, 0.708869457, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 811 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("308"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-7.72338438, 0.601107359, -7.56879187, 0.573576868, 0.469845414, 0.671012759, -2.96045641e-07, 0.81915319, -0.573575616, -0.819153547, 0.328988761, 0.469848096),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
| |
| 812 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.25, 0.899999976, 0.25),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,})
| |
| 813 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.573576868, -2.96045414e-07, -0.819153547, 0.469845414, 0.81915319, 0.328988761, 0.671012759, -0.573575616, 0.469848096),C1 = CFrame.new(0.466629982, -2.39892173, 0.531217575, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 814 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300000012, 1.73000002, 0.300000012),CFrame = CFrame.new(-7.68504524, 2.08194637, -8.59320354, -0.707107365, -0.353553772, 0.612371683, -5.68434189e-14, 0.866024971, 0.500000894, -0.707106352, 0.353554249, -0.612372518),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 815 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.707107365, -5.68434189e-14, -0.707106352, -0.353553772, 0.866024971, 0.353554249, 0.612371683, 0.500000894, -0.612372518),C1 = CFrame.new(0.50495863, -0.918082476, -0.493193626, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 816 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-7.53874874, 1.0434494, -8.74573803, -0.707107365, 0.405578643, 0.579228163, -5.68434189e-14, 0.819152892, -0.573575258, -0.707106352, -0.405579239, -0.579228997),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 817 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.707107365, -5.68434189e-14, -0.707106352, 0.405578643, 0.819152892, -0.405579239, 0.579228163, -0.573575258, -0.579228997),C1 = CFrame.new(0.651262283, -1.95657837, -0.645728111, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 818 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("308"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-7.75776386, 0.601107359, -8.52672577, -0.707107365, 0.405578643, 0.579228163, -5.68434189e-14, 0.819152892, -0.573575258, -0.707106352, -0.405579239, -0.579228997),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
| |
| 819 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.25, 0.899999976, 0.25),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,})
| |
| 820 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.707107365, -5.68434189e-14, -0.707106352, 0.405578643, 0.819152892, -0.405579239, 0.579228163, -0.573575258, -0.579228997),C1 = CFrame.new(0.4322505, -2.39892197, -0.426715851, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 821 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("308"),Material = Enum.Material.Neon,Reflectance = 0.097999997437,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.01100004, 0.200000003, 1.01100004),CFrame = CFrame.new(-8.1899929, 3.28953266, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
| |
| 822 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(2.86102295e-06, 0.289500237, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 823 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("308"),Material = Enum.Material.Neon,Reflectance = 0.097999997437,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.01100004, 0.200000003, 1.01100004),CFrame = CFrame.new(-8.18999863, 2.47953296, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
| |
| 824 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(2.86102295e-06, -0.520499468, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 825 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.097999997437,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.731000006, 1.00999999),CFrame = CFrame.new(-8.189991, 3.64503241, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 826 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(1.90734863e-06, 0.644999981, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 827 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.699999988, 0.699999988),CFrame = CFrame.new(-8.19000053, 1.78503358, -8.10000992, -4.37112426e-08, -1, 0, 1, -4.37112071e-08, 1.42108547e-14, 1.42108547e-14, 0, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 828 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.980000019, 1, 1),MeshType = Enum.MeshType.Cylinder,})
| |
| 829 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -4.37112426e-08, 1, 7.10542736e-15, -1, -4.37112071e-08, 0, 0, 7.10542736e-15, 1),C1 = CFrame.new(5.7220459e-06, -1.21499884, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 830 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300000012, 1.73000002, 0.300000012),CFrame = CFrame.new(-8.76894283, 2.02194643, -8.5701561, -0.573575079, 0.409577131, -0.709406972, -3.83693077e-13, 0.86602509, 0.500000715, 0.81915313, 0.286787927, -0.496730298),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 831 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.573575079, 0, 0.81915313, 0.409577131, 0.86602509, 0.286787927, -0.709406972, 0.500000715, -0.496730298),C1 = CFrame.new(-0.578938484, -0.978090048, -0.470146179, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 832 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-8.94456291, 0.983449459, -8.68774033, -0.573575079, -0.4698461, -0.671011448, -3.83693077e-13, 0.819152832, -0.573575437, 0.81915313, -0.328988582, -0.469845563),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 833 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.573575079, 0, 0.81915313, -0.4698461, 0.819152832, -0.328988582, -0.671011448, -0.573575437, -0.469845563),C1 = CFrame.new(-0.754550934, -2.01658821, -0.587730408, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 834 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("308"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-8.69085026, 0.541107416, -8.51008987, -0.573575079, -0.4698461, -0.671011448, -3.83693077e-13, 0.819152832, -0.573575437, 0.81915313, -0.328988582, -0.469845563),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
| |
| 835 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.25, 0.899999976, 0.25),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,})
| |
| 836 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.573575079, 0, 0.81915313, -0.4698461, 0.819152832, -0.328988582, -0.671011448, -0.573575437, -0.469845563),C1 = CFrame.new(-0.500835419, -2.45892859, -0.410079956, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 837 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-8.8754797, 0.983449221, -7.33314657, 0.707107365, -0.405578345, -0.579228342, 5.68434189e-14, 0.819153309, -0.573574781, 0.707106352, 0.405578941, 0.579229236),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 838 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.707107365, 0, 0.707106352, -0.405578345, 0.819153309, 0.405578941, -0.579228342, -0.573574781, 0.579229236),C1 = CFrame.new(-0.68546772, -2.01658797, 0.766863346, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 839 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("308"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-8.65646744, 0.541107178, -7.55215645, 0.707107365, -0.405578345, -0.579228342, 5.68434189e-14, 0.819153309, -0.573574781, 0.707106352, 0.405578941, 0.579229236),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
| |
| 840 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.25, 0.899999976, 0.25),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,})
| |
| 841 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.707107365, 0, 0.707106352, -0.405578345, 0.819153309, 0.405578941, -0.579228342, -0.573574781, 0.579229236),C1 = CFrame.new(-0.466452599, -2.45892859, 0.54785347, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 842 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300000012, 1.73000002, 0.300000012),CFrame = CFrame.new(-8.72918701, 2.02194619, -7.48567963, 0.707107365, 0.353553772, -0.612371683, 5.68434189e-14, 0.866024971, 0.500000834, 0.707106352, -0.353554249, 0.612372518),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 843 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.707107365, 0, 0.707106352, 0.353553772, 0.866024971, -0.353554249, -0.612371683, 0.500000834, 0.612372518),C1 = CFrame.new(-0.539182663, -0.978090048, 0.614330292, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
| |
| 844 | ||
| 845 | ||
| 846 | ---------------- | |
| 847 | -------------------------------------------- | |
| 848 | Debounces = {
| |
| 849 | CanAttack = true; | |
| 850 | NoIdl = false; | |
| 851 | Slashing = false; | |
| 852 | Slashed = false; | |
| 853 | RPunch = false; | |
| 854 | RPunched = false; | |
| 855 | LPunch = false; | |
| 856 | LPunched = false; | |
| 857 | } | |
| 858 | local Touche = {char.Name, }
| |
| 859 | ---------------------------------------------------- | |
| 860 | ||
| 861 | wait() | |
| 862 | local Player = game.Players.LocalPlayer | |
| 863 | local Character = Player.Character | |
| 864 | local Humanoid = Character.Humanoid | |
| 865 | local Head = Character.Head | |
| 866 | local Torso = Character.Torso | |
| 867 | local RootPart = Character.HumanoidRootPart | |
| 868 | local RightArm = Character["Right Arm"] | |
| 869 | local LeftArm = Character["Left Arm"] | |
| 870 | local RightLeg = Character["Right Leg"] | |
| 871 | local LeftLeg = Character["Left Leg"] | |
| 872 | local Neck = Torso.Neck | |
| 873 | local RootJoint = RootPart.RootJoint | |
| 874 | local RightShoulder = Torso["Right Shoulder"] | |
| 875 | local LeftShoulder = Torso["Left Shoulder"] | |
| 876 | local RightHip = Torso["Right Hip"] | |
| 877 | local LeftHip = Torso["Left Hip"] | |
| 878 | local Insert = table.insert | |
| 879 | local Mouse = Player:GetMouse() | |
| 880 | VFXList = {}
| |
| 881 | local CharaterAnimate, CharacterAnimator = Character:FindFirstChild("Animate"), Humanoid:FindFirstChild("Animator")
| |
| 882 | if CharaterAnimate and CharacterAnimator then | |
| 883 | CharaterAnimate.Parent = nil | |
| 884 | CharacterAnimator.Parent = nil | |
| 885 | end | |
| 886 | ||
| 887 | ||
| 888 | ---------------------------------------------------- | |
| 889 | ||
| 890 | ||
| 891 | ||
| 892 | ||
| 893 | ||
| 894 | ArtificialHB = Create("BindableEvent", script){
| |
| 895 | Parent = script, | |
| 896 | Name = "Heartbeat", | |
| 897 | } | |
| 898 | ||
| 899 | script:WaitForChild("Heartbeat")
| |
| 900 | ||
| 901 | frame = 1 / 30 | |
| 902 | tf = 0 | |
| 903 | allowframeloss = false | |
| 904 | tossremainder = false | |
| 905 | lastframe = tick() | |
| 906 | script.Heartbeat:Fire() | |
| 907 | ||
| 908 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 909 | tf = tf + s | |
| 910 | if tf >= frame then | |
| 911 | if allowframeloss then | |
| 912 | script.Heartbeat:Fire() | |
| 913 | lastframe = tick() | |
| 914 | else | |
| 915 | for i = 1, math.floor(tf / frame) do | |
| 916 | script.Heartbeat:Fire() | |
| 917 | end | |
| 918 | lastframe = tick() | |
| 919 | end | |
| 920 | if tossremainder then | |
| 921 | tf = 0 | |
| 922 | else | |
| 923 | tf = tf - frame * math.floor(tf / frame) | |
| 924 | end | |
| 925 | end | |
| 926 | end) | |
| 927 | ||
| 928 | ||
| 929 | ||
| 930 | function swait(num) | |
| 931 | if num == 0 or num == nil then | |
| 932 | ArtificialHB.Event:wait() | |
| 933 | else | |
| 934 | for i = 0, num do | |
| 935 | ArtificialHB.Event:wait() | |
| 936 | end | |
| 937 | end | |
| 938 | end | |
| 939 | ||
| 940 | ||
| 941 | ||
| 942 | ||
| 943 | local m = Create("Model"){
| |
| 944 | Parent = Character, | |
| 945 | Name = "WeaponModel", | |
| 946 | } | |
| 947 | ||
| 948 | Effects = { }
| |
| 949 | ||
| 950 | ||
| 951 | ||
| 952 | ||
| 953 | EffectModel = Create("Model"){
| |
| 954 | Parent = Character, | |
| 955 | Name = "Effects", | |
| 956 | } | |
| 957 | ||
| 958 | Effects = {
| |
| 959 | Block = {
| |
| 960 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 961 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 962 | prt.Anchored = true | |
| 963 | prt.CFrame = cframe | |
| 964 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 965 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 966 | if Type == 1 or Type == nil then | |
| 967 | table.insert(Effects, {
| |
| 968 | prt, | |
| 969 | "Block1", | |
| 970 | delay, | |
| 971 | x3, | |
| 972 | y3, | |
| 973 | z3, | |
| 974 | msh | |
| 975 | }) | |
| 976 | elseif Type == 2 then | |
| 977 | table.insert(Effects, {
| |
| 978 | prt, | |
| 979 | "Block2", | |
| 980 | delay, | |
| 981 | x3, | |
| 982 | y3, | |
| 983 | z3, | |
| 984 | msh | |
| 985 | }) | |
| 986 | end | |
| 987 | end; | |
| 988 | }; | |
| 989 | ||
| 990 | Cylinder = {
| |
| 991 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 992 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 993 | prt.Anchored = true | |
| 994 | prt.CFrame = cframe | |
| 995 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 996 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 997 | table.insert(Effects, {
| |
| 998 | prt, | |
| 999 | "Cylinder", | |
| 1000 | delay, | |
| 1001 | x3, | |
| 1002 | y3, | |
| 1003 | z3, | |
| 1004 | msh | |
| 1005 | }) | |
| 1006 | end; | |
| 1007 | }; | |
| 1008 | Head = {
| |
| 1009 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1010 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1011 | prt.Anchored = true | |
| 1012 | prt.CFrame = cframe | |
| 1013 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1014 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1015 | table.insert(Effects, {
| |
| 1016 | prt, | |
| 1017 | "Cylinder", | |
| 1018 | delay, | |
| 1019 | x3, | |
| 1020 | y3, | |
| 1021 | z3, | |
| 1022 | msh | |
| 1023 | }) | |
| 1024 | end; | |
| 1025 | }; | |
| 1026 | ||
| 1027 | Sphere = {
| |
| 1028 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1029 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1030 | prt.Anchored = true | |
| 1031 | prt.CFrame = cframe | |
| 1032 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1033 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1034 | table.insert(Effects, {
| |
| 1035 | prt, | |
| 1036 | "Cylinder", | |
| 1037 | delay, | |
| 1038 | x3, | |
| 1039 | y3, | |
| 1040 | z3, | |
| 1041 | msh | |
| 1042 | }) | |
| 1043 | end; | |
| 1044 | }; | |
| 1045 | ||
| 1046 | Elect = {
| |
| 1047 | Create = function(cff, x, y, z) | |
| 1048 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
| |
| 1049 | prt.Anchored = true | |
| 1050 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
| 1051 | prt.CFrame = CFrame.new(prt.Position) | |
| 1052 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 1053 | local xval = math.random() / 2 | |
| 1054 | local yval = math.random() / 2 | |
| 1055 | local zval = math.random() / 2 | |
| 1056 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 1057 | table.insert(Effects, {
| |
| 1058 | prt, | |
| 1059 | "Elec", | |
| 1060 | 0.1, | |
| 1061 | x, | |
| 1062 | y, | |
| 1063 | z, | |
| 1064 | xval, | |
| 1065 | yval, | |
| 1066 | zval | |
| 1067 | }) | |
| 1068 | end; | |
| 1069 | ||
| 1070 | }; | |
| 1071 | ||
| 1072 | Ring = {
| |
| 1073 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1074 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1075 | prt.Anchored = true | |
| 1076 | prt.CFrame = cframe | |
| 1077 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1078 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1079 | table.insert(Effects, {
| |
| 1080 | prt, | |
| 1081 | "Cylinder", | |
| 1082 | delay, | |
| 1083 | x3, | |
| 1084 | y3, | |
| 1085 | z3, | |
| 1086 | msh | |
| 1087 | }) | |
| 1088 | end; | |
| 1089 | }; | |
| 1090 | ||
| 1091 | ||
| 1092 | Wave = {
| |
| 1093 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1094 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1095 | prt.Anchored = true | |
| 1096 | prt.CFrame = cframe | |
| 1097 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1098 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1099 | table.insert(Effects, {
| |
| 1100 | prt, | |
| 1101 | "Cylinder", | |
| 1102 | delay, | |
| 1103 | x3, | |
| 1104 | y3, | |
| 1105 | z3, | |
| 1106 | msh | |
| 1107 | }) | |
| 1108 | end; | |
| 1109 | }; | |
| 1110 | ||
| 1111 | Break = {
| |
| 1112 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1113 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1114 | prt.Anchored = true | |
| 1115 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1116 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1117 | local num = math.random(10, 50) / 1000 | |
| 1118 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1119 | table.insert(Effects, {
| |
| 1120 | prt, | |
| 1121 | "Shatter", | |
| 1122 | num, | |
| 1123 | prt.CFrame, | |
| 1124 | math.random() - math.random(), | |
| 1125 | 0, | |
| 1126 | math.random(50, 100) / 100 | |
| 1127 | }) | |
| 1128 | end; | |
| 1129 | }; | |
| 1130 | ||
| 1131 | Fire = {
| |
| 1132 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
| 1133 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1134 | prt.Anchored = true | |
| 1135 | prt.CFrame = cframe | |
| 1136 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1137 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1138 | table.insert(Effects, {
| |
| 1139 | prt, | |
| 1140 | "Fire", | |
| 1141 | delay, | |
| 1142 | 1, | |
| 1143 | 1, | |
| 1144 | 1, | |
| 1145 | msh | |
| 1146 | }) | |
| 1147 | end; | |
| 1148 | }; | |
| 1149 | ||
| 1150 | FireWave = {
| |
| 1151 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1152 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
| 1153 | prt.Anchored = true | |
| 1154 | prt.CFrame = cframe | |
| 1155 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1156 | local d = Create("Decal"){
| |
| 1157 | Parent = prt, | |
| 1158 | Texture = "rbxassetid://26356434", | |
| 1159 | Face = "Top", | |
| 1160 | } | |
| 1161 | local d = Create("Decal"){
| |
| 1162 | Parent = prt, | |
| 1163 | Texture = "rbxassetid://26356434", | |
| 1164 | Face = "Bottom", | |
| 1165 | } | |
| 1166 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1167 | table.insert(Effects, {
| |
| 1168 | prt, | |
| 1169 | "FireWave", | |
| 1170 | 1, | |
| 1171 | 30, | |
| 1172 | math.random(400, 600) / 100, | |
| 1173 | msh | |
| 1174 | }) | |
| 1175 | end; | |
| 1176 | }; | |
| 1177 | ||
| 1178 | Lightning = {
| |
| 1179 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
| 1180 | local magz = (p0 - p1).magnitude | |
| 1181 | local curpos = p0 | |
| 1182 | local trz = {
| |
| 1183 | -ofs, | |
| 1184 | ofs | |
| 1185 | } | |
| 1186 | for i = 1, tym do | |
| 1187 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
| 1188 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 1189 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 1190 | li.Material = "Neon" | |
| 1191 | if tym == i then | |
| 1192 | local magz2 = (curpos - p1).magnitude | |
| 1193 | li.Size = Vector3.new(th, th, magz2) | |
| 1194 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 1195 | table.insert(Effects, {
| |
| 1196 | li, | |
| 1197 | "Disappear", | |
| 1198 | last | |
| 1199 | }) | |
| 1200 | else | |
| 1201 | do | |
| 1202 | do | |
| 1203 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 1204 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 1205 | game.Debris:AddItem(li, 10) | |
| 1206 | table.insert(Effects, {
| |
| 1207 | li, | |
| 1208 | "Disappear", | |
| 1209 | last | |
| 1210 | }) | |
| 1211 | end | |
| 1212 | end | |
| 1213 | end | |
| 1214 | end | |
| 1215 | end | |
| 1216 | }; | |
| 1217 | ||
| 1218 | EffectTemplate = {
| |
| 1219 | ||
| 1220 | }; | |
| 1221 | } | |
| 1222 | ||
| 1223 | ||
| 1224 | ||
| 1225 | ||
| 1226 | ||
| 1227 | ||
| 1228 | ||
| 1229 | function rayCast(Position, Direction, Range, Ignore) | |
| 1230 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 1231 | end | |
| 1232 | ||
| 1233 | FindNearestTorso = function(pos) | |
| 1234 | local list = (game.Workspace:children()) | |
| 1235 | local torso = nil | |
| 1236 | local dist = 1000 | |
| 1237 | local temp, human, temp2 = nil, nil, nil | |
| 1238 | for x = 1, #list do | |
| 1239 | temp2 = list[x] | |
| 1240 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
| 1241 | temp = temp2:findFirstChild("Torso")
| |
| 1242 | human = temp2:findFirstChild("Humanoid")
| |
| 1243 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
| 1244 | local dohit = true | |
| 1245 | if dohit == true then | |
| 1246 | torso = temp | |
| 1247 | dist = (temp.Position - pos).magnitude | |
| 1248 | end | |
| 1249 | end | |
| 1250 | end | |
| 1251 | end | |
| 1252 | return torso, dist | |
| 1253 | end | |
| 1254 | ||
| 1255 | ||
| 1256 | ||
| 1257 | ||
| 1258 | ||
| 1259 | ||
| 1260 | ||
| 1261 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 1262 | if hit.Parent == nil then | |
| 1263 | return | |
| 1264 | end | |
| 1265 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 1266 | for _, v in pairs(hit.Parent:children()) do | |
| 1267 | if v:IsA("Humanoid") then
| |
| 1268 | h = v | |
| 1269 | end | |
| 1270 | end | |
| 1271 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 1272 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 1273 | if hit.Parent.DebounceHit.Value == true then | |
| 1274 | return | |
| 1275 | end | |
| 1276 | end | |
| 1277 | local c = Create("ObjectValue"){
| |
| 1278 | Name = "creator", | |
| 1279 | Value = game:service("Players").LocalPlayer,
| |
| 1280 | Parent = h, | |
| 1281 | } | |
| 1282 | game:GetService("Debris"):AddItem(c, .5)
| |
| 1283 | if HitSound ~= nil and HitPitch ~= nil then | |
| 1284 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 1285 | end | |
| 1286 | local Damage = math.random(minim, maxim) | |
| 1287 | local blocked = false | |
| 1288 | local block = hit.Parent:findFirstChild("Block")
| |
| 1289 | if block ~= nil then | |
| 1290 | if block.className == "IntValue" then | |
| 1291 | if block.Value > 0 then | |
| 1292 | blocked = true | |
| 1293 | block.Value = block.Value - 1 | |
| 1294 | print(block.Value) | |
| 1295 | end | |
| 1296 | end | |
| 1297 | end | |
| 1298 | if blocked == false then | |
| 1299 | h.Health = h.Health - Damage | |
| 1300 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 1301 | else | |
| 1302 | h.Health = h.Health - (Damage / 2) | |
| 1303 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 1304 | end | |
| 1305 | if Type == "Knockdown" then | |
| 1306 | local hum = hit.Parent.Humanoid | |
| 1307 | hum.PlatformStand = true | |
| 1308 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1309 | swait(1) | |
| 1310 | HHumanoid.PlatformStand = false | |
| 1311 | end), hum) | |
| 1312 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 1313 | local bodvol = Create("BodyVelocity"){
| |
| 1314 | velocity = angle * knockback, | |
| 1315 | P = 5000, | |
| 1316 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 1317 | Parent = hit, | |
| 1318 | } | |
| 1319 | local rl = Create("BodyAngularVelocity"){
| |
| 1320 | P = 3000, | |
| 1321 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 1322 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 1323 | Parent = hit, | |
| 1324 | } | |
| 1325 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 1326 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 1327 | elseif Type == "Normal" then | |
| 1328 | local vp = Create("BodyVelocity"){
| |
| 1329 | P = 500, | |
| 1330 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 1331 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 1332 | } | |
| 1333 | if knockback > 0 then | |
| 1334 | vp.Parent = hit.Parent.Torso | |
| 1335 | end | |
| 1336 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 1337 | elseif Type == "Up" then | |
| 1338 | local bodyVelocity = Create("BodyVelocity"){
| |
| 1339 | velocity = Vector3.new(0, 20, 0), | |
| 1340 | P = 5000, | |
| 1341 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 1342 | Parent = hit, | |
| 1343 | } | |
| 1344 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 1345 | elseif Type == "DarkUp" then | |
| 1346 | coroutine.resume(coroutine.create(function() | |
| 1347 | for i = 0, 1, 0.1 do | |
| 1348 | swait() | |
| 1349 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 1350 | end | |
| 1351 | end)) | |
| 1352 | local bodyVelocity = Create("BodyVelocity"){
| |
| 1353 | velocity = Vector3.new(0, 20, 0), | |
| 1354 | P = 5000, | |
| 1355 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 1356 | Parent = hit, | |
| 1357 | } | |
| 1358 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1359 | elseif Type == "Snare" then | |
| 1360 | local bp = Create("BodyPosition"){
| |
| 1361 | P = 2000, | |
| 1362 | D = 100, | |
| 1363 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1364 | position = hit.Parent.Torso.Position, | |
| 1365 | Parent = hit.Parent.Torso, | |
| 1366 | } | |
| 1367 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1368 | elseif Type == "Freeze" then | |
| 1369 | local BodPos = Create("BodyPosition"){
| |
| 1370 | P = 50000, | |
| 1371 | D = 1000, | |
| 1372 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1373 | position = hit.Parent.Torso.Position, | |
| 1374 | Parent = hit.Parent.Torso, | |
| 1375 | } | |
| 1376 | local BodGy = Create("BodyGyro") {
| |
| 1377 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 1378 | P = 20e+003, | |
| 1379 | Parent = hit.Parent.Torso, | |
| 1380 | cframe = hit.Parent.Torso.CFrame, | |
| 1381 | } | |
| 1382 | hit.Parent.Torso.Anchored = true | |
| 1383 | coroutine.resume(coroutine.create(function(Part) | |
| 1384 | swait(1.5) | |
| 1385 | Part.Anchored = false | |
| 1386 | end), hit.Parent.Torso) | |
| 1387 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 1388 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 1389 | end | |
| 1390 | local debounce = Create("BoolValue"){
| |
| 1391 | Name = "DebounceHit", | |
| 1392 | Parent = hit.Parent, | |
| 1393 | Value = true, | |
| 1394 | } | |
| 1395 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 1396 | c = Create("ObjectValue"){
| |
| 1397 | Name = "creator", | |
| 1398 | Value = p, | |
| 1399 | Parent = h, | |
| 1400 | } | |
| 1401 | game:GetService("Debris"):AddItem(c, .5)
| |
| 1402 | end | |
| 1403 | end | |
| 1404 | ||
| 1405 | function ShowDamage(Pos, Text, Time, Color) | |
| 1406 | local Rate = (1 / 30) | |
| 1407 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 1408 | local Text = (Text or "") | |
| 1409 | local Time = (Time or 2) | |
| 1410 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 1411 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 1412 | EffectPart.Anchored = true | |
| 1413 | local BillboardGui = Create("BillboardGui"){
| |
| 1414 | Size = UDim2.new(3, 0, 3, 0), | |
| 1415 | Adornee = EffectPart, | |
| 1416 | Parent = EffectPart, | |
| 1417 | } | |
| 1418 | local TextLabel = Create("TextLabel"){
| |
| 1419 | BackgroundTransparency = 1, | |
| 1420 | Size = UDim2.new(1, 0, 1, 0), | |
| 1421 | Text = Text, | |
| 1422 | Font = "SciFi", | |
| 1423 | TextColor3 = Color, | |
| 1424 | TextScaled = true, | |
| 1425 | Parent = BillboardGui, | |
| 1426 | } | |
| 1427 | game.Debris:AddItem(EffectPart, (Time)) | |
| 1428 | EffectPart.Parent = game:GetService("Workspace")
| |
| 1429 | delay(0, function() | |
| 1430 | local Frames = (Time / Rate) | |
| 1431 | for Frame = 1, Frames do | |
| 1432 | wait(Rate) | |
| 1433 | local Percent = (Frame / Frames) | |
| 1434 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 1435 | TextLabel.TextTransparency = Percent | |
| 1436 | end | |
| 1437 | if EffectPart and EffectPart.Parent then | |
| 1438 | EffectPart:Destroy() | |
| 1439 | end | |
| 1440 | end) | |
| 1441 | end | |
| 1442 | ||
| 1443 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
| 1444 | for _, c in pairs(workspace:children()) do | |
| 1445 | local hum = c:findFirstChild("Humanoid")
| |
| 1446 | if hum ~= nil then | |
| 1447 | local head = c:findFirstChild("Torso")
| |
| 1448 | if head ~= nil then | |
| 1449 | local targ = head.Position - Part.Position | |
| 1450 | local mag = targ.magnitude | |
| 1451 | if mag <= Magnitude and c.Name ~= p.Name then | |
| 1452 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, root, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 1453 | end | |
| 1454 | end | |
| 1455 | end | |
| 1456 | end | |
| 1457 | end | |
| 1458 | ||
| 1459 | ||
| 1460 | ||
| 1461 | ||
| 1462 | ||
| 1463 | ||
| 1464 | ||
| 1465 | ||
| 1466 | ||
| 1467 | ||
| 1468 | ||
| 1469 | SkyBeam = function() | |
| 1470 | ||
| 1471 | attack = true | |
| 1472 | ||
| 1473 | local sbs = Instance.new("BodyPosition", root)
| |
| 1474 | sbs.P = 3000 | |
| 1475 | sbs.D = 1000 | |
| 1476 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
| 1477 | sbs.position = root.CFrame.p + Vector3.new(0, 100, 0) | |
| 1478 | ||
| 1479 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=159882578", Character, 5, 0.75)
| |
| 1480 | wait(2) | |
| 1481 | CFuncs.Sound.Create("rbxassetid://215395388", Character, 11, 0.85)
| |
| 1482 | local seen = Instance.new("Sound",Character)
| |
| 1483 | seen.SoundId = "rbxassetid://445796828" | |
| 1484 | seen.Pitch = 0.75 | |
| 1485 | seen.Volume = 3.8 | |
| 1486 | seen.Looped = true | |
| 1487 | seen:Play() | |
| 1488 | CFuncs.Sound.Create("rbxassetid://289315275", Character, 3.8, 0.75)
| |
| 1489 | bb = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, "Black", "hot", Vector3.new()) | |
| 1490 | bb.Anchored=true | |
| 1491 | bb.CFrame=CFrame.new(Torso.Position) * CFrame.Angles(0, 0, 1.57) | |
| 1492 | msh = CFuncs.Mesh.Create("SpecialMesh", bb, "Cylinder", "", Vector3.new(0, 0, 0), Vector3.new(1000000, 10, 10))
| |
| 1493 | sp = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, "Really black", "hot", Vector3.new()) | |
| 1494 | sp.Anchored=true | |
| 1495 | ||
| 1496 | sp2 = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, "Really black", "hot", Vector3.new()) | |
| 1497 | sp2.Anchored=true | |
| 1498 | ||
| 1499 | dang = CFuncs.Mesh.Create("SpecialMesh", sp, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(10, 10, 10))
| |
| 1500 | ref = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, "White", "Reference", Vector3.new()) | |
| 1501 | ref.Anchored=true | |
| 1502 | cf=CFrame.new | |
| 1503 | vt=Vector3.new | |
| 1504 | local TheHit = root.Position + vt(0, -1, 0) | |
| 1505 | local MouseLook = cf((root.Position + TheHit) / 2, TheHit) | |
| 1506 | local hit, pos = rayCast(root.Position, MouseLook.lookVector, 999, Character) | |
| 1507 | local mag = (root.Position - pos).magnitude | |
| 1508 | ref.CFrame = CFrame.new(pos) | |
| 1509 | for i = 0, 450 do | |
| 1510 | swait() | |
| 1511 | ref.CFrame = CFrame.new(pos) | |
| 1512 | if ref.CFrame ~= CFrame.new(pos) then | |
| 1513 | ref.CFrame = CFrame.new(pos) | |
| 1514 | else | |
| 1515 | ref.CFrame = CFrame.new(pos) | |
| 1516 | end | |
| 1517 | MagnitudeDamage(ref, 150, 999, 999999, 7, "Normal", "0", 1) | |
| 1518 | bb.Position = Torso.Position + Vector3.new(math.random(-1, 1), 0, math.random(-1, 1)) | |
| 1519 | bb.Transparency=bb.Transparency+0.0025 | |
| 1520 | msh.Scale = msh.Scale:lerp(Vector3.new(1000000, 500, 500),.025) | |
| 1521 | sp.Position = ref.Position + vt(math.random(-1, 1), 0, math.random(-1, 1)) | |
| 1522 | sp.Transparency = sp.Transparency+0.0025 | |
| 1523 | sp2.Position = ref.Position + vt(math.random(-4, 4), 0, math.random(-4, 4)) | |
| 1524 | sp2.Transparency = sp.Transparency+0.0025 | |
| 1525 | dang.Scale = dang.Scale:lerp(Vector3.new(1500, 1500, 1500),.025) | |
| 1526 | ||
| 1527 | end | |
| 1528 | sp:Destroy() | |
| 1529 | bb:Destroy() | |
| 1530 | ref:Destroy() | |
| 1531 | seen:Destroy() | |
| 1532 | sbs:Destroy() | |
| 1533 | attack = false | |
| 1534 | end | |
| 1535 | ||
| 1536 | ||
| 1537 | ||
| 1538 | ------------------------ | |
| 1539 | hed.face.Texture = "rbxassetid://58820113" | |
| 1540 | ||
| 1541 | char["Body Colors"].TorsoColor = BrickColor.new("Royal purple")
| |
| 1542 | char["Body Colors"].LeftArmColor = BrickColor.new("Really black")
| |
| 1543 | char["Body Colors"].RightArmColor = BrickColor.new("Really black")
| |
| 1544 | ---------------------------------------------------- | |
| 1545 | ||
| 1546 | ------------ | |
| 1547 | ypcall(function() | |
| 1548 | char.Shirt:Destroy() | |
| 1549 | char.Pants:Destroy() | |
| 1550 | shirt = Instance.new("Shirt", char)
| |
| 1551 | shirt.Name = "Shirt" | |
| 1552 | pants = Instance.new("Pants", char)
| |
| 1553 | pants.Name = "Pants" | |
| 1554 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=236410507" | |
| 1555 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261" | |
| 1556 | end) | |
| 1557 | ---------------------------------------------------- | |
| 1558 | local Transforming = true | |
| 1559 | hum.WalkSpeed = 0 | |
| 1560 | local fx = Instance.new("Part",torso)
| |
| 1561 | wit = torso.BrickColor.Color | |
| 1562 | wit2 = Color3.new(0,0,0) | |
| 1563 | local glowz = Instance.new("ParticleEmitter",fx)
| |
| 1564 | glowz.LightEmission = 1 | |
| 1565 | glowz.Texture = "rbxassetid://284205403" | |
| 1566 | glowz.Color = ColorSequence.new(wit) | |
| 1567 | glowz.Size = NumberSequence.new(5) | |
| 1568 | glowz.Speed = NumberRange.new(25,50) | |
| 1569 | glowz.LockedToPart = false | |
| 1570 | glowz.Transparency = NumberSequence.new(0.75) | |
| 1571 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
| 1572 | glowz.Lifetime = NumberRange.new(1) | |
| 1573 | glowz.Rate = 50000 | |
| 1574 | glowz.VelocitySpread = 9001 | |
| 1575 | fx.Anchored = true | |
| 1576 | fx.Material = "Neon" | |
| 1577 | fx.CanCollide = false | |
| 1578 | fx.Locked = true | |
| 1579 | fx.Transparency = 1 | |
| 1580 | fx.Material = "Neon" | |
| 1581 | fx.Size = Vector3.new(1,1,1) | |
| 1582 | fx.TopSurface = "SmoothNoOutlines" | |
| 1583 | fx.BottomSurface = "SmoothNoOutlines" | |
| 1584 | fx.BrickColor = BrickColor.new("Really black")
| |
| 1585 | fxm = Instance.new("SpecialMesh",fx)
| |
| 1586 | fxm.MeshType = "Sphere" | |
| 1587 | local sa2 = Instance.new("Sound",torso)
| |
| 1588 | sa2.SoundId = "rbxassetid://93724183" | |
| 1589 | sa2.Pitch = 0.5 | |
| 1590 | sa2.Volume = 5 | |
| 1591 | sa2.Looped = false | |
| 1592 | sa2:Play() | |
| 1593 | local value = 1 | |
| 1594 | fxm.Scale = Vector3.new(1,1,1) | |
| 1595 | for i = 1, 20 do rs:wait() | |
| 1596 | value = value - 0.05 | |
| 1597 | fx.Transparency = fx.Transparency - (1/20) | |
| 1598 | fx.CFrame = torso.CFrame | |
| 1599 | fxm.Scale = fxm.Scale + Vector3.new(value,value,value) | |
| 1600 | rs:wait() | |
| 1601 | end | |
| 1602 | ---------------------------------------------------- | |
| 1603 | GroundWave1 = function() | |
| 1604 | local Transforming = true | |
| 1605 | hum.WalkSpeed = 0 | |
| 1606 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1607 | local Colors = {"White", "Really black"}
| |
| 1608 | local wave = Instance.new("Part", torso)
| |
| 1609 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 1610 | wave.Anchored = true | |
| 1611 | wave.CanCollide = false | |
| 1612 | wave.Locked = true | |
| 1613 | wave.Size = Vector3.new(1, 1, 1) | |
| 1614 | wave.TopSurface = "Smooth" | |
| 1615 | wave.BottomSurface = "Smooth" | |
| 1616 | wave.Transparency = 0.35 | |
| 1617 | wave.CFrame = HandCF | |
| 1618 | wm = Instance.new("SpecialMesh", wave)
| |
| 1619 | wm.MeshId = "rbxassetid://3270017" | |
| 1620 | coroutine.wrap(function() | |
| 1621 | for i = 1, 30, 1 do | |
| 1622 | wm.Scale = Vector3.new(50, 50, 1 + i*50) | |
| 1623 | wave.Size = wm.Scale | |
| 1624 | wave.CFrame = HandCF | |
| 1625 | wave.Transparency = i/30 | |
| 1626 | wait() | |
| 1627 | end | |
| 1628 | wait() | |
| 1629 | wave:Destroy() | |
| 1630 | end)() | |
| 1631 | end | |
| 1632 | ---------------------------------------------------- | |
| 1633 | GroundWave = function() | |
| 1634 | if Transforming == true then | |
| 1635 | local value = 5 | |
| 1636 | local value2 = 10 | |
| 1637 | local value3 = 20 | |
| 1638 | local sa2 = Instance.new("Sound",torso)
| |
| 1639 | sa2.SoundId = "rbxassetid://413682983" | |
| 1640 | sa2.Pitch = 1 | |
| 1641 | sa2.Volume = 10 | |
| 1642 | sa2.Looped = false | |
| 1643 | sa2:Play() | |
| 1644 | local wave = Instance.new("Part", torso)
| |
| 1645 | local glowz = Instance.new("ParticleEmitter",wave)
| |
| 1646 | glowz.LightEmission = 1 | |
| 1647 | glowz.Texture = "0" | |
| 1648 | glowz.Color = ColorSequence.new(wit) | |
| 1649 | glowz.Size = NumberSequence.new(30) | |
| 1650 | glowz.Speed = NumberRange.new(25,100) | |
| 1651 | glowz.LockedToPart = false | |
| 1652 | glowz.Transparency = NumberSequence.new(0.75) | |
| 1653 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
| 1654 | glowz.Lifetime = NumberRange.new(1) | |
| 1655 | glowz.Rate = 50000 | |
| 1656 | glowz.VelocitySpread = 9001 | |
| 1657 | ||
| 1658 | wave.BrickColor = BrickColor.new("Royal purple")
| |
| 1659 | wave.Anchored = true | |
| 1660 | wave.CanCollide = false | |
| 1661 | wave.Locked = true | |
| 1662 | wave.Size = Vector3.new(1, 1, 1) | |
| 1663 | wave.TopSurface = "Smooth" | |
| 1664 | wave.BottomSurface = "Smooth" | |
| 1665 | wave.Transparency = 0.35 | |
| 1666 | wave.CFrame = fx.CFrame | |
| 1667 | wave.Material = "Neon" | |
| 1668 | wm = Instance.new("SpecialMesh", wave)
| |
| 1669 | wm.MeshType = "Sphere" | |
| 1670 | wm.Scale = Vector3.new(1,1,1) | |
| 1671 | local wave2 = Instance.new("Part", torso)
| |
| 1672 | wave2.BrickColor = BrickColor.new("Royal purple")
| |
| 1673 | wave2.Anchored = true | |
| 1674 | wave2.CanCollide = false | |
| 1675 | wave2.Locked = true | |
| 1676 | wave2.Size = Vector3.new(1, 1, 1) | |
| 1677 | wave2.TopSurface = "Smooth" | |
| 1678 | wave2.BottomSurface = "Smooth" | |
| 1679 | wave2.Transparency = 0.35 | |
| 1680 | wave2.CFrame = fx.CFrame | |
| 1681 | wave2.Material = "Neon" | |
| 1682 | wm2 = Instance.new("SpecialMesh", wave2)
| |
| 1683 | wm2.MeshType = "FileMesh" | |
| 1684 | wm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1685 | wm2.Scale = Vector3.new(1,1,1) | |
| 1686 | local wave3 = Instance.new("Part", torso)
| |
| 1687 | wave3.BrickColor = BrickColor.new("Really black")
| |
| 1688 | wave3.Anchored = true | |
| 1689 | wave3.CanCollide = false | |
| 1690 | wave3.Locked = true | |
| 1691 | wave3.Size = Vector3.new(1, 1, 1) | |
| 1692 | wave3.TopSurface = "Smooth" | |
| 1693 | wave3.BottomSurface = "Smooth" | |
| 1694 | wave3.Transparency = 0.35 | |
| 1695 | wave3.CFrame = fx.CFrame | |
| 1696 | wave3.Material = "Neon" | |
| 1697 | wm3 = Instance.new("SpecialMesh", wave3)
| |
| 1698 | wm3.MeshType = "FileMesh" | |
| 1699 | wm3.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1700 | wm3.Scale = Vector3.new(1,1,1) | |
| 1701 | coroutine.wrap(function() | |
| 1702 | for i = 1, 18, 1 do | |
| 1703 | value = value - 0.5 | |
| 1704 | value2 = value2 - 0.75*1.5 | |
| 1705 | value3 = value3 - 0.475*1.5 | |
| 1706 | wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5) | |
| 1707 | wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5) | |
| 1708 | wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25) | |
| 1709 | --wave.Size = wm.Scale | |
| 1710 | wave.CFrame = fx.CFrame | |
| 1711 | wave.Transparency = i/14 | |
| 1712 | --wave2.Size = wm2.Scale | |
| 1713 | wave2.CFrame = fx.CFrame | |
| 1714 | wave2.Rotation = Vector3.new(90, 0, 0) | |
| 1715 | wave2.Transparency = i/14 | |
| 1716 | --wave3.Size = wm3.Scale | |
| 1717 | wave3.CFrame = fx.CFrame | |
| 1718 | wave3.Rotation = Vector3.new(90, 0, 0) | |
| 1719 | wave3.Transparency = i/14 | |
| 1720 | wait() | |
| 1721 | glowz.Rate = 0 | |
| 1722 | ||
| 1723 | end | |
| 1724 | wait() | |
| 1725 | wave:Destroy() | |
| 1726 | wave2:Destroy() | |
| 1727 | wave3:Destroy() | |
| 1728 | end)() | |
| 1729 | elseif Transforming == false then | |
| 1730 | wait() | |
| 1731 | end | |
| 1732 | end | |
| 1733 | ||
| 1734 | for i = 1, 100 do rs:wait() | |
| 1735 | fx.CFrame = torso.CFrame | |
| 1736 | end | |
| 1737 | ||
| 1738 | Spawn(function() | |
| 1739 | while wait(1) do | |
| 1740 | GroundWave() | |
| 1741 | end | |
| 1742 | end) | |
| 1743 | ||
| 1744 | wait(4) | |
| 1745 | ||
| 1746 | Transforming = false | |
| 1747 | ||
| 1748 | local value2 = 1 | |
| 1749 | for i = 1, 20 do rs:wait() | |
| 1750 | value2 = value2 - 0.05 | |
| 1751 | glowz.Rate = 0 | |
| 1752 | ||
| 1753 | fx.Transparency = fx.Transparency + (1/20) | |
| 1754 | fx.CFrame = torso.CFrame | |
| 1755 | fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2) | |
| 1756 | rs:wait() | |
| 1757 | end | |
| 1758 | glowz:Destroy() | |
| 1759 | ||
| 1760 | ||
| 1761 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1762 | local valuer = 5 | |
| 1763 | local valuer2 = 10 | |
| 1764 | local valuer3 = 15 | |
| 1765 | local sa2 = Instance.new("Sound",torso)
| |
| 1766 | sa2.SoundId = "rbxassetid://130972023" | |
| 1767 | sa2.Pitch = 1 | |
| 1768 | sa2.Volume = 5 | |
| 1769 | sa2.Looped = false | |
| 1770 | sa2:Play() | |
| 1771 | local sar2 = Instance.new("Sound",torso)
| |
| 1772 | sar2.SoundId = "rbxassetid://153274423" | |
| 1773 | sar2.Pitch = 1 | |
| 1774 | sar2.Volume = 5 | |
| 1775 | sar2.Looped = false | |
| 1776 | sar2:Play() | |
| 1777 | local wave = Instance.new("Part", torso)
| |
| 1778 | wave.BrickColor = BrickColor.new("Royal purple")
| |
| 1779 | wave.Anchored = true | |
| 1780 | wave.CanCollide = false | |
| 1781 | wave.Locked = true | |
| 1782 | wave.Size = Vector3.new(1, 1, 1) | |
| 1783 | wave.TopSurface = "Smooth" | |
| 1784 | wave.BottomSurface = "Smooth" | |
| 1785 | wave.Transparency = 0.35 | |
| 1786 | wave.CFrame = HandCF | |
| 1787 | wm = Instance.new("SpecialMesh", wave)
| |
| 1788 | wm.MeshId = "rbxassetid://3270017" | |
| 1789 | local wave2 = Instance.new("Part", torso)
| |
| 1790 | wave2.BrickColor = BrickColor.new("Really black")
| |
| 1791 | wave2.Anchored = true | |
| 1792 | wave2.CanCollide = false | |
| 1793 | wave2.Locked = true | |
| 1794 | wave2.Size = Vector3.new(1, 1, 1) | |
| 1795 | wave2.TopSurface = "Smooth" | |
| 1796 | wave2.BottomSurface = "Smooth" | |
| 1797 | wave2.Transparency = 0.35 | |
| 1798 | wave2.CFrame = HandCF | |
| 1799 | wm2 = Instance.new("SpecialMesh", wave2)
| |
| 1800 | wm2.MeshId = "rbxassetid://3270017" | |
| 1801 | local wave3 = Instance.new("Part", torso)
| |
| 1802 | wave3.BrickColor = BrickColor.new("Royal purple")
| |
| 1803 | wave3.Anchored = true | |
| 1804 | wave3.CanCollide = false | |
| 1805 | wave3.Locked = true | |
| 1806 | wave3.Size = Vector3.new(1, 1, 1) | |
| 1807 | wave3.TopSurface = "Smooth" | |
| 1808 | wave3.BottomSurface = "Smooth" | |
| 1809 | wave3.Transparency = 0.35 | |
| 1810 | wave3.CFrame = HandCF | |
| 1811 | wm3 = Instance.new("SpecialMesh", wave3)
| |
| 1812 | wm3.MeshId = "rbxassetid://3270017" | |
| 1813 | coroutine.wrap(function() | |
| 1814 | for i = 1, 14, 1 do | |
| 1815 | valuer = valuer - 0.35 | |
| 1816 | valuer2 = valuer - 0.45 | |
| 1817 | valuer3 = valuer3 - 0.475 | |
| 1818 | wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200) | |
| 1819 | wave.Size = wm.Scale | |
| 1820 | wave.CFrame = HandCF | |
| 1821 | wave.Transparency = i/14 | |
| 1822 | wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10) | |
| 1823 | wave2.Size = wm2.Scale | |
| 1824 | wave2.CFrame = HandCF | |
| 1825 | wave2.Transparency = i/14 | |
| 1826 | wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1) | |
| 1827 | wave3.Size = wm2.Scale | |
| 1828 | wave3.CFrame = HandCF | |
| 1829 | wave3.Transparency = i/14 | |
| 1830 | wait() | |
| 1831 | end | |
| 1832 | wait() | |
| 1833 | wave:Destroy() | |
| 1834 | wave2:Destroy() | |
| 1835 | end)() | |
| 1836 | hum.WalkSpeed = 16 | |
| 1837 | ----------------- | |
| 1838 | function lerp(a, b, t) -- Linear interpolation | |
| 1839 | return a + (b - a)*t | |
| 1840 | end | |
| 1841 | ||
| 1842 | function slerp(a, b, t) --Spherical interpolation | |
| 1843 | dot = a:Dot(b) | |
| 1844 | if dot > 0.99999 or dot < -0.99999 then | |
| 1845 | return t <= 0.5 and a or b | |
| 1846 | else | |
| 1847 | r = math.acos(dot) | |
| 1848 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 1849 | end | |
| 1850 | end | |
| 1851 | ||
| 1852 | function matrixInterpolate(a, b, t) | |
| 1853 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 1854 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 1855 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 1856 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 1857 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 1858 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 1859 | local t = v1:Dot(v2) | |
| 1860 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 1861 | return CFrame.new() | |
| 1862 | end | |
| 1863 | return CFrame.new( | |
| 1864 | v0.x, v0.y, v0.z, | |
| 1865 | v1.x, v1.y, v1.z, | |
| 1866 | v2.x, v2.y, v2.z, | |
| 1867 | v3.x, v3.y, v3.z) | |
| 1868 | end | |
| 1869 | ---------------------------------------------------- | |
| 1870 | function genWeld(a,b) | |
| 1871 | local w = Instance.new("Weld",a)
| |
| 1872 | w.Part0 = a | |
| 1873 | w.Part1 = b | |
| 1874 | return w | |
| 1875 | end | |
| 1876 | function weld(a, b) | |
| 1877 | local weld = Instance.new("Weld")
| |
| 1878 | weld.Name = "W" | |
| 1879 | weld.Part0 = a | |
| 1880 | weld.Part1 = b | |
| 1881 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 1882 | weld.Parent = a | |
| 1883 | return weld; | |
| 1884 | end | |
| 1885 | ---------------------------------------------------- | |
| 1886 | function Lerp(c1,c2,al) | |
| 1887 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 1888 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 1889 | for i,v in pairs(com1) do | |
| 1890 | com1[i] = v+(com2[i]-v)*al | |
| 1891 | end | |
| 1892 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 1893 | end | |
| 1894 | ---------------------------------------------------- | |
| 1895 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 1896 | local wld = Instance.new("Weld", wp1)
| |
| 1897 | wld.Part0 = wp0 | |
| 1898 | wld.Part1 = wp1 | |
| 1899 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 1900 | end | |
| 1901 | ---------------------------------------------------- | |
| 1902 | function weld5(part0, part1, c0, c1) | |
| 1903 | weeld=Instance.new("Weld", part0)
| |
| 1904 | weeld.Part0=part0 | |
| 1905 | weeld.Part1=part1 | |
| 1906 | weeld.C0=c0 | |
| 1907 | weeld.C1=c1 | |
| 1908 | return weeld | |
| 1909 | end | |
| 1910 | ---------------------------------------------------- | |
| 1911 | function HasntTouched(plrname) | |
| 1912 | local ret = true | |
| 1913 | for _, v in pairs(Touche) do | |
| 1914 | if v == plrname then | |
| 1915 | ret = false | |
| 1916 | end | |
| 1917 | end | |
| 1918 | return ret | |
| 1919 | end | |
| 1920 | ---------------------------------------------------- | |
| 1921 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 1922 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 1923 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 1924 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 1925 | newWeld(torso, hed, 0, 1.5, 0) | |
| 1926 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 1927 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 1928 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 1929 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 1930 | newWeld(root, torso, 0, -1, 0) | |
| 1931 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 1932 | ---------------------------------------------------- | |
| 1933 | z = Instance.new("Sound", char)
| |
| 1934 | z.SoundId = "rbxassetid://681462568" | |
| 1935 | z.Looped = true | |
| 1936 | z.Pitch = 1 | |
| 1937 | z.Volume = 2 | |
| 1938 | wait(.1) | |
| 1939 | z:Play() | |
| 1940 | ---------------------------------------------------- | |
| 1941 | ------------------------------------------------------------------------------------------------- | |
| 1942 | ---------------------------------------------------- | |
| 1943 | ---------------------------------------------------- | |
| 1944 | ||
| 1945 | ||
| 1946 | ---------------------------------------------------- | |
| 1947 | ||
| 1948 | ||
| 1949 | ||
| 1950 | ||
| 1951 | ---------------------------------------------------- | |
| 1952 | ||
| 1953 | local txt = Instance.new("BillboardGui", chr)
| |
| 1954 | txt.Adornee = chr.Head | |
| 1955 | txt.Name = "_status" | |
| 1956 | txt.Size = UDim2.new(4, 0, 2.5, 0) | |
| 1957 | txt.StudsOffset = Vector3.new(-4, 2, 0) | |
| 1958 | local text = Instance.new("TextLabel", txt)
| |
| 1959 | text.Size = UDim2.new(3, 0, 0.5, 0) | |
| 1960 | text.FontSize = "Size24" | |
| 1961 | text.TextScaled = true | |
| 1962 | text.TextTransparency = 0 | |
| 1963 | text.BackgroundTransparency = 1 | |
| 1964 | text.TextTransparency = 0 | |
| 1965 | text.TextStrokeTransparency = 0 | |
| 1966 | text.Font = "SciFi" | |
| 1967 | text.TextStrokeColor3 = Color3.new(1,1,1) | |
| 1968 | text.Text = "Hunter" | |
| 1969 | ---------------------------------------------------- | |
| 1970 | paly = game.Players.LocalPlayer | |
| 1971 | p = game.Players.LocalPlayer | |
| 1972 | char = paly.Character | |
| 1973 | vt = Vector3.new | |
| 1974 | rarm = char["Right Arm"] | |
| 1975 | larm = char["Left Arm"] | |
| 1976 | local maincolor = char.Torso.BrickColor | |
| 1977 | ||
| 1978 | local orb = Instance.new("Part")
| |
| 1979 | orb.Parent = char | |
| 1980 | orb.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1981 | orb.Archivable = true | |
| 1982 | orb.Transparency = 1 | |
| 1983 | orb.BrickColor = maincolor | |
| 1984 | orb.Material = "Neon" | |
| 1985 | orb.CanCollide = false | |
| 1986 | local weld1 = Instance.new("Weld")
| |
| 1987 | weld1.Parent = rarm | |
| 1988 | weld1.Part0 = rarm | |
| 1989 | weld1.Part1 = orb | |
| 1990 | weld1.C1 = CFrame.new(0, 1.125, 0) | |
| 1991 | local pt1 = NumberSequenceKeypoint.new(0,0.85,0) | |
| 1992 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
| 1993 | local effecto = Instance.new("ParticleEmitter",orb)
| |
| 1994 | effecto.LightEmission = 1 | |
| 1995 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 1996 | effecto.Color = ColorSequence.new(maincolor.Color) | |
| 1997 | effecto.Rate = 10000 | |
| 1998 | effecto.Lifetime = NumberRange.new(1) | |
| 1999 | effecto.Size = NumberSequence.new({pt1,pt2})
| |
| 2000 | effecto.Speed = NumberRange.new(0,0) | |
| 2001 | effecto.RotSpeed = NumberRange.new(100,100) | |
| 2002 | ||
| 2003 | local orbz = Instance.new("Part")
| |
| 2004 | orbz.Parent = char | |
| 2005 | orbz.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 2006 | orbz.Archivable = true | |
| 2007 | orbz.Transparency = 1 | |
| 2008 | orbz.BrickColor = maincolor | |
| 2009 | orbz.Material = "Neon" | |
| 2010 | orbz.CanCollide = false | |
| 2011 | local weldz1 = Instance.new("Weld")
| |
| 2012 | weldz1.Parent = larm | |
| 2013 | weldz1.Part0 = larm | |
| 2014 | weldz1.Part1 = orbz | |
| 2015 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
| 2016 | local effecton = Instance.new("ParticleEmitter",orbz)
| |
| 2017 | effecton.LightEmission = 1 | |
| 2018 | effecton.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 2019 | effecton.Color = ColorSequence.new(maincolor.Color) | |
| 2020 | effecton.Rate = 10000 | |
| 2021 | effecton.Lifetime = NumberRange.new(1) | |
| 2022 | effecton.Size = NumberSequence.new({pt1,pt2})
| |
| 2023 | effecton.Speed = NumberRange.new(0,0) | |
| 2024 | effecton.RotSpeed = NumberRange.new(100,100) | |
| 2025 | ---------------------------------------------------- | |
| 2026 | Blast = function() | |
| 2027 | local Colors = {"Royal purple", "Really black"}
| |
| 2028 | local wave = Instance.new("Part", torso)
| |
| 2029 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 2030 | wave.Anchored = true | |
| 2031 | wave.CanCollide = false | |
| 2032 | wave.Locked = true | |
| 2033 | wave.Size = Vector3.new(1, 1, 1) | |
| 2034 | wave.TopSurface = "Smooth" | |
| 2035 | wave.BottomSurface = "Smooth" | |
| 2036 | wave.Transparency = 0.35 | |
| 2037 | wave.CFrame = rarm.CFrame | |
| 2038 | wm = Instance.new("SpecialMesh", wave)
| |
| 2039 | wm.MeshType = "Sphere" | |
| 2040 | wm.Scale = Vector3.new(1,1,1) | |
| 2041 | z = Instance.new("Sound",wave)
| |
| 2042 | z.SoundId = "rbxassetid://237035051" | |
| 2043 | z.Volume = 1 | |
| 2044 | z.Pitch = .9 | |
| 2045 | z:Play() | |
| 2046 | coroutine.wrap(function() | |
| 2047 | for i = 1, 30, 1 do | |
| 2048 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
| 2049 | --wave.Size = wm.Scale | |
| 2050 | wave.CFrame = rarm.CFrame | |
| 2051 | wave.Transparency = (1/14) | |
| 2052 | rs:wait() | |
| 2053 | end | |
| 2054 | rs:wait() | |
| 2055 | wave:Destroy() | |
| 2056 | z:Destroy() | |
| 2057 | end)() | |
| 2058 | end | |
| 2059 | ---------------------------------------------------- | |
| 2060 | rarm.Touched:connect(function(ht) | |
| 2061 | hit = ht.Parent | |
| 2062 | if ht and hit:IsA("Model") then
| |
| 2063 | if hit:FindFirstChild("Humanoid") then
| |
| 2064 | if hit.Name ~= p.Name then | |
| 2065 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 2066 | Debounces.RPunched = true | |
| 2067 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 2068 | if Debounces.ks==true then | |
| 2069 | z = Instance.new("Sound",hed)
| |
| 2070 | z.SoundId = "rbxassetid://169380525" | |
| 2071 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2072 | z.Volume = 1 | |
| 2073 | z:Play() | |
| 2074 | end | |
| 2075 | wait(.2) | |
| 2076 | Debounces.RPunched = false | |
| 2077 | end | |
| 2078 | end | |
| 2079 | end | |
| 2080 | elseif ht and hit:IsA("Hat") then
| |
| 2081 | if hit.Parent.Name ~= p.Name then | |
| 2082 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2083 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 2084 | Debounces.RPunched = true | |
| 2085 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 2086 | if Debounces.ks==true then | |
| 2087 | z = Instance.new("Sound",hed)
| |
| 2088 | z.SoundId = "rbxassetid://169380525" | |
| 2089 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2090 | z.Volume = 1 | |
| 2091 | z:Play() | |
| 2092 | end | |
| 2093 | wait(.2) | |
| 2094 | Debounces.RPunched = false | |
| 2095 | end | |
| 2096 | end | |
| 2097 | end | |
| 2098 | end | |
| 2099 | end) | |
| 2100 | larm.Touched:connect(function(ht) | |
| 2101 | hit = ht.Parent | |
| 2102 | if ht and hit:IsA("Model") then
| |
| 2103 | if hit:FindFirstChild("Humanoid") then
| |
| 2104 | if hit.Name ~= p.Name then | |
| 2105 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 2106 | Debounces.LPunched = true | |
| 2107 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 2108 | if Debounces.ks2==true then | |
| 2109 | z = Instance.new("Sound",hed)
| |
| 2110 | z.SoundId = "rbxassetid://169380525" | |
| 2111 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2112 | z.Volume = 1 | |
| 2113 | z:Play() | |
| 2114 | end | |
| 2115 | wait(.2) | |
| 2116 | Debounces.LPunched = false | |
| 2117 | end | |
| 2118 | end | |
| 2119 | end | |
| 2120 | elseif ht and hit:IsA("Hat") then
| |
| 2121 | if hit.Parent.Name ~= p.Name then | |
| 2122 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2123 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 2124 | Debounces.LPunched = true | |
| 2125 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 2126 | if Debounces.ks2==true then | |
| 2127 | z = Instance.new("Sound",hed)
| |
| 2128 | z.SoundId = "rbxassetid://169380525" | |
| 2129 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2130 | z.Volume = 1 | |
| 2131 | z:Play() | |
| 2132 | end | |
| 2133 | wait(.2) | |
| 2134 | Debounces.LPunched = false | |
| 2135 | end | |
| 2136 | end | |
| 2137 | end | |
| 2138 | end | |
| 2139 | end) | |
| 2140 | ---------------------------------------------------- | |
| 2141 | mod4 = Instance.new("Model",char)
| |
| 2142 | ||
| 2143 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 2144 | ||
| 2145 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 2146 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 2147 | local List = {}
| |
| 2148 | for i,v in pairs(workspace:GetChildren())do | |
| 2149 | if v:IsA("Model")then
| |
| 2150 | if v:findFirstChild("Torso")then
| |
| 2151 | if v ~= char then | |
| 2152 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 2153 | table.insert(List,v) | |
| 2154 | end | |
| 2155 | end | |
| 2156 | end | |
| 2157 | end | |
| 2158 | end | |
| 2159 | return List | |
| 2160 | end | |
| 2161 | ||
| 2162 | function Punch() | |
| 2163 | part=Instance.new('Part',mod4)
| |
| 2164 | part.Anchored=true | |
| 2165 | part.CanCollide=false | |
| 2166 | part.FormFactor='Custom' | |
| 2167 | part.Size=Vector3.new(.2,.2,.2) | |
| 2168 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
| 2169 | part.Transparency=.7 | |
| 2170 | part.BrickColor=BrickColor.new('Royal purple')
| |
| 2171 | mesh=Instance.new('SpecialMesh',part)
| |
| 2172 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 2173 | mesh.Scale=Vector3.new(3,3,3) | |
| 2174 | part2=Instance.new('Part',mod4)
| |
| 2175 | part2.Anchored=true | |
| 2176 | part2.CanCollide=false | |
| 2177 | part2.FormFactor='Custom' | |
| 2178 | part2.Size=Vector3.new(.2,.2,.2) | |
| 2179 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
| 2180 | part2.Transparency=.7 | |
| 2181 | part2.BrickColor=BrickColor.new('Royal purple')
| |
| 2182 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 2183 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 2184 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 2185 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
| 2186 | if v:FindFirstChild('Humanoid') then
| |
| 2187 | v.Humanoid:TakeDamage(math.random(2,6)) | |
| 2188 | end | |
| 2189 | end | |
| 2190 | coroutine.resume(coroutine.create(function() | |
| 2191 | for i=0,0.62,0.4 do | |
| 2192 | wait() | |
| 2193 | part.CFrame=part.CFrame | |
| 2194 | part.Transparency=i | |
| 2195 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
| 2196 | part2.CFrame=part2.CFrame | |
| 2197 | part2.Transparency=i | |
| 2198 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
| 2199 | end | |
| 2200 | part.Parent=nil | |
| 2201 | part2.Parent=nil | |
| 2202 | end)) | |
| 2203 | end | |
| 2204 | ---------------------------------------------------- | |
| 2205 | rarm.Touched:connect(function(ht) | |
| 2206 | hit = ht.Parent | |
| 2207 | if ht and hit:IsA("Model") then
| |
| 2208 | if hit:FindFirstChild("Humanoid") then
| |
| 2209 | if hit.Name ~= p.Name then | |
| 2210 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 2211 | Debounces.RPunched = true | |
| 2212 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 2213 | if Debounces.ks==true then | |
| 2214 | z = Instance.new("Sound",hed)
| |
| 2215 | z.SoundId = "rbxassetid://169380525" | |
| 2216 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2217 | z.Volume = 1 | |
| 2218 | z:Play() | |
| 2219 | end | |
| 2220 | wait(.2) | |
| 2221 | Debounces.RPunched = false | |
| 2222 | end | |
| 2223 | end | |
| 2224 | end | |
| 2225 | elseif ht and hit:IsA("Hat") then
| |
| 2226 | if hit.Parent.Name ~= p.Name then | |
| 2227 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2228 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 2229 | Debounces.RPunched = true | |
| 2230 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 2231 | if Debounces.ks==true then | |
| 2232 | z = Instance.new("Sound",hed)
| |
| 2233 | z.SoundId = "rbxassetid://169380525" | |
| 2234 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2235 | z.Volume = 1 | |
| 2236 | z:Play() | |
| 2237 | end | |
| 2238 | wait(.2) | |
| 2239 | Debounces.RPunched = false | |
| 2240 | end | |
| 2241 | end | |
| 2242 | end | |
| 2243 | end | |
| 2244 | end) | |
| 2245 | larm.Touched:connect(function(ht) | |
| 2246 | hit = ht.Parent | |
| 2247 | if ht and hit:IsA("Model") then
| |
| 2248 | if hit:FindFirstChild("Humanoid") then
| |
| 2249 | if hit.Name ~= p.Name then | |
| 2250 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 2251 | Debounces.LPunched = true | |
| 2252 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 2253 | if Debounces.ks2==true then | |
| 2254 | z = Instance.new("Sound",hed)
| |
| 2255 | z.SoundId = "rbxassetid://169380525" | |
| 2256 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2257 | z.Volume = 1 | |
| 2258 | z:Play() | |
| 2259 | end | |
| 2260 | wait(.2) | |
| 2261 | Debounces.LPunched = false | |
| 2262 | end | |
| 2263 | end | |
| 2264 | end | |
| 2265 | elseif ht and hit:IsA("Hat") then
| |
| 2266 | if hit.Parent.Name ~= p.Name then | |
| 2267 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2268 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 2269 | Debounces.LPunched = true | |
| 2270 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 2271 | if Debounces.ks2==true then | |
| 2272 | z = Instance.new("Sound",hed)
| |
| 2273 | z.SoundId = "rbxassetid://169380525" | |
| 2274 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2275 | z.Volume = 1 | |
| 2276 | z:Play() | |
| 2277 | end | |
| 2278 | wait(.2) | |
| 2279 | Debounces.LPunched = false | |
| 2280 | end | |
| 2281 | end | |
| 2282 | end | |
| 2283 | end | |
| 2284 | end) | |
| 2285 | ---------------------------------------------------- | |
| 2286 | local player = game.Players.LocalPlayer | |
| 2287 | local pchar = player.Character | |
| 2288 | local mouse = player:GetMouse() | |
| 2289 | local cam = workspace.CurrentCamera | |
| 2290 | ||
| 2291 | local rad = math.rad | |
| 2292 | ||
| 2293 | local keysDown = {}
| |
| 2294 | local flySpeed = 0 | |
| 2295 | local MAX_FLY_SPEED = 150 | |
| 2296 | ||
| 2297 | local canFly = false | |
| 2298 | local flyToggled = false | |
| 2299 | ||
| 2300 | local forward, side = 0, 0 | |
| 2301 | local lastForward, lastSide = 0, 0 | |
| 2302 | ||
| 2303 | local floatBP = Instance.new("BodyPosition")
| |
| 2304 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 2305 | local flyBV = Instance.new("BodyVelocity")
| |
| 2306 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 2307 | local turnBG = Instance.new("BodyGyro")
| |
| 2308 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 2309 | ||
| 2310 | mouse.KeyDown:connect(function(key) | |
| 2311 | keysDown[key] = true | |
| 2312 | ||
| 2313 | if key == "f" then | |
| 2314 | flyToggled = not flyToggled | |
| 2315 | ||
| 2316 | if not flyToggled then | |
| 2317 | stanceToggle = "Normal" | |
| 2318 | floatBP.Parent = nil | |
| 2319 | flyBV.Parent = nil | |
| 2320 | turnBG.Parent = nil | |
| 2321 | root.Velocity = Vector3.new() | |
| 2322 | pchar.Humanoid.PlatformStand = false | |
| 2323 | end | |
| 2324 | end | |
| 2325 | ||
| 2326 | end) | |
| 2327 | mouse.KeyUp:connect(function(key) | |
| 2328 | keysDown[key] = nil | |
| 2329 | end) | |
| 2330 | ||
| 2331 | local function updateFly() | |
| 2332 | ||
| 2333 | if not flyToggled then return end | |
| 2334 | ||
| 2335 | lastForward = forward | |
| 2336 | lastSide = side | |
| 2337 | ||
| 2338 | forward = 0 | |
| 2339 | side = 0 | |
| 2340 | ||
| 2341 | if keysDown.w then | |
| 2342 | forward = forward + 1 | |
| 2343 | end | |
| 2344 | if keysDown.s then | |
| 2345 | forward = forward - 1 | |
| 2346 | end | |
| 2347 | if keysDown.a then | |
| 2348 | side = side - 1 | |
| 2349 | end | |
| 2350 | if keysDown.d then | |
| 2351 | side = side + 1 | |
| 2352 | end | |
| 2353 | ||
| 2354 | canFly = (forward ~= 0 or side ~= 0) | |
| 2355 | ||
| 2356 | if canFly then | |
| 2357 | stanceToggle = "Floating" | |
| 2358 | turnBG.Parent = root | |
| 2359 | floatBP.Parent = nil | |
| 2360 | flyBV.Parent = root | |
| 2361 | ||
| 2362 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
| 2363 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
| 2364 | else | |
| 2365 | floatBP.position = root.Position | |
| 2366 | floatBP.Parent = root | |
| 2367 | ||
| 2368 | flySpeed = flySpeed - 1 | |
| 2369 | if flySpeed < 0 then flySpeed = 0 end | |
| 2370 | end | |
| 2371 | ||
| 2372 | local camCF = cam.CoordinateFrame | |
| 2373 | local in_forward = canFly and forward or lastForward | |
| 2374 | local in_side = canFly and side or lastSide | |
| 2375 | ||
| 2376 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
| 2377 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
| 2378 | ||
| 2379 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
| 2380 | 0) | |
| 2381 | end | |
| 2382 | ||
| 2383 | game:service'RunService'.RenderStepped:connect(function() | |
| 2384 | if flyToggled then | |
| 2385 | pchar.Humanoid.PlatformStand = true | |
| 2386 | end | |
| 2387 | updateFly() | |
| 2388 | end) | |
| 2389 | ------------------------------- | |
| 2390 | ||
| 2391 | mouse.KeyDown:connect(function(key) | |
| 2392 | if key == "x" then | |
| 2393 | chatfunc("GRRRRAAAAAAAAAHHHHHHH")
| |
| 2394 | hum.WalkSpeed = 0.01 | |
| 2395 | if Debounces.CanAttack == true then | |
| 2396 | Debounces.CanAttack = false | |
| 2397 | Debounces.NoIdl = true | |
| 2398 | Debounces.on = true | |
| 2399 | for i = 1, 30 do | |
| 2400 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
| 2401 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
| 2402 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 2403 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 2404 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 2405 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 2406 | if Debounces.on == false then break end | |
| 2407 | rs:wait(20) | |
| 2408 | end | |
| 2409 | v = Instance.new("Sound")
| |
| 2410 | v.SoundId = "rbxassetid://181384451" | |
| 2411 | v.Parent = char | |
| 2412 | v.Looped = false | |
| 2413 | v.Pitch = 1.1 | |
| 2414 | v.Volume = 5 | |
| 2415 | wait(.01) | |
| 2416 | v:Play() | |
| 2417 | ||
| 2418 | if Daytime == true then | |
| 2419 | Daytime = false | |
| 2420 | l.TimeOfDay = 00 | |
| 2421 | else | |
| 2422 | Daytime = true | |
| 2423 | l.TimeOfDay = 12 | |
| 2424 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
| 2425 | end | |
| 2426 | ||
| 2427 | local Shockwave = function() | |
| 2428 | local rng1 = Instance.new("Part", char)
| |
| 2429 | rng1.Anchored = true | |
| 2430 | rng1.BrickColor = BrickColor.new("Really black")
| |
| 2431 | rng1.CanCollide = false | |
| 2432 | rng1.FormFactor = 3 | |
| 2433 | rng1.Name = "Ring" | |
| 2434 | rng1.Material = "Neon" | |
| 2435 | rng1.Size = Vector3.new(1, 1, 1) | |
| 2436 | rng1.Transparency = 0.35 | |
| 2437 | rng1.TopSurface = 0 | |
| 2438 | rng1.BottomSurface = 0 | |
| 2439 | local rngm1 = Instance.new("SpecialMesh", rng)
| |
| 2440 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2441 | rngm1.Scale = Vector3.new(10, 10, 1) | |
| 2442 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
| 2443 | local Wave = Instance.new("Part", game.Workspace--[[?]])
| |
| 2444 | Wave.Name = "Shockwave" | |
| 2445 | Wave.BrickColor = BrickColor.new("Really black")
| |
| 2446 | Wave.Material = "Neon" | |
| 2447 | Wave.Size = Vector3.new(1, 1, 1) | |
| 2448 | Wave.Shape = "Ball" | |
| 2449 | Wave.CanCollide = false | |
| 2450 | Wave.Anchored = true | |
| 2451 | Wave.TopSurface = 0 | |
| 2452 | Wave.BottomSurface = 0 | |
| 2453 | local Wave2 = Instance.new("Part", game.Workspace--[[?]])
| |
| 2454 | Wave2.Name = "Shockwave2" | |
| 2455 | Wave2.BrickColor = BrickColor.new("Royal purple")
| |
| 2456 | Wave2.Material = "Neon" | |
| 2457 | Wave2.Size = Vector3.new(1, 1, 1) | |
| 2458 | Wave2.Shape = "Ball" | |
| 2459 | Wave2.CanCollide = false | |
| 2460 | Wave2.Anchored = true | |
| 2461 | Wave2.TopSurface = 0 | |
| 2462 | Wave2.BottomSurface = 0 | |
| 2463 | Wave2.Touched:connect(function(hit) | |
| 2464 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
| |
| 2465 | local Occlude = true | |
| 2466 | local NotOccludes = {
| |
| 2467 | char.Name; | |
| 2468 | "Wings"; | |
| 2469 | "Scythe"; | |
| 2470 | "Thingy"; | |
| 2471 | "Thingy2"; -- put all of the names in a table pls | |
| 2472 | } | |
| 2473 | for i,v in pairs(NotOccludes) do | |
| 2474 | if hit.Parent.Name == v then | |
| 2475 | Occlude = false | |
| 2476 | end | |
| 2477 | end | |
| 2478 | --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then | |
| 2479 | if Occlude then | |
| 2480 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
| |
| 2481 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
| |
| 2482 | end | |
| 2483 | end | |
| 2484 | end) | |
| 2485 | ||
| 2486 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
| |
| 2487 | ||
| 2488 | coroutine.wrap(function() | |
| 2489 | for i = 1, 20, 0.2 do | |
| 2490 | rngm1.Scale = Vector3.new(10 + i*20, 10 + i*20, 20) | |
| 2491 | rng1.Transparency = i/20 | |
| 2492 | wait() | |
| 2493 | end | |
| 2494 | wait() | |
| 2495 | rng1:Destroy() | |
| 2496 | end)() | |
| 2497 | ||
| 2498 | Delay(0, function() | |
| 2499 | ||
| 2500 | if Daytime == false then | |
| 2501 | for i = 3, 50, 1 do | |
| 2502 | Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3) | |
| 2503 | Wave.CFrame = char.Torso.CFrame | |
| 2504 | local t = i / 50 | |
| 2505 | Wave.Transparency = t | |
| 2506 | Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5) | |
| 2507 | Wave2.CFrame = char.Torso.CFrame | |
| 2508 | local tq = i / 50 | |
| 2509 | Wave2.Transparency = tq | |
| 2510 | wait() | |
| 2511 | end | |
| 2512 | else | |
| 2513 | for i = 3, 50, 1 do | |
| 2514 | Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3) | |
| 2515 | Wave.CFrame = char.Torso.CFrame | |
| 2516 | local t = i / 50 | |
| 2517 | Wave.Transparency = t | |
| 2518 | Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5) | |
| 2519 | Wave2.CFrame = char.Torso.CFrame | |
| 2520 | local tq = i / 50 | |
| 2521 | Wave2.Transparency = tq | |
| 2522 | wait() | |
| 2523 | end | |
| 2524 | end | |
| 2525 | Wave:Destroy() | |
| 2526 | Wave2:Destroy() | |
| 2527 | end) | |
| 2528 | Delay(0, function() | |
| 2529 | while wait() do | |
| 2530 | if Wave ~= nil then | |
| 2531 | Wave.CFrame = char.Torso.CFrame | |
| 2532 | else | |
| 2533 | break | |
| 2534 | end | |
| 2535 | end | |
| 2536 | end) | |
| 2537 | end | |
| 2538 | Shockwave() | |
| 2539 | for i = 1, 30 do | |
| 2540 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
| 2541 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
| 2542 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
| 2543 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
| 2544 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
| 2545 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
| 2546 | if Debounces.on == false then break end | |
| 2547 | rs:wait() | |
| 2548 | end | |
| 2549 | wait(2.4) | |
| 2550 | Debounces.NoIdl = false | |
| 2551 | hum.WalkSpeed = 16 | |
| 2552 | Debounces.on = false | |
| 2553 | wait() | |
| 2554 | if Debounces.CanAttack == false then | |
| 2555 | Debounces.CanAttack = true | |
| 2556 | v:Destroy() | |
| 2557 | end | |
| 2558 | end | |
| 2559 | end | |
| 2560 | end) | |
| 2561 | ||
| 2562 | ||
| 2563 | mouse.KeyDown:connect(function(key) | |
| 2564 | if key == "q" then | |
| 2565 | ||
| 2566 | chatfunc("Dodge this...")
| |
| 2567 | ||
| 2568 | if Debounces.CanAttack == true then | |
| 2569 | Debounces.CanAttack = false | |
| 2570 | Debounces.NoIdl = true | |
| 2571 | Debounces.on = true | |
| 2572 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 2573 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 2574 | local List = {}
| |
| 2575 | for i,v in pairs(workspace:GetChildren())do | |
| 2576 | if v:IsA("Model")then
| |
| 2577 | if v:findFirstChild("Torso")then
| |
| 2578 | if v ~= char then | |
| 2579 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 2580 | table.insert(List,v) | |
| 2581 | end | |
| 2582 | end | |
| 2583 | end | |
| 2584 | end | |
| 2585 | end | |
| 2586 | return List | |
| 2587 | end | |
| 2588 | z = Instance.new("Sound",hed)
| |
| 2589 | z.SoundId = "rbxassetid://232213955" | |
| 2590 | z.Pitch = 1 | |
| 2591 | z.Volume = 1 | |
| 2592 | wait(0.2) | |
| 2593 | z:Play() | |
| 2594 | sp = Instance.new("Part",rarm)
| |
| 2595 | sp.Anchored = true | |
| 2596 | sp.CanCollide = false | |
| 2597 | sp.Locked = true | |
| 2598 | sp.Transparency = 0 | |
| 2599 | sp.Material = "Neon" | |
| 2600 | sp.Size = Vector3.new(1,1,1) | |
| 2601 | sp.TopSurface = "SmoothNoOutlines" | |
| 2602 | sp.BottomSurface = "SmoothNoOutlines" | |
| 2603 | sp.BrickColor = BrickColor.new("Royal purple")
| |
| 2604 | spm = Instance.new("SpecialMesh",sp)
| |
| 2605 | spm.MeshType = "Sphere" | |
| 2606 | spm.Scale = Vector3.new(21,21,21) | |
| 2607 | sp2 = Instance.new("Part", rarm)
| |
| 2608 | sp2.Name = "Energy" | |
| 2609 | sp2.BrickColor = BrickColor.new("Royal purple")
| |
| 2610 | sp2.Size = Vector3.new(1, 1, 1) | |
| 2611 | sp2.Shape = "Ball" | |
| 2612 | sp2.CanCollide = false | |
| 2613 | sp2.Anchored = true | |
| 2614 | sp2.Locked = true | |
| 2615 | sp2.TopSurface = 0 | |
| 2616 | sp2.BottomSurface = 0 | |
| 2617 | sp2.Transparency = 1 | |
| 2618 | spm2 = Instance.new("SpecialMesh",sp2)
| |
| 2619 | spm2.MeshId = "rbxassetid://9982590" | |
| 2620 | spm2.Scale = Vector3.new(2,2,2) | |
| 2621 | for i = 1, 20 do | |
| 2622 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 2623 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 2624 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
| 2625 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
| 2626 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 2627 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2628 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 2629 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 2630 | if Debounces.on == false then break end | |
| 2631 | rs:wait() | |
| 2632 | end | |
| 2633 | for i = 1, 100, 20 do rs:wait() | |
| 2634 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 2635 | end | |
| 2636 | for i = 1, 20 do | |
| 2637 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 2638 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 2639 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
| 2640 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
| 2641 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
| 2642 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 2643 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 2644 | if Debounces.on == false then break end | |
| 2645 | rs:wait() | |
| 2646 | end | |
| 2647 | sp.Transparency = 1 | |
| 2648 | for i = 1, 20 do | |
| 2649 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 2650 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
| 2651 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
| 2652 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
| 2653 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 2654 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 2655 | if Debounces.on == false then break end | |
| 2656 | rs:wait() | |
| 2657 | end | |
| 2658 | wait(1) | |
| 2659 | sp.Transparency = 0 | |
| 2660 | sp2.Transparency = 0.84 | |
| 2661 | for i = 1, 20 do | |
| 2662 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 2663 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 2664 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
| 2665 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
| 2666 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
| 2667 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
| 2668 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 2669 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
| 2670 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
| 2671 | if Debounces.on == false then break end | |
| 2672 | rs:wait() | |
| 2673 | end | |
| 2674 | for i = 1, 2880, 50 do | |
| 2675 | rs:wait() | |
| 2676 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 2677 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 2678 | rs:wait() | |
| 2679 | end | |
| 2680 | sp:Destroy() | |
| 2681 | sp2:Destroy() | |
| 2682 | local X = Instance.new("Part",char)
| |
| 2683 | local O = Instance.new("ObjectValue",X)
| |
| 2684 | O.Name = "creator" | |
| 2685 | X.Locked = true | |
| 2686 | X.Name = "Shell" | |
| 2687 | X.Anchored = false | |
| 2688 | X.CanCollide = false | |
| 2689 | X.Transparency = 0 | |
| 2690 | X.Reflectance = 0 | |
| 2691 | X.BottomSurface = 0 | |
| 2692 | X.TopSurface = 0 | |
| 2693 | X.Shape = 0 | |
| 2694 | local V = Instance.new("ObjectValue",X)
| |
| 2695 | V.Value = char | |
| 2696 | V.Name = "creator" | |
| 2697 | X.BrickColor = BrickColor.new("Royal purple")
| |
| 2698 | X.Size = Vector3.new(2,2,2) | |
| 2699 | X.Material = "Neon" | |
| 2700 | local Z = Instance.new("SpecialMesh",X)
| |
| 2701 | Z.MeshType = "Sphere" | |
| 2702 | Z.Scale = Vector3.new(0.5,0.5,1) | |
| 2703 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
| 2704 | local bv = Instance.new("BodyVelocity",X)
| |
| 2705 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 2706 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
| 2707 | bv.velocity = X.CFrame.lookVector*65 | |
| 2708 | ||
| 2709 | Explode = X.Touched:connect(function(hit) | |
| 2710 | if hit ~= char and hit.Name ~= "Shell" then | |
| 2711 | local cf = X.CFrame | |
| 2712 | bv:Destroy() | |
| 2713 | X.Anchored = true | |
| 2714 | Z:Remove() | |
| 2715 | Explode:disconnect() | |
| 2716 | X.Size = Vector3.new(3,3,3) | |
| 2717 | X.Touched:connect(function(hit) end) | |
| 2718 | X.CanCollide = false | |
| 2719 | local part3 = Instance.new("Part", rarm)
| |
| 2720 | part3.Anchored=true | |
| 2721 | part3.CanCollide=false | |
| 2722 | part3.Locked = true | |
| 2723 | part3.TopSurface = "SmoothNoOutlines" | |
| 2724 | part3.BottomSurface = "SmoothNoOutlines" | |
| 2725 | part3.FormFactor='Custom' | |
| 2726 | part3.Size=Vector3.new(1,1, 1) | |
| 2727 | part3.CFrame=X.CFrame | |
| 2728 | part3.Transparency=0 | |
| 2729 | part3.BrickColor=BrickColor.new("Royal purple")
| |
| 2730 | local mesh3 = Instance.new("SpecialMesh",part3)
| |
| 2731 | mesh3.MeshType = "Sphere" | |
| 2732 | mesh3.Scale = Vector3.new(1,1,1) | |
| 2733 | --debris:AddItem(X,8) | |
| 2734 | local part4 = Instance.new("Part", rarm)
| |
| 2735 | part4.Material = "Neon" | |
| 2736 | part4.Anchored=true | |
| 2737 | part4.CanCollide=false | |
| 2738 | part4.Locked = true | |
| 2739 | part4.TopSurface = "SmoothNoOutlines" | |
| 2740 | part4.BottomSurface = "SmoothNoOutlines" | |
| 2741 | part4.FormFactor='Custom' | |
| 2742 | part4.Size=Vector3.new(1,1, 1) | |
| 2743 | part4.CFrame=X.CFrame | |
| 2744 | part4.Transparency=0 | |
| 2745 | part4.BrickColor=BrickColor.new("Hot pink")
| |
| 2746 | local mesh4 = Instance.new("SpecialMesh",part4)
| |
| 2747 | mesh4.MeshType = "Sphere" | |
| 2748 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
| 2749 | local part7 = Instance.new("Part", rarm)
| |
| 2750 | part7.Material = "Neon" | |
| 2751 | part7.Anchored=true | |
| 2752 | part7.CanCollide=false | |
| 2753 | part7.Locked = true | |
| 2754 | part7.TopSurface = "SmoothNoOutlines" | |
| 2755 | part7.BottomSurface = "SmoothNoOutlines" | |
| 2756 | part7.FormFactor='Custom' | |
| 2757 | part7.Size=Vector3.new(1,1, 1) | |
| 2758 | part7.CFrame=X.CFrame | |
| 2759 | part7.Transparency=0 | |
| 2760 | part7.BrickColor=BrickColor.new("Really black")
| |
| 2761 | local mesh7 = Instance.new("SpecialMesh",part7)
| |
| 2762 | mesh7.MeshType = "Sphere" | |
| 2763 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
| 2764 | --[[X.Touched:connect(function(ht) | |
| 2765 | hit = ht.Parent | |
| 2766 | if ht and hit:IsA("Model") then
| |
| 2767 | if hit:FindFirstChild("Humanoid") then
| |
| 2768 | if hit.Name ~= p.Name then | |
| 2769 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 2770 | wait(.3) | |
| 2771 | end | |
| 2772 | end | |
| 2773 | elseif ht and hit:IsA("Hat") then
| |
| 2774 | if hit.Parent.Name ~= p.Name then | |
| 2775 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2776 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 2777 | wait(.3) | |
| 2778 | end | |
| 2779 | end | |
| 2780 | end | |
| 2781 | end) | |
| 2782 | part3.Touched:connect(function(ht) | |
| 2783 | hit = ht.Parent | |
| 2784 | if ht and hit:IsA("Model") then
| |
| 2785 | if hit:FindFirstChild("Humanoid") then
| |
| 2786 | if hit.Name ~= p.Name then | |
| 2787 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 2788 | wait(.3) | |
| 2789 | end | |
| 2790 | end | |
| 2791 | elseif ht and hit:IsA("Hat") then
| |
| 2792 | if hit.Parent.Name ~= p.Name then | |
| 2793 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2794 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 2795 | wait(.3) | |
| 2796 | end | |
| 2797 | end | |
| 2798 | end | |
| 2799 | end)]]-- | |
| 2800 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
| 2801 | if v:FindFirstChild('Humanoid') then
| |
| 2802 | v.Humanoid:TakeDamage(math.random(60,90)) | |
| 2803 | v.Humanoid.PlatformStand = true | |
| 2804 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 2805 | end | |
| 2806 | end | |
| 2807 | ||
| 2808 | local acos = math.acos | |
| 2809 | local sqrt = math.sqrt | |
| 2810 | local Vec3 = Vector3.new | |
| 2811 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 2812 | ||
| 2813 | local function toAxisAngle(CFr) | |
| 2814 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 2815 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 2816 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 2817 | A = A == 0 and 0.00001 or A | |
| 2818 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 2819 | B = B == 0 and 0.00001 or B | |
| 2820 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 2821 | C = C == 0 and 0.00001 or C | |
| 2822 | local x = (R21-R12)/sqrt(A) | |
| 2823 | local y = (R02-R20)/sqrt(B) | |
| 2824 | local z = (R10-R01)/sqrt(C) | |
| 2825 | return Vec3(x,y,z),Angle | |
| 2826 | end | |
| 2827 | ||
| 2828 | function ApplyTrig(Num,Func) | |
| 2829 | local Min,Max = Func(0),Func(1) | |
| 2830 | local i = Func(Num) | |
| 2831 | return (i-Min)/(Max-Min) | |
| 2832 | end | |
| 2833 | ||
| 2834 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 2835 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 2836 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 2837 | end | |
| 2838 | ||
| 2839 | function Crater(Torso,Radius) | |
| 2840 | Spawn(function() | |
| 2841 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 2842 | local Ignore = {}
| |
| 2843 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 2844 | if v.Character ~= nil then | |
| 2845 | Ignore[#Ignore+1] = v.Character | |
| 2846 | end | |
| 2847 | end | |
| 2848 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 2849 | if Hit == nil then return end | |
| 2850 | local Parts = {}
| |
| 2851 | for i = 1,360,10 do | |
| 2852 | local P = Instance.new("Part",Torso.Parent)
| |
| 2853 | P.Anchored = true | |
| 2854 | P.FormFactor = "Custom" | |
| 2855 | P.BrickColor = Hit.BrickColor | |
| 2856 | P.Material = Hit.Material | |
| 2857 | P.TopSurface = "Smooth" | |
| 2858 | P.BottomSurface = "Smooth" | |
| 2859 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
| 2860 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 2861 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
| |
| 2862 | if math.random(0,5) == 0 then -- rubble | |
| 2863 | local P = Instance.new("Part",Torso.Parent)
| |
| 2864 | P.Anchored = true | |
| 2865 | P.FormFactor = "Custom" | |
| 2866 | P.BrickColor = Hit.BrickColor | |
| 2867 | P.Material = Hit.Material | |
| 2868 | P.TopSurface = "Smooth" | |
| 2869 | P.BottomSurface = "Smooth" | |
| 2870 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
| 2871 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 2872 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
| |
| 2873 | end | |
| 2874 | end | |
| 2875 | for i = 0,1,0.05 do | |
| 2876 | for i2,v in pairs(Parts) do | |
| 2877 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 2878 | end | |
| 2879 | wait(0.02) | |
| 2880 | end | |
| 2881 | for i,v in pairs(Parts) do | |
| 2882 | if v[1].Size.X > 2.1 then | |
| 2883 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 2884 | end | |
| 2885 | v[1].Anchored = false | |
| 2886 | end | |
| 2887 | for i = 0,1,0.05 do | |
| 2888 | for i2,v in pairs(Parts) do | |
| 2889 | v[1].Transparency = i | |
| 2890 | if i == 1 then | |
| 2891 | v[1]:Destroy() | |
| 2892 | elseif i >= 0.25 then | |
| 2893 | v[1].CanCollide = false | |
| 2894 | end | |
| 2895 | end | |
| 2896 | wait(0.02) | |
| 2897 | end | |
| 2898 | Parts = nil | |
| 2899 | end) | |
| 2900 | end | |
| 2901 | ||
| 2902 | ROW = function(out, trans, s, wt, t, ang, plus) | |
| 2903 | for i = 1, 360, 360/t do | |
| 2904 | local c = Instance.new("Part", game.Workspace)
| |
| 2905 | c.FormFactor = 3 | |
| 2906 | c.TopSurface = 0 | |
| 2907 | c.BottomSurface = 0 | |
| 2908 | c.Size = s | |
| 2909 | c.Anchored = true | |
| 2910 | c.CanCollide = wt | |
| 2911 | c.Material=workspace.Base.Material | |
| 2912 | c.Transparency = trans | |
| 2913 | c.BrickColor = workspace.Base.BrickColor | |
| 2914 | c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
| 2915 | c.Locked=true | |
| 2916 | game.Debris:AddItem(c,15) | |
| 2917 | end | |
| 2918 | end | |
| 2919 | ||
| 2920 | Part = function(x,y,z,color,tr,cc,an,parent) | |
| 2921 | local p = Instance.new('Part',parent or Weapon)
| |
| 2922 | p.formFactor = 'Custom' | |
| 2923 | p.Size = Vector3.new(x,y,z) | |
| 2924 | p.BrickColor = BrickColor.new(color) | |
| 2925 | p.CanCollide = cc | |
| 2926 | p.Transparency = tr | |
| 2927 | p.Anchored = an | |
| 2928 | p.TopSurface,p.BottomSurface = 0,0 | |
| 2929 | p.Locked=true | |
| 2930 | p:BreakJoints() | |
| 2931 | return p end | |
| 2932 | ||
| 2933 | Mesh = function(par,num,x,y,z) | |
| 2934 | local msh = _ | |
| 2935 | if num == 1 then msh = Instance.new("CylinderMesh",par)
| |
| 2936 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
| |
| 2937 | elseif num == 3 then msh = Instance.new("BlockMesh",par)
| |
| 2938 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
| |
| 2939 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
| |
| 2940 | end msh.Scale = Vector3.new(x,y,z) | |
| 2941 | return msh end | |
| 2942 | ||
| 2943 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
| 2944 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
| 2945 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
| 2946 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
| 2947 | v1,v2,v3=sz.x,sz.y,sz.z | |
| 2948 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
| 2949 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
| 2950 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
| 2951 | a.CFrame=cfr | |
| 2952 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 2953 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 2954 | ||
| 2955 | Spawn(function() | |
| 2956 | while wait() do | |
| 2957 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
| 2958 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
| 2959 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
| 2960 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
| 2961 | a.Transparency=a.Transparency+0.05 | |
| 2962 | a2.Transparency=a2.Transparency+0.05 | |
| 2963 | a3.Transparency=a3.Transparency+0.05 | |
| 2964 | end | |
| 2965 | end) | |
| 2966 | end | |
| 2967 | ||
| 2968 | Crater(X,20) | |
| 2969 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
| 2970 | z = Instance.new("Sound",X)
| |
| 2971 | z.SoundId = "rbxassetid://231917744" | |
| 2972 | z.Pitch = .5 | |
| 2973 | z.Volume = 10 | |
| 2974 | z1 = Instance.new("Sound",X)
| |
| 2975 | z1.SoundId = "rbxassetid://231917744" | |
| 2976 | z1.Pitch = .5 | |
| 2977 | z1.Volume = 10 | |
| 2978 | z2 = Instance.new("Sound",X)
| |
| 2979 | z2.SoundId = "rbxassetid://231917744" | |
| 2980 | z2.Pitch = .5 | |
| 2981 | z2.Volume = 10 | |
| 2982 | z3 = Instance.new("Sound",X)
| |
| 2983 | z3.SoundId = "rbxassetid://245537790" | |
| 2984 | z3.Pitch = .7 | |
| 2985 | z3.Volume = 1 | |
| 2986 | z4 = Instance.new("Sound",X)
| |
| 2987 | z4.SoundId = "rbxassetid://245537790" | |
| 2988 | z4.Pitch = .7 | |
| 2989 | z4.Volume = 1 | |
| 2990 | wait(0.1) | |
| 2991 | z:Play() | |
| 2992 | z1:Play() | |
| 2993 | z2:Play() | |
| 2994 | z3:Play() | |
| 2995 | z4:Play() | |
| 2996 | ||
| 2997 | local part=Instance.new('Part',rarm)
| |
| 2998 | part.Anchored=true | |
| 2999 | part.CanCollide=false | |
| 3000 | part.Locked = true | |
| 3001 | part.FormFactor='Custom' | |
| 3002 | part.Size=Vector3.new(1,1,1) | |
| 3003 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
| 3004 | part.Transparency=0 | |
| 3005 | part.BrickColor=BrickColor.new('Really black')
| |
| 3006 | local mesh=Instance.new('SpecialMesh',part)
| |
| 3007 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 3008 | mesh.Scale=Vector3.new(2,2,2) | |
| 3009 | local part2=part:clone() | |
| 3010 | part2.Parent = rarm | |
| 3011 | part2.BrickColor=BrickColor.new("Royal purple")
| |
| 3012 | local part5=part:clone() | |
| 3013 | part5.Parent = rarm | |
| 3014 | part5.BrickColor=BrickColor.new("Magenta")
| |
| 3015 | local part6=part:clone() | |
| 3016 | part6.Parent = rarm | |
| 3017 | part6.BrickColor=BrickColor.new("Black")
| |
| 3018 | local mesh2=mesh:clone() | |
| 3019 | mesh2.Parent=part2 | |
| 3020 | mesh2.Scale=Vector3.new(3, 3, 3) | |
| 3021 | local mesh5=mesh:clone() | |
| 3022 | mesh5.Parent=part5 | |
| 3023 | mesh5.Scale=Vector3.new(3, 3, 3) | |
| 3024 | local mesh6=mesh:clone() | |
| 3025 | mesh6.Parent=part6 | |
| 3026 | mesh6.Scale=Vector3.new(3, 3, 3) | |
| 3027 | local blast = Instance.new("Part", rarm)
| |
| 3028 | blast.BrickColor = BrickColor.new("Really black")
| |
| 3029 | blast.Anchored = true | |
| 3030 | blast.CanCollide = false | |
| 3031 | blast.Locked = true | |
| 3032 | blast.Size = Vector3.new(1, 1, 1) | |
| 3033 | blast.TopSurface = "Smooth" | |
| 3034 | blast.BottomSurface = "Smooth" | |
| 3035 | blast.Transparency = 0 | |
| 3036 | blast.CFrame = HandCF | |
| 3037 | local bm = Instance.new("SpecialMesh", blast)
| |
| 3038 | bm.Scale = Vector3.new(5,1,5) | |
| 3039 | bm.MeshId = "rbxassetid://3270017" | |
| 3040 | local blast2 = Instance.new("Part", rarm)
| |
| 3041 | blast2.BrickColor = BrickColor.new("Really black")
| |
| 3042 | blast2.Anchored = true | |
| 3043 | blast2.CanCollide = false | |
| 3044 | blast2.Locked = true | |
| 3045 | blast2.Size = Vector3.new(1, 1, 1) | |
| 3046 | blast2.TopSurface = "Smooth" | |
| 3047 | blast2.BottomSurface = "Smooth" | |
| 3048 | blast2.Transparency = 0 | |
| 3049 | blast2.CFrame = HandCF | |
| 3050 | local bm2 = Instance.new("SpecialMesh", blast2)
| |
| 3051 | bm2.Scale = Vector3.new(3,1,3) | |
| 3052 | bm2.MeshId = "rbxassetid://3270017" | |
| 3053 | local blast3 = Instance.new("Part", rarm)
| |
| 3054 | blast3.BrickColor = BrickColor.new("Really black")
| |
| 3055 | blast3.Anchored = true | |
| 3056 | blast3.CanCollide = false | |
| 3057 | blast3.Locked = true | |
| 3058 | blast3.Size = Vector3.new(1, 1, 1) | |
| 3059 | blast3.TopSurface = "Smooth" | |
| 3060 | blast3.BottomSurface = "Smooth" | |
| 3061 | blast3.Transparency = 0 | |
| 3062 | blast3.CFrame = HandCF | |
| 3063 | local bm3 = Instance.new("SpecialMesh", blast3)
| |
| 3064 | bm3.Scale = Vector3.new(3,1,3) | |
| 3065 | bm3.MeshId = "rbxassetid://3270017" | |
| 3066 | for i = 1,120 do rs:wait() | |
| 3067 | X.Transparency = X.Transparency + (1/120) | |
| 3068 | part.Transparency = part.Transparency + (1/120) | |
| 3069 | part2.Transparency = part2.Transparency + (1/120) | |
| 3070 | part3.Transparency = part3.Transparency + (1/120) | |
| 3071 | part4.Transparency = part4.Transparency + (1/120) | |
| 3072 | part5.Transparency = part5.Transparency + (1/120) | |
| 3073 | part6.Transparency = part6.Transparency + (1/120) | |
| 3074 | part7.Transparency = part7.Transparency + (1/120) | |
| 3075 | blast.Transparency = blast.Transparency + (1/120) | |
| 3076 | blast2.Transparency = blast2.Transparency + (1/120) | |
| 3077 | blast3.Transparency = blast3.Transparency + (1/120) | |
| 3078 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
| 3079 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
| 3080 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
| 3081 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
| 3082 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
| 3083 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
| 3084 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
| 3085 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
| 3086 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
| 3087 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
| 3088 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
| 3089 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
| 3090 | X.CFrame = cf | |
| 3091 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
| 3092 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
| 3093 | part3.CFrame=X.CFrame | |
| 3094 | part4.CFrame=X.CFrame | |
| 3095 | part7.CFrame=X.CFrame | |
| 3096 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
| 3097 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
| 3098 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 3099 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
| 3100 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
| 3101 | rs:wait() | |
| 3102 | end | |
| 3103 | X:Destroy() | |
| 3104 | part:Destroy() | |
| 3105 | part2:Destroy() | |
| 3106 | part3:Destroy() | |
| 3107 | part4:Destroy() | |
| 3108 | part5:Destroy() | |
| 3109 | part6:Destroy() | |
| 3110 | blast:Destroy() | |
| 3111 | blast2:Destroy() | |
| 3112 | blast3:Destroy() | |
| 3113 | z:Destroy() | |
| 3114 | z1:Destroy() | |
| 3115 | z2:Destroy() | |
| 3116 | z3:Destroy() | |
| 3117 | z4:Destroy() | |
| 3118 | end | |
| 3119 | end) | |
| 3120 | for i = 1, 20 do | |
| 3121 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
| 3122 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
| 3123 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 3124 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
| 3125 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 3126 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 3127 | if Debounces.on == false then break end | |
| 3128 | rs:wait() | |
| 3129 | end | |
| 3130 | if Debounces.CanAttack == false then | |
| 3131 | Debounces.CanAttack = true | |
| 3132 | Debounces.NoIdl = false | |
| 3133 | Debounces.on = false | |
| 3134 | end | |
| 3135 | end | |
| 3136 | end | |
| 3137 | end) | |
| 3138 | ---------------------------------------------------- | |
| 3139 | mouse.KeyDown:connect(function(key) | |
| 3140 | if key == "e" then | |
| 3141 | if Debounces.CanAttack == true then | |
| 3142 | Debounces.CanAttack = false | |
| 3143 | Debounces.on = true | |
| 3144 | Debounces.NoIdl = true | |
| 3145 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
| |
| 3146 | z = Instance.new("Sound", rarm)
| |
| 3147 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 3148 | z.Volume = .6 | |
| 3149 | z.Pitch = pt[math.random(1,#pt)] | |
| 3150 | z.Looped = false | |
| 3151 | z:Play() | |
| 3152 | Debounces.RPunch = true | |
| 3153 | Debounces.LPunch = true | |
| 3154 | Debounces.ks = true | |
| 3155 | Debounces.ks2 = true | |
| 3156 | for i = 1, 3 do | |
| 3157 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 3158 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 3159 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 3160 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 3161 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 3162 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 3163 | if Debounces.on == false then break end | |
| 3164 | wait() | |
| 3165 | end | |
| 3166 | z2 = Instance.new("Sound", larm)
| |
| 3167 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3168 | z2.Volume = .6 | |
| 3169 | z2.Pitch = pt[math.random(1,#pt)] | |
| 3170 | z2.Looped = false | |
| 3171 | z2:Play() | |
| 3172 | for i = 1, 3 do | |
| 3173 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 3174 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 3175 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 3176 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 3177 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 3178 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 3179 | if Debounces.on == false then break end | |
| 3180 | wait() | |
| 3181 | end | |
| 3182 | z3 = Instance.new("Sound", rarm)
| |
| 3183 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3184 | z3.Volume = 0.6 | |
| 3185 | z3.Pitch = pt[math.random(1,#pt)] | |
| 3186 | z3.Looped = false | |
| 3187 | z3:Play() | |
| 3188 | for i = 1, 3 do | |
| 3189 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 3190 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 3191 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 3192 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 3193 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 3194 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 3195 | if Debounces.on == false then break end | |
| 3196 | wait() | |
| 3197 | end | |
| 3198 | z4 = Instance.new("Sound", larm)
| |
| 3199 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3200 | z4.Volume = .6 | |
| 3201 | z4.Pitch = pt[math.random(1,#pt)] | |
| 3202 | z4.Looped = false | |
| 3203 | z4:Play() | |
| 3204 | for i = 1, 3 do | |
| 3205 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 3206 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 3207 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 3208 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 3209 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 3210 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 3211 | if Debounces.on == false then break end | |
| 3212 | wait() | |
| 3213 | end | |
| 3214 | z5 = Instance.new("Sound", rarm)
| |
| 3215 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3216 | z5.Volume = .6 | |
| 3217 | z5.Pitch = pt[math.random(1,#pt)] | |
| 3218 | z5.Looped = false | |
| 3219 | z5:Play() | |
| 3220 | for i = 1, 3 do | |
| 3221 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 3222 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 3223 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 3224 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 3225 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 3226 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 3227 | if Debounces.on == false then break end | |
| 3228 | wait() | |
| 3229 | end | |
| 3230 | z6 = Instance.new("Sound", larm)
| |
| 3231 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3232 | z6.Volume = .6 | |
| 3233 | z6.Pitch = pt[math.random(1,#pt)] | |
| 3234 | z6.Looped = false | |
| 3235 | z6:Play() | |
| 3236 | for i = 1, 3 do | |
| 3237 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 3238 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 3239 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 3240 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 3241 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 3242 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 3243 | if Debounces.on == false then break end | |
| 3244 | wait() | |
| 3245 | end | |
| 3246 | z7 = Instance.new("Sound", rarm)
| |
| 3247 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 3248 | z7.Volume = .6 | |
| 3249 | z7.Pitch = pt[math.random(1,#pt)] | |
| 3250 | z7.Looped = false | |
| 3251 | z7:Play() | |
| 3252 | for i = 1, 3 do | |
| 3253 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 3254 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 3255 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 3256 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 3257 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 3258 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 3259 | if Debounces.on == false then break end | |
| 3260 | wait() | |
| 3261 | end | |
| 3262 | z8 = Instance.new("Sound", larm)
| |
| 3263 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3264 | z8.Volume = .6 | |
| 3265 | z8.Pitch = pt[math.random(1,#pt)] | |
| 3266 | z8.Looped = false | |
| 3267 | z8:Play() | |
| 3268 | for i = 1, 3 do | |
| 3269 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 3270 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 3271 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 3272 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 3273 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 3274 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 3275 | if Debounces.on == false then break end | |
| 3276 | wait() | |
| 3277 | end | |
| 3278 | z9 = Instance.new("Sound", rarm)
| |
| 3279 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3280 | z9.Volume = 0.6 | |
| 3281 | z9.Pitch = pt[math.random(1,#pt)] | |
| 3282 | z9.Looped = false | |
| 3283 | z9:Play() | |
| 3284 | for i = 1, 3 do | |
| 3285 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 3286 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 3287 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 3288 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 3289 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 3290 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 3291 | if Debounces.on == false then break end | |
| 3292 | wait() | |
| 3293 | end | |
| 3294 | z10 = Instance.new("Sound", larm)
| |
| 3295 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3296 | z10.Volume = .6 | |
| 3297 | z10.Pitch = pt[math.random(1,#pt)] | |
| 3298 | z10.Looped = false | |
| 3299 | z10:Play() | |
| 3300 | for i = 1, 3 do | |
| 3301 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 3302 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 3303 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 3304 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 3305 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 3306 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 3307 | if Debounces.on == false then break end | |
| 3308 | wait() | |
| 3309 | end | |
| 3310 | z11 = Instance.new("Sound", rarm)
| |
| 3311 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3312 | z11.Volume = .6 | |
| 3313 | z11.Pitch = pt[math.random(1,#pt)] | |
| 3314 | z11.Looped = false | |
| 3315 | z11:Play() | |
| 3316 | for i = 1, 3 do | |
| 3317 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 3318 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 3319 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 3320 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 3321 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 3322 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 3323 | if Debounces.on == false then break end | |
| 3324 | wait() | |
| 3325 | end | |
| 3326 | z12 = Instance.new("Sound", larm)
| |
| 3327 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3328 | z12.Volume = .6 | |
| 3329 | z12.Pitch = pt[math.random(1,#pt)] | |
| 3330 | z12.Looped = false | |
| 3331 | z12:Play() | |
| 3332 | for i = 1, 3 do | |
| 3333 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 3334 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 3335 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 3336 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 3337 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 3338 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 3339 | if Debounces.on == false then break end | |
| 3340 | wait() | |
| 3341 | end | |
| 3342 | z13 = Instance.new("Sound", rarm)
| |
| 3343 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3344 | z13.Volume = 0.6 | |
| 3345 | z13.Pitch = pt[math.random(1,#pt)] | |
| 3346 | z13.Looped = false | |
| 3347 | z13:Play() | |
| 3348 | for i = 1, 3 do | |
| 3349 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 3350 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 3351 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 3352 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 3353 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 3354 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 3355 | if Debounces.on == false then break end | |
| 3356 | wait() | |
| 3357 | end | |
| 3358 | z14 = Instance.new("Sound", larm)
| |
| 3359 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3360 | z14.Volume = .6 | |
| 3361 | z14.Pitch = pt[math.random(1,#pt)] | |
| 3362 | z14.Looped = false | |
| 3363 | z14:Play() | |
| 3364 | for i = 1, 3 do | |
| 3365 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 3366 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 3367 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 3368 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 3369 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 3370 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 3371 | if Debounces.on == false then break end | |
| 3372 | wait() | |
| 3373 | end | |
| 3374 | z15 = Instance.new("Sound", rarm)
| |
| 3375 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3376 | z15.Volume = .6 | |
| 3377 | z15.Pitch = pt[math.random(1,#pt)] | |
| 3378 | z15.Looped = false | |
| 3379 | z15:Play() | |
| 3380 | for i = 1, 3 do | |
| 3381 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 3382 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 3383 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 3384 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 3385 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 3386 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 3387 | if Debounces.on == false then break end | |
| 3388 | wait() | |
| 3389 | end | |
| 3390 | z16 = Instance.new("Sound", larm)
| |
| 3391 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3392 | z16.Volume = .6 | |
| 3393 | z16.Pitch = pt[math.random(1,#pt)] | |
| 3394 | z16.Looped = false | |
| 3395 | z16:Play() | |
| 3396 | for i = 1, 3 do | |
| 3397 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 3398 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 3399 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 3400 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 3401 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 3402 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 3403 | if Debounces.on == false then break end | |
| 3404 | wait() | |
| 3405 | end | |
| 3406 | z17 = Instance.new("Sound", rarm)
| |
| 3407 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 3408 | z17.Volume = .6 | |
| 3409 | z17.Pitch = pt[math.random(1,#pt)] | |
| 3410 | z17.Looped = false | |
| 3411 | z17:Play() | |
| 3412 | for i = 1, 3 do | |
| 3413 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 3414 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 3415 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 3416 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 3417 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 3418 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 3419 | if Debounces.on == false then break end | |
| 3420 | wait() | |
| 3421 | end | |
| 3422 | z18 = Instance.new("Sound", larm)
| |
| 3423 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3424 | z18.Volume = .6 | |
| 3425 | z18.Pitch = pt[math.random(1,#pt)] | |
| 3426 | z18.Looped = false | |
| 3427 | z18:Play() | |
| 3428 | for i = 1, 3 do | |
| 3429 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 3430 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 3431 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 3432 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 3433 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 3434 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 3435 | if Debounces.on == false then break end | |
| 3436 | wait() | |
| 3437 | end | |
| 3438 | z19 = Instance.new("Sound", rarm)
| |
| 3439 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3440 | z19.Volume = 0.6 | |
| 3441 | z19.Pitch = pt[math.random(1,#pt)] | |
| 3442 | z19.Looped = false | |
| 3443 | z19:Play() | |
| 3444 | for i = 1, 3 do | |
| 3445 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 3446 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 3447 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 3448 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 3449 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 3450 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 3451 | if Debounces.on == false then break end | |
| 3452 | wait() | |
| 3453 | end | |
| 3454 | z20 = Instance.new("Sound", larm)
| |
| 3455 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 3456 | z20.Volume = .6 | |
| 3457 | z20.Pitch = pt[math.random(1,#pt)] | |
| 3458 | z20.Looped = false | |
| 3459 | z20:Play() | |
| 3460 | for i = 1, 3 do | |
| 3461 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 3462 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 3463 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 3464 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 3465 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 3466 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 3467 | if Debounces.on == false then break end | |
| 3468 | wait() | |
| 3469 | end | |
| 3470 | z:Destroy() | |
| 3471 | z2:Destroy() | |
| 3472 | z3:Destroy() | |
| 3473 | z4:Destroy() | |
| 3474 | z5:Destroy() | |
| 3475 | z6:Destroy() | |
| 3476 | z7:Destroy() | |
| 3477 | z8:Destroy() | |
| 3478 | z9:Destroy() | |
| 3479 | z10:Destroy() | |
| 3480 | z11:Destroy() | |
| 3481 | z12:Destroy() | |
| 3482 | z13:Destroy() | |
| 3483 | z14:Destroy() | |
| 3484 | z15:Destroy() | |
| 3485 | z16:Destroy() | |
| 3486 | z17:Destroy() | |
| 3487 | z18:Destroy() | |
| 3488 | z19:Destroy() | |
| 3489 | z20:Destroy() | |
| 3490 | Debounces.LPunch = false | |
| 3491 | Debounces.RPunch = false | |
| 3492 | Debounces.ks = false | |
| 3493 | Debounces.ks2 = false | |
| 3494 | if Debounces.CanAttack == false then | |
| 3495 | Debounces.CanAttack = true | |
| 3496 | Debounces.on = false | |
| 3497 | Debounces.NoIdl = false | |
| 3498 | end | |
| 3499 | end | |
| 3500 | end | |
| 3501 | end) | |
| 3502 | ------------------------------- | |
| 3503 | mouse.KeyDown:connect(function(key) | |
| 3504 | if key == "t" then | |
| 3505 | if Debounces.CanAttack == true then | |
| 3506 | Debounces.CanAttack = false | |
| 3507 | Debounces.NoIdl = true | |
| 3508 | Debounces.on = true | |
| 3509 | Debounces.ks = true | |
| 3510 | kik = rleg.Touched:connect(function(ht) | |
| 3511 | hit = ht.Parent | |
| 3512 | if ht and hit:IsA("Model") then
| |
| 3513 | if hit:FindFirstChild("Humanoid") then
| |
| 3514 | if hit.Name ~= p.Name then | |
| 3515 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 3516 | Debounces.Slashed = true]]-- | |
| 3517 | if Debounces.ks==true then | |
| 3518 | z = Instance.new("Sound",hed)
| |
| 3519 | z.SoundId = "rbxassetid://169380525" | |
| 3520 | z.Volume = 1 | |
| 3521 | z:Play() | |
| 3522 | Debounces.ks=false | |
| 3523 | end | |
| 3524 | hit:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 3525 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 3526 | --Debounces.Slashed = false | |
| 3527 | --end | |
| 3528 | end | |
| 3529 | end | |
| 3530 | elseif ht and hit:IsA("Hat") then
| |
| 3531 | if hit.Parent.Name ~= p.Name then | |
| 3532 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 3533 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 3534 | Debounces.Slashed = true]]-- | |
| 3535 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 3536 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 3537 | --Debounces.Slashed = false | |
| 3538 | --end | |
| 3539 | end | |
| 3540 | end | |
| 3541 | end | |
| 3542 | end) | |
| 3543 | for i = 1,20 do | |
| 3544 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 3545 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4) | |
| 3546 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3547 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
| 3548 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
| 3549 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
| 3550 | if Debounces.on == false then break end | |
| 3551 | rs:wait() | |
| 3552 | end | |
| 3553 | kik:disconnect() | |
| 3554 | if Debounces.CanAttack == false then | |
| 3555 | Debounces.CanAttack = true | |
| 3556 | Debounces.NoIdl = false | |
| 3557 | Debounces.on = false | |
| 3558 | end | |
| 3559 | end | |
| 3560 | end | |
| 3561 | end) | |
| 3562 | ---------------------------------------------------- | |
| 3563 | mouse.KeyDown:connect(function(key) | |
| 3564 | if key == "y" then | |
| 3565 | ||
| 3566 | chatfunc("Enjoy this...")
| |
| 3567 | ||
| 3568 | if Debounces.CanAttack == true then | |
| 3569 | Debounces.CanAttack = false | |
| 3570 | Debounces.on = true | |
| 3571 | Debounces.NoIdl = true | |
| 3572 | for i = 1, 15 do | |
| 3573 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
| 3574 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
| 3575 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 3576 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
| 3577 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 3578 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 3579 | if Debounces.on == false then break end | |
| 3580 | rs:wait(2.7) | |
| 3581 | end | |
| 3582 | z = Instance.new("Sound",char)
| |
| 3583 | z.SoundId = "rbxassetid://864314263" | |
| 3584 | z.Pitch = 0.72 | |
| 3585 | z.Volume = 10 | |
| 3586 | wait(.1) | |
| 3587 | z:Play() | |
| 3588 | ||
| 3589 | wait(5) | |
| 3590 | z = Instance.new("Sound",char)
| |
| 3591 | z.SoundId = "rbxassetid://228343271" | |
| 3592 | z.Pitch = 0.70 | |
| 3593 | z.Volume = 10 | |
| 3594 | wait(.1) | |
| 3595 | z:Play() | |
| 3596 | Debounces.on = false | |
| 3597 | Debounces.Here = false | |
| 3598 | shot = shot + 1 | |
| 3599 | local rng = Instance.new("Part", larm)
| |
| 3600 | rng.Anchored = true | |
| 3601 | rng.BrickColor = BrickColor.new("Royal purple")
| |
| 3602 | rng.CanCollide = false | |
| 3603 | rng.FormFactor = 3 | |
| 3604 | rng.Name = "Ring" | |
| 3605 | rng.Size = Vector3.new(10, 10, 10) | |
| 3606 | rng.Transparency = 0.35 | |
| 3607 | rng.TopSurface = 0 | |
| 3608 | rng.BottomSurface = 0 | |
| 3609 | rng2 = rng:clone() | |
| 3610 | rng3 = rng2:clone() | |
| 3611 | rng4 = rng2:clone() | |
| 3612 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3613 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 3614 | rngm.Scale = Vector3.new(10, 10, 1) | |
| 3615 | rngm2 = rngm:clone() | |
| 3616 | rngm2.Scale = Vector3.new(5, 5, 3) | |
| 3617 | rngm3=rngm2:clone() | |
| 3618 | rngm3.Parent = rng3 | |
| 3619 | rngm3.Scale = Vector3.new(8, 8, 1) | |
| 3620 | rngm4 = rngm2:clone() | |
| 3621 | rngm4.Parent = rng4 | |
| 3622 | rngm4.Scale = Vector3.new(6, 6, 1) | |
| 3623 | local bem = Instance.new("Part", larm)
| |
| 3624 | bem.Anchored = true | |
| 3625 | bem.BrickColor = BrickColor.new("Really black")
| |
| 3626 | bem.CanCollide = false | |
| 3627 | bem.FormFactor = 3 | |
| 3628 | bem.Name = "Beam" .. shot | |
| 3629 | bem.Size = Vector3.new(10, 10, 10) | |
| 3630 | bem.Transparency = 0.35 | |
| 3631 | bem.TopSurface = 0 | |
| 3632 | bem.BottomSurface = 0 | |
| 3633 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 3634 | bemm.MeshType = 4 | |
| 3635 | bemm.Scale = Vector3.new(1, 4, 4) | |
| 3636 | local out = Instance.new("Part", larm)
| |
| 3637 | out.Anchored = true | |
| 3638 | out.BrickColor = BrickColor.new("Really black")
| |
| 3639 | out.CanCollide = false | |
| 3640 | out.FormFactor = 3 | |
| 3641 | out.Name = "Out" | |
| 3642 | out.Size = Vector3.new(10, 10, 10) | |
| 3643 | out.Transparency = 0.35 | |
| 3644 | out.TopSurface = 0 | |
| 3645 | out.BottomSurface = 0 | |
| 3646 | local outm = Instance.new("SpecialMesh", out)
| |
| 3647 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 3648 | outm.Scale = Vector3.new(6, 4, 6) | |
| 3649 | local bnd = Instance.new("Part", larm)
| |
| 3650 | bnd.Anchored = true | |
| 3651 | bnd.BrickColor = BrickColor.new("Royal purple")
| |
| 3652 | bnd.CanCollide = false | |
| 3653 | bnd.FormFactor = 3 | |
| 3654 | bnd.Name = "Bend" | |
| 3655 | bnd.Size = Vector3.new(10, 10, 10) | |
| 3656 | bnd.Transparency = 1 | |
| 3657 | bnd.TopSurface = 0 | |
| 3658 | bnd.BottomSurface = 0 | |
| 3659 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 3660 | bndm.MeshType = 3 | |
| 3661 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 3662 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 3663 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 3664 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 3665 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 3666 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
| 3667 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
| 3668 | Debounces.Shewt = true | |
| 3669 | coroutine.wrap(function() | |
| 3670 | for i = 1, 20, 0.2 do | |
| 3671 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
| 3672 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
| 3673 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
| 3674 | rng.Transparency = i/20 | |
| 3675 | rng3.Transparency = 1/24 | |
| 3676 | rng4.Transparency = i/26 | |
| 3677 | wait() | |
| 3678 | end | |
| 3679 | wait() | |
| 3680 | rng:Destroy() | |
| 3681 | end)() | |
| 3682 | if Debounces.Shewt == true then | |
| 3683 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 3684 | hit = ht.Parent | |
| 3685 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 3686 | if HasntTouched(hit.Name) == true and deb == false then | |
| 3687 | deb = true | |
| 3688 | coroutine.wrap(function() | |
| 3689 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3690 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 3691 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
| |
| 3692 | end)() | |
| 3693 | table.insert(Touche, hit.Name) | |
| 3694 | deb = false | |
| 3695 | end | |
| 3696 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 3697 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 3698 | deb = true | |
| 3699 | coroutine.wrap(function() | |
| 3700 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3701 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 3702 | wait(1) | |
| 3703 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 3704 | end)() | |
| 3705 | table.insert(Touche, hit.Parent.Name) | |
| 3706 | deb = false | |
| 3707 | for i, v in pairs(Touche) do | |
| 3708 | print(v) | |
| 3709 | end | |
| 3710 | end | |
| 3711 | end | |
| 3712 | end) | |
| 3713 | end | |
| 3714 | for i = 0, 260, 8 do | |
| 3715 | bem.Size = Vector3.new(i, 3, 3) | |
| 3716 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 3717 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 3718 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
| 3719 | bnd.Size = Vector3.new(1,1,1) | |
| 3720 | bndm.Scale = Vector3.new(8,8,8) | |
| 3721 | if i % 10 == 0 then | |
| 3722 | local newRng = rng2:Clone() | |
| 3723 | newRng.Parent = larm | |
| 3724 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 3725 | local newRngm = rngm2:clone() | |
| 3726 | newRngm.Parent=newRng | |
| 3727 | coroutine.wrap(function() | |
| 3728 | for i = 1, 10, 0.2 do | |
| 3729 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
| 3730 | newRng.Transparency = i/10 | |
| 3731 | wait() | |
| 3732 | end | |
| 3733 | wait() | |
| 3734 | newRng:Destroy() | |
| 3735 | end)() | |
| 3736 | end | |
| 3737 | wait() | |
| 3738 | end | |
| 3739 | wait() | |
| 3740 | Debounces.Shewt = false | |
| 3741 | bem:Destroy() | |
| 3742 | out:Destroy() | |
| 3743 | bnd:Destroy() | |
| 3744 | Debounces.Ready = false | |
| 3745 | for i, v in pairs(Touche) do | |
| 3746 | table.remove(Touche, i) | |
| 3747 | end | |
| 3748 | wait() | |
| 3749 | table.insert(Touche, char.Name) | |
| 3750 | Debounces.NoIdl = false | |
| 3751 | if Debounces.CanAttack == false then | |
| 3752 | Debounces.CanAttack = true | |
| 3753 | end | |
| 3754 | end | |
| 3755 | end | |
| 3756 | end) | |
| 3757 | ---------------------------------------------------- | |
| 3758 | --[[mouse.KeyDown:connect(function(key) | |
| 3759 | if key == "y" then | |
| 3760 | ||
| 3761 | z = Instance.new("Sound",char)
| |
| 3762 | z.SoundId = "rbxassetid://864314263" | |
| 3763 | z.Pitch = 0.72 | |
| 3764 | z.Volume = 10 | |
| 3765 | wait(.1) | |
| 3766 | z:Play() | |
| 3767 | wait(5) | |
| 3768 | if Debounces.CanAttack == true then | |
| 3769 | Debounces.CanAttack = false | |
| 3770 | Debounces.NoIdl = true | |
| 3771 | Debounces.on = true | |
| 3772 | local shell = Instance.new("Part",torso)
| |
| 3773 | shell.BrickColor = BrickColor.new("Royal purple")
| |
| 3774 | shell.Anchored = false | |
| 3775 | shell.CanCollide = false | |
| 3776 | shell.Locked = true | |
| 3777 | shell.TopSurface = "SmoothNoOutlines" | |
| 3778 | shell.BottomSurface = "SmoothNoOutlines" | |
| 3779 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
| 3780 | shell.FormFactor = 3 | |
| 3781 | local shellm = Instance.new("SpecialMesh",shell)
| |
| 3782 | shellm.MeshType = "Sphere" | |
| 3783 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
| 3784 | Omega = function() | |
| 3785 | local X = Instance.new("Part",char)
| |
| 3786 | local O = Instance.new("ObjectValue",X)
| |
| 3787 | O.Name = "creator" | |
| 3788 | X.Locked = true | |
| 3789 | X.Name = "Shell" | |
| 3790 | X.Anchored = false | |
| 3791 | X.CanCollide = false | |
| 3792 | X.Transparency = 0.5 | |
| 3793 | X.Reflectance = 0 | |
| 3794 | X.BottomSurface = 0 | |
| 3795 | X.TopSurface = 0 | |
| 3796 | X.Shape = 0 | |
| 3797 | local V = Instance.new("ObjectValue",X)
| |
| 3798 | V.Value = char | |
| 3799 | V.Name = "creator" | |
| 3800 | X.BrickColor = BrickColor.new("Royal purple")
| |
| 3801 | X.Size = Vector3.new(40,40,40) | |
| 3802 | --X.Material = "Neon" | |
| 3803 | local Z = Instance.new("SpecialMesh",X)
| |
| 3804 | Z.MeshType = "Sphere" | |
| 3805 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
| 3806 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 3807 | local bv = Instance.new("BodyVelocity",X)
| |
| 3808 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 3809 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 3810 | bv.velocity = root.CFrame.lookVector*10 | |
| 3811 | Explode = X.Touched:connect(function(hit) | |
| 3812 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 3813 | local cf = X.CFrame | |
| 3814 | bv:Destroy() | |
| 3815 | X.Anchored = true | |
| 3816 | Z:Remove() | |
| 3817 | Explode:disconnect() | |
| 3818 | X.Size = Vector3.new(3,3,3) | |
| 3819 | X.Touched:connect(function(hit) end) | |
| 3820 | X.CanCollide = false | |
| 3821 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
| 3822 | if v:FindFirstChild('Humanoid') then
| |
| 3823 | v.Humanoid:TakeDamage(math.random(120,120)) | |
| 3824 | end | |
| 3825 | end | |
| 3826 | for i = 1, (40) do rs:wait() | |
| 3827 | X.Transparency = X.Transparency + (1/40) | |
| 3828 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 3829 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
| 3830 | end | |
| 3831 | X:Destroy() | |
| 3832 | end | |
| 3833 | end) | |
| 3834 | end | |
| 3835 | for i = 1,200 do | |
| 3836 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3837 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03) | |
| 3838 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 3839 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3840 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3841 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3842 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3843 | if Debounces.on == false then break end | |
| 3844 | rs:wait() | |
| 3845 | end | |
| 3846 | for i = 1,30 do | |
| 3847 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
| 3848 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4) | |
| 3849 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4) | |
| 3850 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3851 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3852 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3853 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3854 | if Debounces.on == false then break end | |
| 3855 | rs:wait() | |
| 3856 | end | |
| 3857 | for i = 1,40 do | |
| 3858 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
| 3859 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 3860 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4) | |
| 3861 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4) | |
| 3862 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3863 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3864 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3865 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3866 | if Debounces.on == false then break end | |
| 3867 | rs:wait() | |
| 3868 | end | |
| 3869 | for i = 1,40 do | |
| 3870 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
| 3871 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4) | |
| 3872 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4) | |
| 3873 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3874 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3875 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3876 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3877 | if Debounces.on == false then break end | |
| 3878 | rs:wait() | |
| 3879 | end | |
| 3880 | for i = 1,60 do | |
| 3881 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 3882 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4) | |
| 3883 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4) | |
| 3884 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3885 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3886 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3887 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3888 | if Debounces.on == false then break end | |
| 3889 | rs:wait() | |
| 3890 | end | |
| 3891 | for i = 1,60 do | |
| 3892 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 3893 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 3894 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4) | |
| 3895 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4) | |
| 3896 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3897 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3898 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3899 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3900 | if Debounces.on == false then break end | |
| 3901 | rs:wait() | |
| 3902 | end | |
| 3903 | if Debounces.CanAttack == false then | |
| 3904 | Debounces.CanAttack = true | |
| 3905 | Debounces.NoIdl = false | |
| 3906 | Debounces.on = false | |
| 3907 | end | |
| 3908 | end | |
| 3909 | end | |
| 3910 | end)]]-- | |
| 3911 | ---------------------------------------------------- | |
| 3912 | ||
| 3913 | Mouse.KeyDown:connect(function(key) | |
| 3914 | if key == "n" then | |
| 3915 | chatfunc("ILL ERASE THIS WHOLE PLANET!!!")
| |
| 3916 | SkyBeam() | |
| 3917 | end | |
| 3918 | end) | |
| 3919 | ||
| 3920 | ---------------- | |
| 3921 | Charging = false | |
| 3922 | mouse.KeyDown:connect(function(key) | |
| 3923 | if key == "r" then | |
| 3924 | v = Instance.new("Sound")
| |
| 3925 | v.SoundId = "rbxassetid://447225089" | |
| 3926 | v.Parent = char | |
| 3927 | v.Looped = false | |
| 3928 | v.Pitch = 1 | |
| 3929 | v.Volume = 8 | |
| 3930 | wait(.01) | |
| 3931 | v:Play() | |
| 3932 | if Charging == false then | |
| 3933 | Charging = true | |
| 3934 | if Debounces.CanAttack == true then | |
| 3935 | Debounces.CanAttack = false | |
| 3936 | Debounces.NoIdl = true | |
| 3937 | Debounces.on = true | |
| 3938 | for i = 1,20 do | |
| 3939 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
| 3940 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
| 3941 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 3942 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 3943 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 3944 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 3945 | if Debounces.on == false then break end | |
| 3946 | rs:wait() | |
| 3947 | end | |
| 3948 | --[[for i = 1,20 do | |
| 3949 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
| 3950 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
| 3951 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
| 3952 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
| 3953 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
| 3954 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
| 3955 | if Debounces.on == false then break end | |
| 3956 | rs:wait() | |
| 3957 | end]]-- | |
| 3958 | pt=Instance.new('Part',torso)
| |
| 3959 | pt.Anchored=true | |
| 3960 | pt.CanCollide=false | |
| 3961 | pt.Locked = true | |
| 3962 | pt.FormFactor='Custom' | |
| 3963 | pt.Size=Vector3.new(1,1,1) | |
| 3964 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 3965 | pt.Transparency=.6 | |
| 3966 | pt.BrickColor=BrickColor.new('Really black')
| |
| 3967 | msh=Instance.new('SpecialMesh',pt)
| |
| 3968 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 3969 | msh.Scale=Vector3.new(8,4,8) | |
| 3970 | pt2=pt:clone() | |
| 3971 | pt2.Parent = torso | |
| 3972 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 3973 | pt2.BrickColor=BrickColor.new("Royal purple")
| |
| 3974 | msh2=msh:clone() | |
| 3975 | msh2.Parent=pt2 | |
| 3976 | msh2.Scale=Vector3.new(10,5,10) | |
| 3977 | ||
| 3978 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
| |
| 3979 | ||
| 3980 | bl = Instance.new("Part", char)
| |
| 3981 | bl.Locked = true | |
| 3982 | bl.Name = "Shell" | |
| 3983 | bl.BrickColor = BrickColor.new("Really black")
| |
| 3984 | bl.Anchored = true | |
| 3985 | bl.CanCollide = false | |
| 3986 | bl.Transparency = 0 | |
| 3987 | bl.Reflectance = 0 | |
| 3988 | bl.BottomSurface = 0 | |
| 3989 | bl.TopSurface = 0 | |
| 3990 | bl.Shape = 0 | |
| 3991 | blm = Instance.new("SpecialMesh",bl)
| |
| 3992 | blm.MeshType = "Sphere" | |
| 3993 | blm.Scale = Vector3.new(1,1,1) | |
| 3994 | blm.MeshId = "rbxassetid://9982590" | |
| 3995 | ||
| 3996 | coroutine.resume(coroutine.create(function() | |
| 3997 | for i=1, math.huge, 4 do | |
| 3998 | if Charging == true then | |
| 3999 | rs:wait() | |
| 4000 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 4001 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
| 4002 | bl.Transparency = bl.Transparency + 0.005 | |
| 4003 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
| 4004 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
| 4005 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
| 4006 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
| 4007 | elseif Charging == false then break | |
| 4008 | end | |
| 4009 | end | |
| 4010 | end)) | |
| 4011 | ||
| 4012 | repeat | |
| 4013 | local p = Instance.new('Part',torso)
| |
| 4014 | p.formFactor = 'Custom' | |
| 4015 | p.Size = Vector3.new(1,1,1) | |
| 4016 | p.BrickColor = workspace.Base.BrickColor | |
| 4017 | p.CanCollide = false | |
| 4018 | p.Transparency = 0 | |
| 4019 | p.Anchored = true | |
| 4020 | p.Locked=true | |
| 4021 | p.Material = workspace.Base.Material | |
| 4022 | s = math.random(1,40)/10 | |
| 4023 | local m = Instance.new("BlockMesh",p)
| |
| 4024 | m.Scale = Vector3.new(s,s,s) | |
| 4025 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 4026 | --[[coroutine.wrap(function() | |
| 4027 | wait(2) | |
| 4028 | while Charging == true do | |
| 4029 | wait(2) | |
| 4030 | GroundWave1() | |
| 4031 | wait(2) | |
| 4032 | end | |
| 4033 | end)()]]-- | |
| 4034 | Spawn(function() | |
| 4035 | while rs:wait() do | |
| 4036 | if Charging == true then | |
| 4037 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
| 4038 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
| 4039 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
| 4040 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
| 4041 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
| 4042 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
| 4043 | elseif Charging == false then break | |
| 4044 | end | |
| 4045 | end | |
| 4046 | end) | |
| 4047 | Spawn(function() | |
| 4048 | while rs:wait() do | |
| 4049 | if p.Transparency >= 1 then p:Destroy() break end | |
| 4050 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 4051 | p.Transparency = p.Transparency+0.01 | |
| 4052 | end | |
| 4053 | end) | |
| 4054 | wait(.3) | |
| 4055 | until Charging == false | |
| 4056 | end | |
| 4057 | end | |
| 4058 | end | |
| 4059 | end) | |
| 4060 | ---------------------------------------------------- | |
| 4061 | mouse.KeyUp:connect(function(key) | |
| 4062 | if key == "r" then | |
| 4063 | if Charging == true then | |
| 4064 | Charging = false | |
| 4065 | pt:Destroy() | |
| 4066 | pt2:Destroy() | |
| 4067 | bl:Destroy() | |
| 4068 | if Debounces.CanAttack == false then | |
| 4069 | Debounces.CanAttack = true | |
| 4070 | Debounces.NoIdl = false | |
| 4071 | Debounces.on = false | |
| 4072 | end | |
| 4073 | end | |
| 4074 | end | |
| 4075 | end) | |
| 4076 | ---------------------------------------------------- | |
| 4077 | mouse.KeyDown:connect(function(key) | |
| 4078 | if key == "g" then | |
| 4079 | if Debounces.CanAttack == true then | |
| 4080 | Debounces.CanAttack = false | |
| 4081 | Debounces.NoIdl = true | |
| 4082 | Debounces.on = true | |
| 4083 | local shell = Instance.new("Part",torso)
| |
| 4084 | shell.BrickColor = BrickColor.new("Royal purple")
| |
| 4085 | shell.Anchored = true | |
| 4086 | shell.CanCollide = false | |
| 4087 | shell.Locked = true | |
| 4088 | shell.TopSurface = "SmoothNoOutlines" | |
| 4089 | shell.BottomSurface = "SmoothNoOutlines" | |
| 4090 | shell.Size = Vector3.new(1,1,1) | |
| 4091 | shellm = Instance.new("SpecialMesh",shell)
| |
| 4092 | shellm.MeshType = "Sphere" | |
| 4093 | shellm.Scale = Vector3.new(1,1,1) | |
| 4094 | local shell2 = Instance.new("Part",torso)
| |
| 4095 | shell2.BrickColor = BrickColor.new("Royal purple")
| |
| 4096 | shell2.Anchored = true | |
| 4097 | shell2.CanCollide = false | |
| 4098 | shell2.Locked = true | |
| 4099 | shell2.TopSurface = "SmoothNoOutlines" | |
| 4100 | shell2.BottomSurface = "SmoothNoOutlines" | |
| 4101 | shell2.Size = Vector3.new(1,1,1) | |
| 4102 | shellm2 = Instance.new("SpecialMesh",shell2)
| |
| 4103 | shellm2.MeshType = "Sphere" | |
| 4104 | shellm2.Scale = Vector3.new(1,1,1) | |
| 4105 | ||
| 4106 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 4107 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 4108 | local List = {}
| |
| 4109 | for i,v in pairs(workspace:GetChildren())do | |
| 4110 | if v:IsA("Model")then
| |
| 4111 | if v:findFirstChild("Torso")then
| |
| 4112 | if v ~= char then | |
| 4113 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 4114 | table.insert(List,v) | |
| 4115 | end | |
| 4116 | end | |
| 4117 | end | |
| 4118 | end | |
| 4119 | end | |
| 4120 | return List | |
| 4121 | end | |
| 4122 | ||
| 4123 | Shell = function() | |
| 4124 | local X = Instance.new("Part",char)
| |
| 4125 | local O = Instance.new("ObjectValue",X)
| |
| 4126 | O.Name = "creator" | |
| 4127 | X.Locked = true | |
| 4128 | X.Name = "Shell" | |
| 4129 | X.Anchored = false | |
| 4130 | X.CanCollide = false | |
| 4131 | X.Transparency = 0 | |
| 4132 | X.Reflectance = 0 | |
| 4133 | X.BottomSurface = 0 | |
| 4134 | X.TopSurface = 0 | |
| 4135 | X.Shape = 0 | |
| 4136 | local V = Instance.new("ObjectValue",X)
| |
| 4137 | V.Value = char | |
| 4138 | V.Name = "creator" | |
| 4139 | X.BrickColor = BrickColor.new("Royal purple")
| |
| 4140 | X.Size = Vector3.new(1,1,1) | |
| 4141 | --X.Material = "Neon" | |
| 4142 | local Z = Instance.new("SpecialMesh",X)
| |
| 4143 | Z.MeshType = "Sphere" | |
| 4144 | Z.Scale = Vector3.new(1,1,1) | |
| 4145 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 4146 | local bv = Instance.new("BodyVelocity",X)
| |
| 4147 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 4148 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 4149 | bv.velocity = root.CFrame.lookVector*65 | |
| 4150 | Explode = X.Touched:connect(function(hit) | |
| 4151 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 4152 | local cf = X.CFrame | |
| 4153 | bv:Destroy() | |
| 4154 | X.Anchored = true | |
| 4155 | Z:Remove() | |
| 4156 | Explode:disconnect() | |
| 4157 | X.Size = Vector3.new(3,3,3) | |
| 4158 | X.Touched:connect(function(hit) end) | |
| 4159 | X.CanCollide = false | |
| 4160 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
| 4161 | if v:FindFirstChild('Humanoid') then
| |
| 4162 | v.Humanoid:TakeDamage(math.random(6,12)) | |
| 4163 | end | |
| 4164 | end | |
| 4165 | for i = 1, (40) do rs:wait() | |
| 4166 | X.Transparency = X.Transparency + (1/40) | |
| 4167 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 4168 | X.CFrame = cf | |
| 4169 | end | |
| 4170 | X:Destroy() | |
| 4171 | end | |
| 4172 | end) | |
| 4173 | end | |
| 4174 | Shell() | |
| 4175 | for i = 1, 10 do | |
| 4176 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4177 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4178 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4179 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4180 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
| 4181 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
| 4182 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7) | |
| 4183 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7) | |
| 4184 | if Debounces.on == false then break end | |
| 4185 | rs:wait() | |
| 4186 | end | |
| 4187 | Shell() | |
| 4188 | shell.Transparency = 1 | |
| 4189 | for i = 1, 10 do | |
| 4190 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4191 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4192 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4193 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4194 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4195 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4196 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4197 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4198 | if Debounces.on == false then break end | |
| 4199 | rs:wait() | |
| 4200 | end | |
| 4201 | Shell() | |
| 4202 | shell.Transparency = 0 | |
| 4203 | shell2.Transparency = 1 | |
| 4204 | for i = 1, 10 do | |
| 4205 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4206 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4207 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4208 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4209 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4210 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4211 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4212 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4213 | if Debounces.on == false then break end | |
| 4214 | rs:wait() | |
| 4215 | end | |
| 4216 | Shell() | |
| 4217 | shell2.Transparency = 0 | |
| 4218 | shell.Transparency = 1 | |
| 4219 | for i = 1, 10 do | |
| 4220 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4221 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4222 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4223 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4224 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4225 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4226 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4227 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4228 | if Debounces.on == false then break end | |
| 4229 | rs:wait() | |
| 4230 | end | |
| 4231 | Shell() | |
| 4232 | shell.Transparency = 0 | |
| 4233 | shell2.Transparency = 1 | |
| 4234 | for i = 1, 10 do | |
| 4235 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4236 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4237 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4238 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4239 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4240 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4241 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4242 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4243 | if Debounces.on == false then break end | |
| 4244 | rs:wait() | |
| 4245 | end | |
| 4246 | Shell() | |
| 4247 | shell2.Transparency = 0 | |
| 4248 | shell.Transparency = 1 | |
| 4249 | for i = 1, 10 do | |
| 4250 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4251 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4252 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4253 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4254 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4255 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4256 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4257 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4258 | if Debounces.on == false then break end | |
| 4259 | rs:wait() | |
| 4260 | end | |
| 4261 | Shell() | |
| 4262 | shell.Transparency = 0 | |
| 4263 | shell2.Transparency = 1 | |
| 4264 | for i = 1, 10 do | |
| 4265 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4266 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4267 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4268 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
| 4269 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4270 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4271 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4272 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4273 | if Debounces.on == false then break end | |
| 4274 | rs:wait() | |
| 4275 | end | |
| 4276 | Shell() | |
| 4277 | shell2.Transparency = 0 | |
| 4278 | shell.Transparency = 1 | |
| 4279 | for i = 1, 10 do | |
| 4280 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4281 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4282 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4283 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4284 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4285 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4286 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4287 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4288 | if Debounces.on == false then break end | |
| 4289 | rs:wait() | |
| 4290 | end | |
| 4291 | Shell() | |
| 4292 | shell.Transparency = 0 | |
| 4293 | shell2.Transparency = 1 | |
| 4294 | for i = 1, 10 do | |
| 4295 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4296 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4297 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4298 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4299 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4300 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4301 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4302 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4303 | if Debounces.on == false then break end | |
| 4304 | rs:wait() | |
| 4305 | end | |
| 4306 | Shell() | |
| 4307 | shell2.Transparency = 0 | |
| 4308 | shell.Transparency = 1 | |
| 4309 | for i = 1, 10 do | |
| 4310 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4311 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4312 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4313 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4314 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4315 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4316 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4317 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4318 | if Debounces.on == false then break end | |
| 4319 | rs:wait() | |
| 4320 | end | |
| 4321 | Shell() | |
| 4322 | shell.Transparency = 0 | |
| 4323 | shell2.Transparency = 1 | |
| 4324 | for i = 1, 10 do | |
| 4325 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4326 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4327 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4328 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4329 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4330 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4331 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4332 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4333 | if Debounces.on == false then break end | |
| 4334 | rs:wait() | |
| 4335 | end | |
| 4336 | Shell() | |
| 4337 | shell2.Transparency = 0 | |
| 4338 | shell.Transparency = 1 | |
| 4339 | for i = 1, 10 do | |
| 4340 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4341 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4342 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4343 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4344 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4345 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4346 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4347 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4348 | if Debounces.on == false then break end | |
| 4349 | rs:wait() | |
| 4350 | end | |
| 4351 | Shell() | |
| 4352 | shell.Transparency = 0 | |
| 4353 | shell2.Transparency = 1 | |
| 4354 | for i = 1, 10 do | |
| 4355 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4356 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4357 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4358 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4359 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4360 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4361 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4362 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4363 | if Debounces.on == false then break end | |
| 4364 | rs:wait() | |
| 4365 | end | |
| 4366 | shell.Transparency = 1 | |
| 4367 | if Debounces.CanAttack == false then | |
| 4368 | Debounces.CanAttack = true | |
| 4369 | Debounces.NoIdl = false | |
| 4370 | Debounces.on = false | |
| 4371 | end | |
| 4372 | end | |
| 4373 | end | |
| 4374 | end) | |
| 4375 | ---------------------------------------------------- | |
| 4376 | Search = false | |
| 4377 | mouse.KeyDown:connect(function(key) | |
| 4378 | if key == "n" then | |
| 4379 | if Search == false then | |
| 4380 | Search = true | |
| 4381 | for i,v in pairs(game.Players:getPlayers()) do | |
| 4382 | if v.Name~=char.Name then | |
| 4383 | for j,k in pairs(v.Character:GetChildren()) do | |
| 4384 | if k:IsA("BasePart") and k.Transparency >= 1 then
| |
| 4385 | bawx=Instance.new("SelectionBox",cam)
| |
| 4386 | bawx.Color = BrickColor.new("Bright red")
| |
| 4387 | bawx.Transparency = .5 | |
| 4388 | bawx.Adornee = k | |
| 4389 | end | |
| 4390 | end | |
| 4391 | end | |
| 4392 | end | |
| 4393 | elseif Search == true then | |
| 4394 | Search = false | |
| 4395 | for i, v in pairs(cam:GetChildren()) do | |
| 4396 | if v:IsA("SelectionBox") then
| |
| 4397 | v:Destroy() | |
| 4398 | end | |
| 4399 | end | |
| 4400 | end | |
| 4401 | end | |
| 4402 | end) | |
| 4403 | ---------------------------------------------------- | |
| 4404 | ||
| 4405 | ------------------------------------------ | |
| 4406 | mouse.KeyDown:connect(function(key) | |
| 4407 | if string.byte(key) == 52 then | |
| 4408 | char.Humanoid.WalkSpeed = 60 | |
| 4409 | end | |
| 4410 | end) | |
| 4411 | mouse.KeyUp:connect(function(key) | |
| 4412 | if string.byte(key) == 52 then | |
| 4413 | char.Humanoid.WalkSpeed = 8 | |
| 4414 | end | |
| 4415 | end) | |
| 4416 | ------------------------------- | |
| 4417 | local animpose = "Idle" | |
| 4418 | local lastanimpose = "Idle" | |
| 4419 | local sine = 0 | |
| 4420 | local change = 1 | |
| 4421 | local val = 0 | |
| 4422 | local ffing = false | |
| 4423 | ------------------------------- | |
| 4424 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 4425 | --[[if char.Humanoid.Jump == true then | |
| 4426 | jump = true | |
| 4427 | else | |
| 4428 | jump = false | |
| 4429 | end]] | |
| 4430 | char.Humanoid.FreeFalling:connect(function(f) | |
| 4431 | if f then | |
| 4432 | ffing = true | |
| 4433 | else | |
| 4434 | ffing = false | |
| 4435 | end | |
| 4436 | end) | |
| 4437 | sine = sine + change | |
| 4438 | if jumpn == true then | |
| 4439 | animpose = "Jumping" | |
| 4440 | elseif ffing == true then | |
| 4441 | animpose = "Freefalling" | |
| 4442 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 4443 | animpose = "Idle" | |
| 4444 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 4445 | animpose = "Walking" | |
| 4446 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 4447 | animpose = "Running" | |
| 4448 | end | |
| 4449 | if animpose ~= lastanimpose then | |
| 4450 | sine = 0 | |
| 4451 | if Debounces.NoIdl == false then | |
| 4452 | if animpose == "Idle" then | |
| 4453 | for i = 1, 2 do | |
| 4454 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
| 4455 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
| 4456 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 4457 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 4458 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.625, -0.35) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 4459 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 4460 | end | |
| 4461 | elseif animpose == "Walking" then | |
| 4462 | for i = 1, 2 do | |
| 4463 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 4464 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 4465 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 4466 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 4467 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 4468 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 4469 | end | |
| 4470 | elseif animpose == "Running" then | |
| 4471 | for i = 1, 2 do | |
| 4472 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2) | |
| 4473 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2) | |
| 4474 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
| 4475 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
| 4476 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
| 4477 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
| 4478 | wait() | |
| 4479 | end | |
| 4480 | end | |
| 4481 | else | |
| 4482 | end | |
| 4483 | end | |
| 4484 | lastanimpose = animpose | |
| 4485 | if Debounces.NoIdl == false then | |
| 4486 | if animpose == "Idle" then | |
| 4487 | change = 0.5 | |
| 4488 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(17.5),math.rad(90+2*math.cos(sine/14))), 0.4) | |
| 4489 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.51+0.05*math.cos(sine/14),0)*CFrame.Angles(math.rad(31),math.rad(-32),math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 4490 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(-70),0), 0.2) | |
| 4491 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(70), math.rad(0)), 0.05) | |
| 4492 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.215, -0.35) * CFrame.Angles(-0.35-0.05*math.cos(sine/14), 0, 0), 0.4) | |
| 4493 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(-0.25+0.05*math.cos(sine/14),0,0), 0.4) | |
| 4494 | elseif animpose == "Walking" then | |
| 4495 | change = 1 | |
| 4496 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 4497 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 4498 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 4499 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 4500 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 4501 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 4502 | elseif animpose == "Running" then | |
| 4503 | change = 1 | |
| 4504 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-22),math.rad(20+2*math.cos(sine/14))), 0.2) | |
| 4505 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-10),math.rad(10),math.rad(-14-2*math.cos(sine/14))), 0.2) | |
| 4506 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(20),0,0), 0.4) | |
| 4507 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 4508 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-40),0, math.rad(0)), 0.05) | |
| 4509 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(-8)), 0.4) | |
| 4510 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(8)), 0.4) | |
| 4511 | end | |
| 4512 | end | |
| 4513 | end) | |
| 4514 | ||
| 4515 | hum.MaxHealth = 33543764375674356343744673473537463536 | |
| 4516 | wait(3) | |
| 4517 | hum.Health = 33543764375674356343744673473537463536 |