SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,game,owner = owner,game | |
| 3 | local RealPlayer = Player | |
| 4 | do | |
| 5 | print("FE Compatibility code by Mokiros")
| |
| 6 | local rp = RealPlayer | |
| 7 | script.Parent = rp.Character | |
| 8 | ||
| 9 | --RemoteEvent for communicating | |
| 10 | local Event = Instance.new("RemoteEvent")
| |
| 11 | Event.Name = "UserInput_Event" | |
| 12 | ||
| 13 | --Fake event to make stuff like Mouse.KeyDown work | |
| 14 | local function fakeEvent() | |
| 15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 16 | t.connect = t.Connect | |
| 17 | return t | |
| 18 | end | |
| 19 | ||
| 20 | --Creating fake input objects with fake variables | |
| 21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
| |
| 22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 25 | end} | |
| 26 | --Merged 2 functions into one by checking amount of arguments | |
| 27 | CAS.UnbindAction = CAS.BindAction | |
| 28 | ||
| 29 | --This function will trigger the events that have been :Connect()'ed | |
| 30 | local function te(self,ev,...) | |
| 31 | local t = m[ev] | |
| 32 | if t and t._fakeEvent then | |
| 33 | for _,f in pairs(t.Functions) do | |
| 34 | f(...) | |
| 35 | end | |
| 36 | end | |
| 37 | end | |
| 38 | m.TrigEvent = te | |
| 39 | UIS.TrigEvent = te | |
| 40 | ||
| 41 | Event.OnServerEvent:Connect(function(plr,io) | |
| 42 | if plr~=rp then return end | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | if not io.isMouse then | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
| 51 | return m:TrigEvent(b and "Button2Down" or "Button2Up") | |
| 52 | end | |
| 53 | for _,t in pairs(CAS.Actions) do | |
| 54 | for _,k in pairs(t.Keys) do | |
| 55 | if k==io.KeyCode then | |
| 56 | t.Function(t.Name,io.UserInputState,io) | |
| 57 | end | |
| 58 | end | |
| 59 | end | |
| 60 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 61 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 62 | end | |
| 63 | end) | |
| 64 | Event.Parent = NLS([==[ | |
| 65 | local Player = game:GetService("Players").LocalPlayer
| |
| 66 | local Event = script:WaitForChild("UserInput_Event")
| |
| 67 | local Mouse = Player:GetMouse() | |
| 68 | local UIS = game:GetService("UserInputService")
| |
| 69 | local input = function(io,a) | |
| 70 | if a then return end | |
| 71 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 72 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 73 | end | |
| 74 | UIS.InputBegan:Connect(input) | |
| 75 | UIS.InputEnded:Connect(input) | |
| 76 | local h,t | |
| 77 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 78 | --If player is not moving their mouse, client won't fire events | |
| 79 | while wait(1/30) do | |
| 80 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 81 | h,t=Mouse.Hit,Mouse.Target | |
| 82 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 83 | end | |
| 84 | end]==],Player.Character) | |
| 85 | ||
| 86 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 87 | --Real game object | |
| 88 | local _rg = game | |
| 89 | ||
| 90 | --Metatable for fake service | |
| 91 | local fsmt = {
| |
| 92 | __index = function(self,k) | |
| 93 | local s = rawget(self,"_RealService") | |
| 94 | if s then | |
| 95 | return typeof(s[k])=="function" | |
| 96 | and function(_,...)return s[k](s,...)end or s[k] | |
| 97 | end | |
| 98 | end, | |
| 99 | __newindex = function(self,k,v) | |
| 100 | local s = rawget(self,"_RealService") | |
| 101 | if s then s[k]=v end | |
| 102 | end | |
| 103 | } | |
| 104 | local function FakeService(t,RealService) | |
| 105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 106 | return setmetatable(t,fsmt) | |
| 107 | end | |
| 108 | ||
| 109 | --Fake game object | |
| 110 | local g = {
| |
| 111 | GetService = function(self,s) | |
| 112 | return rawget(self,s) or _rg:GetService(s) | |
| 113 | end, | |
| 114 | Players = FakeService({
| |
| 115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
| |
| 116 | },"Players"), | |
| 117 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 119 | RunService = FakeService({
| |
| 120 | _btrs = {},
| |
| 121 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 122 | BindToRenderStep = function(self,name,_,fun) | |
| 123 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 124 | end, | |
| 125 | UnbindFromRenderStep = function(self,name) | |
| 126 | self._btrs[name]:Disconnect() | |
| 127 | end, | |
| 128 | },"RunService") | |
| 129 | } | |
| 130 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 131 | g.service = g.GetService | |
| 132 | FakeService(g,game) | |
| 133 | --Changing owner to fake player object to support owner:GetMouse() | |
| 134 | game,owner = g,g.Players.LocalPlayer | |
| 135 | end | |
| 136 | warn'Controls:Q Strong punch|E Normal punch|R Long range|T Up-Dash|X Front dash|' | |
| 137 | wait(1) | |
| 138 | plr = game.Players.LocalPlayer | |
| 139 | char = plr.Character | |
| 140 | hum = char.Humanoid | |
| 141 | local cam = game.Workspace.CurrentCamera | |
| 142 | t = char.Torso | |
| 143 | h = char.Head | |
| 144 | ra = char["Right Arm"] | |
| 145 | la = char["Left Arm"] | |
| 146 | rl = char["Right Leg"] | |
| 147 | ll = char["Left Leg"] | |
| 148 | tors = char.Torso | |
| 149 | lleg = char["Left Leg"] | |
| 150 | root = char.HumanoidRootPart | |
| 151 | char.Humanoid.MaxHealth = 250000 | |
| 152 | wait() | |
| 153 | char.Humanoid.Health = 250000 | |
| 154 | hed = char.Head | |
| 155 | rleg = char["Right Leg"] | |
| 156 | rarm = char["Right Arm"] | |
| 157 | larm = char["Left Arm"] | |
| 158 | vt = Vector3.new | |
| 159 | bc = BrickColor.new | |
| 160 | br = BrickColor.random | |
| 161 | it = Instance.new | |
| 162 | cf = CFrame.new | |
| 163 | local rock3 = false | |
| 164 | local rock2 = false | |
| 165 | local rock = false | |
| 166 | New = function(Object, Parent, Name, Data) | |
| 167 | local Object = Instance.new(Object) | |
| 168 | for Index, Value in pairs(Data or {}) do
| |
| 169 | Object[Index] = Value | |
| 170 | end | |
| 171 | Object.Parent = Parent | |
| 172 | Object.Name = Name | |
| 173 | return Object | |
| 174 | end | |
| 175 | ||
| 176 | local v3 = Vector3.new | |
| 177 | local ns = NumberSequence.new | |
| 178 | local nr = NumberRange.new | |
| 179 | local new = Instance.new | |
| 180 | local cf = CFrame.new | |
| 181 | local cfa = CFrame.Angles | |
| 182 | local bc = BrickColor.new | |
| 183 | ----------------------------------- | |
| 184 | function chatfunc(text) | |
| 185 | local chat = coroutine.wrap(function() | |
| 186 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 187 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 188 | end | |
| 189 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 190 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 191 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 192 | naeeym2.Adornee = Character.Head | |
| 193 | naeeym2.Name = "TalkingBillBoard" | |
| 194 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 195 | tecks2.BackgroundTransparency = 1 | |
| 196 | tecks2.BorderSizePixel = 0 | |
| 197 | tecks2.Text = "" | |
| 198 | tecks2.Font = "ArialBold" | |
| 199 | tecks2.TextSize = 30 | |
| 200 | tecks2.TextStrokeTransparency = 0 | |
| 201 | tecks2.TextColor3 = Color3.new(255,255,0) | |
| 202 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 203 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 204 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 205 | tecks3.BackgroundTransparency = 1 | |
| 206 | tecks3.BorderSizePixel = 0 | |
| 207 | tecks3.Text = "" | |
| 208 | tecks3.Font = "ArialBold" | |
| 209 | tecks3.TextSize = 30 | |
| 210 | tecks3.TextStrokeTransparency = 0 | |
| 211 | tecks3.TextColor3 = Color3.new(255,255,0) | |
| 212 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
| 213 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 214 | for i = 1,string.len(text),1 do | |
| 215 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=", Character, .6, .8)
| |
| 216 | tecks2.Text = string.sub(text,1,i) | |
| 217 | tecks3.Text = string.sub(text,1,i) | |
| 218 | wait(0.01) | |
| 219 | end | |
| 220 | wait(2) | |
| 221 | for i = 1, 50 do | |
| 222 | swait() | |
| 223 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 224 | tecks2.Rotation = tecks2.Rotation - .8 | |
| 225 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 226 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 227 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 228 | tecks3.Rotation = tecks2.Rotation + .8 | |
| 229 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 230 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 231 | end | |
| 232 | naeeym2:Destroy() | |
| 233 | end) | |
| 234 | chat() | |
| 235 | end | |
| 236 | function onChatted(msg) | |
| 237 | chatfunc(msg) | |
| 238 | end | |
| 239 | if rock == true then | |
| 240 | wait(math.random(0.1,0.5)) | |
| 241 | ay = new("Part",tors)
| |
| 242 | ay.Name = "NewPart2" | |
| 243 | ay.Size = v3(0.3,0.3,0.3) | |
| 244 | ay.CanCollide = false | |
| 245 | for i,v in pairs(workspace:GetChildren()) do | |
| 246 | if v:IsA("Part") then
| |
| 247 | if v.Size.x > 150 then | |
| 248 | ||
| 249 | ||
| 250 | ay.BrickColor = v.BrickColor | |
| 251 | ay.Material = v.Material | |
| 252 | ay.Transparency = v.Transparency | |
| 253 | end | |
| 254 | end | |
| 255 | end | |
| 256 | ay.Position = v3(999,999,999) | |
| 257 | ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-2,RootPart.Position.z+math.random(-15,15)) | |
| 258 | ys = Instance.new("BodyVelocity",ay)
| |
| 259 | ys.Name = "GO" | |
| 260 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 261 | ||
| 262 | ys.Velocity = v3(0,6,0) | |
| 263 | game.Debris:AddItem(ay,math.random(3,4)) | |
| 264 | end | |
| 265 | ||
| 266 | ----------------------------------- | |
| 267 | ||
| 268 | local Create = LoadLibrary("RbxUtility").Create
| |
| 269 | ||
| 270 | CFuncs = {
| |
| 271 | ["Part"] = {
| |
| 272 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 273 | local Part = Create("Part"){
| |
| 274 | Parent = Parent, | |
| 275 | Reflectance = Reflectance, | |
| 276 | Transparency = Transparency, | |
| 277 | CanCollide = false, | |
| 278 | Locked = true, | |
| 279 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 280 | Name = Name, | |
| 281 | Size = Size, | |
| 282 | Material = Material, | |
| 283 | } | |
| 284 | RemoveOutlines(Part) | |
| 285 | return Part | |
| 286 | end; | |
| 287 | }; | |
| 288 | ||
| 289 | ["Mesh"] = {
| |
| 290 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 291 | local Msh = Create(Mesh){
| |
| 292 | Parent = Part, | |
| 293 | Offset = OffSet, | |
| 294 | Scale = Scale, | |
| 295 | } | |
| 296 | if Mesh == "SpecialMesh" then | |
| 297 | Msh.MeshType = MeshType | |
| 298 | Msh.MeshId = MeshId | |
| 299 | end | |
| 300 | return Msh | |
| 301 | end; | |
| 302 | }; | |
| 303 | ||
| 304 | ["Mesh"] = {
| |
| 305 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 306 | local Msh = Create(Mesh){
| |
| 307 | Parent = Part, | |
| 308 | Offset = OffSet, | |
| 309 | Scale = Scale, | |
| 310 | } | |
| 311 | if Mesh == "SpecialMesh" then | |
| 312 | Msh.MeshType = MeshType | |
| 313 | Msh.MeshId = MeshId | |
| 314 | end | |
| 315 | return Msh | |
| 316 | end; | |
| 317 | }; | |
| 318 | ||
| 319 | ["Weld"] = {
| |
| 320 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 321 | local Weld = Create("Weld"){
| |
| 322 | Parent = Parent, | |
| 323 | Part0 = Part0, | |
| 324 | Part1 = Part1, | |
| 325 | C0 = C0, | |
| 326 | C1 = C1, | |
| 327 | } | |
| 328 | return Weld | |
| 329 | end; | |
| 330 | }; | |
| 331 | ||
| 332 | ["Sound"] = {
| |
| 333 | Create = function(id, par, vol, pit) | |
| 334 | coroutine.resume(coroutine.create(function() | |
| 335 | local S = Create("Sound"){
| |
| 336 | Volume = vol, | |
| 337 | Pitch = pit or 1, | |
| 338 | SoundId = id, | |
| 339 | Parent = par or workspace, | |
| 340 | } | |
| 341 | wait() | |
| 342 | S:play() | |
| 343 | game:GetService("Debris"):AddItem(S, 10)
| |
| 344 | end)) | |
| 345 | end; | |
| 346 | }; | |
| 347 | ||
| 348 | ["ParticleEmitter"] = {
| |
| 349 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 350 | local fp = Create("ParticleEmitter"){
| |
| 351 | Parent = Parent, | |
| 352 | Color = ColorSequence.new(Color1, Color2), | |
| 353 | LightEmission = LightEmission, | |
| 354 | Size = Size, | |
| 355 | Texture = Texture, | |
| 356 | Transparency = Transparency, | |
| 357 | ZOffset = ZOffset, | |
| 358 | Acceleration = Accel, | |
| 359 | Drag = Drag, | |
| 360 | LockedToPart = LockedToPart, | |
| 361 | VelocityInheritance = VelocityInheritance, | |
| 362 | EmissionDirection = EmissionDirection, | |
| 363 | Enabled = Enabled, | |
| 364 | Lifetime = LifeTime, | |
| 365 | Rate = Rate, | |
| 366 | Rotation = Rotation, | |
| 367 | RotSpeed = RotSpeed, | |
| 368 | Speed = Speed, | |
| 369 | VelocitySpread = VelocitySpread, | |
| 370 | } | |
| 371 | return fp | |
| 372 | end; | |
| 373 | }; | |
| 374 | ||
| 375 | CreateTemplate = {
| |
| 376 | ||
| 377 | }; | |
| 378 | } | |
| 379 | ||
| 380 | ||
| 381 | ||
| 382 | New = function(Object, Parent, Name, Data) | |
| 383 | local Object = Instance.new(Object) | |
| 384 | for Index, Value in pairs(Data or {}) do
| |
| 385 | Object[Index] = Value | |
| 386 | end | |
| 387 | Object.Parent = Parent | |
| 388 | Object.Name = Name | |
| 389 | return Object | |
| 390 | end | |
| 391 | local m = Instance.new("Model",char)
| |
| 392 | ||
| 393 | function CreatePart(parent,transparency,reflectance,material,brickcolor) | |
| 394 | local p = Instance.new("Part")
| |
| 395 | p.Parent = parent | |
| 396 | p.Size = Vector3.new(1,1,1) | |
| 397 | p.Transparency = transparency | |
| 398 | p.Reflectance = reflectance | |
| 399 | p.CanCollide = false | |
| 400 | p.Locked = true | |
| 401 | p.BrickColor = brickcolor | |
| 402 | p.Material = material | |
| 403 | return p | |
| 404 | end | |
| 405 | ||
| 406 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
| 407 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 408 | mesh.MeshType = meshtype | |
| 409 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 410 | return mesh | |
| 411 | end | |
| 412 | ||
| 413 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
| 414 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 415 | mesh.MeshType = "FileMesh" | |
| 416 | mesh.MeshId = meshid | |
| 417 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
| 418 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 419 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
| 420 | return mesh | |
| 421 | end | |
| 422 | ||
| 423 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
| 424 | local weld = Instance.new("Weld")
| |
| 425 | weld.Parent = parent | |
| 426 | weld.Part0 = part0 | |
| 427 | weld.Part1 = part1 | |
| 428 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
| 429 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
| 430 | return weld | |
| 431 | end | |
| 432 | ||
| 433 | ||
| 434 | function ApplyTrig(Num,Func) | |
| 435 | local Min,Max = Func(0),Func(1) | |
| 436 | local i = Func(Num) | |
| 437 | return (i-Min)/(Max-Min) | |
| 438 | --[[if Func == "sin" then | |
| 439 | return (math.sin((1-Num)*math.pi)+1)/2 | |
| 440 | elseif Func == "cos" then | |
| 441 | return (math.cos((1-Num)*math.pi)+1)/2 | |
| 442 | end]] | |
| 443 | end | |
| 444 | ||
| 445 | local acos = math.acos | |
| 446 | local sqrt = math.sqrt | |
| 447 | local Vec3 = Vector3.new | |
| 448 | ||
| 449 | local function toAxisAngle(CFr) | |
| 450 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 451 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 452 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 453 | A = A == 0 and 0.00001 or A | |
| 454 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 455 | B = B == 0 and 0.00001 or B | |
| 456 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 457 | C = C == 0 and 0.00001 or C | |
| 458 | local x = (R21-R12)/sqrt(A) | |
| 459 | local y = (R02-R20)/sqrt(B) | |
| 460 | local z = (R10-R01)/sqrt(C) | |
| 461 | return Vec3(x,y,z),Angle | |
| 462 | end | |
| 463 | ||
| 464 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 465 | ||
| 466 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 467 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 468 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 469 | end | |
| 470 | ||
| 471 | ||
| 472 | ||
| 473 | ||
| 474 | ||
| 475 | local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 476 | CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 477 | local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 478 | CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 479 | ||
| 480 | Player=game:GetService("Players").LocalPlayer
| |
| 481 | Character=Player.Character | |
| 482 | PlayerGui=Player.PlayerGui | |
| 483 | Backpack=Player.Backpack | |
| 484 | Torso=Character.Torso | |
| 485 | Head=Character.Head | |
| 486 | Humanoid=Character.Humanoid | |
| 487 | m=Instance.new('Model',Character)
| |
| 488 | LeftArm=Character["Left Arm"] | |
| 489 | LeftLeg=Character["Left Leg"] | |
| 490 | RightArm=Character["Right Arm"] | |
| 491 | RightLeg=Character["Right Leg"] | |
| 492 | LS=Torso["Left Shoulder"] | |
| 493 | LH=Torso["Left Hip"] | |
| 494 | RS=Torso["Right Shoulder"] | |
| 495 | RH=Torso["Right Hip"] | |
| 496 | Face = Head.face | |
| 497 | Neck=Torso.Neck | |
| 498 | it=Instance.new | |
| 499 | attacktype=1 | |
| 500 | vt=Vector3.new | |
| 501 | cf=CFrame.new | |
| 502 | euler=CFrame.fromEulerAnglesXYZ | |
| 503 | angles=CFrame.Angles | |
| 504 | cloaked=false | |
| 505 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 506 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 507 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 508 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 509 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 510 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 511 | RootPart=Character.HumanoidRootPart | |
| 512 | RootJoint=RootPart.RootJoint | |
| 513 | RootCF=euler(-1.57,0,3.14) | |
| 514 | attack = false | |
| 515 | attackdebounce = false | |
| 516 | deb=false | |
| 517 | equipped=true | |
| 518 | hand=false | |
| 519 | MMouse=nil | |
| 520 | combo=0 | |
| 521 | mana=0 | |
| 522 | trispeed=.2 | |
| 523 | attackmode='none' | |
| 524 | local idle=0 | |
| 525 | local Effects={}
| |
| 526 | local gun=false | |
| 527 | local shoot=false | |
| 528 | local sine = 0 | |
| 529 | local change = 1 | |
| 530 | player=nil | |
| 531 | --char.Shirt:Remove() | |
| 532 | --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
| |
| 533 | for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
| |
| 534 | wait()--shirt = Instance.new("Shirt", char)
| |
| 535 | --shirt.Name = "Shirt" | |
| 536 | --pants = Instance.new("Pants", char)
| |
| 537 | --pants.Name = "Pants" | |
| 538 | shirt = Instance.new("Shirt", char)
| |
| 539 | shirt.Name = "Shirt" | |
| 540 | pants = Instance.new("Pants", char)
| |
| 541 | pants.Name = "Pants" | |
| 542 | char.Head.face.Texture = "rbxassetid://29291814" | |
| 543 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=548416871" | |
| 544 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=465693223" | |
| 545 | hum.JumpPower = 120 | |
| 546 | Instance.new("ForceField",char).Visible = false
| |
| 547 | tp = true | |
| 548 | hum.WalkSpeed = 20 | |
| 549 | local ChatService = game:GetService("Chat")
| |
| 550 | local player = game.Players.LocalPlayer | |
| 551 | m=player:GetMouse() | |
| 552 | bb = Instance.new("BillboardGui",player.Character.Head)
| |
| 553 | bb.Enabled = true | |
| 554 | ||
| 555 | ||
| 556 | ||
| 557 | ||
| 558 | Hair7 = Instance.new("Part")
| |
| 559 | Hair7.Parent = char | |
| 560 | Hair7.Name = "Hair" | |
| 561 | Hair7.CanCollide = false | |
| 562 | Hair7.Locked = true | |
| 563 | Hair7.TopSurface = "Smooth" | |
| 564 | Hair7.BottomSurface = "Smooth" | |
| 565 | Hair7.formFactor = "Symmetric" | |
| 566 | Hair7.Material = "Neon" | |
| 567 | Hair7.BrickColor = BrickColor.new("Daisy orange")
| |
| 568 | Hair7.CFrame = char.Torso.CFrame | |
| 569 | Hair7.Size = Vector3.new(1, 1, 1) | |
| 570 | Hair7.Transparency = 0 | |
| 571 | ||
| 572 | ||
| 573 | Weld1 = Instance.new("Weld")
| |
| 574 | Weld1.Parent = char.Head | |
| 575 | Weld1.Part0 = char.Head | |
| 576 | Weld1.Part1 = Hair7 | |
| 577 | Weld1.C0 = CFrame.new(0, 1, 0) | |
| 578 | ||
| 579 | Mesh = Instance.new("SpecialMesh")
| |
| 580 | Mesh.Offset = Vector3.new(0,-0.7,0) | |
| 581 | Mesh.Parent = Hair7 | |
| 582 | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) | |
| 583 | Mesh.MeshType = "FileMesh" | |
| 584 | Mesh.MeshId = "http://www.roblox.com/asset/?id=212966179" | |
| 585 | Mesh.TextureId = "http://www.roblox.com/asset/?id=575345085" | |
| 586 | ||
| 587 | ||
| 588 | asd = Instance.new("Sound",char)
| |
| 589 | asd.SoundId = "http://www.roblox.com/asset/?id = 335204822" | |
| 590 | asd.Volume = 3 | |
| 591 | asd.Looped = true | |
| 592 | ||
| 593 | ||
| 594 | ||
| 595 | ||
| 596 | ||
| 597 | ||
| 598 | ||
| 599 | ||
| 600 | for i,v in pairs(char:GetChildren()) do | |
| 601 | if v.ClassName == "Accessory" then | |
| 602 | v:Destroy() | |
| 603 | end | |
| 604 | end | |
| 605 | ||
| 606 | Hair7 = Instance.new("Part")
| |
| 607 | Hair7.Parent = char | |
| 608 | Hair7.Name = "Hair" | |
| 609 | Hair7.CanCollide = false | |
| 610 | Hair7.Locked = true | |
| 611 | Hair7.TopSurface = "Smooth" | |
| 612 | Hair7.BottomSurface = "Smooth" | |
| 613 | Hair7.formFactor = "Symmetric" | |
| 614 | Hair7.Material = "Neon" | |
| 615 | Hair7.BrickColor = BrickColor.new("Daisy orange")
| |
| 616 | Hair7.CFrame = char.Torso.CFrame | |
| 617 | Hair7.Size = Vector3.new(1, 1, 1) | |
| 618 | Hair7.Transparency = 0 | |
| 619 | ||
| 620 | ||
| 621 | Weld1 = Instance.new("Weld")
| |
| 622 | Weld1.Parent = char.Head | |
| 623 | Weld1.Part0 = char.Head | |
| 624 | Weld1.Part1 = Hair7 | |
| 625 | Weld1.C0 = CFrame.new(0, 1, 0) | |
| 626 | ||
| 627 | Mesh = Instance.new("SpecialMesh")
| |
| 628 | Mesh.Offset = Vector3.new(0,-0.4,0.1) | |
| 629 | Mesh.Parent = Hair7 | |
| 630 | Mesh.Scale = Vector3.new(0.1, 0.1, 0.1) | |
| 631 | Mesh.MeshType = "FileMesh" | |
| 632 | Mesh.MeshId = "http://www.roblox.com/asset/?id=" | |
| 633 | Mesh.TextureId = "" | |
| 634 | ||
| 635 | ||
| 636 | ||
| 637 | ||
| 638 | ||
| 639 | local txt = Instance.new("BillboardGui", char)
| |
| 640 | CV="Lime green" | |
| 641 | txt.Adornee = char .Head | |
| 642 | txt.Name = "_status" | |
| 643 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 644 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 645 | local text = Instance.new("TextLabel", txt)
| |
| 646 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 647 | text.FontSize = "Size24" | |
| 648 | text.TextScaled = true | |
| 649 | text.TextTransparency = 0 | |
| 650 | text.BackgroundTransparency = 1 | |
| 651 | text.TextTransparency = 0 | |
| 652 | text.TextStrokeTransparency = 0 | |
| 653 | text.Font = "Bodoni" | |
| 654 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
| 655 | text.TextColor3 = Color3.fromRGB(255,255,0) | |
| 656 | text.Text = " " | |
| 657 | v=Instance.new("Part")
| |
| 658 | v.Name = "ColorBrick" | |
| 659 | v.Parent= plr.Character | |
| 660 | v.FormFactor="Symmetric" | |
| 661 | v.Anchored=true | |
| 662 | v.CanCollide=false | |
| 663 | v.BottomSurface="Smooth" | |
| 664 | v.TopSurface="Smooth" | |
| 665 | v.Size=Vector3.new(10,5,3) | |
| 666 | v.Transparency=0 | |
| 667 | v.CFrame=char.Torso.CFrame | |
| 668 | v.BrickColor=BrickColor.new("Lime green")
| |
| 669 | v.Transparency=1 | |
| 670 | v.Shape="Block" | |
| 671 | ||
| 672 | mouse=Player:GetMouse() | |
| 673 | --save shoulders | |
| 674 | RSH, LSH=nil, nil | |
| 675 | --welds | |
| 676 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 677 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 678 | LH=Torso["Left Hip"] | |
| 679 | RH=Torso["Right Hip"] | |
| 680 | TorsoColor=Torso.BrickColor | |
| 681 | function NoOutline(Part) | |
| 682 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 683 | end | |
| 684 | player=Player | |
| 685 | ch=Character | |
| 686 | RSH=ch.Torso["Right Shoulder"] | |
| 687 | LSH=ch.Torso["Left Shoulder"] | |
| 688 | -- | |
| 689 | RSH.Parent=nil | |
| 690 | LSH.Parent=nil | |
| 691 | -- | |
| 692 | RW.Name="Right Shoulder" | |
| 693 | RW.Part0=ch.Torso | |
| 694 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 695 | RW.C1=cf(0, 0.5, 0) | |
| 696 | RW.Part1=ch["Right Arm"] | |
| 697 | RW.Parent=ch.Torso | |
| 698 | -- | |
| 699 | LW.Name="Left Shoulder" | |
| 700 | LW.Part0=ch.Torso | |
| 701 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 702 | LW.C1=cf(0, 0.5, 0) | |
| 703 | LW.Part1=ch["Left Arm"] | |
| 704 | LW.Parent=ch.Torso | |
| 705 | ||
| 706 | local Stats=Instance.new("BoolValue")
| |
| 707 | Stats.Name="Stats" | |
| 708 | Stats.Parent=Character | |
| 709 | local Atk=Instance.new("NumberValue")
| |
| 710 | Atk.Name="Damage" | |
| 711 | Atk.Parent=Stats | |
| 712 | Atk.Value=1 | |
| 713 | local Def=Instance.new("NumberValue")
| |
| 714 | Def.Name="Defense" | |
| 715 | Def.Parent=Stats | |
| 716 | Def.Value=1 | |
| 717 | local Speed=Instance.new("NumberValue")
| |
| 718 | Speed.Name="Speed" | |
| 719 | Speed.Parent=Stats | |
| 720 | Speed.Value=1 | |
| 721 | local Mvmt=Instance.new("NumberValue")
| |
| 722 | Mvmt.Name="Movement" | |
| 723 | Mvmt.Parent=Stats | |
| 724 | Mvmt.Value=1 | |
| 725 | ||
| 726 | local donum=0 | |
| 727 | ||
| 728 | ||
| 729 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 730 | local fp=it("Part")
| |
| 731 | fp.formFactor=formfactor | |
| 732 | fp.Parent=parent | |
| 733 | fp.Reflectance=reflectance | |
| 734 | fp.Transparency=transparency | |
| 735 | fp.CanCollide=false | |
| 736 | fp.Locked=true | |
| 737 | fp.BrickColor=brickcolor | |
| 738 | fp.Name=name | |
| 739 | fp.Size=size | |
| 740 | fp.Position=Torso.Position | |
| 741 | NoOutline(fp) | |
| 742 | fp.Material="SmoothPlastic" | |
| 743 | fp:BreakJoints() | |
| 744 | return fp | |
| 745 | end | |
| 746 | ||
| 747 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 748 | local mesh=it(Mesh) | |
| 749 | mesh.Parent=part | |
| 750 | if Mesh=="SpecialMesh" then | |
| 751 | mesh.MeshType=meshtype | |
| 752 | if meshid~="nil" then | |
| 753 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 754 | end | |
| 755 | end | |
| 756 | mesh.Offset=offset | |
| 757 | mesh.Scale=scale | |
| 758 | return mesh | |
| 759 | end | |
| 760 | ||
| 761 | function weld(parent,part0,part1,c0) | |
| 762 | local weld=it("Weld")
| |
| 763 | weld.Parent=parent | |
| 764 | weld.Part0=part0 | |
| 765 | weld.Part1=part1 | |
| 766 | weld.C0=c0 | |
| 767 | return weld | |
| 768 | end | |
| 769 | ||
| 770 | local Color1=Torso.BrickColor | |
| 771 | ||
| 772 | local bodvel=Instance.new("BodyVelocity")
| |
| 773 | local bg=Instance.new("BodyGyro")
| |
| 774 | ||
| 775 | function swait(num) | |
| 776 | if num==0 or num==nil then | |
| 777 | game:service'RunService'.Stepped:wait(0) | |
| 778 | else | |
| 779 | for i=0,num do | |
| 780 | game:service'RunService'.Stepped:wait(0) | |
| 781 | end | |
| 782 | end | |
| 783 | end | |
| 784 | ||
| 785 | ||
| 786 | so = function(id,par,vol,pit) | |
| 787 | coroutine.resume(coroutine.create(function() | |
| 788 | local sou = Instance.new("Sound",par or workspace)
| |
| 789 | sou.Volume=vol | |
| 790 | sou.Pitch=pit or 1 | |
| 791 | sou.SoundId=id | |
| 792 | swait() | |
| 793 | sou:play() | |
| 794 | game:GetService("Debris"):AddItem(sou,6)
| |
| 795 | end)) | |
| 796 | end | |
| 797 | ||
| 798 | function clerp(a,b,t) | |
| 799 | local qa = {QuaternionFromCFrame(a)}
| |
| 800 | local qb = {QuaternionFromCFrame(b)}
| |
| 801 | local ax, ay, az = a.x, a.y, a.z | |
| 802 | local bx, by, bz = b.x, b.y, b.z | |
| 803 | local _t = 1-t | |
| 804 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 805 | end | |
| 806 | ||
| 807 | function QuaternionFromCFrame(cf) | |
| 808 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 809 | local trace = m00 + m11 + m22 | |
| 810 | if trace > 0 then | |
| 811 | local s = math.sqrt(1 + trace) | |
| 812 | local recip = 0.5/s | |
| 813 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 814 | else | |
| 815 | local i = 0 | |
| 816 | if m11 > m00 then | |
| 817 | i = 1 | |
| 818 | end | |
| 819 | if m22 > (i == 0 and m00 or m11) then | |
| 820 | i = 2 | |
| 821 | end | |
| 822 | if i == 0 then | |
| 823 | local s = math.sqrt(m00-m11-m22+1) | |
| 824 | local recip = 0.5/s | |
| 825 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 826 | elseif i == 1 then | |
| 827 | local s = math.sqrt(m11-m22-m00+1) | |
| 828 | local recip = 0.5/s | |
| 829 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 830 | elseif i == 2 then | |
| 831 | local s = math.sqrt(m22-m00-m11+1) | |
| 832 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 833 | end | |
| 834 | end | |
| 835 | end | |
| 836 | ||
| 837 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 838 | local xs, ys, zs = x + x, y + y, z + z | |
| 839 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 840 | local xx = x*xs | |
| 841 | local xy = x*ys | |
| 842 | local xz = x*zs | |
| 843 | local yy = y*ys | |
| 844 | local yz = y*zs | |
| 845 | local zz = z*zs | |
| 846 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
| 847 | end | |
| 848 | ||
| 849 | function QuaternionSlerp(a, b, t) | |
| 850 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 851 | local startInterp, finishInterp; | |
| 852 | if cosTheta >= 0.0001 then | |
| 853 | if (1 - cosTheta) > 0.0001 then | |
| 854 | local theta = math.acos(cosTheta) | |
| 855 | local invSinTheta = 1/math.sin(theta) | |
| 856 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 857 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 858 | else | |
| 859 | startInterp = 1-t | |
| 860 | finishInterp = t | |
| 861 | end | |
| 862 | else | |
| 863 | if (1+cosTheta) > 0.0001 then | |
| 864 | local theta = math.acos(-cosTheta) | |
| 865 | local invSinTheta = 1/math.sin(theta) | |
| 866 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 867 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 868 | else | |
| 869 | startInterp = t-1 | |
| 870 | finishInterp = t | |
| 871 | end | |
| 872 | end | |
| 873 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
| 874 | end | |
| 875 | ||
| 876 | local function CFrameFromTopBack(at, top, back) | |
| 877 | local right = top:Cross(back) | |
| 878 | return CFrame.new(at.x, at.y, at.z, | |
| 879 | right.x, top.x, back.x, | |
| 880 | right.y, top.y, back.y, | |
| 881 | right.z, top.z, back.z) | |
| 882 | end | |
| 883 | ||
| 884 | function Triangle(a, b, c) | |
| 885 | local edg1 = (c-a):Dot((b-a).unit) | |
| 886 | local edg2 = (a-b):Dot((c-b).unit) | |
| 887 | local edg3 = (b-c):Dot((a-c).unit) | |
| 888 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 889 | a, b, c = a, b, c | |
| 890 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 891 | a, b, c = b, c, a | |
| 892 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 893 | a, b, c = c, a, b | |
| 894 | else | |
| 895 | assert(false, "unreachable") | |
| 896 | end | |
| 897 | ||
| 898 | local len1 = (c-a):Dot((b-a).unit) | |
| 899 | local len2 = (b-a).magnitude - len1 | |
| 900 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 901 | ||
| 902 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 903 | ||
| 904 | local list = {}
| |
| 905 | ||
| 906 | if len1 > 0.01 then | |
| 907 | local w1 = Instance.new('WedgePart', m)
| |
| 908 | game:GetService("Debris"):AddItem(w1,5)
| |
| 909 | w1.Material = "SmoothPlastic" | |
| 910 | w1.FormFactor = 'Custom' | |
| 911 | w1.BrickColor = BrickColor.new("Really red")
| |
| 912 | w1.Transparency = 0 | |
| 913 | w1.Reflectance = 0 | |
| 914 | w1.Material = "SmoothPlastic" | |
| 915 | w1.CanCollide = false | |
| 916 | local l1 = Instance.new("PointLight",w1)
| |
| 917 | l1.Color = Color3.new(170,0,0) | |
| 918 | NoOutline(w1) | |
| 919 | local sz = Vector3.new(0.2, width, len1) | |
| 920 | w1.Size = sz | |
| 921 | local sp = Instance.new("SpecialMesh",w1)
| |
| 922 | sp.MeshType = "Wedge" | |
| 923 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 924 | w1:BreakJoints() | |
| 925 | w1.Anchored = true | |
| 926 | w1.Parent = workspace | |
| 927 | w1.Transparency = 0.7 | |
| 928 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 929 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 930 | table.insert(list,w1) | |
| 931 | end | |
| 932 | ||
| 933 | if len2 > 0.01 then | |
| 934 | local w2 = Instance.new('WedgePart', m)
| |
| 935 | game:GetService("Debris"):AddItem(w2,5)
| |
| 936 | w2.Material = "SmoothPlastic" | |
| 937 | w2.FormFactor = 'Custom' | |
| 938 | w2.BrickColor = BrickColor.new("Really red")
| |
| 939 | w2.Transparency = 0 | |
| 940 | w2.Reflectance = 0 | |
| 941 | w2.Material = "SmoothPlastic" | |
| 942 | w2.CanCollide = false | |
| 943 | local l2 = Instance.new("PointLight",w2)
| |
| 944 | l2.Color = Color3.new(170,0,0) | |
| 945 | NoOutline(w2) | |
| 946 | local sz = Vector3.new(0.2, width, len2) | |
| 947 | w2.Size = sz | |
| 948 | local sp = Instance.new("SpecialMesh",w2)
| |
| 949 | sp.MeshType = "Wedge" | |
| 950 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
| 951 | w2:BreakJoints() | |
| 952 | w2.Anchored = true | |
| 953 | w2.Parent = workspace | |
| 954 | w2.Transparency = 0.7 | |
| 955 | table.insert(Effects,{w2,"Disappear",.01})
| |
| 956 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 957 | table.insert(list,w2) | |
| 958 | end | |
| 959 | return unpack(list) | |
| 960 | end | |
| 961 | ||
| 962 | ||
| 963 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 964 | if hit.Parent==nil then | |
| 965 | return | |
| 966 | end | |
| 967 | h=hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 968 | for _,v in pairs(hit.Parent:children()) do | |
| 969 | if v:IsA("Humanoid") then
| |
| 970 | h=v | |
| 971 | end | |
| 972 | end | |
| 973 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 974 | h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
| |
| 975 | end | |
| 976 | if hit.Parent.className=="Hat" then | |
| 977 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 978 | end | |
| 979 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 980 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 981 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 982 | return | |
| 983 | end]] | |
| 984 | -- hs(hit,1.2) | |
| 985 | c=Instance.new("ObjectValue")
| |
| 986 | c.Name="creator" | |
| 987 | c.Value=game:service("Players").LocalPlayer
| |
| 988 | c.Parent=h | |
| 989 | game:GetService("Debris"):AddItem(c,.5)
| |
| 990 | Damage=math.random(minim,maxim) | |
| 991 | -- h:TakeDamage(Damage) | |
| 992 | blocked=false | |
| 993 | block=hit.Parent:findFirstChild("Block")
| |
| 994 | if block~=nil then | |
| 995 | print(block.className) | |
| 996 | if block.className=="NumberValue" then | |
| 997 | if block.Value>0 then | |
| 998 | blocked=true | |
| 999 | if decreaseblock==nil then | |
| 1000 | block.Value=block.Value-1 | |
| 1001 | end | |
| 1002 | end | |
| 1003 | end | |
| 1004 | if block.className=="IntValue" then | |
| 1005 | if block.Value>0 then | |
| 1006 | blocked=true | |
| 1007 | if decreaseblock~=nil then | |
| 1008 | block.Value=block.Value-1 | |
| 1009 | end | |
| 1010 | end | |
| 1011 | end | |
| 1012 | end | |
| 1013 | if blocked==false then | |
| 1014 | -- h:TakeDamage(Damage) | |
| 1015 | h.Health=h.Health-Damage | |
| 1016 | showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
| |
| 1017 | else | |
| 1018 | h.Health=h.Health-(Damage/2) | |
| 1019 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
| |
| 1020 | end | |
| 1021 | if Type=="Knockdown" then | |
| 1022 | hum=hit.Parent.Humanoid | |
| 1023 | hum.PlatformStand=true | |
| 1024 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1025 | swait(1) | |
| 1026 | HHumanoid.PlatformStand=false | |
| 1027 | end),hum) | |
| 1028 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 1029 | hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 1030 | local bodvol=Instance.new("BodyVelocity")
| |
| 1031 | bodvol.velocity=angle*knockback | |
| 1032 | bodvol.P=0 | |
| 1033 | bodvol.maxForce=Vector3.new(0, 0, 0) | |
| 1034 | bodvol.Parent=hit | |
| 1035 | rl=Instance.new("BodyAngularVelocity")
| |
| 1036 | rl.P=0 | |
| 1037 | rl.maxTorque=Vector3.new(0,0,0)*5 | |
| 1038 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 1039 | rl.Parent=hit | |
| 1040 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 1041 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 1042 | elseif Type=="Normal" then | |
| 1043 | bp=Instance.new("BodyVelocity")
| |
| 1044 | bp.P=0 | |
| 1045 | bp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 1046 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 1047 | if KnockbackType==1 then | |
| 1048 | bp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 1049 | elseif KnockbackType==2 then | |
| 1050 | bp.velocity=Property.CFrame.lookVector*knockback | |
| 1051 | end | |
| 1052 | if knockback>0 then | |
| 1053 | bp.Parent=hit.Parent.Torso | |
| 1054 | if rubbermodo == 1 then | |
| 1055 | hit.Parent:BreakJoints() | |
| 1056 | end | |
| 1057 | ||
| 1058 | end | |
| 1059 | game:GetService("Debris"):AddItem(bp,.5)
| |
| 1060 | elseif Type=="Up" then | |
| 1061 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 1062 | bodyVelocity.velocity=vt(0,60,0) | |
| 1063 | bodyVelocity.P=0 | |
| 1064 | bodyVelocity.maxForce=Vector3.new(0,0,0) | |
| 1065 | bodyVelocity.Parent=hit | |
| 1066 | game:GetService("Debris"):AddItem(bodyVelocity,0)
| |
| 1067 | rl=Instance.new("BodyAngularVelocity")
| |
| 1068 | rl.P=0 | |
| 1069 | rl.maxTorque=Vector3.new(5,5,5)*50 | |
| 1070 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
| 1071 | rl.Parent=hit | |
| 1072 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 1073 | elseif Type=="Snare" then | |
| 1074 | bp=Instance.new("BodyPosition")
| |
| 1075 | bp.P=0 | |
| 1076 | bp.D=0 | |
| 1077 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 1078 | bp.position=hit.Parent.Torso.Position | |
| 1079 | bp.Parent=hit.Parent.Torso | |
| 1080 | game:GetService("Debris"):AddItem(bp,0)
| |
| 1081 | elseif Type=="Target" then | |
| 1082 | if Targetting==false then | |
| 1083 | ZTarget=hit.Parent.Torso | |
| 1084 | coroutine.resume(coroutine.create(function(Part) | |
| 1085 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 1086 | swait(1) | |
| 1087 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 1088 | end),ZTarget) | |
| 1089 | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 1090 | targetgui=Instance.new("BillboardGui")
| |
| 1091 | targetgui.Parent=ZTarget | |
| 1092 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 1093 | targ=Instance.new("ImageLabel")
| |
| 1094 | targ.Parent=targetgui | |
| 1095 | targ.BackgroundTransparency=1 | |
| 1096 | targ.Image="rbxassetid://4834067" | |
| 1097 | targ.Size=UDim2.new(1,0,1,0) | |
| 1098 | cam.CameraType="Scriptable" | |
| 1099 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 1100 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 1101 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 1102 | Targetting=true | |
| 1103 | RocketTarget=ZTarget | |
| 1104 | for i=1,Property do | |
| 1105 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 1106 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 1107 | swait() | |
| 1108 | end | |
| 1109 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 1110 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 1111 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 1112 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 1113 | end | |
| 1114 | Targetting=true | |
| 1115 | RocketTarget=true | |
| 1116 | targetgui.Parent=true | |
| 1117 | cam.CameraType="Custom" | |
| 1118 | end | |
| 1119 | end | |
| 1120 | debounce=Instance.new("BoolValue")
| |
| 1121 | debounce.Name="DebounceHit" | |
| 1122 | debounce.Parent=hit.Parent | |
| 1123 | debounce.Value=true | |
| 1124 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 1125 | c=Instance.new("ObjectValue")
| |
| 1126 | c.Name="creator" | |
| 1127 | c.Value=Player | |
| 1128 | c.Parent=h | |
| 1129 | game:GetService("Debris"):AddItem(c,.5)
| |
| 1130 | CRIT=true | |
| 1131 | hitDeb=true | |
| 1132 | AttackPos=6 | |
| 1133 | end | |
| 1134 | end | |
| 1135 | ||
| 1136 | showDamage=function(Char,Dealt,du,Color) | |
| 1137 | m=Instance.new("Model")
| |
| 1138 | m.Name=tostring(Dealt) | |
| 1139 | h=Instance.new("Humanoid")
| |
| 1140 | h.Health=0 | |
| 1141 | h.MaxHealth=0 | |
| 1142 | h.Parent=m | |
| 1143 | c=Instance.new("Part")
| |
| 1144 | c.Transparency=0 | |
| 1145 | c.BrickColor=Color | |
| 1146 | c.Transparency = 1 | |
| 1147 | c.Name="Head" | |
| 1148 | c.TopSurface=0 | |
| 1149 | c.BottomSurface=0 | |
| 1150 | c.formFactor="Plate" | |
| 1151 | c.Size=Vector3.new(1,.4,1) | |
| 1152 | ||
| 1153 | local txt = Instance.new("BillboardGui", c)
| |
| 1154 | txt.Adornee = c | |
| 1155 | txt.Name = "_status" | |
| 1156 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 1157 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 1158 | local text = Instance.new("TextLabel", txt)
| |
| 1159 | text.Size = UDim2.new(1, 0, 1, 0) | |
| 1160 | text.FontSize = "Size12" | |
| 1161 | text.TextScaled = true | |
| 1162 | text.TextTransparency = 1 | |
| 1163 | text.BackgroundTransparency = 1 | |
| 1164 | text.TextTransparency = 1 | |
| 1165 | text.TextStrokeTransparency = 1 | |
| 1166 | text.Font = "SciFi" | |
| 1167 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
| 1168 | v=Instance.new("Part")
| |
| 1169 | v.Name = "ColorBrick" | |
| 1170 | v.Parent=c | |
| 1171 | v.FormFactor="Symmetric" | |
| 1172 | v.Anchored=true | |
| 1173 | v.CanCollide=false | |
| 1174 | v.BottomSurface="Smooth" | |
| 1175 | v.TopSurface="Smooth" | |
| 1176 | v.Size=Vector3.new(10,5,3) | |
| 1177 | v.Transparency=1 | |
| 1178 | v.CFrame=c.CFrame | |
| 1179 | v.BrickColor=BrickColor.random() | |
| 1180 | v.Transparency=1 | |
| 1181 | text.TextColor3 = t.BrickColor.Color | |
| 1182 | v.Shape="Block" | |
| 1183 | text.Text = tostring(Dealt) | |
| 1184 | ms=Instance.new("CylinderMesh")
| |
| 1185 | ms.Scale=Vector3.new(.8,.8,.8) | |
| 1186 | --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
| |
| 1187 | local rndm=math.random(1,#hitsounds) | |
| 1188 | local r=rndm | |
| 1189 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]--
| |
| 1190 | if CRIT==true then | |
| 1191 | ms.Scale=Vector3.new(1,1.25,1) | |
| 1192 | end | |
| 1193 | ms.Parent=c | |
| 1194 | c.Reflectance=0 | |
| 1195 | Instance.new("BodyGyro").Parent=c
| |
| 1196 | c.Parent=m | |
| 1197 | if Char:findFirstChild("Head")~=nil then
| |
| 1198 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 1199 | elseif Char.Parent:findFirstChild("Head")~=nil then
| |
| 1200 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 1201 | end | |
| 1202 | f=Instance.new("BodyPosition")
| |
| 1203 | f.P=200000 | |
| 1204 | f.D=100 | |
| 1205 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 1206 | f.position=c.Position+Vector3.new(0,3,0) | |
| 1207 | f.Parent=c | |
| 1208 | game:GetService("Debris"):AddItem(m,.5+du)
| |
| 1209 | c.CanCollide=false | |
| 1210 | m.Parent=workspace | |
| 1211 | c.CanCollide=false | |
| 1212 | end | |
| 1213 | ||
| 1214 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 1215 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 1216 | end | |
| 1217 | ||
| 1218 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
| 1219 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1220 | prt.Anchored=true | |
| 1221 | prt.CFrame=cframe | |
| 1222 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
| |
| 1223 | --http://www.roblox.com/asset/?id=4770560 | |
| 1224 | game:GetService("Debris"):AddItem(prt,2)
| |
| 1225 | CF=prt.CFrame | |
| 1226 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
| 1227 | for i=0,1,0.2 do | |
| 1228 | wait() | |
| 1229 | Part.CFrame=CF*cf(0,0,-0.4) | |
| 1230 | end | |
| 1231 | for i=0,1,delay do | |
| 1232 | wait() | |
| 1233 | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
| 1234 | Mesh.Scale=Mesh.Scale | |
| 1235 | end | |
| 1236 | for i=0,1,0.1 do | |
| 1237 | wait() | |
| 1238 | Part.Transparency=i | |
| 1239 | end | |
| 1240 | Part.Parent=nil | |
| 1241 | end),prt,msh,CF) | |
| 1242 | end | |
| 1243 | ||
| 1244 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1245 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1246 | prt.Anchored=true | |
| 1247 | prt.Material = "Plastic" | |
| 1248 | prt.CFrame=cframe | |
| 1249 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1250 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1251 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1252 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1253 | for i=0,1,delay do | |
| 1254 | swait() | |
| 1255 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1256 | Part.Transparency=i | |
| 1257 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1258 | end | |
| 1259 | Part.Parent=nil | |
| 1260 | end),prt,msh) | |
| 1261 | end | |
| 1262 | ||
| 1263 | ||
| 1264 | ||
| 1265 | ||
| 1266 | function MagicBlockDash(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1267 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.3,0.3,0.3)) | |
| 1268 | prt.Anchored=true | |
| 1269 | prt.Material = "Neon" | |
| 1270 | prt.CFrame=cframe | |
| 1271 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1272 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1273 | game:GetService("Debris"):AddItem(prt,1)
| |
| 1274 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1275 | for i=0,1,delay do | |
| 1276 | swait() | |
| 1277 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1278 | Part.Transparency=i | |
| 1279 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1280 | end | |
| 1281 | Part.Parent=nil | |
| 1282 | end),prt,msh) | |
| 1283 | end | |
| 1284 | ||
| 1285 | ||
| 1286 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 1287 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1288 | prt.Anchored=true | |
| 1289 | prt.Material = "Neon" | |
| 1290 | prt.CFrame=cframe | |
| 1291 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1292 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1293 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1294 | local rtype = rottype | |
| 1295 | for i=0,1,delay do | |
| 1296 | swait() | |
| 1297 | if rtype == 1 then | |
| 1298 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1299 | elseif rtype == 2 then | |
| 1300 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1301 | end | |
| 1302 | Part.Transparency=i | |
| 1303 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1304 | end | |
| 1305 | Part.Parent=nil | |
| 1306 | end),prt,msh) | |
| 1307 | end | |
| 1308 | ||
| 1309 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1310 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1311 | prt.Anchored=true | |
| 1312 | prt.CFrame=cframe | |
| 1313 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1314 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1315 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1316 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1317 | for i=0,1,delay do | |
| 1318 | wait() | |
| 1319 | Part.Transparency=i | |
| 1320 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1321 | end | |
| 1322 | Part.Parent=nil | |
| 1323 | end),prt,msh) | |
| 1324 | end | |
| 1325 | ||
| 1326 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 1327 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1328 | prt.Anchored=true | |
| 1329 | prt.Material = "Neon" | |
| 1330 | prt.CFrame=cframe | |
| 1331 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1332 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1333 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1334 | local rtype = rottype | |
| 1335 | for i=0,1,delay do | |
| 1336 | swait() | |
| 1337 | if rtype == 1 then | |
| 1338 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1339 | elseif rtype == 2 then | |
| 1340 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1341 | end | |
| 1342 | Part.Transparency=i | |
| 1343 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1344 | end | |
| 1345 | Part.Parent=nil | |
| 1346 | end),prt,msh) | |
| 1347 | end | |
| 1348 | ||
| 1349 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
| 1350 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1351 | prt.Anchored=true | |
| 1352 | prt.Material = "Neon" | |
| 1353 | prt.CFrame=cframe | |
| 1354 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
| 1355 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
| 1356 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
| |
| 1357 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1358 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1359 | local rtype = rottype | |
| 1360 | for i=0,1,delay do | |
| 1361 | swait() | |
| 1362 | if rtype == 1 then | |
| 1363 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1364 | elseif rtype == 2 then | |
| 1365 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1366 | end | |
| 1367 | dec.Transparency=i | |
| 1368 | dec2.Transparency=i | |
| 1369 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 1370 | end | |
| 1371 | Part.Parent=nil | |
| 1372 | end),prt,msh) | |
| 1373 | end | |
| 1374 | ||
| 1375 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
| 1376 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1377 | prt.Anchored=true | |
| 1378 | prt.Material = "Neon" | |
| 1379 | prt.CFrame=cframe | |
| 1380 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
| |
| 1381 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1382 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1383 | local rtype = rottype | |
| 1384 | for i=0,1,delay do | |
| 1385 | swait() | |
| 1386 | if rtype == 1 then | |
| 1387 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1388 | elseif rtype == 2 then | |
| 1389 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1390 | end | |
| 1391 | prt.Transparency=i | |
| 1392 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 1393 | end | |
| 1394 | Part.Parent=nil | |
| 1395 | end),prt,msh) | |
| 1396 | end | |
| 1397 | ||
| 1398 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
| 1399 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1400 | prt.Anchored=true | |
| 1401 | prt.Material = "Neon" | |
| 1402 | prt.CFrame=cframe | |
| 1403 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
| |
| 1404 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1405 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1406 | local rtype = rottype | |
| 1407 | for i=0,1,delay do | |
| 1408 | swait() | |
| 1409 | if rtype == 1 then | |
| 1410 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
| 1411 | elseif rtype == 2 then | |
| 1412 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
| 1413 | end | |
| 1414 | prt.Transparency=i | |
| 1415 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
| 1416 | end | |
| 1417 | Part.Parent=nil | |
| 1418 | end),prt,msh) | |
| 1419 | end | |
| 1420 | ||
| 1421 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
| 1422 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1423 | prt.Anchored=true | |
| 1424 | prt.Material = "Neon" | |
| 1425 | prt.CFrame=cframe | |
| 1426 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1427 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1428 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1429 | local rtype = rottype | |
| 1430 | for i=0,1,delay do | |
| 1431 | swait() | |
| 1432 | if rtype == 1 then | |
| 1433 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 1434 | elseif rtype == 2 then | |
| 1435 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 1436 | end | |
| 1437 | prt.Transparency=i | |
| 1438 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
| 1439 | end | |
| 1440 | Part.Parent=nil | |
| 1441 | end),prt,msh) | |
| 1442 | end | |
| 1443 | ||
| 1444 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 1445 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1446 | prt.Material = "Neon" | |
| 1447 | prt.Anchored=true | |
| 1448 | prt.CFrame=cframe | |
| 1449 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
| |
| 1450 | local wld=weld(prt,prt,Parent,cframe) | |
| 1451 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1452 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 1453 | for i=0,1,delay do | |
| 1454 | wait() | |
| 1455 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
| 1456 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1457 | Part.Transparency=i | |
| 1458 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1459 | end | |
| 1460 | Part.Parent=nil | |
| 1461 | end),prt,msh,wld) | |
| 1462 | end | |
| 1463 | ||
| 1464 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 1465 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1466 | prt.Anchored=false | |
| 1467 | prt.CFrame=cframe | |
| 1468 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1469 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
| 1470 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1471 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 1472 | for i=0,1,delay do | |
| 1473 | wait() | |
| 1474 | Weld.C0=euler(i*20,0,0) | |
| 1475 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1476 | Part.Transparency=i | |
| 1477 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1478 | end | |
| 1479 | Part.Parent=nil | |
| 1480 | end),prt,msh,wld) | |
| 1481 | end | |
| 1482 | ||
| 1483 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1484 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1485 | prt.Anchored=true | |
| 1486 | prt.CFrame=cframe | |
| 1487 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1488 | game:GetService("Debris"):AddItem(prt,2)
| |
| 1489 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1490 | for i=0,1,delay do | |
| 1491 | wait() | |
| 1492 | Part.CFrame=Part.CFrame | |
| 1493 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1494 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1495 | prt2.Anchored=true | |
| 1496 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1497 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
| |
| 1498 | game:GetService("Debris"):AddItem(prt2,2)
| |
| 1499 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1500 | for i=0,1,0.1 do | |
| 1501 | wait() | |
| 1502 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
| 1503 | end | |
| 1504 | Part.Parent=nil | |
| 1505 | end),prt2,msh2) | |
| 1506 | end | |
| 1507 | for i=0,1,delay*2 do | |
| 1508 | wait() | |
| 1509 | Part.CFrame=Part.CFrame | |
| 1510 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
| 1511 | end | |
| 1512 | Part.Parent=nil | |
| 1513 | end),prt,msh) | |
| 1514 | end | |
| 1515 | ||
| 1516 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1517 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1518 | prt.Anchored=true | |
| 1519 | prt.CFrame=cframe | |
| 1520 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1521 | game:GetService("Debris"):AddItem(prt,2)
| |
| 1522 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1523 | for i=0,1,delay do | |
| 1524 | wait() | |
| 1525 | Part.CFrame=Part.CFrame | |
| 1526 | Part.Transparency=i | |
| 1527 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1528 | end | |
| 1529 | Part.Parent=nil | |
| 1530 | end),prt,msh) | |
| 1531 | end | |
| 1532 | ||
| 1533 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
| 1534 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1535 | prt.Anchored=true | |
| 1536 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1537 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1538 | game:GetService("Debris"):AddItem(prt,2)
| |
| 1539 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
| 1540 | CF=Part.CFrame | |
| 1541 | Numbb=0 | |
| 1542 | randnumb=math.random()/10 | |
| 1543 | rand1=math.random()/10 | |
| 1544 | for i=0,1,rand1 do | |
| 1545 | wait() | |
| 1546 | CF=CF*cf(0,math.random()/2,0) | |
| 1547 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
| 1548 | Part.CFrame=CF*euler(Numbb,0,0) | |
| 1549 | Part.Transparency=i | |
| 1550 | Numbb=Numbb+randnumb | |
| 1551 | end | |
| 1552 | Part.Parent=nil | |
| 1553 | end),prt,CF,Numbb,randnumb) | |
| 1554 | end | |
| 1555 | ||
| 1556 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1557 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1558 | prt.Anchored=true | |
| 1559 | prt.CFrame=cframe | |
| 1560 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
| |
| 1561 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1562 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1563 | for i=0,1,delay do | |
| 1564 | wait() | |
| 1565 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
| 1566 | Part.Transparency=i | |
| 1567 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1568 | end | |
| 1569 | Part.Parent=nil | |
| 1570 | end),prt,msh) | |
| 1571 | end | |
| 1572 | ||
| 1573 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1574 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1575 | prt.Anchored=true | |
| 1576 | prt.CFrame=cframe | |
| 1577 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
| |
| 1578 | game:GetService("Debris"):AddItem(prt,2)
| |
| 1579 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1580 | for i=0,1,delay do | |
| 1581 | wait() | |
| 1582 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
| 1583 | Part.Transparency=i | |
| 1584 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1585 | end | |
| 1586 | Part.Parent=nil | |
| 1587 | end),prt,msh) | |
| 1588 | end | |
| 1589 | ||
| 1590 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
| 1591 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1592 | prt.Anchored=true | |
| 1593 | prt.CFrame=cframe*cf(x,y,z) | |
| 1594 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
| |
| 1595 | game:GetService("Debris"):AddItem(prt,5)
| |
| 1596 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
| 1597 | local num=math.random() | |
| 1598 | local num2=math.random(-3,2)+math.random() | |
| 1599 | local numm=0 | |
| 1600 | for i=0,1,delay*2 do | |
| 1601 | swait() | |
| 1602 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
| 1603 | Part.Transparency=i | |
| 1604 | numm=numm+0.01 | |
| 1605 | end | |
| 1606 | Part.Parent=nil | |
| 1607 | Mesh.Parent=nil | |
| 1608 | end),prt,msh,x,y,z) | |
| 1609 | end | |
| 1610 | ||
| 1611 | function dmgstart(dmg,what) | |
| 1612 | hitcon = what.Touched:connect(function(hit) | |
| 1613 | local hum = hit.Parent:FindFirstChild("Humanoid")
| |
| 1614 | if hum and not hum:IsDescendantOf(Character) then | |
| 1615 | hum:TakeDamage(dmg) | |
| 1616 | end | |
| 1617 | end) | |
| 1618 | end | |
| 1619 | ||
| 1620 | function dmgstop() | |
| 1621 | hitcon:disconnect() | |
| 1622 | end | |
| 1623 | ||
| 1624 | function Cloak() | |
| 1625 | Face.Parent=nil | |
| 1626 | cloaked=true | |
| 1627 | for _,v in pairs(Torso.Parent:children()) do | |
| 1628 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 1629 | coroutine.resume(coroutine.create(function() | |
| 1630 | for i=0,1,0.2 do | |
| 1631 | wait() | |
| 1632 | v.Transparency=i | |
| 1633 | end | |
| 1634 | v.Transparency=1 | |
| 1635 | end)) | |
| 1636 | end | |
| 1637 | if v.className=="Hat" then | |
| 1638 | hatp=v.Handle | |
| 1639 | coroutine.resume(coroutine.create(function(derp) | |
| 1640 | for i=0,1,0.2 do | |
| 1641 | wait() | |
| 1642 | derp.Transparency=i | |
| 1643 | end | |
| 1644 | derp.Transparency=1 | |
| 1645 | end),hatp) | |
| 1646 | end | |
| 1647 | end | |
| 1648 | for _,v in pairs(m:children()) do | |
| 1649 | if v.className=="Part" then | |
| 1650 | coroutine.resume(coroutine.create(function() | |
| 1651 | for i=0,1,0.2 do | |
| 1652 | wait() | |
| 1653 | v.Transparency=i | |
| 1654 | end | |
| 1655 | v.Transparency=1 | |
| 1656 | end)) | |
| 1657 | end | |
| 1658 | end | |
| 1659 | end | |
| 1660 | ||
| 1661 | function UnCloak() | |
| 1662 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
| |
| 1663 | Face.Parent=Head | |
| 1664 | cloaked=false | |
| 1665 | for _,v in pairs(Torso.Parent:children()) do | |
| 1666 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 1667 | coroutine.resume(coroutine.create(function() | |
| 1668 | for i=0,1,0.1 do | |
| 1669 | wait() | |
| 1670 | v.Transparency=v.Transparency-0.1 | |
| 1671 | end | |
| 1672 | v.Transparency=0 | |
| 1673 | end)) | |
| 1674 | end | |
| 1675 | if v.className=="Hat" then | |
| 1676 | hatp=v.Handle | |
| 1677 | coroutine.resume(coroutine.create(function(derp) | |
| 1678 | for i=0,1,0.1 do | |
| 1679 | wait() | |
| 1680 | derp.Transparency=derp.Transparency-0.1 | |
| 1681 | end | |
| 1682 | derp.Transparency=0 | |
| 1683 | end),hatp) | |
| 1684 | end | |
| 1685 | end | |
| 1686 | for _,v in pairs(m:children()) do | |
| 1687 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
| 1688 | coroutine.resume(coroutine.create(function() | |
| 1689 | for i=0,1,0.1 do | |
| 1690 | wait() | |
| 1691 | v.Transparency=v.Transparency-0.1 | |
| 1692 | end | |
| 1693 | v.Transparency=0 | |
| 1694 | end)) | |
| 1695 | v.Transparency=0 | |
| 1696 | end | |
| 1697 | end | |
| 1698 | end | |
| 1699 | ||
| 1700 | local jumped = false | |
| 1701 | function jump() | |
| 1702 | attack = true | |
| 1703 | jumped = true | |
| 1704 | hum.WalkSpeed = 0 | |
| 1705 | chatfunc("I need more speed!")
| |
| 1706 | local pie22 = Instance.new("ParticleEmitter")
| |
| 1707 | pie22.Parent = larm | |
| 1708 | pie22.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 1709 | pie22.LightEmission = 1 | |
| 1710 | pie22.Size = NumberSequence.new(2) | |
| 1711 | pie22.Texture = "http://www.roblox.com/asset/?id=257173628" | |
| 1712 | pie22.Transparency = NumberSequence.new(0.7) | |
| 1713 | pie22.EmissionDirection = "Top" | |
| 1714 | pie22.Enabled = true | |
| 1715 | pie22.Lifetime = NumberRange.new(0.1) | |
| 1716 | pie22.Rotation = NumberRange.new(-420, 425) | |
| 1717 | pie22.Rate = 300 | |
| 1718 | pie22.Speed = NumberRange.new(4) | |
| 1719 | pie22.LockedToPart = true | |
| 1720 | pie22.VelocitySpread = 360 | |
| 1721 | local pie222 = Instance.new("ParticleEmitter")
| |
| 1722 | pie222.Parent = rarm | |
| 1723 | pie222.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 1724 | pie222.LightEmission = 1 | |
| 1725 | pie222.Size = NumberSequence.new(2) | |
| 1726 | pie222.Texture = "http://www.roblox.com/asset/?id=257173628" | |
| 1727 | pie222.Transparency = NumberSequence.new(0.7) | |
| 1728 | pie222.EmissionDirection = "Top" | |
| 1729 | pie222.Enabled = true | |
| 1730 | pie222.Lifetime = NumberRange.new(0.1) | |
| 1731 | pie222.Rotation = NumberRange.new(-420, 425) | |
| 1732 | pie222.Rate = 300 | |
| 1733 | pie222.Speed = NumberRange.new(4) | |
| 1734 | pie222.LockedToPart = true | |
| 1735 | pie222.VelocitySpread = 360 | |
| 1736 | local pie2242 = Instance.new("ParticleEmitter")
| |
| 1737 | pie2242.Parent = lleg | |
| 1738 | pie2242.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 1739 | pie2242.LightEmission = 1 | |
| 1740 | pie2242.Size = NumberSequence.new(2) | |
| 1741 | pie2242.Texture = "http://www.roblox.com/asset/?id=257173628" | |
| 1742 | pie2242.Transparency = NumberSequence.new(0.7) | |
| 1743 | pie2242.EmissionDirection = "Top" | |
| 1744 | pie2242.Enabled = true | |
| 1745 | pie2242.Lifetime = NumberRange.new(0.1) | |
| 1746 | pie2242.Rotation = NumberRange.new(-420, 425) | |
| 1747 | pie2242.Rate = 300 | |
| 1748 | pie2242.Speed = NumberRange.new(4) | |
| 1749 | pie2242.LockedToPart = true | |
| 1750 | pie2242.VelocitySpread = 360 | |
| 1751 | local pie22442 = Instance.new("ParticleEmitter")
| |
| 1752 | pie22442.Parent = rleg | |
| 1753 | pie22442.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 1754 | pie22442.LightEmission = 1 | |
| 1755 | pie22442.Size = NumberSequence.new(2) | |
| 1756 | pie22442.Texture = "http://www.roblox.com/asset/?id=257173628" | |
| 1757 | pie22442.Transparency = NumberSequence.new(0.7) | |
| 1758 | pie22442.EmissionDirection = "Top" | |
| 1759 | pie22442.Enabled = true | |
| 1760 | pie22442.Lifetime = NumberRange.new(0.1) | |
| 1761 | pie22442.Rotation = NumberRange.new(-420, 425) | |
| 1762 | pie22442.Rate = 300 | |
| 1763 | pie22442.Speed = NumberRange.new(4) | |
| 1764 | pie22442.LockedToPart = true | |
| 1765 | pie22442.VelocitySpread = 360 | |
| 1766 | local pie2222 = Instance.new("ParticleEmitter")
| |
| 1767 | pie2222.Parent = hed | |
| 1768 | pie2222.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 1769 | pie2222.LightEmission = 1 | |
| 1770 | pie2222.Size = NumberSequence.new(20) | |
| 1771 | pie2222.Texture = "http://www.roblox.com/asset/?id=257173628" | |
| 1772 | pie2222.Transparency = NumberSequence.new(0.7) | |
| 1773 | pie2222.EmissionDirection = "Top" | |
| 1774 | pie2222.Enabled = true | |
| 1775 | pie2222.Lifetime = NumberRange.new(0.1) | |
| 1776 | pie2222.Rotation = NumberRange.new(-420, 425) | |
| 1777 | pie2222.Rate = 300 | |
| 1778 | pie2222.Speed = NumberRange.new(4) | |
| 1779 | pie2222.LockedToPart = true | |
| 1780 | pie2222.VelocitySpread = 360 | |
| 1781 | MagicBlock(bc("New Yeller"),root.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
| |
| 1782 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 0.7, 0.7)
| |
| 1783 | CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7)
| |
| 1784 | for i = 0,15,0.1 do | |
| 1785 | swait() | |
| 1786 | MagicBlock(bc("New Yeller"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
| |
| 1787 | MagicBlock(bc("New Yeller"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
| |
| 1788 | RH.C0=clerp(RH.C0,cf(1,0.45,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(50)),.05) | |
| 1789 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(15)),.05) | |
| 1790 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(50),math.rad(0),math.rad(0)),0.05) | |
| 1791 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.05) | |
| 1792 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05) | |
| 1793 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05) | |
| 1794 | end | |
| 1795 | ||
| 1796 | local bv = Instance.new("BodyVelocity")
| |
| 1797 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1798 | bv.velocity = root.CFrame.lookVector*150 | |
| 1799 | bv.Parent = root | |
| 1800 | game:GetService("Debris"):AddItem(bv, 0.5)
| |
| 1801 | local rng = Instance.new("Part", char)
| |
| 1802 | rng.Anchored = true | |
| 1803 | rng.BrickColor = BrickColor.new("Neon orange")
| |
| 1804 | rng.CanCollide = false | |
| 1805 | rng.FormFactor = 3 | |
| 1806 | rng.Name = "Ring" | |
| 1807 | rng.Size = Vector3.new(1, 1, 1) | |
| 1808 | rng.Transparency = 0 | |
| 1809 | rng.TopSurface = 0 | |
| 1810 | rng.BottomSurface = 0 | |
| 1811 | rng.Position = root.Position | |
| 1812 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1813 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1814 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1815 | local rng2 = rng:Clone() | |
| 1816 | rng2.Parent = char | |
| 1817 | local rng2m = rng2.Mesh | |
| 1818 | local rng3 = rng:Clone() | |
| 1819 | rng3.Parent = char | |
| 1820 | rng3.BrickColor = BrickColor.new("New Yeller")
| |
| 1821 | local rng3m = rng3.Mesh | |
| 1822 | local rng4 = rng:Clone() | |
| 1823 | rng4.Parent = char | |
| 1824 | local rng4m = rng4.Mesh | |
| 1825 | local rng5 = rng:Clone() | |
| 1826 | rng5.Parent = char | |
| 1827 | rng5.BrickColor = BrickColor.new("New Yeller")
| |
| 1828 | local rng5m = rng5.Mesh | |
| 1829 | CFuncs["Sound"].Create("rbxassetid://324867021", rng, 10, 1)
| |
| 1830 | wait() | |
| 1831 | local scaler = 10 | |
| 1832 | local scaler2 = 10 | |
| 1833 | game:GetService("Debris"):AddItem(bv, 2.4)
| |
| 1834 | hum.WalkSpeed = 50 | |
| 1835 | MagicBlock(bc("White"),root.CFrame,15,15,15,10,10,10,0.015)
| |
| 1836 | for i = 0,10,0.1 do | |
| 1837 | swait() | |
| 1838 | rng.Transparency = rng.Transparency + 0.01 | |
| 1839 | rng2.Transparency = rng2.Transparency + 0.01 | |
| 1840 | rng3.Transparency = rng3.Transparency + 0.01 | |
| 1841 | rng4.Transparency = rng4.Transparency + 0.01 | |
| 1842 | rng5.Transparency = rng5.Transparency + 0.01 | |
| 1843 | scaler = scaler - 0.125 | |
| 1844 | scaler2 = scaler2 - 0.1 | |
| 1845 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler/1.25, scaler/1.25, 20) | |
| 1846 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler/1.5, scaler/1.5, 30) | |
| 1847 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler/1.75, scaler/1.75, 40) | |
| 1848 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler/2, scaler/2, 50) | |
| 1849 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 1850 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5) | |
| 1851 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5) | |
| 1852 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),0.5) | |
| 1853 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.5) | |
| 1854 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.5) | |
| 1855 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.5) | |
| 1856 | end | |
| 1857 | game:GetService("Debris"):AddItem(rng, 0.1)
| |
| 1858 | game:GetService("Debris"):AddItem(rng2, 0.1)
| |
| 1859 | game:GetService("Debris"):AddItem(rng3, 0.1)
| |
| 1860 | game:GetService("Debris"):AddItem(rng4, 0.1)
| |
| 1861 | game:GetService("Debris"):AddItem(rng5, 0.1)
| |
| 1862 | hum.WalkSpeed = 126 | |
| 1863 | pie2222:Destroy() | |
| 1864 | attack = false | |
| 1865 | jumped = false | |
| 1866 | wait(20) | |
| 1867 | chatfunc("Too much energy..")
| |
| 1868 | asd1 = Instance.new("Sound",char)
| |
| 1869 | asd1.SoundId = "http://www.roblox.com/asset/?id = 3264923" | |
| 1870 | asd1.Volume = 1.5 | |
| 1871 | asd1.Looped = false | |
| 1872 | asd1:Play() | |
| 1873 | pie22:Destroy() | |
| 1874 | pie222:Destroy() | |
| 1875 | pie2242:Destroy() | |
| 1876 | pie22442:Destroy() | |
| 1877 | hum.WalkSpeed = 16 | |
| 1878 | end | |
| 1879 | ||
| 1880 | function dash() | |
| 1881 | attack = true | |
| 1882 | jumped = true | |
| 1883 | hum.WalkSpeed = 16 | |
| 1884 | killbrick = Instance.new("Part",char)
| |
| 1885 | killbrick.Size = Vector3.new(1,1,1) | |
| 1886 | killbrick.Transparency = 1 | |
| 1887 | killbrick:BreakJoints() | |
| 1888 | killbrick.CanCollide = false | |
| 1889 | local wel = Instance.new("Weld",killbrick)
| |
| 1890 | wel.Part0 = killbrick | |
| 1891 | wel.Part1 = char["Left Arm"] | |
| 1892 | wel.C0 = CFrame.new(0,1,0) | |
| 1893 | local bv = Instance.new("BodyVelocity")
| |
| 1894 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1895 | bv.velocity = root.CFrame.lookVector*150 | |
| 1896 | bv.Parent = root | |
| 1897 | char.Head.face.Texture = "rbxassetid://126198982" | |
| 1898 | game:GetService("Debris"):AddItem(bv, 1)
| |
| 1899 | local rng = Instance.new("Part", char)
| |
| 1900 | rng.Anchored = true | |
| 1901 | rng.BrickColor = BrickColor.new("Neon orange")
| |
| 1902 | rng.CanCollide = false | |
| 1903 | rng.FormFactor = 3 | |
| 1904 | rng.Name = "Ring" | |
| 1905 | rng.Size = Vector3.new(1, 1, 1) | |
| 1906 | rng.Transparency = 0 | |
| 1907 | rng.TopSurface = 0 | |
| 1908 | rng.BottomSurface = 0 | |
| 1909 | rng.CFrame = root.CFrame | |
| 1910 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1911 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1912 | local rng2 = rng:Clone() | |
| 1913 | rng2.BrickColor = BrickColor.new("Dark stone grey")
| |
| 1914 | rng2.Parent = char | |
| 1915 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
| 1916 | local rng2m = rng2.Mesh | |
| 1917 | local rng3 = rng:Clone() | |
| 1918 | rng3.Parent = char | |
| 1919 | rng3.BrickColor = BrickColor.new("Dark stone grey")
| |
| 1920 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*20 | |
| 1921 | local rng3m = rng3.Mesh | |
| 1922 | local rng4 = rng:Clone() | |
| 1923 | rng4.Parent = char | |
| 1924 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*30 | |
| 1925 | local rng4m = rng4.Mesh | |
| 1926 | local rng5 = rng:Clone() | |
| 1927 | rng5.Parent = char | |
| 1928 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*40 | |
| 1929 | local rng5m = rng5.Mesh | |
| 1930 | local rng6 = rng:Clone() | |
| 1931 | rng6.Material = "Neon" | |
| 1932 | rng6.CanCollide = false | |
| 1933 | rng6.BrickColor = BrickColor.new("Neon orange")
| |
| 1934 | rng6.Parent = LeftLeg | |
| 1935 | local rng6m = rng6.Mesh | |
| 1936 | rng6m.Scale = vt(1,1,1) | |
| 1937 | rng6m.MeshType = "Sphere" | |
| 1938 | local rng7 = rng:Clone() | |
| 1939 | rng7.Material = "Plastic" | |
| 1940 | rng7.CanCollide = false | |
| 1941 | rng7.BrickColor = BrickColor.new("Bright red")
| |
| 1942 | rng7.Parent = LeftLeg | |
| 1943 | local rng7m = rng7.Mesh | |
| 1944 | rng7m.Scale = vt(1,1,1) | |
| 1945 | rng7m.MeshType = "Sphere" | |
| 1946 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
| |
| 1947 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
| |
| 1948 | wait() | |
| 1949 | local scaler = 10/5 | |
| 1950 | local scaler2 = 10/5 | |
| 1951 | local hit = rng6.Touched:connect(function(hit) | |
| 1952 | Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1) | |
| 1953 | end) | |
| 1954 | for i = 0,10,0.1 do | |
| 1955 | swait() | |
| 1956 | rng.Transparency = rng.Transparency + 0.01 | |
| 1957 | rng2.Transparency = rng2.Transparency + 0.01 | |
| 1958 | rng3.Transparency = rng3.Transparency + 0.01 | |
| 1959 | rng4.Transparency = rng4.Transparency + 0.01 | |
| 1960 | rng5.Transparency = rng5.Transparency + 0.01 | |
| 1961 | rng6.Transparency = rng5.Transparency + 0.001 | |
| 1962 | rng7.Transparency = rng5.Transparency + 0.001 | |
| 1963 | scaler = scaler - 0.125/5 | |
| 1964 | scaler2 = scaler2 - 0.1/5 | |
| 1965 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
| 1966 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
| 1967 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
| 1968 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
| 1969 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
| 1970 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
| 1971 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 1972 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
| 1973 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
| 1974 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
| 1975 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
| 1976 | rng6.CFrame = rng3.CFrame | |
| 1977 | rng7.CFrame = rng3.CFrame | |
| 1978 | end | |
| 1979 | game:GetService("Debris"):AddItem(rng, 0.1)
| |
| 1980 | game:GetService("Debris"):AddItem(rng2, 0.1)
| |
| 1981 | game:GetService("Debris"):AddItem(rng3, 0.1)
| |
| 1982 | game:GetService("Debris"):AddItem(rng4, 0.1)
| |
| 1983 | game:GetService("Debris"):AddItem(rng5, 0.1)
| |
| 1984 | hum.WalkSpeed = 16 | |
| 1985 | hit:disconnect() | |
| 1986 | attack = false | |
| 1987 | killbrick:Destroy() | |
| 1988 | char.Head.face.Texture = "rbxassetid://29291814" | |
| 1989 | jumped = false | |
| 1990 | end | |
| 1991 | ||
| 1992 | ||
| 1993 | ||
| 1994 | function daash() | |
| 1995 | attack = false | |
| 1996 | jumped = false | |
| 1997 | hum.WalkSpeed = 16 | |
| 1998 | local bv = Instance.new("BodyVelocity")
| |
| 1999 | bv.maxForce = Vector3.new(6000,6000,6000) | |
| 2000 | bv.velocity = root.CFrame.lookVector*150 | |
| 2001 | bv.Parent = root | |
| 2002 | char.Head.face.Texture = "rbxassetid://126198982" | |
| 2003 | game:GetService("Debris"):AddItem(bv, 1)
| |
| 2004 | local rng = Instance.new("Part", char)
| |
| 2005 | rng.Anchored = true | |
| 2006 | rng.BrickColor = BrickColor.new("White")
| |
| 2007 | rng.CanCollide = false | |
| 2008 | rng.FormFactor = 3 | |
| 2009 | rng.Name = "Ring" | |
| 2010 | rng.Size = Vector3.new(1, 1, 1) | |
| 2011 | rng.Transparency = 0 | |
| 2012 | rng.TopSurface = 0 | |
| 2013 | rng.BottomSurface = 0 | |
| 2014 | rng.CFrame = root.CFrame | |
| 2015 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2016 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2017 | local rng2 = rng:Clone() | |
| 2018 | rng2.BrickColor = BrickColor.new("White")
| |
| 2019 | rng2.Parent = char | |
| 2020 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
| 2021 | local rng2m = rng2.Mesh | |
| 2022 | ||
| 2023 | local rng5m = rng.Mesh | |
| 2024 | CFuncs["Sound"].Create("rbxassetid://262562442", root, 1, 1)
| |
| 2025 | wait() | |
| 2026 | local scaler = 10/5 | |
| 2027 | local scaler2 = 10/5 | |
| 2028 | local hit = rng.Touched:connect(function(hit) | |
| 2029 | Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1) | |
| 2030 | end) | |
| 2031 | for i = 0,10,0.1 do | |
| 2032 | swait() | |
| 2033 | MagicBlockDash(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
| |
| 2034 | MagicBlockDash(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
| |
| 2035 | rng.Transparency = rng.Transparency + 0.01 | |
| 2036 | rng2.Transparency = rng2.Transparency + 0.01 | |
| 2037 | ||
| 2038 | ||
| 2039 | scaler = scaler - 0.125/5 | |
| 2040 | scaler2 = scaler2 - 0.125/5 | |
| 2041 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1, scaler2/1, 0) | |
| 2042 | ||
| 2043 | ||
| 2044 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 2045 | ||
| 2046 | end | |
| 2047 | game:GetService("Debris"):AddItem(rng, 0.1)
| |
| 2048 | game:GetService("Debris"):AddItem(rng2, 0.1)
| |
| 2049 | hum.WalkSpeed = 16 | |
| 2050 | hit:disconnect() | |
| 2051 | attack = false | |
| 2052 | char.Head.face.Texture = "rbxassetid://29291814" | |
| 2053 | jumped = false | |
| 2054 | end | |
| 2055 | ||
| 2056 | ||
| 2057 | ||
| 2058 | function dashh() | |
| 2059 | attack = true | |
| 2060 | jumped = true | |
| 2061 | hum.WalkSpeed = 16 | |
| 2062 | local BV = Instance.new("BodyVelocity")
| |
| 2063 | BV = Instance.new("BodyVelocity", tors)
| |
| 2064 | BV.maxForce = Vector3.new(0,10000,0) | |
| 2065 | BV.P = 1000 | |
| 2066 | BV.velocity = Vector3.new(0,800,0) | |
| 2067 | char.Head.face.Texture = "rbxassetid://126198982" | |
| 2068 | game:GetService("Debris"):AddItem(BV, 1)
| |
| 2069 | local rng = Instance.new("Part", char)
| |
| 2070 | rng.Anchored = true | |
| 2071 | rng.BrickColor = BrickColor.new("Neon orange")
| |
| 2072 | rng.CanCollide = false | |
| 2073 | rng.FormFactor = 3 | |
| 2074 | rng.Name = "Ring" | |
| 2075 | rng.Size = Vector3.new(1, 1, 1) | |
| 2076 | rng.Transparency = 0 | |
| 2077 | rng.TopSurface = 0 | |
| 2078 | rng.BottomSurface = 0 | |
| 2079 | rng.CFrame = root.CFrame | |
| 2080 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2081 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2082 | local rng2 = rng:Clone() | |
| 2083 | rng2.BrickColor = BrickColor.new("Dark stone grey")
| |
| 2084 | rng2.Parent = char | |
| 2085 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
| 2086 | local rng2m = rng2.Mesh | |
| 2087 | local rng3 = rng:Clone() | |
| 2088 | rng3.Parent = char | |
| 2089 | rng3.BrickColor = BrickColor.new("Dark stone grey")
| |
| 2090 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*20 | |
| 2091 | local rng3m = rng3.Mesh | |
| 2092 | local rng4 = rng:Clone() | |
| 2093 | rng4.Parent = char | |
| 2094 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*30 | |
| 2095 | local rng4m = rng4.Mesh | |
| 2096 | local rng5 = rng:Clone() | |
| 2097 | rng5.Parent = char | |
| 2098 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*40 | |
| 2099 | local rng5m = rng5.Mesh | |
| 2100 | local rng6 = rng:Clone() | |
| 2101 | rng6.Material = "Neon" | |
| 2102 | rng6.CanCollide = false | |
| 2103 | rng6.BrickColor = BrickColor.new("Neon orange")
| |
| 2104 | rng6.Parent = LeftLeg | |
| 2105 | local rng6m = rng6.Mesh | |
| 2106 | rng6m.Scale = vt(1,1,1) | |
| 2107 | rng6m.MeshType = "Sphere" | |
| 2108 | local rng7 = rng:Clone() | |
| 2109 | rng7.Material = "Plastic" | |
| 2110 | rng7.CanCollide = false | |
| 2111 | rng7.BrickColor = BrickColor.new("Bright red")
| |
| 2112 | rng7.Parent = LeftLeg | |
| 2113 | local rng7m = rng7.Mesh | |
| 2114 | rng7m.Scale = vt(1,1,1) | |
| 2115 | rng7m.MeshType = "Sphere" | |
| 2116 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
| |
| 2117 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
| |
| 2118 | wait() | |
| 2119 | local scaler = 10/5 | |
| 2120 | local scaler2 = 10/5 | |
| 2121 | local hit = rng6.Touched:connect(function(hit) | |
| 2122 | Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1) | |
| 2123 | end) | |
| 2124 | for i = 0,10,0.1 do | |
| 2125 | swait() | |
| 2126 | MagicBlock(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
| |
| 2127 | MagicBlock(bc("Dark stone grey"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
| |
| 2128 | rng.Transparency = rng.Transparency + 0.01 | |
| 2129 | rng2.Transparency = rng2.Transparency + 0.01 | |
| 2130 | rng3.Transparency = rng3.Transparency + 0.01 | |
| 2131 | rng4.Transparency = rng4.Transparency + 0.01 | |
| 2132 | rng5.Transparency = rng5.Transparency + 0.01 | |
| 2133 | rng6.Transparency = rng5.Transparency + 0.001 | |
| 2134 | rng7.Transparency = rng5.Transparency + 0.001 | |
| 2135 | scaler = scaler - 0.125/5 | |
| 2136 | scaler2 = scaler2 - 0.1/5 | |
| 2137 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
| 2138 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
| 2139 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
| 2140 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
| 2141 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
| 2142 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
| 2143 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 2144 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
| 2145 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
| 2146 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
| 2147 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
| 2148 | rng6.CFrame = rng3.CFrame | |
| 2149 | rng7.CFrame = rng3.CFrame | |
| 2150 | end | |
| 2151 | game:GetService("Debris"):AddItem(rng, 0.1)
| |
| 2152 | game:GetService("Debris"):AddItem(rng2, 0.1)
| |
| 2153 | game:GetService("Debris"):AddItem(rng3, 0.1)
| |
| 2154 | game:GetService("Debris"):AddItem(rng4, 0.1)
| |
| 2155 | game:GetService("Debris"):AddItem(rng5, 0.1)
| |
| 2156 | hum.WalkSpeed = 16 | |
| 2157 | hit:disconnect() | |
| 2158 | attack = false | |
| 2159 | char.Head.face.Texture = "rbxassetid://29291814" | |
| 2160 | jumped = false | |
| 2161 | end | |
| 2162 | ||
| 2163 | ||
| 2164 | function dashs() | |
| 2165 | attack = true | |
| 2166 | jumped = true | |
| 2167 | hum.WalkSpeed = 16 | |
| 2168 | local bv = Instance.new("BodyVelocity")
| |
| 2169 | bv.maxForce = Vector3.new(0, 0, 0) | |
| 2170 | bv.velocity = root.CFrame.lookVector*150 | |
| 2171 | bv.Parent = root | |
| 2172 | char.Head.face.Texture = "rbxassetid://126198982" | |
| 2173 | game:GetService("Debris"):AddItem(bv, 1)
| |
| 2174 | local rng = Instance.new("Part", char)
| |
| 2175 | rng.Anchored = true | |
| 2176 | rng.BrickColor = BrickColor.new("Neon orange")
| |
| 2177 | rng.CanCollide = false | |
| 2178 | rng.FormFactor = 3 | |
| 2179 | rng.Name = "Ring" | |
| 2180 | rng.Size = Vector3.new(1, 1, 1) | |
| 2181 | rng.Transparency = 0 | |
| 2182 | rng.TopSurface = 0 | |
| 2183 | rng.BottomSurface = 0 | |
| 2184 | rng.CFrame = root.CFrame | |
| 2185 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2186 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2187 | local rng2 = rng:Clone() | |
| 2188 | rng2.BrickColor = BrickColor.new("Dark stone grey")
| |
| 2189 | rng2.Parent = char | |
| 2190 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
| 2191 | local rng2m = rng2.Mesh | |
| 2192 | local rng3 = rng:Clone() | |
| 2193 | rng3.Parent = char | |
| 2194 | rng3.BrickColor = BrickColor.new("Dark stone grey")
| |
| 2195 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*60 | |
| 2196 | local rng3m = rng3.Mesh | |
| 2197 | local rng4 = rng:Clone() | |
| 2198 | rng4.Parent = char | |
| 2199 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*30 | |
| 2200 | local rng4m = rng4.Mesh | |
| 2201 | local rng5 = rng:Clone() | |
| 2202 | rng5.Parent = char | |
| 2203 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*40 | |
| 2204 | local rng5m = rng5.Mesh | |
| 2205 | local rng6 = rng:Clone() | |
| 2206 | rng6.Material = "Neon" | |
| 2207 | rng6.CanCollide = false | |
| 2208 | rng6.BrickColor = BrickColor.new("Neon orange")
| |
| 2209 | rng6.Parent = LeftLeg | |
| 2210 | local rng6m = rng6.Mesh | |
| 2211 | rng6m.Scale = vt(1,1,1) | |
| 2212 | rng6m.MeshType = "Sphere" | |
| 2213 | local rng7 = rng:Clone() | |
| 2214 | rng7.Material = "Plastic" | |
| 2215 | rng7.CanCollide = false | |
| 2216 | rng7.BrickColor = BrickColor.new("Bright red")
| |
| 2217 | rng7.Parent = LeftLeg | |
| 2218 | local rng7m = rng7.Mesh | |
| 2219 | rng7m.Scale = vt(1,1,1) | |
| 2220 | rng7m.MeshType = "Sphere" | |
| 2221 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
| |
| 2222 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
| |
| 2223 | wait() | |
| 2224 | local scaler = 10/5 | |
| 2225 | local scaler2 = 10/5 | |
| 2226 | local hit = rng6.Touched:connect(function(hit) | |
| 2227 | Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1) | |
| 2228 | end) | |
| 2229 | for i = 0,10,0.1 do | |
| 2230 | swait() | |
| 2231 | rng.Transparency = rng.Transparency + 0.01 | |
| 2232 | rng2.Transparency = rng2.Transparency + 0.01 | |
| 2233 | rng3.Transparency = rng3.Transparency + 0.01 | |
| 2234 | rng4.Transparency = rng4.Transparency + 0.01 | |
| 2235 | rng5.Transparency = rng5.Transparency + 0.01 | |
| 2236 | rng6.Transparency = rng5.Transparency + 0.001 | |
| 2237 | rng7.Transparency = rng5.Transparency + 0.001 | |
| 2238 | scaler = scaler - 0.125/5 | |
| 2239 | scaler2 = scaler2 - 0.1/5 | |
| 2240 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
| 2241 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
| 2242 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
| 2243 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
| 2244 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/0.5) | |
| 2245 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/0.3) | |
| 2246 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 2247 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05) | |
| 2248 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05) | |
| 2249 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
| 2250 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
| 2251 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05) | |
| 2252 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
| 2253 | rng6.CFrame = rng3.CFrame | |
| 2254 | rng7.CFrame = rng3.CFrame | |
| 2255 | end | |
| 2256 | game:GetService("Debris"):AddItem(rng, 0.1)
| |
| 2257 | game:GetService("Debris"):AddItem(rng2, 0.1)
| |
| 2258 | game:GetService("Debris"):AddItem(rng3, 0.1)
| |
| 2259 | game:GetService("Debris"):AddItem(rng4, 0.1)
| |
| 2260 | game:GetService("Debris"):AddItem(rng5, 0.1)
| |
| 2261 | hum.WalkSpeed = 16 | |
| 2262 | hit:disconnect() | |
| 2263 | attack = false | |
| 2264 | char.Head.face.Texture = "rbxassetid://29291814" | |
| 2265 | jumped = false | |
| 2266 | end | |
| 2267 | ||
| 2268 | ||
| 2269 | ||
| 2270 | ||
| 2271 | m.KeyDown:connect(function(key) | |
| 2272 | if key == "j" then | |
| 2273 | if tp == true then | |
| 2274 | tp = false | |
| 2275 | char.Head.face.Parent = game.Lighting | |
| 2276 | asd1 = Instance.new("Sound",char)
| |
| 2277 | asd1.SoundId = "http://www.roblox.com/asset/?id = 153613030" | |
| 2278 | asd1.Volume = 0.5 | |
| 2279 | asd1.Looped = false | |
| 2280 | asd1:Play() | |
| 2281 | v:Destroy() | |
| 2282 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1
| |
| 2283 | end | |
| 2284 | ||
| 2285 | end | |
| 2286 | wait(0.2) | |
| 2287 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0
| |
| 2288 | end | |
| 2289 | ||
| 2290 | end | |
| 2291 | char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
| 2292 | char.HumanoidRootPart.Transparency = 1 | |
| 2293 | game.Lighting.face.Parent = char.Head | |
| 2294 | wait(0.7) | |
| 2295 | ||
| 2296 | tp = true | |
| 2297 | ||
| 2298 | ||
| 2299 | end | |
| 2300 | end | |
| 2301 | end) | |
| 2302 | ||
| 2303 | ||
| 2304 | ---------------------------------------------------- | |
| 2305 | Debounces = {
| |
| 2306 | CanAttack = true; | |
| 2307 | NoIdl = false; | |
| 2308 | Slashing = false; | |
| 2309 | Slashed = false; | |
| 2310 | RPunch = false; | |
| 2311 | RPunched = false; | |
| 2312 | LPunch = false; | |
| 2313 | LPunched = false; | |
| 2314 | } | |
| 2315 | local Touche = {char.Name, }
| |
| 2316 | ---------------------------------------------------- | |
| 2317 | ||
| 2318 | ||
| 2319 | local rs = game:GetService("RunService").RenderStepped
| |
| 2320 | ||
| 2321 | ||
| 2322 | mouse.KeyDown:connect(function(key) | |
| 2323 | if key == "-" then | |
| 2324 | if Charging == false then | |
| 2325 | Charging = true | |
| 2326 | if Debounces.CanAttack == true then | |
| 2327 | Debounces.CanAttack = false | |
| 2328 | Debounces.NoIdl = true | |
| 2329 | Debounces.on = true | |
| 2330 | for i = 1,20 do | |
| 2331 | 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) | |
| 2332 | 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) | |
| 2333 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 2334 | tors.Weld.C0 = Lerp(tors.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 2335 | 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) | |
| 2336 | 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) | |
| 2337 | if Debounces.on == false then break end | |
| 2338 | rs:wait() | |
| 2339 | end | |
| 2340 | --[[for i = 1,20 do | |
| 2341 | 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) | |
| 2342 | 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) | |
| 2343 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
| 2344 | 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) | |
| 2345 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
| 2346 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
| 2347 | if Debounces.on == false then break end | |
| 2348 | rs:wait() | |
| 2349 | end]]-- | |
| 2350 | pt=Instance.new('Part',tors)
| |
| 2351 | pt.Anchored=true | |
| 2352 | pt.CanCollide=false | |
| 2353 | pt.Locked = true | |
| 2354 | pt.FormFactor='Custom' | |
| 2355 | pt.Size=Vector3.new(1,1,1) | |
| 2356 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 2357 | pt.Transparency=.6 | |
| 2358 | pt.BrickColor=BrickColor.new('New Yeller')
| |
| 2359 | msh=Instance.new('SpecialMesh',pt)
| |
| 2360 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 2361 | msh.Scale=Vector3.new(8,4,8) | |
| 2362 | pt2=pt:clone() | |
| 2363 | pt2.Parent = tors | |
| 2364 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 2365 | pt2.BrickColor=BrickColor.new("New Yeller")
| |
| 2366 | msh2=msh:clone() | |
| 2367 | msh2.Parent=pt2 | |
| 2368 | msh2.Scale=Vector3.new(10,5,10) | |
| 2369 | ||
| 2370 | ||
| 2371 | ||
| 2372 | bl = Instance.new("Part", char)
| |
| 2373 | bl.Locked = true | |
| 2374 | bl.Name = "Shell" | |
| 2375 | bl.BrickColor = BrickColor.new("New Yeller")
| |
| 2376 | bl.Anchored = true | |
| 2377 | bl.CanCollide = false | |
| 2378 | bl.Transparency = 0 | |
| 2379 | bl.Reflectance = 0 | |
| 2380 | bl.BottomSurface = 0 | |
| 2381 | bl.TopSurface = 0 | |
| 2382 | bl.Shape = 0 | |
| 2383 | blm = Instance.new("SpecialMesh",bl)
| |
| 2384 | blm.MeshType = "Sphere" | |
| 2385 | blm.Scale = Vector3.new(1,1,1) | |
| 2386 | blm.MeshId = "rbxassetid://9982590" | |
| 2387 | ||
| 2388 | coroutine.resume(coroutine.create(function() | |
| 2389 | for i=1, math.huge, 4 do | |
| 2390 | if Charging == true then | |
| 2391 | rs:wait() | |
| 2392 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 2393 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
| 2394 | bl.Transparency = bl.Transparency + 0.005 | |
| 2395 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
| 2396 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
| 2397 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
| 2398 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
| 2399 | elseif Charging == false then break | |
| 2400 | end | |
| 2401 | end | |
| 2402 | end)) | |
| 2403 | ||
| 2404 | repeat | |
| 2405 | local p = Instance.new('Part',tors)
| |
| 2406 | p.formFactor = 'Custom' | |
| 2407 | p.Size = Vector3.new(1,1,1) | |
| 2408 | p.BrickColor = workspace.Base.BrickColor | |
| 2409 | p.CanCollide = false | |
| 2410 | p.Transparency = 0 | |
| 2411 | p.Anchored = true | |
| 2412 | p.Locked=true | |
| 2413 | p.Material = workspace.Base.Material | |
| 2414 | local m = Instance.new("BlockMesh",p)
| |
| 2415 | m.Scale = Vector3.new(s,s,s) | |
| 2416 | p.CFrame = tors.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()) | |
| 2417 | --[[coroutine.wrap(function() | |
| 2418 | wait(2) | |
| 2419 | while Charging == true do | |
| 2420 | wait(2) | |
| 2421 | GroundWave1() | |
| 2422 | wait(2) | |
| 2423 | end | |
| 2424 | end)()]]-- | |
| 2425 | Spawn(function() | |
| 2426 | while rs:wait() do | |
| 2427 | if Charging == true then | |
| 2428 | 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))) | |
| 2429 | 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))) | |
| 2430 | 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)) | |
| 2431 | tors.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
| 2432 | 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))) | |
| 2433 | 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))) | |
| 2434 | elseif Charging == false then break | |
| 2435 | end | |
| 2436 | end | |
| 2437 | end) | |
| 2438 | Spawn(function() | |
| 2439 | while rs:wait() do | |
| 2440 | if p.Transparency >= 1 then p:Destroy() break end | |
| 2441 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 2442 | p.Transparency = p.Transparency+0.01 | |
| 2443 | end | |
| 2444 | end) | |
| 2445 | wait(.3) | |
| 2446 | until Charging == false | |
| 2447 | end | |
| 2448 | end | |
| 2449 | end | |
| 2450 | end) | |
| 2451 | ---------------------------------------------------- | |
| 2452 | mouse.KeyUp:connect(function(key) | |
| 2453 | if key == "r" then | |
| 2454 | if Charging == true then | |
| 2455 | Charging = false | |
| 2456 | pt:Destroy() | |
| 2457 | pt2:Destroy() | |
| 2458 | bl:Destroy() | |
| 2459 | if Debounces.CanAttack == false then | |
| 2460 | Debounces.CanAttack = true | |
| 2461 | Debounces.NoIdl = false | |
| 2462 | Debounces.on = false | |
| 2463 | end | |
| 2464 | end | |
| 2465 | end | |
| 2466 | end) | |
| 2467 | ||
| 2468 | ||
| 2469 | ---------------------------------------------------- | |
| 2470 | mouse.KeyDown:connect(function(key) | |
| 2471 | if key == "p" then | |
| 2472 | if Debounces.CanAttack == true then | |
| 2473 | Debounces.CanAttack = false | |
| 2474 | Debounces.on = true | |
| 2475 | Debounces.NoIdl = true | |
| 2476 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
| |
| 2477 | Debounces.RPunch = true | |
| 2478 | Debounces.LPunch = true | |
| 2479 | Debounces.ks = true | |
| 2480 | Debounces.ks2 = true | |
| 2481 | for i = 1, 3 do | |
| 2482 | 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) | |
| 2483 | 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) | |
| 2484 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2485 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2486 | 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) | |
| 2487 | 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) | |
| 2488 | if Debounces.on == false then break end | |
| 2489 | wait() | |
| 2490 | end | |
| 2491 | for i = 1, 3 do | |
| 2492 | 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) | |
| 2493 | 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) | |
| 2494 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2495 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2496 | 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) | |
| 2497 | 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) | |
| 2498 | if Debounces.on == false then break end | |
| 2499 | wait() | |
| 2500 | end | |
| 2501 | for i = 1, 3 do | |
| 2502 | 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) | |
| 2503 | 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) | |
| 2504 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2505 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2506 | 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) | |
| 2507 | 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) | |
| 2508 | if Debounces.on == false then break end | |
| 2509 | wait() | |
| 2510 | end | |
| 2511 | for i = 1, 3 do | |
| 2512 | 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) | |
| 2513 | 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) | |
| 2514 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2515 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2516 | 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) | |
| 2517 | 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) | |
| 2518 | if Debounces.on == false then break end | |
| 2519 | wait() | |
| 2520 | end | |
| 2521 | for i = 1, 3 do | |
| 2522 | 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) | |
| 2523 | 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) | |
| 2524 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2525 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2526 | 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) | |
| 2527 | 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) | |
| 2528 | if Debounces.on == false then break end | |
| 2529 | wait() | |
| 2530 | end | |
| 2531 | for i = 1, 3 do | |
| 2532 | 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) | |
| 2533 | 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) | |
| 2534 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2535 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2536 | 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) | |
| 2537 | 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) | |
| 2538 | if Debounces.on == false then break end | |
| 2539 | wait() | |
| 2540 | end | |
| 2541 | for i = 1, 3 do | |
| 2542 | 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) | |
| 2543 | 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) | |
| 2544 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2545 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2546 | 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) | |
| 2547 | 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) | |
| 2548 | if Debounces.on == false then break end | |
| 2549 | wait() | |
| 2550 | end | |
| 2551 | for i = 1, 3 do | |
| 2552 | 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) | |
| 2553 | 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) | |
| 2554 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2555 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2556 | 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) | |
| 2557 | 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) | |
| 2558 | if Debounces.on == false then break end | |
| 2559 | wait() | |
| 2560 | end | |
| 2561 | for i = 1, 3 do | |
| 2562 | 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) | |
| 2563 | 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) | |
| 2564 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2565 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2566 | 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) | |
| 2567 | 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) | |
| 2568 | if Debounces.on == false then break end | |
| 2569 | wait() | |
| 2570 | end | |
| 2571 | for i = 1, 3 do | |
| 2572 | 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) | |
| 2573 | 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) | |
| 2574 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2575 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2576 | 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) | |
| 2577 | 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) | |
| 2578 | if Debounces.on == false then break end | |
| 2579 | wait() | |
| 2580 | end | |
| 2581 | for i = 1, 3 do | |
| 2582 | 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) | |
| 2583 | 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) | |
| 2584 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2585 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2586 | 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) | |
| 2587 | 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) | |
| 2588 | if Debounces.on == false then break end | |
| 2589 | wait() | |
| 2590 | end | |
| 2591 | for i = 1, 3 do | |
| 2592 | 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) | |
| 2593 | 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) | |
| 2594 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2595 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2596 | 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) | |
| 2597 | 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) | |
| 2598 | if Debounces.on == false then break end | |
| 2599 | wait() | |
| 2600 | end | |
| 2601 | for i = 1, 3 do | |
| 2602 | 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) | |
| 2603 | 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) | |
| 2604 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2605 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2606 | 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) | |
| 2607 | 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) | |
| 2608 | if Debounces.on == false then break end | |
| 2609 | wait() | |
| 2610 | end | |
| 2611 | for i = 1, 3 do | |
| 2612 | 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) | |
| 2613 | 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) | |
| 2614 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2615 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2616 | 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) | |
| 2617 | 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) | |
| 2618 | if Debounces.on == false then break end | |
| 2619 | wait() | |
| 2620 | end | |
| 2621 | for i = 1, 3 do | |
| 2622 | 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) | |
| 2623 | 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) | |
| 2624 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2625 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2626 | 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) | |
| 2627 | 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) | |
| 2628 | if Debounces.on == false then break end | |
| 2629 | wait() | |
| 2630 | end | |
| 2631 | for i = 1, 3 do | |
| 2632 | 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) | |
| 2633 | 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) | |
| 2634 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2635 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2636 | 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) | |
| 2637 | 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) | |
| 2638 | if Debounces.on == false then break end | |
| 2639 | wait() | |
| 2640 | end | |
| 2641 | for i = 1, 3 do | |
| 2642 | 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) | |
| 2643 | 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) | |
| 2644 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2645 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2646 | 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) | |
| 2647 | 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) | |
| 2648 | if Debounces.on == false then break end | |
| 2649 | wait() | |
| 2650 | end | |
| 2651 | for i = 1, 3 do | |
| 2652 | 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) | |
| 2653 | 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) | |
| 2654 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2655 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2656 | 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) | |
| 2657 | 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) | |
| 2658 | if Debounces.on == false then break end | |
| 2659 | wait() | |
| 2660 | end | |
| 2661 | for i = 1, 3 do | |
| 2662 | 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) | |
| 2663 | 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) | |
| 2664 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2665 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2666 | 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) | |
| 2667 | 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) | |
| 2668 | if Debounces.on == false then break end | |
| 2669 | wait() | |
| 2670 | end | |
| 2671 | for i = 1, 3 do | |
| 2672 | 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) | |
| 2673 | 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) | |
| 2674 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2675 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2676 | 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) | |
| 2677 | 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) | |
| 2678 | if Debounces.on == false then break end | |
| 2679 | wait() | |
| 2680 | end | |
| 2681 | Debounces.LPunch = false | |
| 2682 | Debounces.RPunch = false | |
| 2683 | Debounces.ks = false | |
| 2684 | Debounces.ks2 = false | |
| 2685 | if Debounces.CanAttack == false then | |
| 2686 | Debounces.CanAttack = true | |
| 2687 | Debounces.on = false | |
| 2688 | Debounces.NoIdl = false | |
| 2689 | end | |
| 2690 | end | |
| 2691 | end | |
| 2692 | end) | |
| 2693 | ||
| 2694 | ||
| 2695 | ||
| 2696 | function punch() | |
| 2697 | attack = true | |
| 2698 | jumped = true | |
| 2699 | killbrick = Instance.new("Part",rarm)
| |
| 2700 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
| 2701 | killbrick.Transparency = 1 | |
| 2702 | killbrick:BreakJoints() | |
| 2703 | killbrick.CanCollide = false | |
| 2704 | killbrick.Anchored = true | |
| 2705 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
| 2706 | local bv = Instance.new("BodyVelocity")
| |
| 2707 | bv.maxForce = Vector3.new(1,1,1) | |
| 2708 | bv.velocity = root.CFrame.lookVector*150 | |
| 2709 | bv.Parent = root | |
| 2710 | game:GetService("Debris"):AddItem(bv, 1)
| |
| 2711 | local rng = Instance.new("Part", char)
| |
| 2712 | rng.Anchored = true | |
| 2713 | rng.BrickColor = BrickColor.new("New Yeller")
| |
| 2714 | rng.CanCollide = false | |
| 2715 | rng.FormFactor = 3 | |
| 2716 | rng.Name = "Ring" | |
| 2717 | rng.Size = Vector3.new(1, 1, 1) | |
| 2718 | rng.Transparency = 0 | |
| 2719 | rng.TopSurface = 0 | |
| 2720 | rng.BottomSurface = 0 | |
| 2721 | rng.CFrame = root.CFrame | |
| 2722 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2723 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2724 | local rng2 = rng:Clone() | |
| 2725 | rng2.BrickColor = BrickColor.new("New Yeller")
| |
| 2726 | rng2.Parent = char | |
| 2727 | rng2.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 2728 | local rng2m = rng2.Mesh | |
| 2729 | local rng3 = rng:Clone() | |
| 2730 | rng3.Parent = char | |
| 2731 | rng3.BrickColor = BrickColor.new("Institutional white")
| |
| 2732 | rng3.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 2733 | local rng3m = Instance.new("SpecialMesh", rng3)
| |
| 2734 | rng3m.MeshId = "http://www.roblox.com/asset/?id=665769722" | |
| 2735 | local rng4 = rng:Clone() | |
| 2736 | rng4.Parent = char | |
| 2737 | rng4.BrickColor = BrickColor.new("New Yeller")
| |
| 2738 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*12 | |
| 2739 | local rng4m = rng4.Mesh | |
| 2740 | local rng5 = rng:Clone() | |
| 2741 | rng5.Parent = char | |
| 2742 | rng5.BrickColor = BrickColor.new("New Yeller")
| |
| 2743 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
| 2744 | local rng5m = rng5.Mesh | |
| 2745 | local rng6 = rng:Clone() | |
| 2746 | rng6.Material = "Neon" | |
| 2747 | rng6.CanCollide = false | |
| 2748 | rng6.BrickColor = BrickColor.new("New Yeller")
| |
| 2749 | rng6.Parent = LeftLeg | |
| 2750 | local rng6m = rng6.Mesh | |
| 2751 | rng6m.Scale = vt(1,1,1) | |
| 2752 | rng6m.MeshType = "Sphere" | |
| 2753 | local rng7 = rng:Clone() | |
| 2754 | rng7.Material = "Plastic" | |
| 2755 | rng7.CanCollide = false | |
| 2756 | rng7.BrickColor = BrickColor.new("New Yeller")
| |
| 2757 | rng7.Parent = LeftLeg | |
| 2758 | local rng7m = rng7.Mesh | |
| 2759 | rng7m.Scale = vt(1,1,1) | |
| 2760 | rng7m.MeshType = "Sphere" | |
| 2761 | CFuncs["Sound"].Create("rbxassetid://137579113", root, 1, 1)
| |
| 2762 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
| |
| 2763 | wait() | |
| 2764 | local scaler = 10/5 | |
| 2765 | local scaler2 = 10/5 | |
| 2766 | local hit = rng6.Touched:connect(function(hit) | |
| 2767 | Damagefunc(hit,405,505,math.random(400,500),"Normal",root,.2,1) | |
| 2768 | CRIT=true | |
| 2769 | end) | |
| 2770 | for i = 0,10,0.1 do | |
| 2771 | swait() | |
| 2772 | rng.Transparency = rng.Transparency + 0.01 | |
| 2773 | rng2.Transparency = rng2.Transparency + 0.01 | |
| 2774 | rng3.Transparency = rng3.Transparency + 0.01 | |
| 2775 | rng4.Transparency = rng4.Transparency + 0.01 | |
| 2776 | rng5.Transparency = rng5.Transparency + 0.01 | |
| 2777 | rng6.Transparency = rng5.Transparency + 0.1 | |
| 2778 | rng7.Transparency = rng5.Transparency + 0.1 | |
| 2779 | scaler = scaler - 0.125/5 | |
| 2780 | scaler2 = scaler2 - 0.1/5 | |
| 2781 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
| 2782 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/13.5, scaler2/13.5, 0) | |
| 2783 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
| 2784 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
| 2785 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.2, scaler2/1.2, scaler2/1.2) | |
| 2786 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
| 2787 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 2788 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
| 2789 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
| 2790 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
| 2791 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
| 2792 | rng6.CFrame = killbrick.CFrame | |
| 2793 | rng7.CFrame = killbrick.CFrame | |
| 2794 | end | |
| 2795 | game:GetService("Debris"):AddItem(rng, 0.1)
| |
| 2796 | game:GetService("Debris"):AddItem(rng2, 0.1)
| |
| 2797 | game:GetService("Debris"):AddItem(rng3, 0.1)
| |
| 2798 | game:GetService("Debris"):AddItem(rng4, 0.1)
| |
| 2799 | game:GetService("Debris"):AddItem(rng5, 0.1)
| |
| 2800 | hit:disconnect() | |
| 2801 | rng:Destroy() | |
| 2802 | rng2:Destroy() | |
| 2803 | rng3:Destroy() | |
| 2804 | rng4:Destroy() | |
| 2805 | rng5:Destroy() | |
| 2806 | rng6:Destroy() | |
| 2807 | rng7:Destroy() | |
| 2808 | attack = false | |
| 2809 | killbrick:Destroy() | |
| 2810 | jumped = false | |
| 2811 | lig:Remove() | |
| 2812 | end | |
| 2813 | ||
| 2814 | ||
| 2815 | m.KeyDown:connect(function(key) | |
| 2816 | if key == "k" then | |
| 2817 | if punch == true then | |
| 2818 | punch = false | |
| 2819 | org = char.Torso["Left Shoulder"].C0 | |
| 2820 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
| 2821 | killbrick = Instance.new("Part",char)
| |
| 2822 | killbrick.Size = Vector3.new(5,6,5) | |
| 2823 | killbrick.Transparency = 1 | |
| 2824 | killbrick:BreakJoints() | |
| 2825 | killbrick.CanCollide = false | |
| 2826 | local wel = Instance.new("Weld",killbrick)
| |
| 2827 | wel.Part0 = killbrick | |
| 2828 | wel.Part1 = char["Left Arm"] | |
| 2829 | wel.C0 = CFrame.new(0,1,0) | |
| 2830 | force = 90 | |
| 2831 | ||
| 2832 | killbrick.Touched:connect(function(h) | |
| 2833 | local x = h.Parent.Humanoid | |
| 2834 | if x.Health >= 100 then | |
| 2835 | fling = false | |
| 2836 | end | |
| 2837 | if x.Health < 100 then | |
| 2838 | fling = true | |
| 2839 | end | |
| 2840 | local stop = h.Parent.Torso.Velocity | |
| 2841 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
| 2842 | safe = true | |
| 2843 | else safe = false | |
| 2844 | end | |
| 2845 | if x then | |
| 2846 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
| 2847 | safe = true | |
| 2848 | else safe = false | |
| 2849 | end | |
| 2850 | if safe == false then | |
| 2851 | if fling == true then | |
| 2852 | force = 900 | |
| 2853 | ||
| 2854 | end | |
| 2855 | if fling == false then | |
| 2856 | force = 200 | |
| 2857 | end | |
| 2858 | wait(0.2) | |
| 2859 | ||
| 2860 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force | |
| 2861 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
| |
| 2862 | boom:Play() | |
| 2863 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
| 2864 | ||
| 2865 | ||
| 2866 | wait(0) | |
| 2867 | x.Parent:Destroy() | |
| 2868 | GroundWave2() | |
| 2869 | wait() | |
| 2870 | safe = true | |
| 2871 | bodyforc:Remove() | |
| 2872 | h.Parent.Torso.Velocity = stop | |
| 2873 | ||
| 2874 | end | |
| 2875 | end | |
| 2876 | end) | |
| 2877 | ||
| 2878 | ||
| 2879 | ||
| 2880 | ||
| 2881 | ||
| 2882 | ||
| 2883 | ||
| 2884 | ||
| 2885 | ||
| 2886 | ||
| 2887 | local rng = Instance.new("Part", char)
| |
| 2888 | rng.Anchored = true | |
| 2889 | rng.BrickColor = BrickColor.new("Institutional white")
| |
| 2890 | rng.CanCollide = false | |
| 2891 | rng.FormFactor = 3 | |
| 2892 | rng.Name = "Ring" | |
| 2893 | rng.Size = Vector3.new(1, 1, 1) | |
| 2894 | rng.Transparency = 0.8 | |
| 2895 | rng.TopSurface = 0 | |
| 2896 | rng.BottomSurface = 0 | |
| 2897 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
| 2898 | --rng.Rotation = Vector3.new(math.pi/2,0,0) | |
| 2899 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 2900 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2901 | rngm.MeshId = "http://www.roblox.com/asset/?id=437347603" | |
| 2902 | rngm.Scale = Vector3.new(0.1, 0.1, 0.1) | |
| 2903 | wait(0.1) | |
| 2904 | ||
| 2905 | ||
| 2906 | ||
| 2907 | boom2:Play() | |
| 2908 | coroutine.wrap(function() | |
| 2909 | for i = 1, 10, .4 do | |
| 2910 | rngm.Scale = Vector3.new(0.2 + i*0.2, 0.2 + i*0.2, 1) | |
| 2911 | ||
| 2912 | wait() | |
| 2913 | end | |
| 2914 | wait() | |
| 2915 | rng:Destroy() | |
| 2916 | killbrick:Remove() | |
| 2917 | wait(0.5) | |
| 2918 | char.Torso["Left Shoulder"].C0 = org | |
| 2919 | wait(1) | |
| 2920 | ||
| 2921 | punch = true | |
| 2922 | wait() | |
| 2923 | end)() | |
| 2924 | ||
| 2925 | ||
| 2926 | ||
| 2927 | end | |
| 2928 | ||
| 2929 | ||
| 2930 | wait(.1) | |
| 2931 | ||
| 2932 | ||
| 2933 | end | |
| 2934 | end) | |
| 2935 | ||
| 2936 | local handle = Instance.new("Part")
| |
| 2937 | handle.Parent = Character | |
| 2938 | handle.Size = Vector3.new(0.2,0.2,0.2) | |
| 2939 | handle.Archivable = true | |
| 2940 | handle.Transparency = 1 | |
| 2941 | handle.CanCollide = false | |
| 2942 | handle.BrickColor = BrickColor.new("White")
| |
| 2943 | handle.Material = "Neon" | |
| 2944 | local handlmesh = Instance.new("BlockMesh",handle)
| |
| 2945 | handlmesh.Scale = Vector3.new(1,1,1) | |
| 2946 | local handleweld = Instance.new("Weld")
| |
| 2947 | handleweld.Parent = handle | |
| 2948 | handleweld.Part0 = rarm | |
| 2949 | handleweld.Part1 = handle | |
| 2950 | handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 2951 | handleweld.Part0 = rarm | |
| 2952 | local meshtype = "Sphere" | |
| 2953 | ||
| 2954 | function InfernoComet() | |
| 2955 | attack = true | |
| 2956 | chatfunc(" ")
| |
| 2957 | handleweld.Part0 = rarm | |
| 2958 | local tra = Instance.new("ParticleEmitter",handle)
| |
| 2959 | tra.Texture = "rbxassetid://209852980" | |
| 2960 | tra.LightEmission = 0 | |
| 2961 | tra.Rate = 99999 | |
| 2962 | tra.Lifetime = NumberRange.new(0.25) | |
| 2963 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2964 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
| |
| 2965 | tra.Speed = NumberRange.new(0) | |
| 2966 | tra.Rotation = NumberRange.new(-500,500) | |
| 2967 | tra.VelocitySpread = 90000 | |
| 2968 | tra.LockedToPart = true | |
| 2969 | tra.RotSpeed = NumberRange.new(-500,500) | |
| 2970 | local tra2 = Instance.new("ParticleEmitter",handle)
| |
| 2971 | tra2.Texture = "http://www.roblox.com/asset/?id=209852980" | |
| 2972 | tra2.LightEmission = 0 | |
| 2973 | tra2.Rate = 50 | |
| 2974 | tra2.Lifetime = NumberRange.new(0.5) | |
| 2975 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2976 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
| |
| 2977 | tra2.Speed = NumberRange.new(0) | |
| 2978 | tra2.Rotation = NumberRange.new(-500,500) | |
| 2979 | tra2.VelocitySpread = 90000 | |
| 2980 | tra2.LockedToPart = true | |
| 2981 | tra2.RotSpeed = NumberRange.new(-500,500) | |
| 2982 | for i = 0,4,0.1 do | |
| 2983 | swait() | |
| 2984 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 2985 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
| 2986 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
| 2987 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
| 2988 | end | |
| 2989 | local sa = Instance.new("Sound",handle)
| |
| 2990 | sa.SoundId = "rbxassetid://304448425" | |
| 2991 | sa.Volume = 1 | |
| 2992 | sa.Pitch = 1 | |
| 2993 | sa:Play() | |
| 2994 | tra.Rate = 0 | |
| 2995 | tra2.Rate = 0 | |
| 2996 | local lb = Instance.new("Part")
| |
| 2997 | lb.Parent = char | |
| 2998 | lb.Material = "Neon" | |
| 2999 | lb.Color = BrickColor.new("Cyan").Color
| |
| 3000 | lb.CanCollide = false | |
| 3001 | lb.Shape = "Ball" | |
| 3002 | lb.CFrame = handle.CFrame | |
| 3003 | lb.Anchored = true | |
| 3004 | lb.Transparency = 1 | |
| 3005 | lb.Size = vt(1,1,1) | |
| 3006 | local thing = Instance.new("SpecialMesh",lb)
| |
| 3007 | thing.MeshType = meshtype | |
| 3008 | local hitted = false | |
| 3009 | lb.Anchored = false | |
| 3010 | local trail = Instance.new("ParticleEmitter",lb)
| |
| 3011 | trail.Texture = "rbxassetid://209852980" | |
| 3012 | trail.LightEmission = 1 | |
| 3013 | trail.Rate = 9999 | |
| 3014 | trail.Lifetime = NumberRange.new(1.5) | |
| 3015 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3016 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3017 | trail.Speed = NumberRange.new(0,0) | |
| 3018 | trail.Rotation = NumberRange.new(-500,500) | |
| 3019 | trail.RotSpeed = NumberRange.new(-500,500) | |
| 3020 | local bv = Instance.new("BodyVelocity")
| |
| 3021 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3022 | bv.velocity = mouse.Hit.lookVector *75 | |
| 3023 | bv.Parent = lb | |
| 3024 | wait(0.05) | |
| 3025 | lb.Touched:connect(function(hit) | |
| 3026 | if hitted == false then | |
| 3027 | hitted = true | |
| 3028 | trail.Rate = 0 | |
| 3029 | lb.Anchored = true | |
| 3030 | local aa = Instance.new("Part")
| |
| 3031 | local val = 1*3.5 | |
| 3032 | aa.Parent = lb | |
| 3033 | local exsound = Instance.new("Sound",aa)
| |
| 3034 | exsound.SoundId = "rbxassetid://402347142" | |
| 3035 | exsound.Volume = 3.5 | |
| 3036 | exsound.Pitch = 1 | |
| 3037 | exsound:Play() | |
| 3038 | aa.Material = "Neon" | |
| 3039 | aa.Color = BrickColor.new("Gold").Color
| |
| 3040 | aa.CanCollide = false | |
| 3041 | aa.Shape = "Ball" | |
| 3042 | aa.CFrame = lb.CFrame | |
| 3043 | aa.Anchored = true | |
| 3044 | aa.Transparency = 0 | |
| 3045 | aa.Size = vt(1,1,1) | |
| 3046 | local thinger = Instance.new("SpecialMesh",aa)
| |
| 3047 | thinger.MeshType = meshtype | |
| 3048 | thinger.Scale = vt(15,15,15) | |
| 3049 | local explosion = Instance.new("Explosion",aa)
| |
| 3050 | explosion.Position = aa.Position | |
| 3051 | explosion.BlastRadius = 22.5 | |
| 3052 | explosion.BlastPressure = 100 | |
| 3053 | local exp = Instance.new("ParticleEmitter",aa)
| |
| 3054 | exp.Texture = "rbxassetid://209852980" | |
| 3055 | exp.LightEmission = 1 | |
| 3056 | exp.Rate = 9000000000 | |
| 3057 | exp.Lifetime = NumberRange.new(1) | |
| 3058 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3059 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3060 | exp.Speed = NumberRange.new(100) | |
| 3061 | exp.VelocitySpread = 9000000 | |
| 3062 | exp.Rotation = NumberRange.new(-500,500) | |
| 3063 | exp.RotSpeed = NumberRange.new(-500,500) | |
| 3064 | local expa = Instance.new("ParticleEmitter",aa)
| |
| 3065 | expa.Texture = "rbxassetid://209852980" | |
| 3066 | expa.LightEmission = 1 | |
| 3067 | expa.Rate = 9000000000 | |
| 3068 | expa.Lifetime = NumberRange.new(2.75) | |
| 3069 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
| |
| 3070 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3071 | expa.Speed = NumberRange.new(100) | |
| 3072 | expa.VelocitySpread = 9000000 | |
| 3073 | expa.Rotation = NumberRange.new(-500,500) | |
| 3074 | expa.RotSpeed = NumberRange.new(-500,500) | |
| 3075 | local exp2 = exp:Clone() | |
| 3076 | exp2.Parent = aa | |
| 3077 | local exp3 = exp:Clone() | |
| 3078 | exp3.Parent = aa | |
| 3079 | local exp4 = exp:Clone() | |
| 3080 | exp4.Parent = aa | |
| 3081 | local exp5 = exp:Clone() | |
| 3082 | exp5.Parent = aa | |
| 3083 | local exp6 = exp:Clone() | |
| 3084 | exp6.Parent = aa | |
| 3085 | local exp7 = exp:Clone() | |
| 3086 | exp7.Parent = aa | |
| 3087 | local expa2 = expa:Clone() | |
| 3088 | expa2.Parent = aa | |
| 3089 | local expa3 = expa:Clone() | |
| 3090 | expa3.Parent = aa | |
| 3091 | local expa4 = expa:Clone() | |
| 3092 | expa4.Parent = aa | |
| 3093 | local expa5 = expa:Clone() | |
| 3094 | expa5.Parent = aa | |
| 3095 | local expa6 = expa:Clone() | |
| 3096 | expa6.Parent = aa | |
| 3097 | local expa7 = expa:Clone() | |
| 3098 | expa7.Parent = aa | |
| 3099 | for i = 0, 1 do | |
| 3100 | val = val - 0.025*3.5 | |
| 3101 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3102 | wait() | |
| 3103 | end | |
| 3104 | exp.Rate = 0 | |
| 3105 | exp2.Rate = 0 | |
| 3106 | exp3.Rate = 0 | |
| 3107 | exp4.Rate = 0 | |
| 3108 | exp5.Rate = 0 | |
| 3109 | exp6.Rate = 0 | |
| 3110 | exp7.Rate = 0 | |
| 3111 | for i = 0, 1 do | |
| 3112 | val = val - 0.025*3.5 | |
| 3113 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3114 | wait() | |
| 3115 | end | |
| 3116 | expa.Rate = 0 | |
| 3117 | expa2.Rate = 0 | |
| 3118 | expa3.Rate = 0 | |
| 3119 | expa4.Rate = 0 | |
| 3120 | expa5.Rate = 0 | |
| 3121 | expa6.Rate = 0 | |
| 3122 | expa7.Rate = 0 | |
| 3123 | for i = 0, 21 do | |
| 3124 | val = val - 0.025*3.5 | |
| 3125 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3126 | wait() | |
| 3127 | end | |
| 3128 | for i = 0, 74 do | |
| 3129 | val = val - 0.0145 | |
| 3130 | aa.Transparency = aa.Transparency + 0.0145 | |
| 3131 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3132 | wait() | |
| 3133 | end | |
| 3134 | end | |
| 3135 | end) | |
| 3136 | attack = false | |
| 3137 | wait(30) | |
| 3138 | sa:Destroy() | |
| 3139 | tra:Destroy() | |
| 3140 | tra2:Destroy() | |
| 3141 | lb:Destroy() | |
| 3142 | end | |
| 3143 | ||
| 3144 | function Crater(Torso,Radius) | |
| 3145 | spawn(function() | |
| 3146 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 3147 | local Ignore = {}
| |
| 3148 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 3149 | if v.Character ~= nil then | |
| 3150 | Ignore[#Ignore+1] = v.Character | |
| 3151 | end | |
| 3152 | end | |
| 3153 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 3154 | if Hit == nil then return end | |
| 3155 | local Parts = {}
| |
| 3156 | for i = 1,360,10 do | |
| 3157 | local P = Instance.new("Part",Torso.Parent)
| |
| 3158 | P.Anchored = true | |
| 3159 | P.FormFactor = "Custom" | |
| 3160 | P.BrickColor = Hit.BrickColor | |
| 3161 | P.Material = Hit.Material | |
| 3162 | P.TopSurface = "Smooth" | |
| 3163 | P.BottomSurface = "Smooth" | |
| 3164 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
| 3165 | 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))) | |
| 3166 | 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}
| |
| 3167 | if math.random(0,5) == 0 then -- rubble | |
| 3168 | local P = Instance.new("Part",Torso.Parent)
| |
| 3169 | P.Anchored = true | |
| 3170 | P.FormFactor = "Custom" | |
| 3171 | P.BrickColor = Hit.BrickColor | |
| 3172 | P.Material = Hit.Material | |
| 3173 | P.TopSurface = "Smooth" | |
| 3174 | P.BottomSurface = "Smooth" | |
| 3175 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
| 3176 | 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))) | |
| 3177 | 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}
| |
| 3178 | end | |
| 3179 | end | |
| 3180 | for i = 0,1,0.05 do | |
| 3181 | for i2,v in pairs(Parts) do | |
| 3182 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 3183 | end | |
| 3184 | wait(0.02) | |
| 3185 | end | |
| 3186 | for i,v in pairs(Parts) do | |
| 3187 | if v[1].Size.X > 2.1 then | |
| 3188 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 3189 | end | |
| 3190 | v[1].Anchored = false | |
| 3191 | end | |
| 3192 | for i = 0,1,0.05 do | |
| 3193 | for i2,v in pairs(Parts) do | |
| 3194 | v[1].Transparency = i | |
| 3195 | if i == 1 then | |
| 3196 | v[1]:Destroy() | |
| 3197 | elseif i >= 0.25 then | |
| 3198 | v[1].CanCollide = false | |
| 3199 | end | |
| 3200 | end | |
| 3201 | wait(0.02) | |
| 3202 | end | |
| 3203 | Parts = nil | |
| 3204 | end) | |
| 3205 | end | |
| 3206 | ||
| 3207 | ||
| 3208 | function InfernoWrath() | |
| 3209 | attack = true | |
| 3210 | chatfunc("FULL BLAST!")
| |
| 3211 | local pie22 = Instance.new("ParticleEmitter")
| |
| 3212 | pie22.Parent = larm | |
| 3213 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 3214 | pie22.LightEmission = 1 | |
| 3215 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 3216 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 3217 | pie22.Transparency = NumberSequence.new(0.7) | |
| 3218 | pie22.EmissionDirection = "Top" | |
| 3219 | pie22.Enabled = true | |
| 3220 | pie22.Lifetime = NumberRange.new(1) | |
| 3221 | pie22.Rotation = NumberRange.new(-420, 425) | |
| 3222 | pie22.Rate = 400 | |
| 3223 | pie22.Speed = NumberRange.new(1) | |
| 3224 | pie22.LockedToPart = false | |
| 3225 | pie22.VelocitySpread = 2 | |
| 3226 | local pie222 = Instance.new("ParticleEmitter")
| |
| 3227 | pie222.Parent = rarm | |
| 3228 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 3229 | pie222.LightEmission = 1 | |
| 3230 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 3231 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 3232 | pie222.Transparency = NumberSequence.new(0.7) | |
| 3233 | pie222.EmissionDirection = "Top" | |
| 3234 | pie222.Enabled = true | |
| 3235 | pie222.Lifetime = NumberRange.new(1) | |
| 3236 | pie222.Rotation = NumberRange.new(-420, 425) | |
| 3237 | pie222.Rate = 400 | |
| 3238 | pie222.Speed = NumberRange.new(1) | |
| 3239 | pie222.LockedToPart = false | |
| 3240 | pie222.VelocitySpread = 2 | |
| 3241 | local pie2222 = Instance.new("ParticleEmitter")
| |
| 3242 | pie2222.Parent = lleg | |
| 3243 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 3244 | pie2222.LightEmission = 1 | |
| 3245 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 3246 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 3247 | pie2222.Transparency = NumberSequence.new(0.7) | |
| 3248 | pie2222.EmissionDirection = "Top" | |
| 3249 | pie2222.Enabled = true | |
| 3250 | pie2222.Lifetime = NumberRange.new(1) | |
| 3251 | pie2222.Rotation = NumberRange.new(-420, 425) | |
| 3252 | pie2222.Rate = 400 | |
| 3253 | pie2222.Speed = NumberRange.new(1) | |
| 3254 | pie2222.LockedToPart = false | |
| 3255 | pie2222.VelocitySpread = 2 | |
| 3256 | local pie22222 = Instance.new("ParticleEmitter")
| |
| 3257 | pie22222.Parent = rleg | |
| 3258 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 3259 | pie22222.LightEmission = 1 | |
| 3260 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 3261 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 3262 | pie22222.Transparency = NumberSequence.new(0.7) | |
| 3263 | pie22222.EmissionDirection = "Top" | |
| 3264 | pie22222.Enabled = true | |
| 3265 | pie22222.Lifetime = NumberRange.new(1) | |
| 3266 | pie22222.Rotation = NumberRange.new(-420, 425) | |
| 3267 | pie22222.Rate = 400 | |
| 3268 | pie22222.Speed = NumberRange.new(1) | |
| 3269 | pie22222.LockedToPart = false | |
| 3270 | pie22222.VelocitySpread = 2 | |
| 3271 | local pie2242 = Instance.new("ParticleEmitter")
| |
| 3272 | pie2242.Parent = tors | |
| 3273 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 3274 | pie2242.LightEmission = 1 | |
| 3275 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 3276 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 3277 | pie2242.Transparency = NumberSequence.new(0.7) | |
| 3278 | pie2242.EmissionDirection = "Top" | |
| 3279 | pie2242.Enabled = true | |
| 3280 | pie2242.Lifetime = NumberRange.new(1) | |
| 3281 | pie2242.Rotation = NumberRange.new(-420, 425) | |
| 3282 | pie2242.Rate = 400 | |
| 3283 | pie2242.Speed = NumberRange.new(1) | |
| 3284 | pie2242.LockedToPart = false | |
| 3285 | pie2242.VelocitySpread = 2 | |
| 3286 | for i = 0,4,0.1 do | |
| 3287 | swait() | |
| 3288 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 3289 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 3290 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 3291 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 3292 | end | |
| 3293 | hum.WalkSpeed = 16 | |
| 3294 | local lb = Instance.new("Part")
| |
| 3295 | lb.Parent = char | |
| 3296 | lb.Material = "Neon" | |
| 3297 | lb.Color = BrickColor.new("Gold").Color
| |
| 3298 | lb.CanCollide = false | |
| 3299 | lb.Shape = "Ball" | |
| 3300 | lb.CFrame = tors.CFrame | |
| 3301 | lb.Anchored = true | |
| 3302 | lb.Transparency = 1 | |
| 3303 | lb.Size = vt(1,1,1) | |
| 3304 | local thing = Instance.new("SpecialMesh",lb)
| |
| 3305 | thing.MeshType = meshtype | |
| 3306 | for i = 0, 4 do | |
| 3307 | local lbr = Instance.new("Part")
| |
| 3308 | lbr.Parent = char | |
| 3309 | lbr.Material = "Neon" | |
| 3310 | lbr.Color = BrickColor.new("Gold").Color
| |
| 3311 | lbr.CanCollide = false | |
| 3312 | lbr.Shape = "Ball" | |
| 3313 | lbr.CFrame = lb.CFrame | |
| 3314 | lbr.Anchored = true | |
| 3315 | lbr.Transparency = 1 | |
| 3316 | lbr.Size = vt(1,1,1) | |
| 3317 | local thinga = Instance.new("SpecialMesh",lbr)
| |
| 3318 | thinga.MeshType = meshtype | |
| 3319 | thinga.Scale = vt(20*6,20*6,20*6) | |
| 3320 | for z = 0, 19 do | |
| 3321 | wait(0.025) | |
| 3322 | lbr.Transparency = lbr.Transparency - 0.05 | |
| 3323 | thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6) | |
| 3324 | end | |
| 3325 | lbr:Destroy() | |
| 3326 | end | |
| 3327 | local aa = Instance.new("Part")
| |
| 3328 | local val = 1*7.5 | |
| 3329 | aa.Parent = lb | |
| 3330 | local exsound = Instance.new("Sound",handle)
| |
| 3331 | exsound.SoundId = "rbxassetid://402347142" | |
| 3332 | exsound.Volume = 10 | |
| 3333 | exsound.Pitch = 1 | |
| 3334 | exsound:Play() | |
| 3335 | aa.Material = "Neon" | |
| 3336 | aa.Color = BrickColor.new("New Yeller").Color
| |
| 3337 | aa.CanCollide = false | |
| 3338 | aa.Shape = "Ball" | |
| 3339 | aa.CFrame = lb.CFrame | |
| 3340 | aa.Anchored = true | |
| 3341 | aa.Transparency = 0 | |
| 3342 | aa.Size = vt(1,1,1) | |
| 3343 | local thinger = Instance.new("SpecialMesh",aa)
| |
| 3344 | thinger.MeshType = meshtype | |
| 3345 | thinger.Scale = vt(15*1.5,15*1.5,15*1.5) | |
| 3346 | local explosion = Instance.new("Explosion",aa)
| |
| 3347 | explosion.Position = aa.Position | |
| 3348 | explosion.BlastRadius = 500000000000 | |
| 3349 | explosion.BlastPressure = 6000 | |
| 3350 | local exp = Instance.new("ParticleEmitter",aa)
| |
| 3351 | exp.Texture = "rbxassetid://296874871" | |
| 3352 | exp.LightEmission = 1 | |
| 3353 | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 3354 | exp.Rate = 9000000000 | |
| 3355 | exp.Lifetime = NumberRange.new(1) | |
| 3356 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3357 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3358 | exp.Speed = NumberRange.new(115) | |
| 3359 | exp.VelocitySpread = 9000000 | |
| 3360 | exp.Rotation = NumberRange.new(-500,500) | |
| 3361 | exp.RotSpeed = NumberRange.new(-500,500) | |
| 3362 | local expa = Instance.new("ParticleEmitter",aa)
| |
| 3363 | expa.Texture = "rbxassetid://296874871" | |
| 3364 | expa.LightEmission = 1 | |
| 3365 | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 3366 | expa.Rate = 9000000000 | |
| 3367 | expa.Lifetime = NumberRange.new(2.75) | |
| 3368 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
| |
| 3369 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3370 | expa.Speed = NumberRange.new(115) | |
| 3371 | expa.VelocitySpread = 9000000 | |
| 3372 | expa.Rotation = NumberRange.new(-500,500) | |
| 3373 | expa.RotSpeed = NumberRange.new(-500,500) | |
| 3374 | local exp2 = exp:Clone() | |
| 3375 | exp2.Parent = aa | |
| 3376 | local exp3 = exp:Clone() | |
| 3377 | exp3.Parent = aa | |
| 3378 | local exp4 = exp:Clone() | |
| 3379 | exp4.Parent = aa | |
| 3380 | local exp5 = exp:Clone() | |
| 3381 | exp5.Parent = aa | |
| 3382 | local exp6 = exp:Clone() | |
| 3383 | exp6.Parent = aa | |
| 3384 | local exp7 = exp:Clone() | |
| 3385 | exp7.Parent = aa | |
| 3386 | local expa2 = expa:Clone() | |
| 3387 | expa2.Parent = aa | |
| 3388 | local expa3 = expa:Clone() | |
| 3389 | expa3.Parent = aa | |
| 3390 | local expa4 = expa:Clone() | |
| 3391 | expa4.Parent = aa | |
| 3392 | local expa5 = expa:Clone() | |
| 3393 | expa5.Parent = aa | |
| 3394 | local expa6 = expa:Clone() | |
| 3395 | expa6.Parent = aa | |
| 3396 | local expa7 = expa:Clone() | |
| 3397 | expa7.Parent = aa | |
| 3398 | Crater(head,60) | |
| 3399 | ||
| 3400 | for i = 0, 1 do | |
| 3401 | val = val - 0.025*7.5 | |
| 3402 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3403 | wait() | |
| 3404 | end | |
| 3405 | exp.Rate = 0 | |
| 3406 | exp2.Rate = 0 | |
| 3407 | exp3.Rate = 0 | |
| 3408 | exp4.Rate = 0 | |
| 3409 | exp5.Rate = 0 | |
| 3410 | exp6.Rate = 0 | |
| 3411 | exp7.Rate = 0 | |
| 3412 | for i = 0, 1 do | |
| 3413 | val = val - 0.025*7.5 | |
| 3414 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3415 | wait() | |
| 3416 | end | |
| 3417 | hum.WalkSpeed = 16 | |
| 3418 | pie22:Destroy() | |
| 3419 | pie222:Destroy() | |
| 3420 | pie2222:Destroy() | |
| 3421 | pie22222:Destroy() | |
| 3422 | pie2242:Destroy() | |
| 3423 | attack = false | |
| 3424 | expa.Rate = 0 | |
| 3425 | expa2.Rate = 0 | |
| 3426 | expa3.Rate = 0 | |
| 3427 | expa4.Rate = 0 | |
| 3428 | expa5.Rate = 0 | |
| 3429 | expa6.Rate = 0 | |
| 3430 | expa7.Rate = 0 | |
| 3431 | for i = 0, 21 do | |
| 3432 | val = val - 0.025*7.5 | |
| 3433 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3434 | wait() | |
| 3435 | end | |
| 3436 | for i = 0, 74 do | |
| 3437 | val = val - 0.0145 | |
| 3438 | aa.Transparency = aa.Transparency + 0.0145 | |
| 3439 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3440 | wait() | |
| 3441 | end | |
| 3442 | wait(5) | |
| 3443 | lb:Destroy() | |
| 3444 | end | |
| 3445 | ||
| 3446 | ||
| 3447 | ||
| 3448 | function Lerp(c1,c2,al) | |
| 3449 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 3450 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 3451 | for i,v in pairs(com1) do | |
| 3452 | com1[i] = v+(com2[i]-v)*al | |
| 3453 | end | |
| 3454 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 3455 | end | |
| 3456 | ----- | |
| 3457 | ||
| 3458 | ----- | |
| 3459 | ||
| 3460 | ------------------------------------------------------------------ | |
| 3461 | --Blocking | |
| 3462 | ---------------------------------------------------------------- | |
| 3463 | mouse.KeyDown:connect(function(key) | |
| 3464 | if key == "-" then | |
| 3465 | if attack == true then | |
| 3466 | attack = false | |
| 3467 | canidle = false | |
| 3468 | canwalk = false | |
| 3469 | ||
| 3470 | block = true | |
| 3471 | ||
| 3472 | end | |
| 3473 | end | |
| 3474 | end) | |
| 3475 | mouse.KeyUp:connect(function(key) | |
| 3476 | if key == "-" then | |
| 3477 | if attack == false then | |
| 3478 | attack = true | |
| 3479 | canidle = true | |
| 3480 | block = false | |
| 3481 | canwalk = true | |
| 3482 | ||
| 3483 | ||
| 3484 | end | |
| 3485 | end | |
| 3486 | end) | |
| 3487 | ---- | |
| 3488 | if block == true then | |
| 3489 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
| 3490 | Torso.Weld.C0 = Lerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)--torso | |
| 3491 | RW.Weld.C0 = Lerp(RW.Weld.C0, CFrame.new(0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(-10)), 0.4)--arm | |
| 3492 | LW.Weld.C0 = Lerp(LW.Weld.C0, CFrame.new(-0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(10)), 0.4)--arm | |
| 3493 | RH.Weld.C0 = Lerp(RH.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)), 0.4)--leg | |
| 3494 | LH.Weld.C0 = Lerp(LH.Weld.C0, CFrame.new(0.4, -0.1, -0.7) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(2)), 0.4)--leg | |
| 3495 | ||
| 3496 | ||
| 3497 | end | |
| 3498 | ---- | |
| 3499 | function punchd() | |
| 3500 | attack = true | |
| 3501 | jumped = true | |
| 3502 | hum.WalkSpeed = 30 | |
| 3503 | killbrick = Instance.new("Part",rarm)
| |
| 3504 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
| 3505 | killbrick.Transparency = 1 | |
| 3506 | killbrick:BreakJoints() | |
| 3507 | killbrick.CanCollide = false | |
| 3508 | killbrick.Anchored = true | |
| 3509 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
| 3510 | lig = Instance.new("PointLight",player.Character.Torso)
| |
| 3511 | lig.Color=Color3.new(255,255,0) | |
| 3512 | lig.Range = 20 | |
| 3513 | local bv = Instance.new("BodyVelocity")
| |
| 3514 | bv.maxForce = Vector3.new(1,1,1) | |
| 3515 | bv.velocity = root.CFrame.lookVector*150 | |
| 3516 | bv.Parent = root | |
| 3517 | char.Head.face.Texture = "rbxassetid://126198982" | |
| 3518 | game:GetService("Debris"):AddItem(bv, 1)
| |
| 3519 | local rng = Instance.new("Part", char)
| |
| 3520 | rng.Anchored = true | |
| 3521 | rng.BrickColor = BrickColor.new("Neon orange")
| |
| 3522 | rng.CanCollide = false | |
| 3523 | rng.FormFactor = 3 | |
| 3524 | rng.Name = "Ring" | |
| 3525 | rng.Size = Vector3.new(1, 1, 1) | |
| 3526 | rng.Transparency = 0 | |
| 3527 | rng.TopSurface = 0 | |
| 3528 | rng.BottomSurface = 0 | |
| 3529 | rng.CFrame = root.CFrame | |
| 3530 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3531 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 3532 | local rng2 = rng:Clone() | |
| 3533 | rng2.BrickColor = BrickColor.new("Dark stone grey")
| |
| 3534 | rng2.Parent = char | |
| 3535 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
| 3536 | local rng2m = rng2.Mesh | |
| 3537 | local rng3 = rng:Clone() | |
| 3538 | rng3.Parent = char | |
| 3539 | rng3.BrickColor = BrickColor.new("Dark stone grey")
| |
| 3540 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12 | |
| 3541 | local rng3m = rng3.Mesh | |
| 3542 | local rng4 = rng:Clone() | |
| 3543 | rng4.Parent = char | |
| 3544 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*13 | |
| 3545 | local rng4m = rng4.Mesh | |
| 3546 | local rng5 = rng:Clone() | |
| 3547 | rng5.Parent = char | |
| 3548 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
| 3549 | local rng5m = rng5.Mesh | |
| 3550 | local rng6 = rng:Clone() | |
| 3551 | rng6.Material = "Neon" | |
| 3552 | rng6.CanCollide = false | |
| 3553 | rng6.BrickColor = BrickColor.new("Neon orange")
| |
| 3554 | rng6.Parent = LeftLeg | |
| 3555 | local rng6m = rng6.Mesh | |
| 3556 | rng6m.Scale = vt(1,1,1) | |
| 3557 | rng6m.MeshType = "Sphere" | |
| 3558 | local rng7 = rng:Clone() | |
| 3559 | rng7.Material = "Plastic" | |
| 3560 | rng7.CanCollide = false | |
| 3561 | rng7.BrickColor = BrickColor.new("Bright red")
| |
| 3562 | rng7.Parent = LeftLeg | |
| 3563 | local rng7m = rng7.Mesh | |
| 3564 | rng7m.Scale = vt(1,1,1) | |
| 3565 | rng7m.MeshType = "Sphere" | |
| 3566 | CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
| |
| 3567 | CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
| |
| 3568 | wait() | |
| 3569 | local scaler = 10/5 | |
| 3570 | local scaler2 = 10/5 | |
| 3571 | local hit = rng6.Touched:connect(function(hit) | |
| 3572 | Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1) | |
| 3573 | CRIT=true | |
| 3574 | end) | |
| 3575 | for i = 0,10,0.1 do | |
| 3576 | swait() | |
| 3577 | rng.Transparency = rng.Transparency + 0.01 | |
| 3578 | rng2.Transparency = rng2.Transparency + 0.01 | |
| 3579 | rng3.Transparency = rng3.Transparency + 0.01 | |
| 3580 | rng4.Transparency = rng4.Transparency + 0.01 | |
| 3581 | rng5.Transparency = rng5.Transparency + 0.01 | |
| 3582 | rng6.Transparency = rng5.Transparency + 0.001 | |
| 3583 | rng7.Transparency = rng5.Transparency + 0.001 | |
| 3584 | scaler = scaler - 0.125/5 | |
| 3585 | scaler2 = scaler2 - 0.1/5 | |
| 3586 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 0) | |
| 3587 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
| 3588 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
| 3589 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
| 3590 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
| 3591 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
| 3592 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 3593 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
| 3594 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
| 3595 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
| 3596 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
| 3597 | rng6.CFrame = killbrick.CFrame | |
| 3598 | rng7.CFrame = killbrick.CFrame | |
| 3599 | end | |
| 3600 | game:GetService("Debris"):AddItem(rng, 0.1)
| |
| 3601 | game:GetService("Debris"):AddItem(rng2, 0.1)
| |
| 3602 | game:GetService("Debris"):AddItem(rng3, 0.1)
| |
| 3603 | game:GetService("Debris"):AddItem(rng4, 0.1)
| |
| 3604 | game:GetService("Debris"):AddItem(rng5, 0.1)
| |
| 3605 | hum.WalkSpeed = 16 | |
| 3606 | hit:disconnect() | |
| 3607 | attack = false | |
| 3608 | killbrick:Destroy() | |
| 3609 | char.Head.face.Texture = "rbxassetid://29291814" | |
| 3610 | jumped = false | |
| 3611 | lig:Remove() | |
| 3612 | end | |
| 3613 | ||
| 3614 | ||
| 3615 | ||
| 3616 | ||
| 3617 | ||
| 3618 | ||
| 3619 | function shock() | |
| 3620 | attack = true | |
| 3621 | jumped = true | |
| 3622 | hum.WalkSpeed = 16 | |
| 3623 | killbrick = Instance.new("Part",rarm)
| |
| 3624 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
| 3625 | killbrick.Transparency = 1 | |
| 3626 | killbrick:BreakJoints() | |
| 3627 | killbrick.CanCollide = false | |
| 3628 | killbrick.Anchored = true | |
| 3629 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
| 3630 | lig = Instance.new("PointLight",player.Character.Torso)
| |
| 3631 | lig.Color=Color3.new(255,0,0) | |
| 3632 | lig.Range = 20 | |
| 3633 | local bv = Instance.new("BodyVelocity")
| |
| 3634 | bv.maxForce = Vector3.new(1,1,1) | |
| 3635 | bv.velocity = root.CFrame.lookVector*150 | |
| 3636 | bv.Parent = root | |
| 3637 | char.Head.face.Texture = "rbxassetid://126198982" | |
| 3638 | game:GetService("Debris"):AddItem(bv, 1)
| |
| 3639 | local rng = Instance.new("Part", char)
| |
| 3640 | rng.Anchored = true | |
| 3641 | rng.BrickColor = BrickColor.new("Neon orange")
| |
| 3642 | rng.CanCollide = false | |
| 3643 | rng.FormFactor = 3 | |
| 3644 | rng.Name = "Ring" | |
| 3645 | rng.Size = Vector3.new(1, 1, 1) | |
| 3646 | rng.Transparency = 0 | |
| 3647 | rng.TopSurface = 0 | |
| 3648 | rng.BottomSurface = 0 | |
| 3649 | rng.CFrame = root.CFrame | |
| 3650 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3651 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 3652 | local rng2 = rng:Clone() | |
| 3653 | rng2.BrickColor = BrickColor.new("Dark stone grey")
| |
| 3654 | rng2.Parent = char | |
| 3655 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
| 3656 | local rng2m = rng2.Mesh | |
| 3657 | local rng3 = rng:Clone() | |
| 3658 | rng3.Parent = char | |
| 3659 | rng3.BrickColor = BrickColor.new("Dark stone grey")
| |
| 3660 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12 | |
| 3661 | local rng3m = rng3.Mesh | |
| 3662 | local rng4 = rng:Clone() | |
| 3663 | rng4.Parent = char | |
| 3664 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*13 | |
| 3665 | local rng4m = rng4.Mesh | |
| 3666 | local rng5 = rng:Clone() | |
| 3667 | rng5.Parent = char | |
| 3668 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
| 3669 | local rng5m = rng5.Mesh | |
| 3670 | local rng6 = rng:Clone() | |
| 3671 | rng6.Material = "Neon" | |
| 3672 | rng6.CanCollide = false | |
| 3673 | rng6.BrickColor = BrickColor.new("Neon orange")
| |
| 3674 | rng6.Parent = LeftLeg | |
| 3675 | local rng6m = rng6.Mesh | |
| 3676 | rng6m.Scale = vt(1,1,1) | |
| 3677 | rng6m.MeshType = "Sphere" | |
| 3678 | local rng7 = rng:Clone() | |
| 3679 | rng7.Material = "Plastic" | |
| 3680 | rng7.CanCollide = false | |
| 3681 | rng7.BrickColor = BrickColor.new("Bright red")
| |
| 3682 | rng7.Parent = LeftLeg | |
| 3683 | local rng7m = rng7.Mesh | |
| 3684 | rng7m.Scale = vt(1,1,1) | |
| 3685 | rng7m.MeshType = "Sphere" | |
| 3686 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
| |
| 3687 | wait() | |
| 3688 | local scaler = 10/5 | |
| 3689 | local scaler2 = 10/5 | |
| 3690 | local hit = rng6.Touched:connect(function(hit) | |
| 3691 | Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1) | |
| 3692 | end) | |
| 3693 | for i = 0,10,0.1 do | |
| 3694 | swait() | |
| 3695 | MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
| |
| 3696 | rng.Transparency = rng.Transparency + 0.01 | |
| 3697 | rng2.Transparency = rng2.Transparency + 0.01 | |
| 3698 | rng3.Transparency = rng3.Transparency + 0.01 | |
| 3699 | rng4.Transparency = rng4.Transparency + 0.01 | |
| 3700 | rng5.Transparency = rng5.Transparency + 0.01 | |
| 3701 | rng6.Transparency = rng5.Transparency + 0.001 | |
| 3702 | rng7.Transparency = rng5.Transparency + 0.001 | |
| 3703 | scaler = scaler - 0.125/5 | |
| 3704 | scaler2 = scaler2 - 0.1/5 | |
| 3705 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/0.25, scaler2/0.45, 0) | |
| 3706 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/0.5, scaler2/0.7, 0) | |
| 3707 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/0.75, scaler2/0.95, 0) | |
| 3708 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/0.9, scaler2/0.9, 0) | |
| 3709 | rng6.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6) | |
| 3710 | rng7.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6) | |
| 3711 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 3712 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
| 3713 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5) | |
| 3714 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5) | |
| 3715 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
| 3716 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5) | |
| 3717 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5) | |
| 3718 | rng6.CFrame = killbrick.CFrame | |
| 3719 | rng7.CFrame = killbrick.CFrame | |
| 3720 | end | |
| 3721 | game:GetService("Debris"):AddItem(rng, 0.1)
| |
| 3722 | game:GetService("Debris"):AddItem(rng2, 0.1)
| |
| 3723 | game:GetService("Debris"):AddItem(rng3, 0.1)
| |
| 3724 | game:GetService("Debris"):AddItem(rng4, 0.1)
| |
| 3725 | game:GetService("Debris"):AddItem(rng5, 0.1)
| |
| 3726 | hum.WalkSpeed = 16 | |
| 3727 | hit:disconnect() | |
| 3728 | attack = false | |
| 3729 | killbrick:Destroy() | |
| 3730 | char.Head.face.Texture = "rbxassetid://29291814" | |
| 3731 | jumped = false | |
| 3732 | lig:Remove() | |
| 3733 | end | |
| 3734 | ||
| 3735 | ||
| 3736 | function punch3() | |
| 3737 | attack = true | |
| 3738 | jumped = true | |
| 3739 | hum.WalkSpeed = 16 | |
| 3740 | killbrick = Instance.new("Part",rarm)
| |
| 3741 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
| 3742 | killbrick.Transparency = 1 | |
| 3743 | killbrick:BreakJoints() | |
| 3744 | killbrick.CanCollide = false | |
| 3745 | killbrick.Anchored = true | |
| 3746 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
| 3747 | ||
| 3748 | killbrick2 = Instance.new("Part",rarm)
| |
| 3749 | killbrick2.Size = Vector3.new(0.1,0.1,0.1) | |
| 3750 | killbrick2.Transparency = 1 | |
| 3751 | killbrick2:BreakJoints() | |
| 3752 | killbrick2.CanCollide = false | |
| 3753 | killbrick2.Anchored = true | |
| 3754 | killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-30) | |
| 3755 | lig = Instance.new("PointLight",player.Character.Torso)
| |
| 3756 | lig.Color=Color3.new(255,0,0) | |
| 3757 | lig.Range = 20 | |
| 3758 | local bv = Instance.new("BodyVelocity")
| |
| 3759 | bv.maxForce = Vector3.new(1,1,1) | |
| 3760 | bv.velocity = root.CFrame.lookVector*150 | |
| 3761 | bv.Parent = root | |
| 3762 | char.Head.face.Texture = "rbxassetid://126198982" | |
| 3763 | game:GetService("Debris"):AddItem(bv, 1)
| |
| 3764 | local rng = Instance.new("Part", char)
| |
| 3765 | rng.Anchored = true | |
| 3766 | rng.BrickColor = BrickColor.new("Neon orange")
| |
| 3767 | rng.CanCollide = false | |
| 3768 | rng.FormFactor = 3 | |
| 3769 | rng.Name = "Ring" | |
| 3770 | rng.Size = Vector3.new(1, 1, 1) | |
| 3771 | rng.Transparency = 0 | |
| 3772 | rng.TopSurface = 0 | |
| 3773 | rng.BottomSurface = 0 | |
| 3774 | rng.CFrame = root.CFrame | |
| 3775 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3776 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 3777 | local rng2 = rng:Clone() | |
| 3778 | rng2.BrickColor = BrickColor.new("Dark stone grey")
| |
| 3779 | rng2.Parent = char | |
| 3780 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
| 3781 | local rng2m = rng2.Mesh | |
| 3782 | local rng3 = rng:Clone() | |
| 3783 | rng3.Parent = char | |
| 3784 | rng3.BrickColor = BrickColor.new("Dark stone grey")
| |
| 3785 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12 | |
| 3786 | local rng3m = rng3.Mesh | |
| 3787 | local rng4 = rng:Clone() | |
| 3788 | rng4.Parent = char | |
| 3789 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*13 | |
| 3790 | local rng4m = rng4.Mesh | |
| 3791 | local rng5 = rng:Clone() | |
| 3792 | rng5.Parent = char | |
| 3793 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
| 3794 | local rng5m = rng5.Mesh | |
| 3795 | local rng6 = rng:Clone() | |
| 3796 | rng6.Material = "Neon" | |
| 3797 | rng6.CanCollide = false | |
| 3798 | rng6.BrickColor = BrickColor.new("Neon orange")
| |
| 3799 | rng6.Parent = LeftLeg | |
| 3800 | local rng6m = rng6.Mesh | |
| 3801 | rng6m.Scale = vt(1,1,1) | |
| 3802 | rng6m.MeshType = "Sphere" | |
| 3803 | local rng7 = rng:Clone() | |
| 3804 | rng7.Material = "Plastic" | |
| 3805 | rng7.CanCollide = false | |
| 3806 | rng7.BrickColor = BrickColor.new("Bright red")
| |
| 3807 | rng7.Parent = LeftLeg | |
| 3808 | local rng7m = rng7.Mesh | |
| 3809 | rng7m.Scale = vt(1,1,1) | |
| 3810 | rng7m.MeshType = "Sphere" | |
| 3811 | local rng8 = rng6:Clone() | |
| 3812 | rng8.Material = "Neon" | |
| 3813 | rng8.CanCollide = false | |
| 3814 | rng8.BrickColor = BrickColor.new("Neon orange")
| |
| 3815 | rng8.Parent = LeftLeg | |
| 3816 | local rng8m = rng7.Mesh | |
| 3817 | rng8m.Scale = vt(1,1,1) | |
| 3818 | rng8m.MeshType = "Sphere" | |
| 3819 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
| |
| 3820 | wait() | |
| 3821 | local scaler = 10/5 | |
| 3822 | local scaler2 = 10/5 | |
| 3823 | local hit = rng8.Touched:connect(function(hit) | |
| 3824 | Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1) | |
| 3825 | end) | |
| 3826 | for i = 0,10,0.1 do | |
| 3827 | swait() | |
| 3828 | rng.Transparency = rng.Transparency + 0.01 | |
| 3829 | rng2.Transparency = rng2.Transparency + 0.01 | |
| 3830 | rng3.Transparency = rng3.Transparency + 0.01 | |
| 3831 | rng4.Transparency = rng4.Transparency + 0.01 | |
| 3832 | rng5.Transparency = rng5.Transparency + 0.01 | |
| 3833 | rng6.Transparency = rng5.Transparency + 0.001 | |
| 3834 | rng7.Transparency = rng5.Transparency + 0.001 | |
| 3835 | rng8.Transparency = rng5.Transparency + 0.001 | |
| 3836 | scaler = scaler - 0.125/5 | |
| 3837 | scaler2 = scaler2 - 0.1/5 | |
| 3838 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.45, 0) | |
| 3839 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.7, 0) | |
| 3840 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.95, 0) | |
| 3841 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
| 3842 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
| 3843 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
| 3844 | rng8.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
| 3845 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 3846 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
| 3847 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
| 3848 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05) | |
| 3849 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
| 3850 | rng6.CFrame = killbrick.CFrame | |
| 3851 | rng7.CFrame = killbrick.CFrame | |
| 3852 | rng8.CFrame = killbrick2.CFrame | |
| 3853 | end | |
| 3854 | game:GetService("Debris"):AddItem(rng, 0.1)
| |
| 3855 | game:GetService("Debris"):AddItem(rng2, 0.1)
| |
| 3856 | game:GetService("Debris"):AddItem(rng3, 0.1)
| |
| 3857 | game:GetService("Debris"):AddItem(rng4, 0.1)
| |
| 3858 | game:GetService("Debris"):AddItem(rng5, 0.1)
| |
| 3859 | hum.WalkSpeed = 16 | |
| 3860 | hit:disconnect() | |
| 3861 | attack = false | |
| 3862 | killbrick:Destroy() | |
| 3863 | char.Head.face.Texture = "rbxassetid://29291814" | |
| 3864 | jumped = false | |
| 3865 | lig:Remove() | |
| 3866 | end | |
| 3867 | ||
| 3868 | ||
| 3869 | ||
| 3870 | function boom() | |
| 3871 | attack = true | |
| 3872 | jumped = true | |
| 3873 | hum.WalkSpeed = 0 | |
| 3874 | MagicBlock(bc("White"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
| |
| 3875 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
| |
| 3876 | CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7)
| |
| 3877 | for i = 0,15,0.1 do | |
| 3878 | swait() | |
| 3879 | MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
| |
| 3880 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
| 3881 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5) | |
| 3882 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5) | |
| 3883 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
| 3884 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5) | |
| 3885 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5) | |
| 3886 | char.Head.face.Texture = "rbxassetid://126198982" | |
| 3887 | end | |
| 3888 | local rng = Instance.new("Part", char)
| |
| 3889 | rng.Anchored = true | |
| 3890 | rng.BrickColor = BrickColor.new("Neon orange")
| |
| 3891 | rng.CanCollide = false | |
| 3892 | rng.FormFactor = 3 | |
| 3893 | rng.Name = "Ring" | |
| 3894 | rng.Size = Vector3.new(1, 1, 1) | |
| 3895 | rng.Transparency = 0 | |
| 3896 | rng.TopSurface = 0 | |
| 3897 | rng.BottomSurface = 0 | |
| 3898 | rng.Position = root.Position | |
| 3899 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 3900 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3901 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 3902 | local rng2 = rng:Clone() | |
| 3903 | rng2.Parent = char | |
| 3904 | rng2.BrickColor = BrickColor.new("Dark stone grey")
| |
| 3905 | local rng2m = rng2.Mesh | |
| 3906 | local rng3 = rng:Clone() | |
| 3907 | rng3.Parent = char | |
| 3908 | local rng3m = rng3.Mesh | |
| 3909 | local rng4 = rng:Clone() | |
| 3910 | rng4.Parent = char | |
| 3911 | local rng4m = rng4.Mesh | |
| 3912 | local rng5 = rng:Clone() | |
| 3913 | rng5.Parent = char | |
| 3914 | rng5.BrickColor = BrickColor.new("Dark stone grey")
| |
| 3915 | local rng5m = rng5.Mesh | |
| 3916 | local hit = rng5.Touched:connect(function(hit) | |
| 3917 | Damagefunc(hit,120,175,math.random(100,100),"Normal",root,.2,1) | |
| 3918 | end) | |
| 3919 | MagicBlock(bc("White"),root.CFrame,15,15,15,5,5,5,0.015)
| |
| 3920 | CFuncs["Sound"].Create("rbxassetid://187137517", rng, 10, 1)
| |
| 3921 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.85)
| |
| 3922 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 10, 1)
| |
| 3923 | wait() | |
| 3924 | local scaler = 10 | |
| 3925 | local scaler2 = 10 | |
| 3926 | for i = 0,10,0.1 do | |
| 3927 | swait() | |
| 3928 | rng.Transparency = rng.Transparency + 0.01 | |
| 3929 | rng2.Transparency = rng2.Transparency + 0.01 | |
| 3930 | rng3.Transparency = rng3.Transparency + 0.01 | |
| 3931 | rng4.Transparency = rng4.Transparency + 0.01 | |
| 3932 | rng5.Transparency = rng5.Transparency + 0.01 | |
| 3933 | scaler = scaler - 0.125 | |
| 3934 | scaler2 = scaler2 - 0.1 | |
| 3935 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 4) | |
| 3936 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 3) | |
| 3937 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 2) | |
| 3938 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 1) | |
| 3939 | rng5.Size = rng5m.Scale | |
| 3940 | rng5.CFrame = rng.CFrame | |
| 3941 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/2, scaler2/2, 5) | |
| 3942 | text.Text = " DIE! " | |
| 3943 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
| 3944 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5) | |
| 3945 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5) | |
| 3946 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
| 3947 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5) | |
| 3948 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5) | |
| 3949 | end | |
| 3950 | hit:disconnect() | |
| 3951 | game:GetService("Debris"):AddItem(rng, 1)
| |
| 3952 | game:GetService("Debris"):AddItem(rng2, 1)
| |
| 3953 | game:GetService("Debris"):AddItem(rng3, 1)
| |
| 3954 | game:GetService("Debris"):AddItem(rng4, 1)
| |
| 3955 | game:GetService("Debris"):AddItem(rng5, 1)
| |
| 3956 | hum.WalkSpeed = 16 | |
| 3957 | attack = false | |
| 3958 | text.Text = " " | |
| 3959 | char.Head.face.Texture = "rbxassetid://29291814" | |
| 3960 | jumped = false | |
| 3961 | end | |
| 3962 | ||
| 3963 | function shooty() | |
| 3964 | attack = true | |
| 3965 | MagicBlock(bc("Neon orange"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
| |
| 3966 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
| |
| 3967 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7)
| |
| 3968 | for i = 0,15,0.1 do | |
| 3969 | swait() | |
| 3970 | MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
| |
| 3971 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
| 3972 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
| 3973 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05) | |
| 3974 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
| 3975 | char.Head.face.Texture = "rbxassetid://126198982" | |
| 3976 | end | |
| 3977 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
| |
| 3978 | local a = Instance.new("Part",Character)
| |
| 3979 | a.Name = "Direction" | |
| 3980 | a.Anchored = true | |
| 3981 | a.BrickColor = bc("Neon orange")
| |
| 3982 | a.Material = "Neon" | |
| 3983 | a.Transparency = 1 | |
| 3984 | a.CanCollide = false | |
| 3985 | local ray = Ray.new( | |
| 3986 | root.CFrame.p, -- origin | |
| 3987 | (mouse.Hit.p - root.CFrame.p).unit * 500 -- direction | |
| 3988 | ) | |
| 3989 | local ignore = Character | |
| 3990 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3991 | a.BottomSurface = 10 | |
| 3992 | a.TopSurface = 10 | |
| 3993 | local distance = (root.CFrame.p - position).magnitude | |
| 3994 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 3995 | a.CFrame = CFrame.new(root.CFrame.p, position) * CFrame.new(0, 0, 0) | |
| 3996 | local lb = Instance.new("Part")
| |
| 3997 | lb.Parent = char | |
| 3998 | lb.BrickColor = bc("Neon orange")
| |
| 3999 | local pie22 = Instance.new("ParticleEmitter")
| |
| 4000 | pie22.Parent = char.Torso | |
| 4001 | pie22.Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color)
| |
| 4002 | pie22.LightEmission = 0 | |
| 4003 | pie22.Size = NumberSequence.new(10,5) | |
| 4004 | pie22.Texture = "http://www.roblox.com/asset/?id=254959503" | |
| 4005 | pie22.Transparency = NumberSequence.new(0, 1) | |
| 4006 | pie22.EmissionDirection = "Top" | |
| 4007 | pie22.Enabled = true | |
| 4008 | pie22.Lifetime = NumberRange.new(1) | |
| 4009 | pie22.Rotation = NumberRange.new(-17, 17) | |
| 4010 | pie22.Rate = 200 | |
| 4011 | pie22.Speed = NumberRange.new(3) | |
| 4012 | pie22.LockedToPart = false | |
| 4013 | pie22.VelocitySpread = 3 | |
| 4014 | pie22.Name = "Haa" | |
| 4015 | pie22.Parent = lb | |
| 4016 | lb.CanCollide = false | |
| 4017 | lb.Material = "Neon" | |
| 4018 | lb.Anchored = true | |
| 4019 | lb.TopSurface = 0 | |
| 4020 | lb.BottomSurface = 0 | |
| 4021 | lb.Transparency = 0 | |
| 4022 | lb.Size = vt(0.5,0.5,0.5) | |
| 4023 | lb.CFrame = sorb.CFrame | |
| 4024 | lb.Anchored = false | |
| 4025 | local thingery = Instance.new("SpecialMesh",lb)
| |
| 4026 | thingery.MeshType = "Sphere" | |
| 4027 | thingery.Scale = vt(25,25,25) | |
| 4028 | game:GetService("Debris"):AddItem(lb, 10)
| |
| 4029 | local bv = Instance.new("BodyVelocity")
| |
| 4030 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 4031 | bv.velocity = a.CFrame.lookVector*150 | |
| 4032 | bv.Parent = lb | |
| 4033 | game:GetService("Debris"):AddItem(a, 0.1)
| |
| 4034 | wait(0.05) | |
| 4035 | local hitted = false | |
| 4036 | lb.Touched:connect(function(hit) | |
| 4037 | if hitted == false then | |
| 4038 | hitted = true | |
| 4039 | lb.Anchored = true | |
| 4040 | lb.Transparency = 1 | |
| 4041 | local rng = Instance.new("Part", char)
| |
| 4042 | rng.Anchored = true | |
| 4043 | rng.BrickColor = BrickColor.new("Neon orange")
| |
| 4044 | rng.CanCollide = false | |
| 4045 | rng.FormFactor = 3 | |
| 4046 | rng.Name = "Ring" | |
| 4047 | rng.Size = Vector3.new(1, 1, 1) | |
| 4048 | rng.Transparency = 0 | |
| 4049 | rng.TopSurface = 0 | |
| 4050 | rng.BottomSurface = 0 | |
| 4051 | rng.CFrame = lb.CFrame | |
| 4052 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
| 4053 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 4054 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4055 | local rng2 = rng:Clone() | |
| 4056 | rng2.Parent = char | |
| 4057 | local rng2m = rng2.Mesh | |
| 4058 | local rng3 = rng:Clone() | |
| 4059 | rng3.Parent = char | |
| 4060 | rng3.BrickColor = BrickColor.new("Dark stone grey")
| |
| 4061 | local rng3m = rng3.Mesh | |
| 4062 | local rng4 = rng:Clone() | |
| 4063 | rng4.Parent = char | |
| 4064 | local rng4m = rng4.Mesh | |
| 4065 | local rng5 = rng:Clone() | |
| 4066 | rng5.Parent = char | |
| 4067 | rng5.BrickColor = BrickColor.new("Dark stone grey")
| |
| 4068 | rng5.CFrame = rng5.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
| 4069 | local rng5m = rng5.Mesh | |
| 4070 | rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
| 4071 | rng3.CFrame = rng3.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
| 4072 | rng4.CFrame = rng4.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
| 4073 | MagicBlock(bc("White"),lb.CFrame,15,15,15,5,5,5,0.015)
| |
| 4074 | local rng6 = rng:Clone() | |
| 4075 | rng6.Material = "Neon" | |
| 4076 | rng6.Parent = char | |
| 4077 | local rng6m = rng6.Mesh | |
| 4078 | rng6m.Scale = vt(1,1,1) | |
| 4079 | rng6m.MeshType = "Sphere" | |
| 4080 | local hita = rng6.Touched:connect(function(hit) | |
| 4081 | Damagefunc(hit,72,78,math.random(70,70),"Normal",root,.2,1) | |
| 4082 | end) | |
| 4083 | CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 1)
| |
| 4084 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.75)
| |
| 4085 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
| |
| 4086 | local scaler = 5 | |
| 4087 | local scaler2 = 5 | |
| 4088 | for i = 0,20,0.1 do | |
| 4089 | swait() | |
| 4090 | rng.Transparency = rng.Transparency + 0.005 | |
| 4091 | rng2.Transparency = rng2.Transparency + 0.005 | |
| 4092 | rng3.Transparency = rng3.Transparency + 0.005 | |
| 4093 | rng4.Transparency = rng4.Transparency + 0.005 | |
| 4094 | rng5.Transparency = rng5.Transparency + 0.005 | |
| 4095 | rng6.Transparency = rng6.Transparency + 0.005 | |
| 4096 | scaler = scaler - 0.005/2 | |
| 4097 | scaler2 = scaler2 - 0.05/2 | |
| 4098 | rng6.Size = rng6.Size + Vector3.new(scaler2/3, scaler2/3, scaler2/3) | |
| 4099 | rng6.CFrame = rng.CFrame | |
| 4100 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
| 4101 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
| 4102 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
| 4103 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 4104 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 4105 | end | |
| 4106 | hita:disconnect() | |
| 4107 | game:GetService("Debris"):AddItem(rng, 1)
| |
| 4108 | game:GetService("Debris"):AddItem(rng2, 1)
| |
| 4109 | game:GetService("Debris"):AddItem(rng3, 1)
| |
| 4110 | game:GetService("Debris"):AddItem(rng4, 1)
| |
| 4111 | game:GetService("Debris"):AddItem(rng5, 1)
| |
| 4112 | game:GetService("Debris"):AddItem(rng6, 1)
| |
| 4113 | end | |
| 4114 | end) | |
| 4115 | for i = 0,2,0.1 do | |
| 4116 | swait() | |
| 4117 | MagicBlock(bc("White"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
| |
| 4118 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
| 4119 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
| 4120 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
| 4121 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
| 4122 | text.Text = " DIE! " | |
| 4123 | end | |
| 4124 | attack = false | |
| 4125 | text.Text = " " | |
| 4126 | char.Head.face.Texture = "rbxassetid://29291814" | |
| 4127 | end | |
| 4128 | ||
| 4129 | function superpunch() | |
| 4130 | attack = true | |
| 4131 | jumped = true | |
| 4132 | hum.WalkSpeed = 16 | |
| 4133 | chatfunc("Grrr..")
| |
| 4134 | rock = true | |
| 4135 | for i = 0, 5 do | |
| 4136 | local lb = Instance.new("Part")
| |
| 4137 | lb.Parent = char | |
| 4138 | lb.Material = "Neon" | |
| 4139 | lb.Color = BrickColor.new("Gold").Color
| |
| 4140 | lb.CanCollide = false | |
| 4141 | lb.Material = "Neon" | |
| 4142 | lb.Size = vt(1,1,1) | |
| 4143 | lb.CFrame = tors.CFrame | |
| 4144 | lb.Rotation = vt(0,0,0) | |
| 4145 | lb.Anchored = true | |
| 4146 | lb.Transparency = 0 | |
| 4147 | local thing = Instance.new("SpecialMesh",lb)
| |
| 4148 | thing.MeshType = "FileMesh" | |
| 4149 | thing.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 4150 | thing.Scale = vt(0,15,0) | |
| 4151 | local chancerot = math.random(1,2) | |
| 4152 | for z = 0, 4 do | |
| 4153 | if chancerot == 1 then | |
| 4154 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
| 4155 | elseif chancerot == 2 then | |
| 4156 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
| 4157 | end | |
| 4158 | lb.Transparency = lb.Transparency + 0.1 | |
| 4159 | thing.Scale = thing.Scale + vt(15,0,15) | |
| 4160 | wait() | |
| 4161 | end | |
| 4162 | for z = 0, 4 do | |
| 4163 | if chancerot == 1 then | |
| 4164 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
| 4165 | elseif chancerot == 2 then | |
| 4166 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
| 4167 | end | |
| 4168 | lb.Transparency = lb.Transparency + 0.1 | |
| 4169 | thing.Scale = thing.Scale + vt(15,0,15) | |
| 4170 | wait() | |
| 4171 | end | |
| 4172 | lb:Destroy() | |
| 4173 | end | |
| 4174 | wait(0) | |
| 4175 | text.Text = " " | |
| 4176 | wait(0.5) | |
| 4177 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
| |
| 4178 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7)
| |
| 4179 | wait(0) | |
| 4180 | chatfunc("Incinerate!")
| |
| 4181 | for i = 0,15,0.1 do | |
| 4182 | swait() | |
| 4183 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05) | |
| 4184 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05) | |
| 4185 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
| 4186 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
| 4187 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05) | |
| 4188 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
| 4189 | char.Head.face.Texture = "rbxassetid://126198982" | |
| 4190 | end | |
| 4191 | local rng = Instance.new("Part", char)
| |
| 4192 | rng.Anchored = true | |
| 4193 | rng.BrickColor = BrickColor.new("New Yeller")
| |
| 4194 | rng.CanCollide = false | |
| 4195 | rng.FormFactor = 3 | |
| 4196 | rng.Name = "Ring" | |
| 4197 | rng.Size = Vector3.new(1, 1, 1) | |
| 4198 | rng.Transparency = 0 | |
| 4199 | rng.TopSurface = 0 | |
| 4200 | rng.BottomSurface = 0 | |
| 4201 | rng.CFrame = root.CFrame | |
| 4202 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 4203 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4204 | local rng2 = rng:Clone() | |
| 4205 | rng2.Parent = char | |
| 4206 | rng2.BrickColor = BrickColor.new("Neon orange")
| |
| 4207 | local rng2m = rng2.Mesh | |
| 4208 | local rng3 = rng:Clone() | |
| 4209 | rng3.Parent = char | |
| 4210 | local rng3m = rng3.Mesh | |
| 4211 | local rng4 = rng:Clone() | |
| 4212 | rng4.Parent = char | |
| 4213 | rng4.BrickColor = BrickColor.new("Neon orange")
| |
| 4214 | local rng4m = rng4.Mesh | |
| 4215 | local rng5 = rng:Clone() | |
| 4216 | rng5.Parent = char | |
| 4217 | local rng5m = rng5.Mesh | |
| 4218 | local rng6 = rng:Clone() | |
| 4219 | rng6.Material = "Neon" | |
| 4220 | rng6.Parent = char | |
| 4221 | local rng6m = rng6.Mesh | |
| 4222 | rng6m.Scale = vt(1,1,1) | |
| 4223 | rng6m.MeshType = "Sphere" | |
| 4224 | local hita = rng6.Touched:connect(function(hit) | |
| 4225 | Damagefunc(hit,3000000,4400000,math.random(3000000,4000000),"Normal",root,.2,1) | |
| 4226 | end) | |
| 4227 | rng2.CFrame = root.CFrame | |
| 4228 | rng3.CFrame = root.CFrame | |
| 4229 | rng4.CFrame = root.CFrame | |
| 4230 | rng5.CFrame = root.CFrame | |
| 4231 | rng6.CFrame = root.CFrame | |
| 4232 | CFuncs["Sound"].Create("rbxassetid://260430117", rng, 5, 1)
| |
| 4233 | CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 0.85)
| |
| 4234 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
| |
| 4235 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
| |
| 4236 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
| |
| 4237 | wait() | |
| 4238 | local scaler = 10/5 | |
| 4239 | local scaler2 = 10/5 | |
| 4240 | MagicBlock(bc("Dark stone grey"),root.CFrame,30,30,30,5,5,5,0.015)
| |
| 4241 | for i = 0,10,0.1 do | |
| 4242 | swait() | |
| 4243 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2 | |
| 4244 | rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/0.25 | |
| 4245 | rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5 | |
| 4246 | rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/0.75 | |
| 4247 | rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/2 | |
| 4248 | rng6.Size = rng6.Size + Vector3.new(scaler2/0.9, scaler2/0.9, scaler2/0.4) | |
| 4249 | rng6.CFrame = rng.CFrame | |
| 4250 | rng.Transparency = rng.Transparency + 0.01 | |
| 4251 | rng2.Transparency = rng2.Transparency + 0.01 | |
| 4252 | rng3.Transparency = rng3.Transparency + 0.01 | |
| 4253 | rng4.Transparency = rng4.Transparency + 0.01 | |
| 4254 | rng5.Transparency = rng5.Transparency + 0.01 | |
| 4255 | rng6.Transparency = rng6.Transparency + 0.01 | |
| 4256 | scaler = scaler - 0.125/5 | |
| 4257 | scaler2 = scaler2 - 0.1/5 | |
| 4258 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5) | |
| 4259 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1) | |
| 4260 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5) | |
| 4261 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 4262 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/3, scaler2/3, 2) | |
| 4263 | end | |
| 4264 | hita:disconnect() | |
| 4265 | rng6:Destroy() | |
| 4266 | Crater(head,60) | |
| 4267 | game:GetService("Debris"):AddItem(rng, 1)
| |
| 4268 | game:GetService("Debris"):AddItem(rng2, 1)
| |
| 4269 | game:GetService("Debris"):AddItem(rng3, 1)
| |
| 4270 | game:GetService("Debris"):AddItem(rng4, 1)
| |
| 4271 | game:GetService("Debris"):AddItem(rng5, 1)
| |
| 4272 | hum.WalkSpeed = 16 | |
| 4273 | attack = false | |
| 4274 | char.Head.face.Texture = "rbxassetid://29291814" | |
| 4275 | jumped = false | |
| 4276 | end | |
| 4277 | ||
| 4278 | ||
| 4279 | ||
| 4280 | --Gomu powers by DahNoob | |
| 4281 | --Gui Fixed by Biologically_Noob | |
| 4282 | --Originally fixed by scenius | |
| 4283 | --lol i know ur gonna remove credits | |
| 4284 | g1 = Instance.new("ScreenGui")
| |
| 4285 | g1.Name = "ggui" | |
| 4286 | o1 = Instance.new("Frame", g1)
| |
| 4287 | o1.BackgroundColor3 = Color3.new(1, 0.976471, 0.6) | |
| 4288 | o1.BorderColor3 = Color3.new(0.533333, 0.52549, 0.317647) | |
| 4289 | o1.BorderSizePixel = 0 | |
| 4290 | o1.Name = "Main" | |
| 4291 | o1.Position = UDim2.new(0.025, 0, 0.65, 0) | |
| 4292 | o1.Size = UDim2.new(0,0,0) | |
| 4293 | o1.ZIndex = 2 | |
| 4294 | o2 = Instance.new("Frame", o1)
| |
| 4295 | o2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843) | |
| 4296 | o2.BorderColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
| 4297 | o2.BorderSizePixel = 3 | |
| 4298 | o2.Name = "G3" | |
| 4299 | o2.Position = UDim2.new(0.05, 0, 0, 20) | |
| 4300 | o2.Size = UDim2.new(0,0,0) | |
| 4301 | o2.ZIndex = 3 | |
| 4302 | o3 = Instance.new("Frame", o2)
| |
| 4303 | o3.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
| 4304 | o3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 4305 | o3.BorderSizePixel = 0 | |
| 4306 | o3.Name = "Shadow" | |
| 4307 | o3.Size = UDim2.new(0,0,0) | |
| 4308 | o3.ZIndex = 2 | |
| 4309 | o3.Style = Enum.FrameStyle.DropShadow | |
| 4310 | o4 = Instance.new("Frame", o2)
| |
| 4311 | o4.BackgroundColor3 = Color3.new(0.341176, 0.968628, 0.623529) | |
| 4312 | o4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 4313 | o4.BorderSizePixel = 0 | |
| 4314 | o4.Name = "Bar" | |
| 4315 | o4.Size = UDim2.new(0,0,0) | |
| 4316 | o4.ZIndex = 4 | |
| 4317 | o5 = Instance.new("Frame", o1)
| |
| 4318 | o5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
| 4319 | o5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 4320 | o5.BorderSizePixel = 0 | |
| 4321 | o5.Name = "Shadow" | |
| 4322 | o5.Position = UDim2.new(0, 1, 0, 1) | |
| 4323 | o5.Size = UDim2.new(0,0,0) | |
| 4324 | o5.Style = Enum.FrameStyle.DropShadow | |
| 4325 | o6 = Instance.new("Frame", o1)
| |
| 4326 | o6.BackgroundColor3 = Color3.new(0.0980392, 0, 0) | |
| 4327 | o6.BorderColor3 = Color3.new(0.301961, 0.121569, 0.0666667) | |
| 4328 | o6.BorderSizePixel = 3 | |
| 4329 | o6.Name = "G2" | |
| 4330 | o6.Position = UDim2.new(0.05, 0, 0, 55) | |
| 4331 | o6.Size = UDim2.new(0,0,0) | |
| 4332 | o6.ZIndex = 3 | |
| 4333 | o7 = Instance.new("Frame", o6)
| |
| 4334 | o7.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
| 4335 | o7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 4336 | o7.BorderSizePixel = 0 | |
| 4337 | o7.Name = "Shadow" | |
| 4338 | o7.Size = UDim2.new(0,0,0) | |
| 4339 | o7.ZIndex = 2 | |
| 4340 | o7.Style = Enum.FrameStyle.DropShadow | |
| 4341 | o8 = Instance.new("Frame", o6)
| |
| 4342 | o8.BackgroundColor3 = Color3.new(0.968628, 0.439216, 0.192157) | |
| 4343 | o8.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 4344 | o8.BorderSizePixel = 0 | |
| 4345 | o8.Name = "Bar" | |
| 4346 | o8.Size = UDim2.new(0,0,0) | |
| 4347 | o8.ZIndex = 4 | |
| 4348 | o9 = Instance.new("Frame", o1)
| |
| 4349 | o9.BackgroundColor3 = Color3.new(0.811765, 0.768628, 0.286275) | |
| 4350 | o9.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 4351 | o9.BorderSizePixel = 0 | |
| 4352 | o9.Name = "Base" | |
| 4353 | o9.Position = UDim2.new(0.05, 0, 0, 80) | |
| 4354 | o9.Size = UDim2.new(0,0,0) | |
| 4355 | o9.ZIndex = 3 | |
| 4356 | o10 = Instance.new("Frame", o9)
| |
| 4357 | o10.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
| 4358 | o10.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 4359 | o10.BorderSizePixel = 0 | |
| 4360 | o10.Name = "Shadow" | |
| 4361 | o10.Size = UDim2.new(0,0,0) | |
| 4362 | o10.ZIndex = 2 | |
| 4363 | o10.Style = Enum.FrameStyle.DropShadow | |
| 4364 | o11 = Instance.new("TextLabel", o9)
| |
| 4365 | o11.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 4366 | o11.BackgroundTransparency = 1 | |
| 4367 | o11.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 4368 | o11.Name = "Mode" | |
| 4369 | o11.Position = UDim2.new(0.05, 0,0.1, 0) | |
| 4370 | o11.Size = UDim2.new(0, 205, 0, 50) | |
| 4371 | o11.ZIndex = 3 | |
| 4372 | o11.Text = " " | |
| 4373 | o11.TextColor3 = Color3.new(1, 1, 1) | |
| 4374 | o11.TextStrokeTransparency = 0 | |
| 4375 | o11.Font = Enum.Font.SourceSansBold | |
| 4376 | o11.FontSize = Enum.FontSize.Size28 | |
| 4377 | ||
| 4378 | g1.Parent = script | |
| 4379 | ||
| 4380 | sn = Instance.new("StringValue", script)
| |
| 4381 | sn.Name = "ScriptName" | |
| 4382 | sn.Value = "Gomu Powers" | |
| 4383 | ||
| 4384 | local a = script:WaitForChild("ScriptName").Value
| |
| 4385 | script.ScriptName:Destroy() | |
| 4386 | TakeDamage = function(b, c) | |
| 4387 | b:TakeDamage(c)--game:service("ReplicatedStorage").Logic.TakeDamage:FireServer(b, c, a, tick())
| |
| 4388 | end | |
| 4389 | ||
| 4390 | plr = game.Players.LocalPlayer | |
| 4391 | repeat | |
| 4392 | wait(0.4) | |
| 4393 | until plr.Character | |
| 4394 | local fixed = Instance.new("StringValue", plr.Character)
| |
| 4395 | fixed.Name = "1" | |
| 4396 | fixed.Value = "S".."c".."e".."n".."i".."u".."s" | |
| 4397 | local creator = Instance.new("StringValue", plr.Character)
| |
| 4398 | creator.Name = "2" | |
| 4399 | creator.Value = "D".."a".."h".."N".."o".."o".."b" | |
| 4400 | chr = plr.Character | |
| 4401 | human = chr:FindFirstChild("Humanoid")
| |
| 4402 | mouse = plr:GetMouse() | |
| 4403 | kx = function(s) | |
| 4404 | plr:Kick(s) | |
| 4405 | end | |
| 4406 | cam = workspace.CurrentCamera | |
| 4407 | selected = false | |
| 4408 | equipd = false | |
| 4409 | tors = chr.Torso | |
| 4410 | rarm = chr["Right Arm"] | |
| 4411 | larm = chr["Left Arm"] | |
| 4412 | rleg = chr["Right Leg"] | |
| 4413 | lleg = chr["Left Leg"] | |
| 4414 | hrp = chr.HumanoidRootPart | |
| 4415 | head = chr.Head | |
| 4416 | anim = human:FindFirstChild("Animator")
| |
| 4417 | local d = head:FindFirstChildOfClass("Decal").Texture
| |
| 4418 | activu = false | |
| 4419 | dagear = 1 | |
| 4420 | rubbermodo = 0 | |
| 4421 | gatlingcool = 0 | |
| 4422 | bazookacool = 0 | |
| 4423 | rocketcool = 0 | |
| 4424 | g2lim = 6 | |
| 4425 | g3lim = 6 | |
| 4426 | g32hand = false | |
| 4427 | local e = true--game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84610856)
| |
| 4428 | local f = true--(game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84862060))
| |
| 4429 | local g = nil | |
| 4430 | g = script:WaitForChild("ggui")
| |
| 4431 | g.Enabled = true | |
| 4432 | g.Main.G3.Bar.BackgroundColor3 = rarm.Color | |
| 4433 | g.Parent = plr.PlayerGui | |
| 4434 | Heartbeat = Instance.new("BindableEvent")
| |
| 4435 | Heartbeat.Name = "Heartbeat" | |
| 4436 | Heartbeat.Parent = script | |
| 4437 | frame = 0.033333333333333 | |
| 4438 | tf = 0 | |
| 4439 | game:GetService("RunService").Heartbeat:connect(function(h, i)
| |
| 4440 | tf = tf + h | |
| 4441 | if frame <= tf then | |
| 4442 | for j = 1, math.floor(tf / frame) do | |
| 4443 | Heartbeat:Fire() | |
| 4444 | end | |
| 4445 | tf = tf - frame * math.floor(tf / frame) | |
| 4446 | end | |
| 4447 | end) | |
| 4448 | swait = function(k) | |
| 4449 | if k == 0 or k == nil then | |
| 4450 | Heartbeat.Event:wait() | |
| 4451 | else | |
| 4452 | for j = 1, k do | |
| 4453 | Heartbeat.Event:wait() | |
| 4454 | end | |
| 4455 | end | |
| 4456 | end | |
| 4457 | ||
| 4458 | Heartbeat2 = Instance.new("BindableEvent")
| |
| 4459 | Heartbeat2.Name = "Heartbeat2" | |
| 4460 | Heartbeat2.Parent = script | |
| 4461 | f60 = 0.016666666666667 | |
| 4462 | tf2 = 0 | |
| 4463 | game:GetService("RunService").Heartbeat:connect(function(h, i)
| |
| 4464 | tf2 = tf2 + h | |
| 4465 | if f60 <= tf2 then | |
| 4466 | for j = 1, math.floor(tf2 / f60) do | |
| 4467 | Heartbeat2:Fire() | |
| 4468 | end | |
| 4469 | tf2 = tf2 - f60 * math.floor(tf2 / f60) | |
| 4470 | end | |
| 4471 | end) | |
| 4472 | swait2 = function(k) | |
| 4473 | if k == 0 or k == nil then | |
| 4474 | Heartbeat2.Event:wait() | |
| 4475 | else | |
| 4476 | for j = 1, k do | |
| 4477 | Heartbeat2.Event:wait() | |
| 4478 | end | |
| 4479 | end | |
| 4480 | end | |
| 4481 | ||
| 4482 | tool = Instance.new("Tool")
| |
| 4483 | tool.CanBeDropped = false | |
| 4484 | tool.RequiresHandle = false | |
| 4485 | tool.ToolTip = "FSJDHJFS" | |
| 4486 | tool.Name = "Machine" | |
| 4487 | tool.Parent = plr.Backpack | |
| 4488 | modz = Instance.new("Model")
| |
| 4489 | modz.Name = "efx" | |
| 4490 | modz.Parent = chr | |
| 4491 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 4492 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 4493 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 4494 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 4495 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 4496 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 4497 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 4498 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 4499 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 4500 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 4501 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 4502 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 4503 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 4504 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 4505 | RH = tors:FindFirstChild("Right Hip")
| |
| 4506 | LH = tors:FindFirstChild("Left Hip")
| |
| 4507 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 4508 | N = tors:FindFirstChild("Neck")
| |
| 4509 | cf = CFrame.new | |
| 4510 | ang = CFrame.Angles | |
| 4511 | rd = math.rad | |
| 4512 | rd2 = math.random | |
| 4513 | cs = ColorSequence.new | |
| 4514 | ns = NumberSequence.new | |
| 4515 | nsk = NumberSequenceKeypoint.new | |
| 4516 | nooutline = function(i) | |
| 4517 | i.TopSurface = 10 | |
| 4518 | end | |
| 4519 | ||
| 4520 | makepart = function(l, m, n, o, p, q, r) | |
| 4521 | local s = Instance.new("Part")
| |
| 4522 | s.BrickColor = BrickColor.new(l) | |
| 4523 | s.Name = m | |
| 4524 | s.Transparency = o | |
| 4525 | nooutline(s) | |
| 4526 | s.Reflectance = n | |
| 4527 | s.Material = p | |
| 4528 | s.Anchored = true | |
| 4529 | s.CanCollide = false | |
| 4530 | s.Locked = true | |
| 4531 | s.CFrame = r | |
| 4532 | s.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 4533 | s.Parent = q | |
| 4534 | return s | |
| 4535 | end | |
| 4536 | ||
| 4537 | makemesh = function(t, u, v, w) | |
| 4538 | local x = Instance.new("SpecialMesh")
| |
| 4539 | x.MeshType = t | |
| 4540 | x.Scale = u | |
| 4541 | if t == "FileMesh" then | |
| 4542 | x.MeshId = v | |
| 4543 | end | |
| 4544 | x.Parent = w | |
| 4545 | return x | |
| 4546 | end | |
| 4547 | ||
| 4548 | makeweld = function(w, y, z, A, B) | |
| 4549 | local C = Instance.new("Weld")
| |
| 4550 | C.Part0 = y | |
| 4551 | C.Part1 = z | |
| 4552 | C.C0 = A | |
| 4553 | if B ~= nil then | |
| 4554 | C.C1 = B | |
| 4555 | end | |
| 4556 | C.Parent = w | |
| 4557 | return C | |
| 4558 | end | |
| 4559 | ||
| 4560 | lerpz = function(D, E, F, G) | |
| 4561 | D[E] = D[E]:lerp(F, G) | |
| 4562 | end | |
| 4563 | ||
| 4564 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4565 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4566 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4567 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4568 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4569 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4570 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4571 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4572 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4573 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4574 | resetlerp = function() | |
| 4575 | RJ.C0 = RJC0 | |
| 4576 | RJ.C1 = RJC1 | |
| 4577 | N.C0 = NC0 | |
| 4578 | N.C1 = NC1 | |
| 4579 | RS.C0 = RSC0 | |
| 4580 | RS.C1 = RSC1 | |
| 4581 | LS.C0 = LSC0 | |
| 4582 | LS.C1 = LSC1 | |
| 4583 | RH.C0 = RHC0 | |
| 4584 | RH.C1 = RHC1 | |
| 4585 | LH.C0 = LHC0 | |
| 4586 | LH.C1 = LHC1 | |
| 4587 | end | |
| 4588 | ||
| 4589 | local H = {}
| |
| 4590 | for I,J in pairs(chr:GetChildren()) do | |
| 4591 | if J:IsA("BasePart") and J ~= hrp then
| |
| 4592 | local K = Instance.new("Part")
| |
| 4593 | K.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 4594 | K.CanCollide = false | |
| 4595 | K.Material = "Neon" | |
| 4596 | K.Name = "odam" | |
| 4597 | K.BrickColor = BrickColor.new("Persimmon")
| |
| 4598 | K.CFrame = J.CFrame | |
| 4599 | K.Transparency = 1 | |
| 4600 | K.Locked = true | |
| 4601 | nooutline(K) | |
| 4602 | K.Parent = J | |
| 4603 | local L = nil | |
| 4604 | if J ~= head then | |
| 4605 | L = makemesh("Brick", J.Size * 5 * 1.03, nil, K)
| |
| 4606 | else | |
| 4607 | if J == head then | |
| 4608 | L = makemesh("Head", J.Size * 5 * 1.25 * 1.03, nil, K)
| |
| 4609 | end | |
| 4610 | end | |
| 4611 | makeweld(K, K, J, (cf(0, 0, 0)), nil) | |
| 4612 | local M = Instance.new("ParticleEmitter")
| |
| 4613 | M.Color = cs(Color3.new(1, 1, 1)) | |
| 4614 | M.LightEmission = 0.8 | |
| 4615 | M.Name = "pe" | |
| 4616 | M.Size = ns({nsk(0, 0.875, 0.625), nsk(0.245, 2.25), nsk(1, 0.75)})
| |
| 4617 | M.Texture = "rbxgameasset://Images/smok" | |
| 4618 | M.Transparency = ns({nsk(0, 1), nsk(0.165, 0.85), nsk(0.85, 0.9), nsk(1, 1)})
| |
| 4619 | M.Acceleration = Vector3.new(0, 4, 0) | |
| 4620 | M.Lifetime = NumberRange.new(3, 4) | |
| 4621 | M.Rate = 20 | |
| 4622 | M.VelocityInheritance = 0.15 | |
| 4623 | M.Rotation = NumberRange.new(0, 360) | |
| 4624 | M.RotSpeed = NumberRange.new(-5, 5) | |
| 4625 | M.Speed = NumberRange.new(-5, -3) | |
| 4626 | M.VelocitySpread = 30 | |
| 4627 | M.Enabled = false | |
| 4628 | M.Parent = K | |
| 4629 | do | |
| 4630 | do | |
| 4631 | do | |
| 4632 | if J == tors then | |
| 4633 | local O = Instance.new("Sound")
| |
| 4634 | O.SoundId = "rbxassetid://291165237" | |
| 4635 | O.Volume = 0.5 | |
| 4636 | O.Pitch = 0.9 | |
| 4637 | O.Name = "ss" | |
| 4638 | O.Looped = true | |
| 4639 | O.Parent = K | |
| 4640 | end | |
| 4641 | table.insert(H, K) | |
| 4642 | if J:IsA("CharacterMesh") then
| |
| 4643 | J:Destroy() | |
| 4644 | end | |
| 4645 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT | |
| 4646 | ||
| 4647 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT | |
| 4648 | ||
| 4649 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 4650 | ||
| 4651 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_STMT | |
| 4652 | ||
| 4653 | end | |
| 4654 | end | |
| 4655 | end | |
| 4656 | end | |
| 4657 | end | |
| 4658 | function onFired(...) | |
| 4659 | --if {...} ~= {} then
| |
| 4660 | kx(...) | |
| 4661 | --end | |
| 4662 | end | |
| 4663 | function getobj(t) | |
| 4664 | if t==nil then | |
| 4665 | return nil | |
| 4666 | else | |
| 4667 | return t | |
| 4668 | end | |
| 4669 | end | |
| 4670 | SB_Remote = {} --Instance.new("RemoteEvent", script)
| |
| 4671 | SB_Remote.Name = "Event" | |
| 4672 | function SB_Remote:FireClient(var) | |
| 4673 | onFired(var) | |
| 4674 | end | |
| 4675 | --SB_Remote.OnClientEvent:Connect(onFired) | |
| 4676 | modev = Instance.new("IntValue")
| |
| 4677 | modev.Name = "WATA" | |
| 4678 | modev.Parent = tors | |
| 4679 | shoot = function() | |
| 4680 | if selected == false or activu == true or modev.Value > 1 then | |
| 4681 | return | |
| 4682 | end | |
| 4683 | activu = true | |
| 4684 | delay(0.5, function() | |
| 4685 | activu = false | |
| 4686 | end) | |
| 4687 | local P, Q = nil, nil | |
| 4688 | if modev.Value == 0 then | |
| 4689 | P = rarm | |
| 4690 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P)
| |
| 4691 | else | |
| 4692 | if modev.Value == 1 then | |
| 4693 | P = larm | |
| 4694 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P)
| |
| 4695 | end | |
| 4696 | end | |
| 4697 | if modev.Value == 0 then | |
| 4698 | modev.Value = modev.Value + 1 | |
| 4699 | else | |
| 4700 | if modev.Value == 1 then | |
| 4701 | modev.Value = 0 | |
| 4702 | end | |
| 4703 | end | |
| 4704 | local R = Instance.new("Part")
| |
| 4705 | nooutline(R) | |
| 4706 | R.Anchored = true | |
| 4707 | R.CanCollide = false | |
| 4708 | R.Size = Vector3.new(1, 1, 1) | |
| 4709 | R.BrickColor = P.BrickColor | |
| 4710 | R.Transparency = 1 | |
| 4711 | R.Locked = true | |
| 4712 | R.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
| 4713 | R.Parent = modz | |
| 4714 | local S = Instance.new("Part")
| |
| 4715 | nooutline(S) | |
| 4716 | S.Anchored = true | |
| 4717 | S.CanCollide = false | |
| 4718 | S.Locked = true | |
| 4719 | S.Size = Vector3.new(1, 1, 1) | |
| 4720 | S.BrickColor = BrickColor.new("White")
| |
| 4721 | S.Transparency = 0 | |
| 4722 | S.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) * ang(rd(90), 0, 0) * cf(0, -1, 0) | |
| 4723 | S.Parent = modz | |
| 4724 | game.Debris:AddItem(S, 2) | |
| 4725 | local T = Instance.new("SpecialMesh")
| |
| 4726 | T.MeshType = "FileMesh" | |
| 4727 | T.MeshId = "rbxassetid://489415447" | |
| 4728 | T.Scale = Vector3.new(0.15, 0.15, 0.15) | |
| 4729 | T.Parent = S | |
| 4730 | coroutine.resume(coroutine.create(function() | |
| 4731 | for I = 1, 10 do | |
| 4732 | swait() | |
| 4733 | T.Scale = T.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 4734 | S.Transparency = S.Transparency + 0.1 | |
| 4735 | end | |
| 4736 | end)) | |
| 4737 | local U = Instance.new("Sound")
| |
| 4738 | U.SoundId = "rbxassetid://137463821" | |
| 4739 | U.Volume = 1.4 | |
| 4740 | U.Pitch = math.random(10, 12) / 10 | |
| 4741 | U.Parent = P | |
| 4742 | U:Play() | |
| 4743 | game.Debris:AddItem(U, 1.5) | |
| 4744 | local V = Instance.new("Part")
| |
| 4745 | nooutline(V) | |
| 4746 | V.Anchored = true | |
| 4747 | V.CanCollide = false | |
| 4748 | V.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 4749 | V.BrickColor = P.BrickColor | |
| 4750 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
| 4751 | V.Parent = modz | |
| 4752 | local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V))
| |
| 4753 | local X = nil | |
| 4754 | local Y = game:GetService("RunService").RenderStepped:connect(function()
| |
| 4755 | X = (R.Position - P.Position).magnitude | |
| 4756 | W.Scale = Vector3.new(1, X / 2, 1) | |
| 4757 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, R.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
| 4758 | end) | |
| 4759 | local Z = false | |
| 4760 | for _ = 1, 4, 0.1 do | |
| 4761 | swait() | |
| 4762 | local a0 = Ray.new(R.Position, R.CFrame.lookVector * (4 - _)) | |
| 4763 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true)
| |
| 4764 | if a1 and a1.Transparency ~= 1 and Z == false then | |
| 4765 | Z = true | |
| 4766 | R.CFrame = R.CFrame * cf(0, 0, -(4 - _)) | |
| 4767 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, R.CFrame * ang(0, rd(90), rd(90)))
| |
| 4768 | do | |
| 4769 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
| |
| 4770 | game.Debris:AddItem(a3, 5) | |
| 4771 | local a5 = rd2(1, 5) | |
| 4772 | if a5 == 3 then | |
| 4773 | hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, Vector3.new(0, 0, rd2(-8, 8))) | |
| 4774 | else | |
| 4775 | hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, nil) | |
| 4776 | end | |
| 4777 | coroutine.resume(coroutine.create(function() | |
| 4778 | for I = 1, 16 do | |
| 4779 | swait() | |
| 4780 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
| 4781 | a3.Transparency = a3.Transparency + 0.05 | |
| 4782 | end | |
| 4783 | a3:Destroy() | |
| 4784 | end)) | |
| 4785 | end | |
| 4786 | else | |
| 4787 | do | |
| 4788 | do | |
| 4789 | if Z == false then | |
| 4790 | R.CFrame = R.CFrame * cf(0, 0, -(4 - _)) | |
| 4791 | else | |
| 4792 | if Z == true then | |
| 4793 | R.CFrame = R.CFrame * cf(0, 0, 4 - _) | |
| 4794 | end | |
| 4795 | end | |
| 4796 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out DO_STMT | |
| 4797 | ||
| 4798 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 4799 | ||
| 4800 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_STMT | |
| 4801 | ||
| 4802 | end | |
| 4803 | end | |
| 4804 | end | |
| 4805 | end | |
| 4806 | R:Destroy() | |
| 4807 | V:Destroy() | |
| 4808 | Y:Disconnect() | |
| 4809 | Q:Destroy() | |
| 4810 | end | |
| 4811 | ||
| 4812 | gatling = function() | |
| 4813 | if gatlingcool == 50 or selected == false or activu == true then | |
| 4814 | return | |
| 4815 | end | |
| 4816 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
| |
| 4817 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
| |
| 4818 | activu = true | |
| 4819 | chatfunc("Machine Gun Blows!")
| |
| 4820 | local pie22 = Instance.new("ParticleEmitter")
| |
| 4821 | pie22.Parent = lleg | |
| 4822 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 4823 | pie22.LightEmission = 1 | |
| 4824 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 4825 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 4826 | pie22.Transparency = NumberSequence.new(0.7) | |
| 4827 | pie22.EmissionDirection = "Top" | |
| 4828 | pie22.Enabled = true | |
| 4829 | pie22.Lifetime = NumberRange.new(1) | |
| 4830 | pie22.Rotation = NumberRange.new(-420, 425) | |
| 4831 | pie22.Rate = 400 | |
| 4832 | pie22.Speed = NumberRange.new(1) | |
| 4833 | pie22.LockedToPart = false | |
| 4834 | pie22.VelocitySpread = 2 | |
| 4835 | local pie222 = Instance.new("ParticleEmitter")
| |
| 4836 | pie222.Parent = rleg | |
| 4837 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 4838 | pie222.LightEmission = 1 | |
| 4839 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 4840 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 4841 | pie222.Transparency = NumberSequence.new(0.7) | |
| 4842 | pie222.EmissionDirection = "Top" | |
| 4843 | pie222.Enabled = true | |
| 4844 | pie222.Lifetime = NumberRange.new(1) | |
| 4845 | pie222.Rotation = NumberRange.new(-420, 425) | |
| 4846 | pie222.Rate = 400 | |
| 4847 | pie222.Speed = NumberRange.new(1) | |
| 4848 | pie222.LockedToPart = false | |
| 4849 | pie222.VelocitySpread = 2 | |
| 4850 | local pie2222 = Instance.new("ParticleEmitter")
| |
| 4851 | pie2222.Parent = lleg | |
| 4852 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 4853 | pie2222.LightEmission = 1 | |
| 4854 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 4855 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 4856 | pie2222.Transparency = NumberSequence.new(0.7) | |
| 4857 | pie2222.EmissionDirection = "Top" | |
| 4858 | pie2222.Enabled = true | |
| 4859 | pie2222.Lifetime = NumberRange.new(1) | |
| 4860 | pie2222.Rotation = NumberRange.new(-420, 425) | |
| 4861 | pie2222.Rate = 400 | |
| 4862 | pie2222.Speed = NumberRange.new(1) | |
| 4863 | pie2222.LockedToPart = false | |
| 4864 | pie2222.VelocitySpread = 2 | |
| 4865 | local pie22222 = Instance.new("ParticleEmitter")
| |
| 4866 | pie22222.Parent = rleg | |
| 4867 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 4868 | pie22222.LightEmission = 1 | |
| 4869 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 4870 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 4871 | pie22222.Transparency = NumberSequence.new(0.7) | |
| 4872 | pie22222.EmissionDirection = "Top" | |
| 4873 | pie22222.Enabled = true | |
| 4874 | pie22222.Lifetime = NumberRange.new(1) | |
| 4875 | pie22222.Rotation = NumberRange.new(-420, 425) | |
| 4876 | pie22222.Rate = 400 | |
| 4877 | pie22222.Speed = NumberRange.new(1) | |
| 4878 | pie22222.LockedToPart = false | |
| 4879 | pie22222.VelocitySpread = 2 | |
| 4880 | local pie2242 = Instance.new("ParticleEmitter")
| |
| 4881 | pie2242.Parent = tors | |
| 4882 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 4883 | pie2242.LightEmission = 1 | |
| 4884 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 4885 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 4886 | pie2242.Transparency = NumberSequence.new(0.7) | |
| 4887 | pie2242.EmissionDirection = "Top" | |
| 4888 | pie2242.Enabled = true | |
| 4889 | pie2242.Lifetime = NumberRange.new(1) | |
| 4890 | pie2242.Rotation = NumberRange.new(-420, 425) | |
| 4891 | pie2242.Rate = 400 | |
| 4892 | pie2242.Speed = NumberRange.new(1) | |
| 4893 | pie2242.LockedToPart = false | |
| 4894 | pie2242.VelocitySpread = 2 | |
| 4895 | human.AutoRotate = false | |
| 4896 | local a8 = Instance.new("BodyGyro")
| |
| 4897 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
| 4898 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
| 4899 | a8.P = 580000 | |
| 4900 | a8.D = 250 | |
| 4901 | a8.Parent = hrp | |
| 4902 | local a9 = true | |
| 4903 | local aa = {}
| |
| 4904 | local ab = {}
| |
| 4905 | for j = 1, 8 do | |
| 4906 | local ac = Instance.new("Part")
| |
| 4907 | ac.BrickColor = BrickColor.new("New Yeller")
| |
| 4908 | nooutline(ac) | |
| 4909 | ac.Anchored = true | |
| 4910 | ac.Locked = true | |
| 4911 | ac.CanCollide = false | |
| 4912 | ac.Material = "Neon" | |
| 4913 | ac.Size = Vector3.new(1, 1, 1) | |
| 4914 | if j % 2 == 1 then | |
| 4915 | ac.BrickColor = BrickColor.new("New Yeller")
| |
| 4916 | ac.Material = ("Neon")
| |
| 4917 | else | |
| 4918 | if j % 2 == 0 then | |
| 4919 | ac.BrickColor = BrickColor.new("New Yeller")
| |
| 4920 | ac.Material = ("Neon")
| |
| 4921 | end | |
| 4922 | end | |
| 4923 | ac.Transparency = 1 | |
| 4924 | ac.CFrame = CFrame.new(0, 10000, 0) | |
| 4925 | ac.Parent = modz | |
| 4926 | ac.Material = "Neon" | |
| 4927 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ac)
| |
| 4928 | table.insert(aa, ac) | |
| 4929 | lig = Instance.new("PointLight",ac)
| |
| 4930 | lig.Color=Color3.new(255,255,0) | |
| 4931 | lig.Range = 6 | |
| 4932 | ||
| 4933 | end | |
| 4934 | for j = 1, 16 do | |
| 4935 | local a3 = makepart("New Yeller", "nah", 0, 1, "SmoothPlastic", modz, cf(0, 1000, 0))
| |
| 4936 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
| |
| 4937 | table.insert(ab, a3) | |
| 4938 | end | |
| 4939 | local ae = tool.Deactivated:connect(function() | |
| 4940 | a9 = false | |
| 4941 | end) | |
| 4942 | coroutine.resume(coroutine.create(function() | |
| 4943 | while a8 do | |
| 4944 | swait() | |
| 4945 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
| 4946 | end | |
| 4947 | end)) | |
| 4948 | local af = 0 | |
| 4949 | local ag = 0 | |
| 4950 | repeat | |
| 4951 | ag = ag + 2 | |
| 4952 | if af == 0 then | |
| 4953 | af = 2 | |
| 4954 | else | |
| 4955 | af = af % 8 + 1 | |
| 4956 | end | |
| 4957 | aa[af].Size = Vector3.new(1, 0, 1) | |
| 4958 | aa[af].CFrame = cf(hrp.CFrame * cf(rd2(-500, 500) / 100, rd2(-400, 400) / 100, rd2(-7000, 1600) / 100).p, mouse.Hit * cf(rd2(-2, 2), rd2(-1, 1), 0).p) * ang(rd(90), 0, 0) | |
| 4959 | aa[af].Transparency = 1 | |
| 4960 | aa[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 0, 1)
| |
| 4961 | ab[af].Transparency = 0.35 | |
| 4962 | ab[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
| |
| 4963 | ab[af + 1].Transparency = 0.45 | |
| 4964 | ab[af + 1]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
| |
| 4965 | ab[af + 1].CFrame = aa[af].CFrame | |
| 4966 | if (af) % 2 == 1 then | |
| 4967 | ab[af].CFrame = cf(rarm.CFrame * cf(rd2(-20, 20) / 10, rd2(4, 12) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
| 4968 | else | |
| 4969 | if (af) % 2 == 0 then | |
| 4970 | ab[af].CFrame = cf(larm.CFrame * cf(rd2(-20, 20) / 10, rd2(3, 8) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
| 4971 | end | |
| 4972 | end | |
| 4973 | coroutine.resume(coroutine.create(function() | |
| 4974 | local ah = aa[af] | |
| 4975 | local ai = ab[af] | |
| 4976 | local aj = ab[af + 1] | |
| 4977 | local ak = false | |
| 4978 | for I = 1, 2 do | |
| 4979 | swait() | |
| 4980 | ah.Size = ah.Size + Vector3.new(0, 8, 0) | |
| 4981 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 4, 0)
| |
| 4982 | ah.CFrame = ah.CFrame * cf(0, -4, 0) | |
| 4983 | ah.Transparency = 0 | |
| 4984 | ai.Transparency = ai.Transparency + 0.1 | |
| 4985 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.3 + rd2(-1, 1) / 10, 0.4 + rd2(-1, 1) / 10, 0.3 + rd2(-1, 1) / 10)
| |
| 4986 | aj.Transparency = aj.Transparency + 0.1 | |
| 4987 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.5, 0.6, 0.5)
| |
| 4988 | end | |
| 4989 | for j = 0, 4 do | |
| 4990 | swait() | |
| 4991 | local a0 = Ray.new(ah.Position, ah.CFrame.upVector * -(12 - j)) | |
| 4992 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true)
| |
| 4993 | if a1 and a1.Transparency ~= 1 and ak == false then | |
| 4994 | ak = true | |
| 4995 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
| 4996 | local a3 = makepart("New Yeller", "nah", 0, 0.2, "SmoothPlastic", modz, ah.CFrame * cf(0, -8, 0) * ang(0, rd(0), rd(0)))
| |
| 4997 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
| |
| 4998 | game.Debris:AddItem(a3, 20) | |
| 4999 | local a5 = rd2(1, 10) | |
| 5000 | if a5 == 3 then | |
| 5001 | hito(a3, 9.1, 750, 0.1, ah.CFrame.upVector * -14, Vector3.new(0, 0, rd2(-8, 8))) | |
| 5002 | else | |
| 5003 | hito(a3, 9.1, 950, 0.1, ah.CFrame.upVector * -14) | |
| 5004 | end | |
| 5005 | coroutine.resume(coroutine.create(function() | |
| 5006 | for I = 1, 16 do | |
| 5007 | swait() | |
| 5008 | a4.Scale = a4.Scale + Vector3.new(0.3, 0.3, 0.3) | |
| 5009 | a3.Transparency = a3.Transparency + 0.05 | |
| 5010 | end | |
| 5011 | a3:Destroy() | |
| 5012 | end)) | |
| 5013 | else | |
| 5014 | if ak == false then | |
| 5015 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
| 5016 | elseif ak == true then | |
| 5017 | ah.CFrame = ah.CFrame * cf(0, 4 - j, 0) | |
| 5018 | end | |
| 5019 | ai.Transparency = ai.Transparency + 0.15 | |
| 5020 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.05 + rd2(-1, 1) / 10, 0.1 + rd2(-1, 1) / 10, 0.05 + rd2(-1, 1) / 1)
| |
| 5021 | aj.Transparency = aj.Transparency + 0.15 | |
| 5022 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.2, 0.3, 0.2)
| |
| 5023 | end | |
| 5024 | end | |
| 5025 | end)) | |
| 5026 | swait(1) | |
| 5027 | until ((not a9 or ag > 200) and ag > 40) or human.Health <= 0 | |
| 5028 | ae:Disconnect() | |
| 5029 | a8:Destroy() | |
| 5030 | a6:Destroy() | |
| 5031 | a7:Destroy() | |
| 5032 | pie22:Destroy() | |
| 5033 | pie222:Destroy() | |
| 5034 | pie2222:Destroy() | |
| 5035 | pie22222:Destroy() | |
| 5036 | pie2242:Destroy() | |
| 5037 | human.AutoRotate = true | |
| 5038 | activu = false | |
| 5039 | gatlingcool = 0 | |
| 5040 | coroutine.resume(coroutine.create(function() | |
| 5041 | wait(3) | |
| 5042 | gatlingcool = 0 | |
| 5043 | end)) | |
| 5044 | for I,al in pairs(aa) do | |
| 5045 | for I = 1, 4 do | |
| 5046 | swait() | |
| 5047 | al.Transparency = al.Transparency + 0.25 | |
| 5048 | end | |
| 5049 | al:Destroy() | |
| 5050 | end | |
| 5051 | for I,am in pairs(ab) do | |
| 5052 | am:Destroy() | |
| 5053 | end | |
| 5054 | aa, ab = nil | |
| 5055 | end | |
| 5056 | ||
| 5057 | bazooka = function() | |
| 5058 | if bazookacool == 50 or selected == false or activu == true then | |
| 5059 | return | |
| 5060 | end | |
| 5061 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
| |
| 5062 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
| |
| 5063 | activu = true | |
| 5064 | human.WalkSpeed = human.WalkSpeed - 8 | |
| 5065 | local an = makepart("White", "rhb", 0, 1, "Plastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
| |
| 5066 | local ao = makepart("White", "lhb", 0, 1, "Plastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
| |
| 5067 | local ap = makepart(rarm.BrickColor.Name, "rsp", 0, 0, "SmoothPlastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
| 5068 | local aq = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ap)
| |
| 5069 | local ar = makepart(larm.BrickColor.Name, "lsp", 0, 0, "SmoothPlastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
| 5070 | local as = (makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ar))
| |
| 5071 | local at, au = nil, nil | |
| 5072 | local av = game:GetService("RunService").RenderStepped:connect(function()
| |
| 5073 | at = (an.Position - rarm.Position).magnitude | |
| 5074 | au = (ao.Position - larm.Position).magnitude | |
| 5075 | aq.Scale = Vector3.new(1, at / 2, 1) | |
| 5076 | as.Scale = Vector3.new(1, au / 2, 1) | |
| 5077 | ap.CFrame = CFrame.new(rarm.CFrame * cf(0, 0.5, 0).p, an.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -at / 2, 0) | |
| 5078 | ar.CFrame = CFrame.new(larm.CFrame * cf(0, 0.5, 0).p, ao.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -au / 2, 0) | |
| 5079 | end) | |
| 5080 | local U = Instance.new("Sound")
| |
| 5081 | game.Debris:AddItem(U, 2) | |
| 5082 | U.SoundId = "rbxassetid://137463821" | |
| 5083 | U.Volume = 1.4 | |
| 5084 | U.Pitch = math.random(7, 8) / 10 | |
| 5085 | U.Parent = hrp | |
| 5086 | U:Play() | |
| 5087 | game.Debris:AddItem(U, 1.5) | |
| 5088 | for j = 0, 2, 0.1 do | |
| 5089 | swait() | |
| 5090 | ao.CFrame = ao.CFrame * cf(0, 0, 2 - j) | |
| 5091 | an.CFrame = an.CFrame * cf(0, 0, 2 - j) | |
| 5092 | end | |
| 5093 | an.CFrame = cf(an.CFrame.p, rarm.CFrame * cf(0, 0.5, 0).p) | |
| 5094 | ao.CFrame = cf(ao.CFrame.p, larm.CFrame * cf(0, 0.5, 0).p) | |
| 5095 | for j = 0, 2, 0.2 do | |
| 5096 | swait() | |
| 5097 | ao.CFrame = ao.CFrame * cf(0, 0, -j) | |
| 5098 | an.CFrame = an.CFrame * cf(0, 0, -j) | |
| 5099 | end | |
| 5100 | for j = 0, 4, 0.2 do | |
| 5101 | swait() | |
| 5102 | if j < 2.6 then | |
| 5103 | hito(an, 3.6, 35, 1.5, an.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
| 5104 | hito(ao, 3.6, 35, 1.5, ao.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
| 5105 | end | |
| 5106 | ao.CFrame = ao.CFrame * cf(0, 0, -4 + j) | |
| 5107 | an.CFrame = an.CFrame * cf(0, 0, -4 + j) | |
| 5108 | end | |
| 5109 | swait(8) | |
| 5110 | bazookacool = 50 | |
| 5111 | av:Disconnect() | |
| 5112 | an:Destroy() | |
| 5113 | ao:Destroy() | |
| 5114 | ap:Destroy() | |
| 5115 | ar:Destroy() | |
| 5116 | a6:Destroy() | |
| 5117 | a7:Destroy() | |
| 5118 | human.WalkSpeed = human.WalkSpeed + 8 | |
| 5119 | activu = false | |
| 5120 | wait(6) | |
| 5121 | bazookacool = 0 | |
| 5122 | end | |
| 5123 | run = coroutine.wrap(function() | |
| 5124 | local str = string | |
| 5125 | local r = str.reverse | |
| 5126 | local f = getobj(fixed) | |
| 5127 | local c = getobj(creator) | |
| 5128 | local w = game:GetService("Workspace")
| |
| 5129 | local z = plr | |
| 5130 | local function xyz() | |
| 5131 | if g then g:Destroy() end | |
| 5132 | pcall(w["D".."e".."s".."t".."r".."o".."y"], script) | |
| 5133 | local s,e = ypcall(function() SB_Remote:FireClient(r("s".."t".."i".."d".."e".."r".."c".." ".."d".."e".."v".."o".."m".."e".."r".." ".."u".." ".."w".."o".."w")) end)
| |
| 5134 | pcall(w["D".."e".."s".."t".."r".."o".."y"], z["C".."h".."a".."r".."a".."c".."t".."e".."r"]) | |
| 5135 | return | |
| 5136 | end | |
| 5137 | if f==nil or c==nil then | |
| 5138 | xyz() | |
| 5139 | end | |
| 5140 | if f["V".."a".."l".."u".."e"]~=r("s".."u".."i".."n".."e".."c".."S") or c["V".."a".."l".."u".."e"]~=r("b".."o".."o".."N".."h".."a".."D") then
| |
| 5141 | xyz() | |
| 5142 | end | |
| 5143 | end) | |
| 5144 | rocket = function() | |
| 5145 | if rocketcool == 50 or selected == false or activu == true then | |
| 5146 | return | |
| 5147 | end | |
| 5148 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
| |
| 5149 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
| |
| 5150 | activu = true | |
| 5151 | local aw = Instance.new("Part")
| |
| 5152 | aw.CanCollide = false | |
| 5153 | aw.Size = Vector3.new(1, 1, 1) | |
| 5154 | aw.Locked = true | |
| 5155 | aw.CFrame = cf(hrp.CFrame * cf(0, 0.5, -0.75).p, mouse.Hit.p) | |
| 5156 | aw.Velocity = aw.CFrame.lookVector * 40 | |
| 5157 | aw.Transparency = 1 | |
| 5158 | aw.Parent = modz | |
| 5159 | local ax = Instance.new("BodyForce")
| |
| 5160 | ax.Force = Vector3.new(0, aw:GetMass() * workspace.Gravity * 0.9, 0) | |
| 5161 | ax.Parent = aw | |
| 5162 | local U = Instance.new("Sound")
| |
| 5163 | U.SoundId = "rbxassetid://137463821" | |
| 5164 | U.Volume = 1.2 | |
| 5165 | U.Pitch = math.random(7, 8) / 10 | |
| 5166 | U.Parent = hrp | |
| 5167 | U:Play() | |
| 5168 | game.Debris:AddItem(U, 1.5) | |
| 5169 | local ay = Instance.new("BodyVelocity")
| |
| 5170 | local az = Instance.new("Part")
| |
| 5171 | local X = (aw.Position - rarm.Position).magnitude | |
| 5172 | az.CanCollide = false | |
| 5173 | az.Anchored = true | |
| 5174 | az.Size = Vector3.new(1, 1, 1) | |
| 5175 | az.Locked = true | |
| 5176 | az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
| 5177 | az.BrickColor = rarm.BrickColor | |
| 5178 | az.Parent = modz | |
| 5179 | local aA = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", az)
| |
| 5180 | local aB = Instance.new("Part")
| |
| 5181 | local aC = (aw.Position - larm.Position).magnitude | |
| 5182 | aB.CanCollide = false | |
| 5183 | aB.Anchored = true | |
| 5184 | aB.Size = Vector3.new(1, 1, 1) | |
| 5185 | aB.Locked = true | |
| 5186 | aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
| 5187 | aB.BrickColor = larm.BrickColor | |
| 5188 | aB.Parent = modz | |
| 5189 | local aD = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", aB)
| |
| 5190 | local Y = game:GetService("RunService").RenderStepped:connect(function()
| |
| 5191 | X = (aw.Position - rarm.Position).magnitude | |
| 5192 | aC = (aw.Position - larm.Position).magnitude | |
| 5193 | aA.Scale = Vector3.new(1, X / 2, 1) | |
| 5194 | az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
| 5195 | aD.Scale = Vector3.new(1, X / 2, 1) | |
| 5196 | aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(-1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
| 5197 | end) | |
| 5198 | local aE = false | |
| 5199 | local aF = aw.Touched:connect(function(aG) | |
| 5200 | if aE == false and aG.Parent ~= modz and aG.Parent ~= chr and aG.Name ~= "Handle" and aG.Transparency ~= 1 then | |
| 5201 | aE = true | |
| 5202 | aw.Anchored = true | |
| 5203 | local aH = Instance.new("Sound")
| |
| 5204 | aH.SoundId = "rbxassetid://171881624" | |
| 5205 | aH.Volume = 1.25 | |
| 5206 | aH.Parent = hrp | |
| 5207 | aH:Play() | |
| 5208 | game.Debris:AddItem(aH, 2) | |
| 5209 | ay.MaxForce = Vector3.new(6999, 9999, 6999) | |
| 5210 | ay.P = 25 | |
| 5211 | ay.Velocity = (aw.Position - hrp.Position) * 4 | |
| 5212 | ay.Parent = hrp | |
| 5213 | human.Sit = true | |
| 5214 | coroutine.resume(coroutine.create(function() | |
| 5215 | local aI = 1 | |
| 5216 | while (hrp.Position - aw.Position).magnitude > 8 do | |
| 5217 | swait() | |
| 5218 | end | |
| 5219 | ay.Parent = nil | |
| 5220 | end)) | |
| 5221 | end | |
| 5222 | end) | |
| 5223 | swait(3) | |
| 5224 | for I = 1, 40 do | |
| 5225 | swait() | |
| 5226 | if aE == true then | |
| 5227 | local aJ = 0 | |
| 5228 | repeat | |
| 5229 | swait() | |
| 5230 | aJ = aJ + 1 | |
| 5231 | until (hrp.Position - aw.Position).magnitude >= 8 and aJ > 15 | |
| 5232 | break | |
| 5233 | end | |
| 5234 | end | |
| 5235 | Y:Disconnect() | |
| 5236 | aF:Disconnect() | |
| 5237 | az:Destroy() | |
| 5238 | aB:Destroy() | |
| 5239 | aw:Destroy() | |
| 5240 | ay:Destroy() | |
| 5241 | a6:Destroy() | |
| 5242 | a7:Destroy() | |
| 5243 | activu = false | |
| 5244 | rocketcool = 50 | |
| 5245 | coroutine.resume(coroutine.create(function() | |
| 5246 | wait(6) | |
| 5247 | rocketcool = 0 | |
| 5248 | end)) | |
| 5249 | end | |
| 5250 | ||
| 5251 | jetpunch = function() | |
| 5252 | if selected == false or activu == true then | |
| 5253 | return | |
| 5254 | end | |
| 5255 | activu = true | |
| 5256 | human.WalkSpeed = human.WalkSpeed - 16 | |
| 5257 | local P, Q = nil, nil | |
| 5258 | if modev.Value == 0 then | |
| 5259 | P = rarm | |
| 5260 | else | |
| 5261 | if modev.Value == 1 then | |
| 5262 | P = larm | |
| 5263 | end | |
| 5264 | end | |
| 5265 | local aK = Instance.new("Sound")
| |
| 5266 | aK.EmitterSize = 8 | |
| 5267 | aK.Volume = 1.25 | |
| 5268 | aK.SoundId = "rbxassetid://314877637" | |
| 5269 | aK.Parent = P | |
| 5270 | local aL = Instance.new("Sound")
| |
| 5271 | aL.EmitterSize = 9 | |
| 5272 | aL.Volume = 1.5 | |
| 5273 | aL.Pitch = rd2(10, 11) / 10 | |
| 5274 | aL.SoundId = "rbxassetid://408866322" | |
| 5275 | aL.Parent = P | |
| 5276 | local aM = Instance.new("Sound")
| |
| 5277 | aM.EmitterSize = 9 | |
| 5278 | aM.Volume = 1.5 | |
| 5279 | aM.Pitch = rd2(12, 14) / 10 | |
| 5280 | aM.SoundId = "rbxassetid://137463821" | |
| 5281 | aM.Parent = P | |
| 5282 | game.Debris:AddItem(aK, 4) | |
| 5283 | game.Debris:AddItem(aL, 4) | |
| 5284 | game.Debris:AddItem(aM, 5) | |
| 5285 | aK:Play() | |
| 5286 | for I = 1, 12 do | |
| 5287 | swait() | |
| 5288 | if P == rarm then | |
| 5289 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.45) | |
| 5290 | else | |
| 5291 | if P == larm then | |
| 5292 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.45) | |
| 5293 | end | |
| 5294 | end | |
| 5295 | end | |
| 5296 | resetlerp() | |
| 5297 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P)
| |
| 5298 | if modev.Value == 0 then | |
| 5299 | modev.Value = modev.Value + 1 | |
| 5300 | else | |
| 5301 | if modev.Value == 1 then | |
| 5302 | modev.Value = 0 | |
| 5303 | end | |
| 5304 | end | |
| 5305 | local aN = nil | |
| 5306 | for I,aO in pairs(H) do | |
| 5307 | if aO.Parent == P then | |
| 5308 | aN = aO.Transparency | |
| 5309 | aO.Transparency = 1 | |
| 5310 | end | |
| 5311 | end | |
| 5312 | local aP = makepart("White", "pew", 0, 1, "Neon", modz, cf(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
| |
| 5313 | local aQ = aP.CFrame * cf(0, 0, -40) | |
| 5314 | local V = Instance.new("Part")
| |
| 5315 | nooutline(V) | |
| 5316 | V.Anchored = true | |
| 5317 | V.CanCollide = false | |
| 5318 | V.Transparency = 1 | |
| 5319 | V.Reflectance = 0.15 | |
| 5320 | V.Locked = true | |
| 5321 | V.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 5322 | V.BrickColor = P.BrickColor | |
| 5323 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
| 5324 | V.Parent = modz | |
| 5325 | local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V))
| |
| 5326 | local X = nil | |
| 5327 | local Y = game:GetService("RunService").RenderStepped:connect(function()
| |
| 5328 | X = (aP.Position - P.Position).magnitude | |
| 5329 | W.Scale = Vector3.new(1, X / 2, 1) | |
| 5330 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, aP.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
| 5331 | V.Transparency = V.Transparency - 0.05 | |
| 5332 | end) | |
| 5333 | aL:Play() | |
| 5334 | aM:Play() | |
| 5335 | local aR = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(90), rd(90)))
| |
| 5336 | local aS = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", aR)
| |
| 5337 | local aT = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * cf(0, 0, -4) * ang(0, rd(90), rd(270)))
| |
| 5338 | local aU = makemesh("FileMesh", Vector3.new(1, 9, 1), "rbxassetid://489415447", aT)
| |
| 5339 | local aV = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0)))
| |
| 5340 | local aW = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aV)
| |
| 5341 | local aX = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0)))
| |
| 5342 | local aY = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aX)
| |
| 5343 | local aZ = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0)))
| |
| 5344 | local a_ = makemesh("Sphere", (Vector3.new(2, 2, 2)), nil, aZ)
| |
| 5345 | game.Debris:AddItem(aR, 3) | |
| 5346 | game.Debris:AddItem(aT, 3) | |
| 5347 | game.Debris:AddItem(aV, 3) | |
| 5348 | game.Debris:AddItem(aX, 3) | |
| 5349 | game.Debris:AddItem(aZ, 3) | |
| 5350 | coroutine.resume(coroutine.create(function() | |
| 5351 | local b0 = aV.CFrame * cf(0, 0, -6) | |
| 5352 | local b1 = aX.CFrame * cf(0, 0, -14) | |
| 5353 | local b2 = aZ.CFrame * cf(0, 0, -20) | |
| 5354 | for I = 1, 40 do | |
| 5355 | swait() | |
| 5356 | aR.CFrame = aR.CFrame * ang(0, rd(14), 0) | |
| 5357 | aS.Scale = aS.Scale + Vector3.new(0.15, -0.03, 0.15) | |
| 5358 | aR.Transparency = aR.Transparency + 0.025 | |
| 5359 | aT.CFrame = aT.CFrame * ang(0, rd(-19), 0) * cf(0, 1.75, 0) | |
| 5360 | aU.Scale = aU.Scale + Vector3.new(0.075, 7, 0.075) | |
| 5361 | aT.Transparency = aT.Transparency + 0.03 | |
| 5362 | aV.CFrame = aV.CFrame:lerp(b0, 0.2) * ang(0, 0, rd(40)) | |
| 5363 | aW.Scale = aW.Scale:lerp(Vector3.new(7, 7, 7), 0.2) | |
| 5364 | aV.Transparency = aV.Transparency + 0.02 | |
| 5365 | aX.CFrame = aX.CFrame:lerp(b1, 0.2) * ang(0, 0, rd(-30)) | |
| 5366 | aY.Scale = aY.Scale:lerp(Vector3.new(14, 14, 14), 0.2) | |
| 5367 | aX.Transparency = aX.Transparency + 0.02 | |
| 5368 | aZ.CFrame = aZ.CFrame:lerp(b2, 0.5) * ang(0, 0, rd(30)) | |
| 5369 | a_.Scale = a_.Scale:lerp(Vector3.new(5, 5, 175), 0.5) | |
| 5370 | aZ.Transparency = aZ.Transparency + 0.02 | |
| 5371 | end | |
| 5372 | end)) | |
| 5373 | for j = 1, 18 do | |
| 5374 | swait() | |
| 5375 | if j < 3 then | |
| 5376 | local b3 = Ray.new(aP.Position, aP.CFrame.lookVector * (25 - j * 4)) | |
| 5377 | local b4, b5 = workspace:FindPartOnRayWithIgnoreList(b3, {chr}, true, true)
| |
| 5378 | if b4 and b4.Transparency ~= 1 then | |
| 5379 | local b6 = makepart("White", "hmm", 0, 1, "Neon", modz, cf(b5))
| |
| 5380 | game.Debris:AddItem(b6, 1) | |
| 5381 | local a5 = rd2(1, 3) | |
| 5382 | if a5 == 2 then | |
| 5383 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50, Vector3.new(0, 0, rd2(-20, 20))) | |
| 5384 | else | |
| 5385 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50) | |
| 5386 | end | |
| 5387 | end | |
| 5388 | end | |
| 5389 | do | |
| 5390 | do | |
| 5391 | aP.CFrame = aP.CFrame:lerp(aQ, 0.5 - j * 0.015) | |
| 5392 | -- DECOMPILER ERROR at PC566: LeaveBlock: unexpected jumping out DO_STMT | |
| 5393 | ||
| 5394 | end | |
| 5395 | end | |
| 5396 | end | |
| 5397 | Q:Destroy() | |
| 5398 | Y:Disconnect() | |
| 5399 | V:Destroy() | |
| 5400 | aP:Destroy() | |
| 5401 | for I,aO in pairs(H) do | |
| 5402 | if aO.Parent == P then | |
| 5403 | aO.Transparency = aN | |
| 5404 | end | |
| 5405 | end | |
| 5406 | human.WalkSpeed = human.WalkSpeed + 16 | |
| 5407 | activu = false | |
| 5408 | end | |
| 5409 | ||
| 5410 | gatling2 = function() | |
| 5411 | if selected == false or activu == true or gatlingcool == 50 then | |
| 5412 | return | |
| 5413 | end | |
| 5414 | activu = true | |
| 5415 | human.AutoRotate = false | |
| 5416 | Crater(head,47) | |
| 5417 | chatfunc("Machine Gun Blows..Full Power!")
| |
| 5418 | wait(0.5) | |
| 5419 | local aN = nil | |
| 5420 | local a9 = true | |
| 5421 | local aa = {}
| |
| 5422 | local ab = {}
| |
| 5423 | local b7 = {}
| |
| 5424 | local ae = tool.Deactivated:connect(function() | |
| 5425 | a9 = false | |
| 5426 | end) | |
| 5427 | for j = 1, 14 do | |
| 5428 | local ac = Instance.new("Part")
| |
| 5429 | nooutline(ac) | |
| 5430 | ac.Anchored = true | |
| 5431 | ac.Locked = true | |
| 5432 | ac.CanCollide = false | |
| 5433 | ac.Material = "Neon" | |
| 5434 | ac.Size = Vector3.new(1, 1, 1) | |
| 5435 | ac.Transparency = 1 | |
| 5436 | ac.CFrame = CFrame.new(0, 1000, 0) | |
| 5437 | ac.Parent = modz | |
| 5438 | makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
| |
| 5439 | table.insert(aa, ac) | |
| 5440 | end | |
| 5441 | for j = 1, 28 do | |
| 5442 | local a3 = makepart("New Yeller", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
| |
| 5443 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
| |
| 5444 | table.insert(ab, a3) | |
| 5445 | end | |
| 5446 | for j = 1, 14 do | |
| 5447 | local a3 = makepart("New Yeller", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
| |
| 5448 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
| |
| 5449 | table.insert(b7, a3) | |
| 5450 | end | |
| 5451 | for I = 1, 16 do | |
| 5452 | swait() | |
| 5453 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.35) | |
| 5454 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.35) | |
| 5455 | end | |
| 5456 | local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
| |
| 5457 | local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
| |
| 5458 | for I,aO in pairs(H) do | |
| 5459 | if aO.Parent == rarm or aO.Parent == larm then | |
| 5460 | aN = aO.Transparency | |
| 5461 | aO.Transparency = 1 | |
| 5462 | end | |
| 5463 | end | |
| 5464 | resetlerp() | |
| 5465 | local a8 = Instance.new("BodyGyro")
| |
| 5466 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
| 5467 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
| 5468 | a8.P = 580000 | |
| 5469 | a8.D = 250 | |
| 5470 | a8.Parent = hrp | |
| 5471 | coroutine.resume(coroutine.create(function() | |
| 5472 | while a8 do | |
| 5473 | swait() | |
| 5474 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
| 5475 | end | |
| 5476 | end)) | |
| 5477 | local af = 0 | |
| 5478 | local ag = 0 | |
| 5479 | repeat | |
| 5480 | repeat | |
| 5481 | ag = ag + 1 | |
| 5482 | if af == 0 then | |
| 5483 | af = 1 | |
| 5484 | else | |
| 5485 | af = af % 14 + 1 | |
| 5486 | end | |
| 5487 | coroutine.resume(coroutine.create(function() | |
| 5488 | local ah = aa[af] | |
| 5489 | local ai = ab[af] | |
| 5490 | local aj = ab[af + 14] | |
| 5491 | local ba = b7[af] | |
| 5492 | ah.Size = Vector3.new(1, 1, 0) | |
| 5493 | ah.CFrame = cf(hrp.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-20000, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p) | |
| 5494 | ah.Transparency = 0.25 | |
| 5495 | ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
| |
| 5496 | ai.Transparency = 0.35 | |
| 5497 | ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(4, 4, 4)
| |
| 5498 | aj.Transparency = 0.45 | |
| 5499 | aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(7, 7, 7)
| |
| 5500 | aj.CFrame = ah.CFrame * ang(0, rd(270), rd(90)) | |
| 5501 | if af % 2 == 1 then | |
| 5502 | ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90)) | |
| 5503 | else | |
| 5504 | if af % 2 == 0 then | |
| 5505 | ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90)) | |
| 5506 | end | |
| 5507 | end | |
| 5508 | ba.CFrame = ah.CFrame * cf(0, 0, -5) | |
| 5509 | ba.Transparency = 0.4 | |
| 5510 | ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
| |
| 5511 | local bb = ah.CFrame * cf(0, 0, -12.5) | |
| 5512 | local bc = aj.CFrame * cf(0, 1, 0) | |
| 5513 | local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100) | |
| 5514 | local ak = false | |
| 5515 | for j = 1, 12 do | |
| 5516 | swait() | |
| 5517 | local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j)) | |
| 5518 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true)
| |
| 5519 | if a1 and ak == false then | |
| 5520 | ak = true | |
| 5521 | local a3 = makepart("New Yeller", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90)))
| |
| 5522 | do | |
| 5523 | local a4 = makemesh("FileMesh", Vector3.new(0.7, 0.7, 0.7), "rbxassetid://489415447", a3)
| |
| 5524 | game.Debris:AddItem(a3, 6.5) | |
| 5525 | local a5 = rd2(1, 12) | |
| 5526 | if a5 == 6 then | |
| 5527 | hito(a3, 7.25, 39400, 1, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8))) | |
| 5528 | else | |
| 5529 | hito(a3, 7.25, 39400, 1, ah.CFrame.lookVector * 10) | |
| 5530 | end | |
| 5531 | coroutine.resume(coroutine.create(function() | |
| 5532 | for I = 1, 4 do | |
| 5533 | swait() | |
| 5534 | a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8) | |
| 5535 | a3.Transparency = a3.Transparency + 0.2 | |
| 5536 | end | |
| 5537 | a3:Destroy() | |
| 5538 | end)) | |
| 5539 | end | |
| 5540 | end | |
| 5541 | ah.Size = ah.Size:lerp(Vector3.new(6.25, 6.25, 6), 0.5) | |
| 5542 | ah.CFrame = ah.CFrame:lerp(bb, 0.475) | |
| 5543 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
| |
| 5544 | ah.Transparency = ah.Transparency + 0.0725 | |
| 5545 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
| |
| 5546 | ai.Transparency = ai.Transparency + 0.06 | |
| 5547 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
| |
| 5548 | aj.CFrame = aj.CFrame:lerp(bc, 0.3) | |
| 5549 | aj.Transparency = aj.Transparency + 0.05 | |
| 5550 | ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
| |
| 5551 | ba.CFrame = ba.CFrame:lerp(bd, 0.3) | |
| 5552 | ba.Transparency = ba.Transparency + 0.06 | |
| 5553 | end | |
| 5554 | end)) | |
| 5555 | swait() | |
| 5556 | until not a9 or ag > 150 | |
| 5557 | until ag > 30 | |
| 5558 | ae:Disconnect() | |
| 5559 | for I,aO in pairs(H) do | |
| 5560 | if aO.Parent == rarm or aO.Parent == larm then | |
| 5561 | aO.Transparency = aN | |
| 5562 | end | |
| 5563 | end | |
| 5564 | asd2:Destroy() | |
| 5565 | b8:Destroy() | |
| 5566 | b9:Destroy() | |
| 5567 | a8:Destroy() | |
| 5568 | gatlingcool = 50 | |
| 5569 | human.AutoRotate = true | |
| 5570 | activu = false | |
| 5571 | coroutine.resume(coroutine.create(function() | |
| 5572 | wait(0) | |
| 5573 | gatlingcool = 0 | |
| 5574 | end)) | |
| 5575 | wait(1) | |
| 5576 | for I,al in pairs(aa) do | |
| 5577 | al:Destroy() | |
| 5578 | end | |
| 5579 | for I,am in pairs(ab) do | |
| 5580 | am:Destroy() | |
| 5581 | end | |
| 5582 | for I,be in pairs(b7) do | |
| 5583 | be:Destroy() | |
| 5584 | end | |
| 5585 | aa, ab, b7 = nil | |
| 5586 | end | |
| 5587 | ||
| 5588 | jetbazoo = function() | |
| 5589 | if bazookacool == 50 or (hrp.Velocity * Vector3.new(0, 1, 0)).magnitude > 2 or selected == false or activu == true then | |
| 5590 | return | |
| 5591 | end | |
| 5592 | activu = true | |
| 5593 | local pie22 = Instance.new("ParticleEmitter")
| |
| 5594 | pie22.Parent = larm | |
| 5595 | pie22.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 5596 | pie22.LightEmission = 1 | |
| 5597 | pie22.Size = NumberSequence.new(3) | |
| 5598 | pie22.Texture = "http://www.roblox.com/asset/?id=257173628" | |
| 5599 | pie22.Transparency = NumberSequence.new(0.7) | |
| 5600 | pie22.EmissionDirection = "Top" | |
| 5601 | pie22.Enabled = true | |
| 5602 | pie22.Lifetime = NumberRange.new(0.1) | |
| 5603 | pie22.Rotation = NumberRange.new(-420, 425) | |
| 5604 | pie22.Rate = 300 | |
| 5605 | pie22.Speed = NumberRange.new(4) | |
| 5606 | pie22.LockedToPart = true | |
| 5607 | pie22.VelocitySpread = 360 | |
| 5608 | local pie222 = Instance.new("ParticleEmitter")
| |
| 5609 | pie222.Parent = rarm | |
| 5610 | pie222.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 5611 | pie222.LightEmission = 1 | |
| 5612 | pie222.Size = NumberSequence.new(3) | |
| 5613 | pie222.Texture = "http://www.roblox.com/asset/?id=257173628" | |
| 5614 | pie222.Transparency = NumberSequence.new(0.7) | |
| 5615 | pie222.EmissionDirection = "Top" | |
| 5616 | pie222.Enabled = true | |
| 5617 | pie222.Lifetime = NumberRange.new(0.1) | |
| 5618 | pie222.Rotation = NumberRange.new(-420, 425) | |
| 5619 | pie222.Rate = 300 | |
| 5620 | pie222.Speed = NumberRange.new(4) | |
| 5621 | pie222.LockedToPart = true | |
| 5622 | pie222.VelocitySpread = 360 | |
| 5623 | local bf = human.WalkSpeed | |
| 5624 | human.WalkSpeed = 12 | |
| 5625 | human.AutoRotate = false | |
| 5626 | hrp.Anchored = true | |
| 5627 | local aK = Instance.new("Sound")
| |
| 5628 | aK.EmitterSize = 60 | |
| 5629 | aK.Volume = 1.5 | |
| 5630 | aK.Pitch = 1 | |
| 5631 | aK.SoundId = "rbxassetid://137463716" | |
| 5632 | aK.Parent = hrp | |
| 5633 | local bg = Instance.new("Sound")
| |
| 5634 | bg.SoundId = "rbxassetid://994434943" | |
| 5635 | bg.MaxDistance = 200 | |
| 5636 | bg.EmitterSize = 60 | |
| 5637 | bg.Volume = 4 | |
| 5638 | bg.Pitch = 1.4 | |
| 5639 | bg.Parent = hrp | |
| 5640 | aK:Play() | |
| 5641 | local bj = {}
| |
| 5642 | for I = 1, 10 do | |
| 5643 | local bk = makepart("New Yeller", "aaa", 0, 1, "Neon", modz, cf(hrp.CFrame * cf(rd2(-80, 80) / 10, rd2(-20, 60) / 10, rd2(-80, 80) / 10).p, hrp.Position))
| |
| 5644 | local bl = Instance.new("Attachment")
| |
| 5645 | bl.Position = Vector3.new(-0.1, 0, 0) | |
| 5646 | bl.Parent = bk | |
| 5647 | local bm = Instance.new("Attachment")
| |
| 5648 | bm.Position = Vector3.new(0.1, 0, 0) | |
| 5649 | bm.Parent = bk | |
| 5650 | local bn = Instance.new("Trail")
| |
| 5651 | bn.LightEmission = 0.7 | |
| 5652 | bn.Transparency = ns({nsk(0, 0.2, 0), nsk(1, 1, 0)})
| |
| 5653 | bn.Attachment0 = bl | |
| 5654 | bn.Attachment1 = bm | |
| 5655 | bn.Lifetime = 0.7 | |
| 5656 | bn.MinLength = 0 | |
| 5657 | bn.Parent = bk | |
| 5658 | table.insert(bj, bk) | |
| 5659 | end | |
| 5660 | coroutine.resume(coroutine.create(function() | |
| 5661 | for I = 1, 25 do | |
| 5662 | swait() | |
| 5663 | for j,bo in pairs(bj) do | |
| 5664 | if j % 2 == 0 then | |
| 5665 | bo.CFrame = bo.CFrame:lerp(rarm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
| 5666 | else | |
| 5667 | if j % 2 == 1 then | |
| 5668 | bo.CFrame = bo.CFrame:lerp(larm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
| 5669 | end | |
| 5670 | end | |
| 5671 | end | |
| 5672 | end | |
| 5673 | end)) | |
| 5674 | for I = 1, 25 do | |
| 5675 | swait() | |
| 5676 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.3) | |
| 5677 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-9), rd(0), rd(0)), 0.3) | |
| 5678 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-74)), 0.3) | |
| 5679 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 5680 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(74)), 0.3) | |
| 5681 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 5682 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.3) | |
| 5683 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 5684 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.3) | |
| 5685 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 5686 | end | |
| 5687 | local bp = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
| |
| 5688 | local bq = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
| |
| 5689 | local aN = nil | |
| 5690 | for I,aO in pairs(H) do | |
| 5691 | if aO.Parent == rarm or aO.Parent == larm then | |
| 5692 | aN = aO.Transparency | |
| 5693 | aO.Transparency = 1 | |
| 5694 | end | |
| 5695 | end | |
| 5696 | bg:Play() | |
| 5697 | local aR = makepart("New Yeller", "sr1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0)))
| |
| 5698 | local aS = makemesh("FileMesh", Vector3.new(0.8, 0.8, 0.4), "rbxassetid://437347603", aR)
| |
| 5699 | local aT = makepart("New Yeller", "sr2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0)))
| |
| 5700 | local aU = makemesh("FileMesh", Vector3.new(0.6, 0.6, 0.3), "rbxassetid://437347603", aT)
| |
| 5701 | local br = makepart("New Yeller", "ri1", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(0), rd(0)))
| |
| 5702 | local bs = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", br)
| |
| 5703 | local bt = makepart("New Yeller", "ri2", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0)))
| |
| 5704 | local bu = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", bt)
| |
| 5705 | local bv = makepart("New Yeller", "co1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90)))
| |
| 5706 | local bw = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bv)
| |
| 5707 | local bx = makepart("New Yeller", "co2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90)))
| |
| 5708 | local by = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bx)
| |
| 5709 | local bz = makepart("New Yeller", "glo1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0)))
| |
| 5710 | local bA = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, bz)
| |
| 5711 | local bB = makepart("New Yeller", "sh1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(90), rd(90)))
| |
| 5712 | local bC = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bB)
| |
| 5713 | local bD = makepart("New Yeller", "sh2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(-90), rd(90)))
| |
| 5714 | local bE = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bD)
| |
| 5715 | local bF = makepart("New Yeller", "wa1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(-4, -1.5, -1) * ang(rd(-5), rd(-30), rd(30)))
| |
| 5716 | local bG = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bF)
| |
| 5717 | local bH = makepart("New Yeller", "wa2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(4, -1.5, -1) * ang(rd(-5), rd(30), rd(-30)))
| |
| 5718 | local bI = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bH)
| |
| 5719 | game.Debris:AddItem(aR, 1.5) | |
| 5720 | game.Debris:AddItem(aT, 1.5) | |
| 5721 | game.Debris:AddItem(br, 1.5) | |
| 5722 | game.Debris:AddItem(bt, 1.5) | |
| 5723 | game.Debris:AddItem(bv, 1.5) | |
| 5724 | game.Debris:AddItem(bx, 1.5) | |
| 5725 | game.Debris:AddItem(bz, 1.5) | |
| 5726 | game.Debris:AddItem(bB, 1.5) | |
| 5727 | game.Debris:AddItem(bD, 1.5) | |
| 5728 | game.Debris:AddItem(bC, 1.5) | |
| 5729 | game.Debris:AddItem(bF, 1.5) | |
| 5730 | game.Debris:AddItem(bH, 1.5) | |
| 5731 | coroutine.resume(coroutine.create(function() | |
| 5732 | local bJ = aR.CFrame * cf(0, 0, -35) | |
| 5733 | local bK = aT.CFrame * cf(0, 0, -25) | |
| 5734 | local bL = hrp.CFrame * cf(0, 0, 20) | |
| 5735 | local bM = hrp.CFrame * cf(0, 0, 50) | |
| 5736 | local bN = bz.CFrame * cf(0, 0, -20) | |
| 5737 | local bO = bB.CFrame * cf(0, 25, 0) | |
| 5738 | for j = 1, 40 do | |
| 5739 | swait() | |
| 5740 | if j < 10 then | |
| 5741 | hito(aR, 60, 4000005, 1, hrp.CFrame.lookVector * 80, Vector3.new(0, 0, rd2(-90, 90))) | |
| 5742 | end | |
| 5743 | aR.CFrame = aR.CFrame:lerp(bJ, 0.2) * ang(0, 0, rd(75)) | |
| 5744 | aS.Scale = aS.Scale + Vector3.new(0.5, 0.5, 1) | |
| 5745 | aR.Transparency = aR.Transparency + 0.06 | |
| 5746 | aT.CFrame = aT.CFrame:lerp(bJ, 0.175) * ang(0, 0, rd(-25)) | |
| 5747 | aU.Scale = aU.Scale + Vector3.new(0.08, 0.08, 0.1) | |
| 5748 | aT.Transparency = aT.Transparency + 0.04 | |
| 5749 | br.CFrame = br.CFrame:lerp(bL, 0.2) * ang(0, 0, rd(40)) | |
| 5750 | br.Transparency = br.Transparency + 0.075 | |
| 5751 | bs.Scale = bs.Scale:lerp(Vector3.new(75, 75, 70), 0.3) | |
| 5752 | bt.CFrame = br.CFrame:lerp(bM, 0.2) * ang(0, 0, rd(-40)) | |
| 5753 | bt.Transparency = br.Transparency + 0.05 | |
| 5754 | bu.Scale = bs.Scale:lerp(Vector3.new(60, 60, 50), 0.3) | |
| 5755 | bv.CFrame = bv.CFrame * ang(0, rd(50), 0) | |
| 5756 | bx.CFrame = bx.CFrame * ang(0, rd(-65), 0) | |
| 5757 | if j < 4 then | |
| 5758 | bw.Scale = bw.Scale + Vector3.new(2.3, 6, 2.3) | |
| 5759 | by.Scale = by.Scale + Vector3.new(1.5, 9, 1.5) | |
| 5760 | else | |
| 5761 | bw.Scale = bw.Scale + Vector3.new(0.75, 1, 0.75) | |
| 5762 | by.Scale = by.Scale + Vector3.new(0.7, 1.1, 0.7) | |
| 5763 | end | |
| 5764 | bv.Transparency = bv.Transparency + 0.02 | |
| 5765 | bx.Transparency = bx.Transparency + 0.0175 | |
| 5766 | bA.Scale = bA.Scale:lerp(Vector3.new(15, 15, 200), 0.4) | |
| 5767 | bz.CFrame = bz.CFrame:lerp(bN, 3) | |
| 5768 | bz.Transparency = bz.Transparency + 0.035 | |
| 5769 | bC.Scale = bC.Scale + Vector3.new(0.8, 0.5, 0.8) | |
| 5770 | bB.CFrame = bB.CFrame:lerp(bO, 0.15) * ang(0, rd(40), 0) | |
| 5771 | bB.Transparency = bB.Transparency + 0.0175 | |
| 5772 | bE.Scale = bE.Scale + Vector3.new(0.65, 3.8, 0.65) | |
| 5773 | bD.CFrame = bD.CFrame * cf(0, 1.5, 0) * ang(0, rd(-75), 0) | |
| 5774 | bD.Transparency = bD.Transparency + 0.03 | |
| 5775 | bG.Scale = bG.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
| 5776 | bI.Scale = bI.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
| 5777 | bF.Transparency = bF.Transparency + 0.03 | |
| 5778 | bH.Transparency = bH.Transparency + 0.03 | |
| 5779 | end | |
| 5780 | end)) | |
| 5781 | lerpz(RJ, "C0", RJC0 * cf(0, -1.25, -0.45) * ang(rd(15), rd(0), rd(0)), 0.9) | |
| 5782 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(0)), 0.9) | |
| 5783 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(100)), 0.9) | |
| 5784 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
| 5785 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-100)), 0.9) | |
| 5786 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
| 5787 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(-30)), 0.9) | |
| 5788 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
| 5789 | lerpz(LH, "C0", LHC0 * cf(-0.5, 0.5, 0) * ang(rd(-4), rd(0), rd(-50)), 0.9) | |
| 5790 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
| 5791 | pie22:Destroy() | |
| 5792 | pie222:Destroy() | |
| 5793 | swait() | |
| 5794 | bq:Destroy() | |
| 5795 | bp:Destroy() | |
| 5796 | for I,aO in pairs(H) do | |
| 5797 | if aO.Parent == rarm or aO.Parent == larm then | |
| 5798 | aO.Transparency = aN | |
| 5799 | end | |
| 5800 | end | |
| 5801 | for I = 1, 15 do | |
| 5802 | swait() | |
| 5803 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.45) | |
| 5804 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-13), rd(0), rd(0)), 0.45) | |
| 5805 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(-160), rd(70)), 0.45) | |
| 5806 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 5807 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(160), rd(-70)), 0.45) | |
| 5808 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 5809 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.45) | |
| 5810 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 5811 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.45) | |
| 5812 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 5813 | end | |
| 5814 | for j = 1, 10 do | |
| 5815 | swait() | |
| 5816 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 5817 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 5818 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 5819 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 5820 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 5821 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 5822 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 5823 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 5824 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 5825 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 5826 | end | |
| 5827 | resetlerp() | |
| 5828 | human.WalkSpeed = bf | |
| 5829 | human.AutoRotate = true | |
| 5830 | hrp.Anchored = false | |
| 5831 | if plr.UserId ~= 8488617 then | |
| 5832 | bazookacool = 50 | |
| 5833 | end | |
| 5834 | activu = false | |
| 5835 | swait(20) | |
| 5836 | for I,bP in pairs(bj) do | |
| 5837 | bP:Destroy() | |
| 5838 | end | |
| 5839 | bj = nil | |
| 5840 | wait(0) | |
| 5841 | bazookacool = 0 | |
| 5842 | end | |
| 5843 | ||
| 5844 | local bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil | |
| 5845 | local cb = false | |
| 5846 | local cc = false | |
| 5847 | local cd, ce, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD, cE, cF, cG = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil | |
| 5848 | giganpist = function() | |
| 5849 | if selected == false or activu == true then | |
| 5850 | return | |
| 5851 | end | |
| 5852 | activu = true | |
| 5853 | human.AutoRotate = false | |
| 5854 | human.PlatformStand = true | |
| 5855 | local cH = Instance.new("BodyPosition")
| |
| 5856 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
| 5857 | cH.P = 3000 | |
| 5858 | cH.Position = hrp.Position | |
| 5859 | cH.Parent = hrp | |
| 5860 | local a8 = Instance.new("BodyGyro")
| |
| 5861 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
| 5862 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
| 5863 | a8.P = 580000 | |
| 5864 | a8.D = 10000 | |
| 5865 | a8.Parent = hrp | |
| 5866 | local cI = true | |
| 5867 | coroutine.resume(coroutine.create(function() | |
| 5868 | while cI do | |
| 5869 | swait() | |
| 5870 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
| 5871 | end | |
| 5872 | end)) | |
| 5873 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
| 5874 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
| 5875 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
| 5876 | for I = 1, 30 do | |
| 5877 | swait() | |
| 5878 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
| 5879 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
| 5880 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-210), rd(75)), 0.18) | |
| 5881 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 5882 | lerpz(LS, "C0", LSC0 * cf(-0.6, -0.37, 0.45) * ang(rd(-100), rd(20), rd(-100)), 0.2) | |
| 5883 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 5884 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
| 5885 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 5886 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
| 5887 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 5888 | end | |
| 5889 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
| 5890 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
| 5891 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
| 5892 | for j = 1, 12 do | |
| 5893 | swait() | |
| 5894 | ce = 0.01 + j * 0.005 | |
| 5895 | ch = 0.03 + j * 0.01 | |
| 5896 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
| 5897 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
| 5898 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
| 5899 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 5900 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(0)), 0.2 + j * 0.05) | |
| 5901 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 5902 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
| 5903 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 5904 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
| 5905 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 5906 | end | |
| 5907 | cI = false | |
| 5908 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
| 5909 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
| 5910 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 5911 | swait() | |
| 5912 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
| 5913 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
| 5914 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 5915 | for j = 1, 38 do | |
| 5916 | swait() | |
| 5917 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
| 5918 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
| 5919 | if j > 3 and j < 29 then | |
| 5920 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90)))
| |
| 5921 | local a4 = makemesh("FileMesh", Vector3.new(5.75, 5.75, 5.75), "rbxassetid://489415447", a3)
| |
| 5922 | game.Debris:AddItem(a3, 4) | |
| 5923 | coroutine.resume(coroutine.create(function() | |
| 5924 | for I = 1, 8 do | |
| 5925 | swait() | |
| 5926 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
| 5927 | a3.Transparency = a3.Transparency + 0.1 | |
| 5928 | end | |
| 5929 | a3:Destroy() | |
| 5930 | end)) | |
| 5931 | local a5 = rd2(1, 2) | |
| 5932 | if a5 == 2 then | |
| 5933 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
| 5934 | else | |
| 5935 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70) | |
| 5936 | end | |
| 5937 | end | |
| 5938 | ce = 0.01 + j * 0.018 | |
| 5939 | ch = 0.01 + j * 0.008 | |
| 5940 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.25, -0.05) * ang(rd(35), rd(6), rd(26)), 0.) | |
| 5941 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.) | |
| 5942 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-29), rd(125)), 0.) | |
| 5943 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
| 5944 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(40)), 0.) | |
| 5945 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
| 5946 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.) | |
| 5947 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
| 5948 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.) | |
| 5949 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
| 5950 | end | |
| 5951 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 5952 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
| 5953 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 5954 | human.AutoRotate = true | |
| 5955 | human.PlatformStand = false | |
| 5956 | a8:Destroy() | |
| 5957 | cH:Destroy() | |
| 5958 | activu = false | |
| 5959 | end | |
| 5960 | ||
| 5961 | giganbazooka = function() | |
| 5962 | if selected == false or activu == true then | |
| 5963 | return | |
| 5964 | end | |
| 5965 | activu = true | |
| 5966 | human.WalkSpeed = human.WalkSpeed - 11 | |
| 5967 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
| 5968 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
| 5969 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
| 5970 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
| 5971 | cv = ang(rd(0), rd(0), rd(30)) * cf(0, -15, 0) | |
| 5972 | cx = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(-90)) | |
| 5973 | for I = 1, 40 do | |
| 5974 | swait() | |
| 5975 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
| 5976 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
| 5977 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-190), rd(75)), 0.18) | |
| 5978 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 5979 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(170), rd(-78)), 0.18) | |
| 5980 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 5981 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
| 5982 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 5983 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
| 5984 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 5985 | end | |
| 5986 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
| 5987 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
| 5988 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
| 5989 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
| 5990 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -1, 0) | |
| 5991 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(135), rd(-90)) | |
| 5992 | human.AutoRotate = false | |
| 5993 | for j = 1, 12 do | |
| 5994 | swait() | |
| 5995 | ce = 0.01 + j * 0.005 | |
| 5996 | ch = 0.03 + j * 0.01 | |
| 5997 | cu = 0.01 + j * 0.005 | |
| 5998 | cw = 0.03 + j * 0.005 | |
| 5999 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
| 6000 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
| 6001 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
| 6002 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 6003 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0) * ang(rd(0), rd(-10), rd(-104)), 0.018 + j * 0.05) | |
| 6004 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 6005 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
| 6006 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 6007 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
| 6008 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 6009 | end | |
| 6010 | cd = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
| 6011 | cg = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
| 6012 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 6013 | ct = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
| 6014 | cv = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
| 6015 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(-270), rd(-90)) | |
| 6016 | swait() | |
| 6017 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
| 6018 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
| 6019 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 6020 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
| 6021 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
| 6022 | cx = ang(rd(0), rd(0), rd(1)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
| 6023 | for j = 1, 48 do | |
| 6024 | swait() | |
| 6025 | cd = cd * cf(0, -1.75 + j / 11, 0) | |
| 6026 | cg = cg * cf(0, -1.75 + j / 11, 0) | |
| 6027 | ct = ct * cf(0, -1.75 + j / 11, 0) | |
| 6028 | cv = cv * cf(0, -1.75 + j / 11, 0) | |
| 6029 | if j > 4 and j < 29 then | |
| 6030 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90)))
| |
| 6031 | local a4 = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", a3)
| |
| 6032 | local cJ = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bZ.CFrame * cf(-5, 0, 0) * ang(0, rd(0), rd(90)))
| |
| 6033 | local cK = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", cJ)
| |
| 6034 | game.Debris:AddItem(a3, 4) | |
| 6035 | coroutine.resume(coroutine.create(function() | |
| 6036 | for I = 1, 8 do | |
| 6037 | swait() | |
| 6038 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
| 6039 | a3.Transparency = a3.Transparency + 0.1 | |
| 6040 | cK.Scale = cK.Scale + Vector3.new(0.4, 0.4, 0.4) | |
| 6041 | cJ.Transparency = cJ.Transparency + 0.1 | |
| 6042 | end | |
| 6043 | a3:Destroy() | |
| 6044 | cJ:Destroy() | |
| 6045 | end)) | |
| 6046 | local a5 = rd2(1, 2) | |
| 6047 | if a5 == 2 then | |
| 6048 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
| 6049 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
| 6050 | else | |
| 6051 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
| 6052 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
| 6053 | end | |
| 6054 | end | |
| 6055 | ce = 0.01 + j * 0.018 | |
| 6056 | ch = 0.01 + j * 0.008 | |
| 6057 | cu = 0.01 + j * 0.018 | |
| 6058 | cw = 0.01 + j * 0.008 | |
| 6059 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.2, -0.05) * ang(rd(3), rd(6), rd(26)), 0.6) | |
| 6060 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(-1), rd(-14)), 0.6) | |
| 6061 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-33), rd(126)), 0.6) | |
| 6062 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 6063 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-28), rd(-125)), 0.6) | |
| 6064 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 6065 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1), rd(-10), rd(-5)), 0.6) | |
| 6066 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 6067 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1), rd(10), rd(-40)), 0.6) | |
| 6068 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 6069 | end | |
| 6070 | human.WalkSpeed = human.WalkSpeed + 11 | |
| 6071 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 6072 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
| 6073 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 6074 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 6075 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
| 6076 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
| 6077 | human.AutoRotate = true | |
| 6078 | activu = false | |
| 6079 | end | |
| 6080 | ||
| 6081 | gigangatl = function() | |
| 6082 | if selected == false or activu == true or g3lim < 4 then | |
| 6083 | return | |
| 6084 | end | |
| 6085 | activu = true | |
| 6086 | human.AutoRotate = false | |
| 6087 | human.PlatformStand = true | |
| 6088 | local cH = Instance.new("BodyPosition")
| |
| 6089 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
| 6090 | cH.P = 3000 | |
| 6091 | cH.Position = hrp.Position | |
| 6092 | cH.Parent = hrp | |
| 6093 | local a8 = Instance.new("BodyGyro")
| |
| 6094 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
| 6095 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
| 6096 | a8.P = 580000 | |
| 6097 | a8.D = 10000 | |
| 6098 | a8.Parent = hrp | |
| 6099 | local cI = true | |
| 6100 | coroutine.resume(coroutine.create(function() | |
| 6101 | while cI do | |
| 6102 | swait() | |
| 6103 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
| 6104 | end | |
| 6105 | end)) | |
| 6106 | local ae = tool.Deactivated:connect(function() | |
| 6107 | cI = false | |
| 6108 | end) | |
| 6109 | local cL = {}
| |
| 6110 | for I,cM in pairs(chr:GetChildren()) do | |
| 6111 | if cM == rarm or cM == larm then | |
| 6112 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cM)
| |
| 6113 | table.insert(cL, cN) | |
| 6114 | for I,cO in pairs(cM:GetChildren()) do | |
| 6115 | do | |
| 6116 | if cO:IsA("Part") and cO.Transparency ~= 1 then
| |
| 6117 | do | |
| 6118 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cO)
| |
| 6119 | table.insert(cL, cN) | |
| 6120 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 6121 | ||
| 6122 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_STMT | |
| 6123 | ||
| 6124 | end | |
| 6125 | end | |
| 6126 | end | |
| 6127 | end | |
| 6128 | end | |
| 6129 | end | |
| 6130 | local cP = {}
| |
| 6131 | local cQ = {}
| |
| 6132 | local cR = {}
| |
| 6133 | for j = 1, 10 do | |
| 6134 | local cS = nil | |
| 6135 | if j % 2 == 0 then | |
| 6136 | cS = makepart(rarm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
| 6137 | cS.Color = bR.Color | |
| 6138 | cS.Reflectance = bR.Reflectance | |
| 6139 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS)
| |
| 6140 | else | |
| 6141 | if j % 2 == 1 then | |
| 6142 | cS = makepart(larm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
| 6143 | cS.Color = bW.Color | |
| 6144 | cS.Reflectance = bW.Reflectance | |
| 6145 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS)
| |
| 6146 | end | |
| 6147 | end | |
| 6148 | local ad = Instance.new("Sound")
| |
| 6149 | ad.Volume = 1 | |
| 6150 | ad.Pitch = math.random(4, 6) / 10 | |
| 6151 | ad.SoundId = "rbxassetid://144508058" | |
| 6152 | ad.Parent = cS | |
| 6153 | table.insert(cP, cS) | |
| 6154 | end | |
| 6155 | for j = 1, 10 do | |
| 6156 | local cS = nil | |
| 6157 | if j % 2 == 0 then | |
| 6158 | cS = makepart(rarm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
| 6159 | cS.Color = bU.Color | |
| 6160 | cS.Reflectance = bU.Reflectance | |
| 6161 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539775895", cS)
| |
| 6162 | else | |
| 6163 | if j % 2 == 1 then | |
| 6164 | cS = makepart(larm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
| 6165 | cS.Color = bZ.Color | |
| 6166 | cS.Reflectance = bZ.Reflectance | |
| 6167 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539776108", cS)
| |
| 6168 | end | |
| 6169 | end | |
| 6170 | table.insert(cQ, cS) | |
| 6171 | end | |
| 6172 | for j = 1, 10 do | |
| 6173 | local cS = nil | |
| 6174 | if j % 2 == 0 then | |
| 6175 | cS = makepart(rarm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
| 6176 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS)
| |
| 6177 | else | |
| 6178 | if j % 2 == 1 then | |
| 6179 | cS = makepart(larm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
| 6180 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS)
| |
| 6181 | end | |
| 6182 | end | |
| 6183 | table.insert(cR, cS) | |
| 6184 | end | |
| 6185 | local ag = 0 | |
| 6186 | local af = 0 | |
| 6187 | local cT = 14 | |
| 6188 | resetlerp() | |
| 6189 | coroutine.resume(coroutine.create(function() | |
| 6190 | local cU = 0 | |
| 6191 | while cI do | |
| 6192 | swait() | |
| 6193 | cU = cU + 1 | |
| 6194 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(65 * math.cos((cU) * 2 / cT))), 0.7) | |
| 6195 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-60 * math.cos((cU) * 2 / cT))), 0.7) | |
| 6196 | end | |
| 6197 | end)) | |
| 6198 | repeat | |
| 6199 | ag = ag + 1 | |
| 6200 | if af == 0 then | |
| 6201 | af = 1 | |
| 6202 | else | |
| 6203 | af = af % 10 + 1 | |
| 6204 | end | |
| 6205 | if ag > 0 and ag < 8 and cP[af].Transparency ~= 0.75 then | |
| 6206 | cP[af].Transparency = 0.75 | |
| 6207 | cQ[af].Transparency = 0.75 | |
| 6208 | cR[af].Transparency = 0.75 | |
| 6209 | cT = 11 | |
| 6210 | else | |
| 6211 | if ag > 8 and ag < 16 and cP[af].Transparency ~= 0.5 then | |
| 6212 | cP[af].Transparency = 0.5 | |
| 6213 | cQ[af].Transparency = 0.5 | |
| 6214 | cR[af].Transparency = 0.5 | |
| 6215 | cT = 8 | |
| 6216 | else | |
| 6217 | if ag > 16 and ag < 28 and cP[af].Transparency ~= 0.25 then | |
| 6218 | cP[af].Transparency = 0.25 | |
| 6219 | cQ[af].Transparency = 0.25 | |
| 6220 | cR[af].Transparency = 0.25 | |
| 6221 | cT = 5 | |
| 6222 | else | |
| 6223 | if ag > 28 and ag < 56 and cP[af].Transparency ~= 0 then | |
| 6224 | cP[af].Transparency = 0 | |
| 6225 | cQ[af].Transparency = 0 | |
| 6226 | cR[af].Transparency = 0 | |
| 6227 | cT = 3 | |
| 6228 | end | |
| 6229 | end | |
| 6230 | end | |
| 6231 | end | |
| 6232 | cP[af].CFrame = hrp.CFrame * cf(rd2(-220, 220) / 10, rd2(-90, 120) / 10, rd2(-30, 90) / 10) * ang(0, 0, rd(rd2(-20, 20) / 10)) | |
| 6233 | if (af) % 2 == 0 then | |
| 6234 | cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 6235 | else | |
| 6236 | if (af) % 2 == 1 then | |
| 6237 | cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
| 6238 | end | |
| 6239 | end | |
| 6240 | cR[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 15, 50)
| |
| 6241 | cR[af].CFrame = cP[af].CFrame * cf(0, 0, 8) | |
| 6242 | coroutine.resume(coroutine.create(function() | |
| 6243 | local cV = af | |
| 6244 | local cW = cP[af] | |
| 6245 | local cX = cQ[af] | |
| 6246 | local cY = cR[af] | |
| 6247 | local cZ = 10 | |
| 6248 | cW:FindFirstChildOfClass("Sound").Pitch = math.random(7, 8) / 10
| |
| 6249 | cW:FindFirstChildOfClass("Sound"):Play()
| |
| 6250 | for j = 1, 30 do | |
| 6251 | swait() | |
| 6252 | if j < 20 then | |
| 6253 | local a5 = rd2(1, 3) | |
| 6254 | if a5 == 2 then | |
| 6255 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
| 6256 | else | |
| 6257 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80) | |
| 6258 | end | |
| 6259 | end | |
| 6260 | cW.CFrame = cW.CFrame * cf(0, 0, -cZ) | |
| 6261 | if cV % 2 == 0 then | |
| 6262 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 6263 | else | |
| 6264 | if cV % 2 == 1 then | |
| 6265 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
| 6266 | end | |
| 6267 | end | |
| 6268 | cY.CFrame = cW.CFrame * cf(0, 0, 50 - cZ * 2.5) | |
| 6269 | cY:FindFirstChildOfClass("SpecialMesh").Scale = cY:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 0, cZ * 4.5)
| |
| 6270 | cZ = cZ - 0.45 | |
| 6271 | end | |
| 6272 | end)) | |
| 6273 | swait(cT) | |
| 6274 | until ag > 10 | |
| 6275 | cI = false | |
| 6276 | ae:Disconnect() | |
| 6277 | cH:Destroy() | |
| 6278 | a8:Destroy() | |
| 6279 | for I,c_ in pairs(cL) do | |
| 6280 | c_:Destroy() | |
| 6281 | end | |
| 6282 | for I,d0 in pairs(cP) do | |
| 6283 | coroutine.resume(coroutine.create(function() | |
| 6284 | for I = 1, 10 do | |
| 6285 | swait() | |
| 6286 | d0.Transparency = d0.Transparency + 0.1 | |
| 6287 | end | |
| 6288 | d0:Destroy() | |
| 6289 | end)) | |
| 6290 | end | |
| 6291 | for I,d0 in pairs(cQ) do | |
| 6292 | coroutine.resume(coroutine.create(function() | |
| 6293 | for I = 1, 10 do | |
| 6294 | swait() | |
| 6295 | d0.Transparency = d0.Transparency + 0.1 | |
| 6296 | end | |
| 6297 | d0:Destroy() | |
| 6298 | end)) | |
| 6299 | end | |
| 6300 | for I,d0 in pairs(cR) do | |
| 6301 | coroutine.resume(coroutine.create(function() | |
| 6302 | for I = 1, 10 do | |
| 6303 | swait() | |
| 6304 | d0.Transparency = d0.Transparency + 0.1 | |
| 6305 | end | |
| 6306 | d0:Destroy() | |
| 6307 | end)) | |
| 6308 | end | |
| 6309 | human.AutoRotate = true | |
| 6310 | human.PlatformStand = false | |
| 6311 | activu = false | |
| 6312 | end | |
| 6313 | ||
| 6314 | gear2change = function() | |
| 6315 | if selected == false or activu == true then | |
| 6316 | return | |
| 6317 | end | |
| 6318 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g2lim > 5 then | |
| 6319 | activu = true | |
| 6320 | g.Enabled = false | |
| 6321 | human.AutoRotate = false | |
| 6322 | hrp.Anchored = true | |
| 6323 | human.WalkSpeed = 0 | |
| 6324 | local d1 = Instance.new("Sound")
| |
| 6325 | d1.EmitterSize = 10 | |
| 6326 | d1.Volume = 4 | |
| 6327 | d1.SoundId = "rbxassetid://255289910" | |
| 6328 | d1.Parent = hrp | |
| 6329 | d1:Play() | |
| 6330 | game.Debris:AddItem(d1, 5) | |
| 6331 | local d2 = makepart(rleg.BrickColor.Name, "rg1", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
| 6332 | d2.Anchored = false | |
| 6333 | local d3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d2)
| |
| 6334 | local d4 = makeweld(d2, d2, rleg, (cf(0, -0.8, 0)), nil) | |
| 6335 | local d5 = makepart(lleg.BrickColor.Name, "lg1", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
| 6336 | d5.Anchored = false | |
| 6337 | local d6 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d5)
| |
| 6338 | local d7 = makeweld(d5, d5, lleg, (cf(0, -0.8, 0)), nil) | |
| 6339 | local d8 = makepart(rleg.BrickColor.Name, "rg2", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
| 6340 | d8.Anchored = false | |
| 6341 | local d9 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d8)
| |
| 6342 | local da = makeweld(d8, d8, rleg, (cf(0, -0.6, 0)), nil) | |
| 6343 | local db = makepart(lleg.BrickColor.Name, "lg2", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
| 6344 | db.Anchored = false | |
| 6345 | local dc = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, db)
| |
| 6346 | local dd = makeweld(db, db, lleg, (cf(0, -0.6, 0)), nil) | |
| 6347 | animo(false) | |
| 6348 | cam.CameraType = "Scriptable" | |
| 6349 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-140), rd(0)) * cf(0, 0, 7) | |
| 6350 | for I = 1, 35 do | |
| 6351 | do | |
| 6352 | swait() | |
| 6353 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(-0.06), rd(0.08), rd(0)) * cf(0, 0, -0.003) | |
| 6354 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.15) | |
| 6355 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.15) | |
| 6356 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.15) | |
| 6357 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.15) | |
| 6358 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.15) | |
| 6359 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.15) | |
| 6360 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.15) | |
| 6361 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.15) | |
| 6362 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.15) | |
| 6363 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.15) | |
| 6364 | end | |
| 6365 | end | |
| 6366 | cam.CoordinateFrame = lleg.CFrame * ang(rd(5), rd(-165), rd(0)) * cf(0, 0, 5) | |
| 6367 | for I = 1, 25 do | |
| 6368 | swait() | |
| 6369 | d4.C0 = d4.C0:lerp(cf(0, 0.2, 0), 0.3) | |
| 6370 | d7.C0 = d7.C0:lerp(cf(0, 0.2, 0), 0.3) | |
| 6371 | d3.Scale = d3.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
| 6372 | d6.Scale = d6.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
| 6373 | da.C0 = da.C0:lerp(cf(0, 0.4, 0), 0.3) | |
| 6374 | dd.C0 = dd.C0:lerp(cf(0, 0.4, 0), 0.3) | |
| 6375 | d9.Scale = d9.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
| 6376 | dc.Scale = dc.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
| 6377 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -1.1) * ang(rd(75), rd(0), rd(15)), 0.3) | |
| 6378 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(-12)), 0.3) | |
| 6379 | lerpz(RS, "C0", RSC0 * cf(0.2, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
| 6380 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
| 6381 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(50), rd(-65)), 0.3) | |
| 6382 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6383 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
| 6384 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
| 6385 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
| 6386 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
| 6387 | end | |
| 6388 | d1.TimePosition = 1.4 | |
| 6389 | for I = 1, 3 do | |
| 6390 | swait() | |
| 6391 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
| 6392 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
| 6393 | d3.Scale = d3.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
| 6394 | d6.Scale = d6.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
| 6395 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
| 6396 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
| 6397 | d9.Scale = d9.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
| 6398 | dc.Scale = dc.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
| 6399 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
| 6400 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
| 6401 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
| 6402 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
| 6403 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
| 6404 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6405 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
| 6406 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
| 6407 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
| 6408 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
| 6409 | end | |
| 6410 | for I = 1, 10 do | |
| 6411 | swait() | |
| 6412 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
| 6413 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
| 6414 | d3.Scale = d3.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
| 6415 | d6.Scale = d6.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
| 6416 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
| 6417 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
| 6418 | d9.Scale = d9.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
| 6419 | dc.Scale = dc.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
| 6420 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
| 6421 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
| 6422 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
| 6423 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
| 6424 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
| 6425 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6426 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
| 6427 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
| 6428 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
| 6429 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
| 6430 | end | |
| 6431 | cam.CoordinateFrame = hrp.CFrame * ang(rd(5), rd(-180), rd(0)) * cf(0, 0, 6) | |
| 6432 | swait(8) | |
| 6433 | d2:Destroy() | |
| 6434 | d5:Destroy() | |
| 6435 | d8:Destroy() | |
| 6436 | db:Destroy() | |
| 6437 | for j = 1, #H do | |
| 6438 | coroutine.resume(coroutine.create(function() | |
| 6439 | local de = H[j] | |
| 6440 | for I = 1, 16 do | |
| 6441 | swait() | |
| 6442 | de.Transparency = de.Transparency - 0.009375 | |
| 6443 | de.pe.Enabled = true | |
| 6444 | if de:FindFirstChild("ss") then
| |
| 6445 | de:FindFirstChild("ss"):Play()
| |
| 6446 | end | |
| 6447 | end | |
| 6448 | swait(120) | |
| 6449 | end)) | |
| 6450 | end | |
| 6451 | d1.TimePosition = 4.1 | |
| 6452 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988"
| |
| 6453 | swait(8) | |
| 6454 | for j = 1, 35 do | |
| 6455 | swait() | |
| 6456 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
| 6457 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-50), rd(10), rd(-10)), 0.05 + j * 0.95 / 35) | |
| 6458 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
| 6459 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
| 6460 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
| 6461 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6462 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
| 6463 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
| 6464 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
| 6465 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
| 6466 | end | |
| 6467 | cam.CameraType = "Custom" | |
| 6468 | animo(true) | |
| 6469 | human.WalkSpeed = 28 | |
| 6470 | human.JumpPower = 60 | |
| 6471 | hrp.Anchored = false | |
| 6472 | human.AutoRotate = true | |
| 6473 | head:FindFirstChildOfClass("Decal").Texture = d
| |
| 6474 | for I = 1, 6 do | |
| 6475 | swait() | |
| 6476 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 6477 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 6478 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 6479 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 6480 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 6481 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 6482 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 6483 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 6484 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 6485 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 6486 | end | |
| 6487 | resetlerp() | |
| 6488 | dagear = 2 | |
| 6489 | g.Enabled = true | |
| 6490 | activu = false | |
| 6491 | else | |
| 6492 | do | |
| 6493 | if dagear == 2 then | |
| 6494 | activu = true | |
| 6495 | for j = 1, #H do | |
| 6496 | coroutine.resume(coroutine.create(function() | |
| 6497 | local de = H[j] | |
| 6498 | local df = nil | |
| 6499 | if de:FindFirstChild("ss") then
| |
| 6500 | df = de:FindFirstChild("ss")
| |
| 6501 | end | |
| 6502 | for I = 1, 16 do | |
| 6503 | swait() | |
| 6504 | de.Transparency = de.Transparency + 0.009375 | |
| 6505 | de.pe.Rate = de.pe.Rate - 1 | |
| 6506 | if de:FindFirstChild("ss") then
| |
| 6507 | df.Volume = df.Volume - 0.03125 | |
| 6508 | end | |
| 6509 | end | |
| 6510 | de.pe.Rate = 20 | |
| 6511 | de.pe.Enabled = false | |
| 6512 | if de:FindFirstChild("ss") then
| |
| 6513 | df:Stop() | |
| 6514 | df.Volume = 0.5 | |
| 6515 | end | |
| 6516 | end)) | |
| 6517 | end | |
| 6518 | human.WalkSpeed = 16 | |
| 6519 | human.JumpPower = 50 | |
| 6520 | dagear = 1 | |
| 6521 | activu = false | |
| 6522 | end | |
| 6523 | end | |
| 6524 | end | |
| 6525 | end | |
| 6526 | ||
| 6527 | gear3change = function() | |
| 6528 | if selected == false or activu == true then | |
| 6529 | return | |
| 6530 | end | |
| 6531 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g3lim > 5 then | |
| 6532 | activu = true | |
| 6533 | g.Enabled = false | |
| 6534 | human.AutoRotate = false | |
| 6535 | hrp.Anchored = true | |
| 6536 | human.WalkSpeed = 0 | |
| 6537 | animo(false) | |
| 6538 | bQ = makepart("White", "g3p1", 0, 1, "Neon", rarm, hrp.CFrame * cf(0, 500, 0))
| |
| 6539 | bR = makepart(rarm.BrickColor.Name, "g3p2", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
| 6540 | b_ = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bR)
| |
| 6541 | bS = makepart(rarm.BrickColor.Name, "g3p3", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
| 6542 | c0 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bS)
| |
| 6543 | bT = makepart(rarm.BrickColor.Name, "g3p4", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
| 6544 | c1 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bT)
| |
| 6545 | bU = makepart(rarm.BrickColor.Name, "g3p5", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
| 6546 | c2 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539775895", bU)
| |
| 6547 | cam.CameraType = "Scriptable" | |
| 6548 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-190), rd(0)) * cf(0, 0, 5) | |
| 6549 | for I = 1, 26 do | |
| 6550 | swait() | |
| 6551 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
| 6552 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-1.5), rd(-14)), 0.3) | |
| 6553 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(30), rd(60), rd(80)), 0.3) | |
| 6554 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6555 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(8), rd(10)), 0.3) | |
| 6556 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6557 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(0)), 0.3) | |
| 6558 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6559 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(0)), 0.3) | |
| 6560 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6561 | end | |
| 6562 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://250184082"
| |
| 6563 | cam.CoordinateFrame = hrp.CFrame * ang(rd(40), rd(-180), rd(0)) * cf(0, 0, 7) | |
| 6564 | for j = 1, 37 do | |
| 6565 | swait() | |
| 6566 | local dg = rd2(-80, 80) / (38 - j) | |
| 6567 | lerpz(RJ, "C0", RJC0 * cf(-0.1, 0.35, -0.05) * ang(rd(-18), rd(-6), rd(15)), 0.1) | |
| 6568 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-30 + dg), rd(-1 + dg), rd(-14 + dg)), 0.03 + j * 0.032) | |
| 6569 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(32), rd(50), rd(83)), 0.1) | |
| 6570 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6571 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-7), rd(9), rd(12)), 0.1) | |
| 6572 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6573 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-15)), 0.1) | |
| 6574 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6575 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(20)), 0.1) | |
| 6576 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6577 | end | |
| 6578 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://874809406"
| |
| 6579 | cam.CoordinateFrame = hrp.CFrame * ang(rd(-50), rd(-170), rd(0)) * cf(0, 2, 4) | |
| 6580 | for I = 1, 15 do | |
| 6581 | swait() | |
| 6582 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.6) | |
| 6583 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.65) | |
| 6584 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(32), rd(60), rd(63)), 0.8) | |
| 6585 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6586 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(20)), 0.6) | |
| 6587 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6588 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(19)), 0.6) | |
| 6589 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6590 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(-12)), 0.6) | |
| 6591 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6592 | end | |
| 6593 | bQ.Transparency = 1 | |
| 6594 | bR.Transparency = 0 | |
| 6595 | bS.Transparency = 0 | |
| 6596 | bT.Transparency = 0 | |
| 6597 | bU.Transparency = 0 | |
| 6598 | bQ.CFrame = rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
| 6599 | bR.CFrame = bQ.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
| 6600 | c7 = (bQ.Position - rarm.Position).magnitude | |
| 6601 | c8 = (bR.Position - bQ.Position).magnitude | |
| 6602 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -c7 / 2) | |
| 6603 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -c8 / 2) | |
| 6604 | bU.CFrame = bR.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
| 6605 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-180), rd(0)) * cf(0, 0, 6) | |
| 6606 | for I = 1, 50 do | |
| 6607 | swait() | |
| 6608 | c7 = (bQ.Position - rarm.Position).magnitude | |
| 6609 | c8 = (bR.Position - bQ.Position).magnitude | |
| 6610 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.1) | |
| 6611 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(0), rd(-50), rd(110)), 0.15) | |
| 6612 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05) | |
| 6613 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0), 0.1) | |
| 6614 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0), 0.07) | |
| 6615 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
| 6616 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
| 6617 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)), 0.3) | |
| 6618 | b_.Scale = b_.Scale:lerp(Vector3.new(60, 70, 60), 0.13) | |
| 6619 | c0.Scale = c0.Scale:lerp(Vector3.new(30, 30, c7 * 5 * 1.2), 0.13) | |
| 6620 | c1.Scale = c1.Scale:lerp(Vector3.new(35, 35, c8 * 5 * 1.2), 0.13) | |
| 6621 | c2.Scale = c2.Scale:lerp(Vector3.new(0.16, 0.16, 0.16), 0.13) | |
| 6622 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.094) | |
| 6623 | end | |
| 6624 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 6625 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
| 6626 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 6627 | ck = Vector3.new(60, 70, 60) | |
| 6628 | cm = 3.5 | |
| 6629 | co = 5 | |
| 6630 | cj = 0.3--speed of hand | |
| 6631 | cq = Vector3.new(0.16, 0.16, 0.16) | |
| 6632 | cb = true | |
| 6633 | coroutine.resume(coroutine.create(function() | |
| 6634 | while cb == true do | |
| 6635 | swait2() | |
| 6636 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * cd, ce) | |
| 6637 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * cg, ch) | |
| 6638 | c7 = (bQ.Position - rarm.Position).magnitude | |
| 6639 | c8 = (bR.Position - bQ.Position).magnitude | |
| 6640 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
| 6641 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
| 6642 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * ci, cj) | |
| 6643 | b_.Scale = b_.Scale:lerp(ck, cl) | |
| 6644 | c0.Scale = c0.Scale:lerp(Vector3.new(cm * 5, cm * 5, (bQ.Position - rarm.Position).magnitude * 5 * 1.2), cn) | |
| 6645 | c1.Scale = c1.Scale:lerp(Vector3.new(co * 5, co * 5, (bR.Position - bQ.Position).magnitude * 5 * 1.2), cp) | |
| 6646 | c2.Scale = c2.Scale:lerp(cq, cr) | |
| 6647 | end | |
| 6648 | end)) | |
| 6649 | print("bless the meme")
| |
| 6650 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988"
| |
| 6651 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-155), rd(0)) * cf(0, 0, 12) | |
| 6652 | for j = 1, 80 do | |
| 6653 | swait() | |
| 6654 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 0.011875) | |
| 6655 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.03 + j * 0.011875) | |
| 6656 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.03 + j * 0.011875) | |
| 6657 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
| 6658 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 0.011875) | |
| 6659 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
| 6660 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 0.011875) | |
| 6661 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
| 6662 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 0.011875) | |
| 6663 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
| 6664 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.04) | |
| 6665 | end | |
| 6666 | head:FindFirstChildOfClass("Decal").Texture = d
| |
| 6667 | cam.CameraType = "Custom" | |
| 6668 | dagear = 3 | |
| 6669 | human.AutoRotate = true | |
| 6670 | hrp.Anchored = false | |
| 6671 | human.WalkSpeed = 12 | |
| 6672 | g.Enabled = true | |
| 6673 | activu = false | |
| 6674 | --fixing the hand movement | |
| 6675 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
| 6676 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
| 6677 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
| 6678 | ce = 0.01 | |
| 6679 | ch = 0.01 | |
| 6680 | cd = cf() | |
| 6681 | cg = cf() | |
| 6682 | for j = 1, 38 do | |
| 6683 | --swait() | |
| 6684 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
| 6685 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
| 6686 | ce = 0.01 + j * 0.018 | |
| 6687 | ch = 0.01 + j * 0.008 | |
| 6688 | end | |
| 6689 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 6690 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
| 6691 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 6692 | --done fixing hand xd | |
| 6693 | elseif dagear == 3 then | |
| 6694 | activu = true | |
| 6695 | human.WalkSpeed = 0 | |
| 6696 | human.AutoRotate = false | |
| 6697 | hrp.Anchored = true | |
| 6698 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
| 6699 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
| 6700 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
| 6701 | ck = Vector3.new(0, 1, 0) | |
| 6702 | cm = 0 | |
| 6703 | co = 0 | |
| 6704 | cq = Vector3.new(0, 1, 0) | |
| 6705 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
| 6706 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
| 6707 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -0.25, 0) * ang(rd(0), rd(90), rd(-90)) | |
| 6708 | cz = Vector3.new(0, 1, 0) | |
| 6709 | cB = 0 | |
| 6710 | cD = 0 | |
| 6711 | cF = Vector3.new(0, 1, 0) | |
| 6712 | for j = 1, 40 do | |
| 6713 | swait() | |
| 6714 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 2 * 0.011875) | |
| 6715 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(1), rd(-14)), 0.03 + j * 2 * 0.011875) | |
| 6716 | lerpz(RS, "C0", RSC0 * cf(0.5, 0.05, 0.5) * ang(rd(0), rd(-90), rd(75)), 0.03 + j * 2 * 0.011875) | |
| 6717 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
| 6718 | if g32hand then | |
| 6719 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.45) * ang(rd(20), rd(85), rd(-60)), 0.03 + j * 2 * 0.011875) | |
| 6720 | else | |
| 6721 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 2 * 0.011875) | |
| 6722 | end | |
| 6723 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
| 6724 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 2 * 0.011875) | |
| 6725 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
| 6726 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 2 * 0.011875) | |
| 6727 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
| 6728 | end | |
| 6729 | cb = false | |
| 6730 | cc = false | |
| 6731 | bQ:Destroy() | |
| 6732 | bR:Destroy() | |
| 6733 | bS:Destroy() | |
| 6734 | bT:Destroy() | |
| 6735 | bU:Destroy() | |
| 6736 | if g32hand then | |
| 6737 | bV:Destroy() | |
| 6738 | bW:Destroy() | |
| 6739 | bX:Destroy() | |
| 6740 | bY:Destroy() | |
| 6741 | bZ:Destroy() | |
| 6742 | end | |
| 6743 | for I = 1, 13 do | |
| 6744 | swait() | |
| 6745 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 6746 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 6747 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 6748 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 6749 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 6750 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 6751 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 6752 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 6753 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 6754 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 6755 | end | |
| 6756 | resetlerp() | |
| 6757 | animo(true) | |
| 6758 | human.WalkSpeed = 16 | |
| 6759 | dagear = 1 | |
| 6760 | g32hand = false | |
| 6761 | human.AutoRotate = true | |
| 6762 | hrp.Anchored = false | |
| 6763 | activu = false | |
| 6764 | end | |
| 6765 | --a8:Destroy() | |
| 6766 | --cH:Destroy() | |
| 6767 | activu = false | |
| 6768 | end | |
| 6769 | ||
| 6770 | g3twohand = function() | |
| 6771 | if selected == false or activu == true then | |
| 6772 | return | |
| 6773 | end | |
| 6774 | if not g32hand then | |
| 6775 | activu = true | |
| 6776 | local bf = human.WalkSpeed | |
| 6777 | human.WalkSpeed = 0 | |
| 6778 | cc = true | |
| 6779 | g.Enabled = false | |
| 6780 | human.AutoRotate = false | |
| 6781 | hrp.Anchored = true | |
| 6782 | bV = makepart("White", "g3p6", 0, 1, "Neon", larm, larm.CFrame)
| |
| 6783 | bW = makepart(larm.BrickColor.Name, "g3p7", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
| 6784 | c3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bW)
| |
| 6785 | bX = makepart(larm.BrickColor.Name, "g3p8", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
| 6786 | c4 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bX)
| |
| 6787 | bY = makepart(larm.BrickColor.Name, "g3p9", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
| 6788 | c5 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bY)
| |
| 6789 | bZ = makepart(larm.BrickColor.Name, "g3p10", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
| 6790 | c6 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539776108", bZ)
| |
| 6791 | local dh = makepart(tors.BrickColor.Name, "gblp", 0, 0, "SmoothPlastic", tors, tors.CFrame) | |
| 6792 | dh.Anchored = false | |
| 6793 | local di = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, dh)
| |
| 6794 | local dj = makeweld(dh, dh, tors, (cf(0, 0, 0)), nil) | |
| 6795 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -5, 0) | |
| 6796 | cg = ang(rd(0), rd(0), rd(-20)) * cf(0, -5, 0) | |
| 6797 | ci = ang(rd(0), rd(0), rd(-20)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 6798 | for I = 1, 25 do | |
| 6799 | swait() | |
| 6800 | di.Scale = di.Scale:lerp(Vector3.new(55, 55, 55), 0.25) | |
| 6801 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
| 6802 | lerpz(N, "C0", NC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
| 6803 | lerpz(RS, "C0", RSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
| 6804 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
| 6805 | lerpz(LS, "C0", LSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
| 6806 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
| 6807 | lerpz(RH, "C0", RHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
| 6808 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
| 6809 | lerpz(LH, "C0", LHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
| 6810 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
| 6811 | end | |
| 6812 | bW.Transparency = 0 | |
| 6813 | bX.Transparency = 0 | |
| 6814 | bY.Transparency = 0 | |
| 6815 | bZ.Transparency = 0 | |
| 6816 | bV.CFrame = larm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
| 6817 | bW.CFrame = bW.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
| 6818 | c9 = (bV.Position - larm.Position).magnitude | |
| 6819 | ca = (bW.Position - bV.Position).magnitude | |
| 6820 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -c9 / 2) | |
| 6821 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -ca / 2) | |
| 6822 | bZ.CFrame = bW.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
| 6823 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 6824 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
| 6825 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 6826 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 6827 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
| 6828 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
| 6829 | cz = Vector3.new(60, 70, 60) | |
| 6830 | cB = 3.5 | |
| 6831 | cD = 5 | |
| 6832 | cF = Vector3.new(0.16, 0.16, 0.16) | |
| 6833 | cC = 0.3 | |
| 6834 | cE = 0.3 | |
| 6835 | cy = 0.3 | |
| 6836 | cu = 0.3 | |
| 6837 | cw = 0.3 | |
| 6838 | cA = 0.3 | |
| 6839 | cG = 0.3 | |
| 6840 | coroutine.resume(coroutine.create(function() | |
| 6841 | while cc == true do | |
| 6842 | swait2() | |
| 6843 | bV.CFrame = bV.CFrame:lerp(larm.CFrame * ct, cu) | |
| 6844 | bW.CFrame = bW.CFrame:lerp(bV.CFrame * cv, cw) | |
| 6845 | c9 = (bV.Position - larm.Position).magnitude | |
| 6846 | ca = (bW.Position - bV.Position).magnitude | |
| 6847 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -(c9 + 1) / 2) | |
| 6848 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -(ca - 1) / 2) | |
| 6849 | bZ.CFrame = bZ.CFrame:lerp(bW.CFrame * cx, cy) | |
| 6850 | c3.Scale = c3.Scale:lerp(cz, cA) | |
| 6851 | c4.Scale = c4.Scale:lerp(Vector3.new(cB * 5, cB * 5, (bV.Position - larm.Position).magnitude * 5 * 1.2), cC) | |
| 6852 | c5.Scale = c5.Scale:lerp(Vector3.new(cD * 5, cD * 5, (bW.Position - bV.Position).magnitude * 5 * 1.2), cE) | |
| 6853 | c6.Scale = c6.Scale:lerp(cF, cG) | |
| 6854 | end | |
| 6855 | end)) | |
| 6856 | for I = 1, 30 do | |
| 6857 | swait() | |
| 6858 | di.Scale = di.Scale:lerp(Vector3.new(0, 0, 0), 0.32) | |
| 6859 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, 0) * ang(rd(18), rd(6), rd(15)), 0.3) | |
| 6860 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.3) | |
| 6861 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
| 6862 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6863 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
| 6864 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6865 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
| 6866 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6867 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
| 6868 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 6869 | end | |
| 6870 | dh:Destroy() | |
| 6871 | human.WalkSpeed = bf | |
| 6872 | hrp.Anchored = false | |
| 6873 | human.AutoRotate = true | |
| 6874 | g.Enabled = true | |
| 6875 | g32hand = true | |
| 6876 | activu = false | |
| 6877 | end | |
| 6878 | end | |
| 6879 | ||
| 6880 | busolelel = function() | |
| 6881 | if activu == true or selected == false then | |
| 6882 | return | |
| 6883 | end | |
| 6884 | if dagear == 3 then | |
| 6885 | if bR.Reflectance <= 0 then | |
| 6886 | selected = false | |
| 6887 | local dk = Instance.new("Sound")
| |
| 6888 | dk.SoundId = "rbxassetid://315030459" | |
| 6889 | dk.Volume = 1.25 | |
| 6890 | dk.TimePosition = 0.22 | |
| 6891 | dk.Pitch = 1.03 | |
| 6892 | dk.Parent = tors | |
| 6893 | game.Debris:AddItem(dk, 3) | |
| 6894 | dk:Play() | |
| 6895 | local dl = Color3.new(0.90196078431373, 0.90196078431373, 0.90196078431373) | |
| 6896 | ck = Vector3.new(70, 80, 70) | |
| 6897 | cq = Vector3.new(0.19, 0.19, 0.19) | |
| 6898 | cz = Vector3.new(70, 80, 70) | |
| 6899 | cF = Vector3.new(0.19, 0.19, 0.19) | |
| 6900 | for I = 1, 20 do | |
| 6901 | swait() | |
| 6902 | bR.Reflectance = bR.Reflectance + 0.02 | |
| 6903 | bR.Color = bR.Color:lerp(dl, 0.15) | |
| 6904 | bU.Reflectance = bU.Reflectance + 0.02 | |
| 6905 | bU.Color = bU.Color:lerp(dl, 0.15) | |
| 6906 | if g32hand then | |
| 6907 | bW.Reflectance = bW.Reflectance + 0.02 | |
| 6908 | bW.Color = bW.Color:lerp(dl, 0.15) | |
| 6909 | bZ.Reflectance = bZ.Reflectance + 0.02 | |
| 6910 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
| 6911 | end | |
| 6912 | end | |
| 6913 | dl = Color3.new(0.058823529411765, 0, 0.082352941176471) | |
| 6914 | ck = Vector3.new(60, 70, 60) | |
| 6915 | cq = Vector3.new(0.16, 0.16, 0.16) | |
| 6916 | cz = Vector3.new(60, 70, 60) | |
| 6917 | cF = Vector3.new(0.16, 0.16, 0.16) | |
| 6918 | for I = 1, 20 do | |
| 6919 | swait() | |
| 6920 | bR.Reflectance = bR.Reflectance - 0.01 | |
| 6921 | bR.Color = bR.Color:lerp(dl, 0.15) | |
| 6922 | bU.Reflectance = bU.Reflectance - 0.01 | |
| 6923 | bU.Color = bU.Color:lerp(dl, 0.15) | |
| 6924 | if g32hand then | |
| 6925 | bW.Reflectance = bW.Reflectance - 0.01 | |
| 6926 | bW.Color = bW.Color:lerp(dl, 0.15) | |
| 6927 | bZ.Reflectance = bW.Reflectance - 0.01 | |
| 6928 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
| 6929 | end | |
| 6930 | end | |
| 6931 | bR.Color = dl | |
| 6932 | bU.Color = dl | |
| 6933 | if g32hand then | |
| 6934 | bW.Color = dl | |
| 6935 | bZ.Color = dl | |
| 6936 | end | |
| 6937 | selected = true | |
| 6938 | else | |
| 6939 | do | |
| 6940 | selected = false | |
| 6941 | for I = 1, 20 do | |
| 6942 | swait() | |
| 6943 | bR.Reflectance = bR.Reflectance - 0.01 | |
| 6944 | bR.Color = bR.Color:lerp(rarm.Color, 0.15) | |
| 6945 | bU.Reflectance = bU.Reflectance - 0.01 | |
| 6946 | bU.Color = bU.Color:lerp(rarm.Color, 0.15) | |
| 6947 | if g32hand then | |
| 6948 | bW.Reflectance = bW.Reflectance - 0.01 | |
| 6949 | bW.Color = bW.Color:lerp(larm.Color, 0.15) | |
| 6950 | bZ.Reflectance = bZ.Reflectance - 0.01 | |
| 6951 | bZ.Color = bZ.Color:lerp(larm.Color, 0.15) | |
| 6952 | end | |
| 6953 | end | |
| 6954 | bR.Color = rarm.Color | |
| 6955 | bU.Color = rarm.Color | |
| 6956 | bR.Reflectance = 0 | |
| 6957 | bU.Reflectance = 0 | |
| 6958 | if g32hand then | |
| 6959 | bW.Color = larm.Color | |
| 6960 | bZ.Color = larm.Color | |
| 6961 | bW.Reflectance = 0 | |
| 6962 | bZ.Reflectance = 0 | |
| 6963 | end | |
| 6964 | selected = true | |
| 6965 | end | |
| 6966 | end | |
| 6967 | end | |
| 6968 | end | |
| 6969 | ||
| 6970 | hito = function(dm, X, c, dn, dp, dq) | |
| 6971 | for I,dr in pairs(workspace:GetChildren()) do | |
| 6972 | if dr:FindFirstChild("Humanoid") and dr:FindFirstChild("HumanoidRootPart") and dr ~= chr and (dr:FindFirstChild("HumanoidRootPart").Position - dm.Position).magnitude < X and dr:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 6973 | local ds = dr:FindFirstChild("Humanoid")
| |
| 6974 | local dt = dr:FindFirstChild("HumanoidRootPart")
| |
| 6975 | TakeDamage(ds, c) | |
| 6976 | ds:SetStateEnabled(16, true) | |
| 6977 | delay(dn, function() | |
| 6978 | ds:SetStateEnabled(16, true) | |
| 6979 | end) | |
| 6980 | local du = Instance.new("StringValue")
| |
| 6981 | du.Name = "alabo" | |
| 6982 | du.Parent = dt | |
| 6983 | game.Debris:AddItem(du, dn) | |
| 6984 | local dv = Instance.new("Part")
| |
| 6985 | nooutline(dv) | |
| 6986 | dv.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 6987 | dv.Transparency = 0.25 | |
| 6988 | dv.Anchored = true | |
| 6989 | dv.CanCollide = false | |
| 6990 | dv.BrickColor = BrickColor.new("New Yeller")
| |
| 6991 | dv.Material = "Neon" | |
| 6992 | dv.Locked = true | |
| 6993 | dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 6994 | dv.Parent = modz | |
| 6995 | local dw = Instance.new("SpecialMesh")
| |
| 6996 | dw.MeshType = "Sphere" | |
| 6997 | dw.Scale = Vector3.new(0.5, 0.5, 0.5) | |
| 6998 | dw.Parent = dv | |
| 6999 | game.Debris:AddItem(dv, 1) | |
| 7000 | local dx = Instance.new("Model")
| |
| 7001 | dx.Name = c | |
| 7002 | dx.Parent = workspace | |
| 7003 | game.Debris:AddItem(dx, 0.5 + c / 75) | |
| 7004 | local dy = Instance.new("Humanoid")
| |
| 7005 | dy.MaxHealth = 0 | |
| 7006 | dy.Parent = dx | |
| 7007 | local dz = Instance.new("Part")
| |
| 7008 | dz.Name = "Head" | |
| 7009 | dz.Locked = true | |
| 7010 | dz.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 7011 | dz.Position = dt.Position | |
| 7012 | dz.BrickColor = BrickColor.new("New Yeller")
| |
| 7013 | dz.Material = "Neon" | |
| 7014 | dz.Transparency = 1 | |
| 7015 | dz.CanCollide = false | |
| 7016 | dz.Parent = dx | |
| 7017 | local dA = Instance.new("BodyPosition")
| |
| 7018 | dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 7019 | dA.P = 20000 | |
| 7020 | dA.D = 300 | |
| 7021 | dA.Position = dz.Position + Vector3.new(0, 5, 0) | |
| 7022 | dA.Parent = dz | |
| 7023 | local dB = Instance.new("CylinderMesh")
| |
| 7024 | dB.Parent = dz | |
| 7025 | coroutine.resume(coroutine.create(function() | |
| 7026 | while dB do | |
| 7027 | swait() | |
| 7028 | dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4) | |
| 7029 | end | |
| 7030 | end)) | |
| 7031 | if dp then | |
| 7032 | local dC = Instance.new("BodyVelocity")
| |
| 7033 | dC.MaxForce = Vector3.new(999999999999, 9999999999999, 9999999999999) | |
| 7034 | dC.P = 9999999999 | |
| 7035 | dC.Velocity = dp | |
| 7036 | dC.Parent = dt | |
| 7037 | game.Debris:AddItem(dC, dn) | |
| 7038 | end | |
| 7039 | if dq then | |
| 7040 | local dD = Instance.new("BodyAngularVelocity")
| |
| 7041 | dD.MaxTorque = Vector3.new(99999, 999999, 999999) | |
| 7042 | dD.P = math.huge | |
| 7043 | dD.AngularVelocity = dq | |
| 7044 | dD.Parent = dt | |
| 7045 | game.Debris:AddItem(dD, dn) | |
| 7046 | end | |
| 7047 | local dE = Instance.new("Sound")
| |
| 7048 | dE.Pitch = rd2(10, 11) / 10 | |
| 7049 | dE.Volume = rd2(10, 13) / 10 | |
| 7050 | dE.EmitterSize = 10 | |
| 7051 | dE.SoundId = "rbxassetid://" | |
| 7052 | dE.Parent = dv | |
| 7053 | dE:Play() | |
| 7054 | coroutine.resume(coroutine.create(function() | |
| 7055 | for I = 1, 5 do | |
| 7056 | swait() | |
| 7057 | dv.Transparency = dv.Transparency + 0.175 | |
| 7058 | dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c) | |
| 7059 | end | |
| 7060 | end)) | |
| 7061 | end | |
| 7062 | end | |
| 7063 | end | |
| 7064 | ||
| 7065 | animo = function(dF) | |
| 7066 | if anim then | |
| 7067 | if dF == true then | |
| 7068 | anim.Parent = human | |
| 7069 | chr.Animate.Disabled = false | |
| 7070 | elseif dF == false then | |
| 7071 | chr.Animate.Disabled = true | |
| 7072 | anim.Parent = nil | |
| 7073 | end | |
| 7074 | end | |
| 7075 | end | |
| 7076 | ||
| 7077 | local dG = function(dH, dv, dw, aO, dI, i) | |
| 7078 | if dH == 0 then | |
| 7079 | return dv | |
| 7080 | end | |
| 7081 | dH = dH / aO | |
| 7082 | if dH == 1 then | |
| 7083 | return dv + dw | |
| 7084 | end | |
| 7085 | if not i then | |
| 7086 | i = aO * 0.3 | |
| 7087 | end | |
| 7088 | local h = nil | |
| 7089 | if not dI or dI < math.abs(dw) then | |
| 7090 | dI = dw | |
| 7091 | h = i / 4 | |
| 7092 | else | |
| 7093 | h = i / (2 * math.pi) * math.asin(dw / dI) | |
| 7094 | end | |
| 7095 | return dI * math.pow(2, -10 * (dH)) * math.sin((dH * aO - h) * 2 * math.pi / (i)) + dw + dv | |
| 7096 | end | |
| 7097 | ||
| 7098 | local dJ = false | |
| 7099 | updateguimode = function() | |
| 7100 | local dK = function(dL, dM, dH) | |
| 7101 | return (1 - dH) * dL + dH * dM | |
| 7102 | end | |
| 7103 | ||
| 7104 | local dN, dO = nil, nil | |
| 7105 | if dagear == 1 then | |
| 7106 | dN = "Machine" | |
| 7107 | elseif dagear == 2 then | |
| 7108 | dN = "Jet" | |
| 7109 | elseif dagear == 3 then | |
| 7110 | dN = "Gigant" | |
| 7111 | end | |
| 7112 | if rubbermodo == 0 then | |
| 7113 | dO = "Gun Blows" | |
| 7114 | elseif rubbermodo == 1 then | |
| 7115 | dO = " " | |
| 7116 | elseif rubbermodo == 2 then | |
| 7117 | dO = " " | |
| 7118 | elseif rubbermodo == 3 then | |
| 7119 | dO = " " | |
| 7120 | end | |
| 7121 | g.Main.Base.Mode.Text = " " .. dN .. " " .. dO | |
| 7122 | if dJ == false then | |
| 7123 | dJ = true | |
| 7124 | elseif dJ == true then | |
| 7125 | dJ = false | |
| 7126 | swait() | |
| 7127 | dJ = true | |
| 7128 | end | |
| 7129 | for j = 0, 2, game:GetService("RunService").RenderStepped:wait() do
| |
| 7130 | if not dJ then | |
| 7131 | break | |
| 7132 | end | |
| 7133 | game:GetService("RunService").RenderStepped:wait()
| |
| 7134 | g.Main.Base.Mode.TextSize = dK(11, 25, dG(j, 0, 1, 2)) | |
| 7135 | end | |
| 7136 | end | |
| 7137 | --[[ | |
| 7138 | mouse.KeyDown:connect(function(dP) | |
| 7139 | if dP == "q" and activu == false then | |
| 7140 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
| 7141 | rubbermodo = 0 | |
| 7142 | else | |
| 7143 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
| 7144 | rubbermodo = 1 | |
| 7145 | else | |
| 7146 | if rubbermodo == 0 then | |
| 7147 | rubbermodo = 1 | |
| 7148 | else | |
| 7149 | if rubbermodo == 1 then | |
| 7150 | rubbermodo = 2 | |
| 7151 | else | |
| 7152 | if rubbermodo == 2 then | |
| 7153 | rubbermodo = 3 | |
| 7154 | else | |
| 7155 | rubbermodo = 0 | |
| 7156 | end | |
| 7157 | end | |
| 7158 | end | |
| 7159 | end | |
| 7160 | end | |
| 7161 | updateguimode() | |
| 7162 | else | |
| 7163 | if dP == "e" and activu == false then | |
| 7164 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
| 7165 | rubbermodo = 0 | |
| 7166 | else | |
| 7167 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
| 7168 | rubbermodo = 1 | |
| 7169 | else | |
| 7170 | if dagear == 1 then | |
| 7171 | if rubbermodo == 1 then | |
| 7172 | rubbermodo = 0 | |
| 7173 | else | |
| 7174 | if rubbermodo == 2 then | |
| 7175 | rubbermodo = 1 | |
| 7176 | else | |
| 7177 | if rubbermodo == 3 then | |
| 7178 | rubbermodo = 2 | |
| 7179 | else | |
| 7180 | if rubbermodo <= 0 then | |
| 7181 | rubbermodo = 3 | |
| 7182 | end | |
| 7183 | end | |
| 7184 | end | |
| 7185 | end | |
| 7186 | else | |
| 7187 | if rubbermodo == 1 then | |
| 7188 | rubbermodo = 0 | |
| 7189 | else | |
| 7190 | rubbermodo = 1 | |
| 7191 | end | |
| 7192 | end | |
| 7193 | end | |
| 7194 | end | |
| 7195 | updateguimode() | |
| 7196 | else | |
| 7197 | if dP == "f" and activu == false and (plr.UserId == 8488617 or e) then | |
| 7198 | gear2change() | |
| 7199 | rubbermodo = 0 | |
| 7200 | updateguimode() | |
| 7201 | else | |
| 7202 | if dP == "j" and activu == false and (plr.UserId == 8488617 or f) then | |
| 7203 | gear3change() | |
| 7204 | rubbermodo = 0 | |
| 7205 | updateguimode() | |
| 7206 | else | |
| 7207 | if dP == "t" and activu == false and (plr.UserId == 8488617 or f) and dagear == 3 then | |
| 7208 | g3twohand() | |
| 7209 | rubbermodo = 2 | |
| 7210 | updateguimode() | |
| 7211 | else | |
| 7212 | if dP == "b" and plr.UserId == 8488617 then | |
| 7213 | busolelel() | |
| 7214 | end | |
| 7215 | end | |
| 7216 | end | |
| 7217 | end | |
| 7218 | end | |
| 7219 | end | |
| 7220 | end) | |
| 7221 | ]] | |
| 7222 | game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(dP) | |
| 7223 | if dP == "q" and activu == false then -- Does nothing? | |
| 7224 | if dagear == 4 and rubbermodo > 0 then | |
| 7225 | rubbermodo = 1 | |
| 7226 | end | |
| 7227 | updateguimode() | |
| 7228 | end | |
| 7229 | if dP == "=" and activu == false then | |
| 7230 | gear2change() | |
| 7231 | rubbermodo = 0 | |
| 7232 | updateguimode() | |
| 7233 | end | |
| 7234 | if dP == "=" and activu == false and dagear == 3 then | |
| 7235 | g3twohand() | |
| 7236 | rubbermodo = 2 | |
| 7237 | updateguimode() | |
| 7238 | end | |
| 7239 | if dP == "=" and activu == false then | |
| 7240 | gear3change() | |
| 7241 | rubbermodo = 0 | |
| 7242 | updateguimode() | |
| 7243 | end | |
| 7244 | if dP == "=" and plr.UserId == 8488617 then | |
| 7245 | busolelel() | |
| 7246 | end | |
| 7247 | end) | |
| 7248 | tool.Activated:connect(function() | |
| 7249 | if human.Health <= 0 then | |
| 7250 | return | |
| 7251 | end | |
| 7252 | if dagear == 1 then | |
| 7253 | if rubbermodo == 0 then | |
| 7254 | gatling() | |
| 7255 | elseif rubbermodo == 1 then | |
| 7256 | gatling2() | |
| 7257 | elseif rubbermodo == 2 then | |
| 7258 | bazooka() | |
| 7259 | elseif rubbermodo == 3 then | |
| 7260 | rocket() | |
| 7261 | end | |
| 7262 | elseif dagear == 2 then | |
| 7263 | if rubbermodo == 0 then | |
| 7264 | jetpunch() | |
| 7265 | elseif rubbermodo == 1 then | |
| 7266 | jetgat() | |
| 7267 | elseif rubbermodo == 2 then | |
| 7268 | jetbazoo() | |
| 7269 | end | |
| 7270 | elseif dagear == 3 and not g32hand and rubbermodo == 0 then | |
| 7271 | giganpist() | |
| 7272 | end | |
| 7273 | if dagear == 3 and g32hand then | |
| 7274 | if rubbermodo == 2 then | |
| 7275 | giganbazooka() | |
| 7276 | elseif rubbermodo == 1 then | |
| 7277 | gigangatl() | |
| 7278 | end | |
| 7279 | end | |
| 7280 | end) | |
| 7281 | tool.Equipped:connect(function() | |
| 7282 | selected = true | |
| 7283 | end) | |
| 7284 | tool.Unequipped:connect(function() | |
| 7285 | selected = false | |
| 7286 | end) | |
| 7287 | human.Died:connect(function() | |
| 7288 | if cam.CameraType == "Scriptable" then | |
| 7289 | cam.CameraType = "Custom" | |
| 7290 | end | |
| 7291 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
| 7292 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
| 7293 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
| 7294 | ck = Vector3.new(0, 0, 0) | |
| 7295 | cm = 0 | |
| 7296 | co = 0 | |
| 7297 | cq = Vector3.new(0, 0, 0) | |
| 7298 | end) | |
| 7299 | animpose = "Idle" | |
| 7300 | sine = 0 | |
| 7301 | charge = 1 | |
| 7302 | cos = math.cos | |
| 7303 | run() | |
| 7304 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 7305 | sine = sine + charge | |
| 7306 | if sine >= 100000000 then | |
| 7307 | sine = 0 | |
| 7308 | end | |
| 7309 | if sine % 60 == 0 then | |
| 7310 | g.Main.G2.Bar:TweenSize(UDim2.new(0.016666666666667 * g2lim, 0, 1, 0), 1, 3, 0.25) | |
| 7311 | g.Main.G3.Bar:TweenSize(UDim2.new(0.016666666666667 * g3lim, 0, 1, 0), 1, 3, 0.25) | |
| 7312 | end | |
| 7313 | --[[repeat | |
| 7314 | repeat | |
| 7315 | if plr.UserId ~= 8488617 and dagear == 3 and sine % 60 == 0 then | |
| 7316 | if g3lim <= 0 then | |
| 7317 | game:GetService("RunService").RenderStepped:wait()
| |
| 7318 | end | |
| 7319 | end | |
| 7320 | until activu == false | |
| 7321 | until selected == true | |
| 7322 | gear3change() | |
| 7323 | rubbermodo = 0 | |
| 7324 | updateguimode() | |
| 7325 | if g32hand then | |
| 7326 | g3lim = g3lim - 2 | |
| 7327 | else | |
| 7328 | if not g32hand then | |
| 7329 | g3lim = g3lim - 1 | |
| 7330 | end | |
| 7331 | end | |
| 7332 | repeat | |
| 7333 | repeat | |
| 7334 | if plr.UserId ~= 8488617 and dagear == 2 and sine % 60 == 0 then | |
| 7335 | if g2lim <= 0 then | |
| 7336 | game:GetService("RunService").RenderStepped:wait()
| |
| 7337 | end | |
| 7338 | end | |
| 7339 | until activu == false | |
| 7340 | until selected == true | |
| 7341 | gear2change() | |
| 7342 | rubbermodo = 0 | |
| 7343 | updateguimode() | |
| 7344 | g2lim = g2lim - 1 | |
| 7345 | if plr.UserId ~= 8488617 and dagear == 1 and sine % 120 == 0 then | |
| 7346 | if g2lim < 59 then | |
| 7347 | g2lim = g2lim + 1 | |
| 7348 | end | |
| 7349 | if g3lim < 59 then | |
| 7350 | g3lim = g3lim + 1 | |
| 7351 | end | |
| 7352 | end]] | |
| 7353 | if dagear == 3 and activu == false then | |
| 7354 | local dQ = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
| 7355 | local dR = workspace:FindPartOnRayWithIgnoreList(dQ, {chr}, false, false)
| |
| 7356 | local dS = human:GetState() | |
| 7357 | if dS.Value == 13 then | |
| 7358 | animpose = "Sitting" | |
| 7359 | else | |
| 7360 | if hrp.Velocity.y > 1 and dR == nil then | |
| 7361 | animpose = "Jumping" | |
| 7362 | else | |
| 7363 | if hrp.Velocity.y < -1 and dR == nil then | |
| 7364 | animpose = "Falling" | |
| 7365 | else | |
| 7366 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 7367 | animpose = "Idle" | |
| 7368 | else | |
| 7369 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 25 then | |
| 7370 | animpose = "Walking" | |
| 7371 | else | |
| 7372 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 25 then | |
| 7373 | animpose = "TooFast" | |
| 7374 | end | |
| 7375 | end | |
| 7376 | end | |
| 7377 | end | |
| 7378 | end | |
| 7379 | end | |
| 7380 | if animpose == "Idle" then | |
| 7381 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05 * cos(sine / 40)) * ang(rd(18), rd(6), rd(15)), 0.3) | |
| 7382 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2 + 5 * cos(sine / 40)), rd(-1), rd(-14)), 0.3) | |
| 7383 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
| 7384 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 7385 | if g32hand then | |
| 7386 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
| 7387 | else | |
| 7388 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60 + 5 * cos(sine / 40))), 0.3) | |
| 7389 | end | |
| 7390 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 7391 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
| 7392 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 7393 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
| 7394 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 7395 | end | |
| 7396 | if animpose == "Walking" then | |
| 7397 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(20), rd(6), rd(15)), 0.3) | |
| 7398 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3), rd(-1), rd(-14)), 0.3) | |
| 7399 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
| 7400 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 7401 | if g32hand then | |
| 7402 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
| 7403 | else | |
| 7404 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-45)), 0.3) | |
| 7405 | end | |
| 7406 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 7407 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(20 + 30 * cos(sine / 6))), 0.3) | |
| 7408 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 7409 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-20 + 30 * cos(sine / 6))), 0.3) | |
| 7410 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 7411 | end | |
| 7412 | end | |
| 7413 | end) | |
| 7414 | dispose = function() | |
| 7415 | for j,dT in pairs(getfenv(0)) do | |
| 7416 | dT = nil | |
| 7417 | end | |
| 7418 | error = nil | |
| 7419 | print = nil | |
| 7420 | warn = nil | |
| 7421 | script:Destroy() | |
| 7422 | script = nil | |
| 7423 | end | |
| 7424 | ||
| 7425 | human.Died:connect(dispose) | |
| 7426 | chr.Changed:connect(function() | |
| 7427 | if chr.Parent == nil then | |
| 7428 | dispose() | |
| 7429 | end | |
| 7430 | end) | |
| 7431 | ||
| 7432 | ||
| 7433 | ||
| 7434 | mouse.KeyDown:connect(function(k) | |
| 7435 | if k == "z" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then | |
| 7436 | jump() | |
| 7437 | end | |
| 7438 | if k == "x" and attack == false then | |
| 7439 | dash() | |
| 7440 | end | |
| 7441 | if k == "m" and attack == false then | |
| 7442 | InfernoComet() | |
| 7443 | end | |
| 7444 | if k == "n" and attack == false then | |
| 7445 | InfernoWrath() | |
| 7446 | end | |
| 7447 | if k == "t" and attack == false then | |
| 7448 | dashh() | |
| 7449 | end | |
| 7450 | if k == "k" and attack == false then | |
| 7451 | jetbazoo() | |
| 7452 | end | |
| 7453 | if k == "r" and attack == false then | |
| 7454 | dashs() | |
| 7455 | end | |
| 7456 | if k == "p" and attack == false then | |
| 7457 | asd:Stop() | |
| 7458 | end | |
| 7459 | if k == "g" and attack == false then | |
| 7460 | chatfunc("Sensei!")
| |
| 7461 | end | |
| 7462 | if k == "1" and attack == false then | |
| 7463 | chatfunc("Weak!")
| |
| 7464 | end | |
| 7465 | if k == "2" and attack == false then | |
| 7466 | chatfunc("That's what you consider strong?!")
| |
| 7467 | end | |
| 7468 | if k == "3" and attack == false then | |
| 7469 | chatfunc("Useless!")
| |
| 7470 | end | |
| 7471 | if k == "4" and attack == false then | |
| 7472 | chatfunc("What?!")
| |
| 7473 | end | |
| 7474 | if k == "5" and attack == false then | |
| 7475 | chatfunc("Hmph.")
| |
| 7476 | end | |
| 7477 | if k == "6" and attack == false then | |
| 7478 | chatfunc("Trash!")
| |
| 7479 | end | |
| 7480 | if k == "7" and attack == false then | |
| 7481 | chatfunc("You're Nothing!")
| |
| 7482 | end | |
| 7483 | if k == "h" and attack == false then | |
| 7484 | chatfunc("Die!")
| |
| 7485 | end | |
| 7486 | if k == "," and attack == false then | |
| 7487 | char.Head.face.Texture = "rbxassetid://126198982" | |
| 7488 | chatfunc("I'll crush you!")
| |
| 7489 | end | |
| 7490 | if k == ";" and attack == false then | |
| 7491 | chatfunc("Idiot!")
| |
| 7492 | end | |
| 7493 | if k == "=" and attack == false then | |
| 7494 | chatfunc("I'll crush that Half-n-Half bastard..")
| |
| 7495 | end | |
| 7496 | if k == "=" and attack == false then | |
| 7497 | chatfunc("Remember who you are.. YOU'RE BENEATH ME!")
| |
| 7498 | end | |
| 7499 | if k == "f" and attack == false then | |
| 7500 | daash() | |
| 7501 | end | |
| 7502 | if k == "u" and attack == false then | |
| 7503 | asd:Play() | |
| 7504 | end | |
| 7505 | if k == "e" and attack == false then | |
| 7506 | punch() | |
| 7507 | end | |
| 7508 | if k == "=" and attack == false then | |
| 7509 | punch3() | |
| 7510 | end | |
| 7511 | ||
| 7512 | if k == "q" and attack == false then | |
| 7513 | punch2() | |
| 7514 | end | |
| 7515 | if k == "c" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then | |
| 7516 | boom() | |
| 7517 | end | |
| 7518 | if k == "v" and attack == false then | |
| 7519 | shooty() | |
| 7520 | end | |
| 7521 | if k == "l" and attack == false then | |
| 7522 | if Serious == true then | |
| 7523 | punchd() | |
| 7524 | end | |
| 7525 | end | |
| 7526 | if k == "b" and attack == false then | |
| 7527 | superpunch() | |
| 7528 | end | |
| 7529 | end) | |
| 7530 | mouse.KeyDown:connect(function(key) | |
| 7531 | if key=="8" then | |
| 7532 | Serious() | |
| 7533 | end | |
| 7534 | end) | |
| 7535 | Health = math.huge --------- Serious mode aura. | |
| 7536 | BaseHealth = math.huge | |
| 7537 | ||
| 7538 | ||
| 7539 | ||
| 7540 | ||
| 7541 | InForm = false | |
| 7542 | ||
| 7543 | Player = game.Players.LocalPlayer | |
| 7544 | Char = Player.Character | |
| 7545 | Torso = Char.Torso | |
| 7546 | ||
| 7547 | function Serious() | |
| 7548 | for X = 1, 1 do wait() | |
| 7549 | asd:Destroy() | |
| 7550 | asd2 = Instance.new("Sound",char)
| |
| 7551 | asd2.SoundId = "http://www.roblox.com/asset/?id = 662782202 " | |
| 7552 | asd2.Volume = 3 | |
| 7553 | asd2.Looped = false | |
| 7554 | asd2:Play() | |
| 7555 | chatfunc("Full power!")
| |
| 7556 | local pie22 = Instance.new("ParticleEmitter")
| |
| 7557 | pie22.Parent = tors | |
| 7558 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 7559 | pie22.LightEmission = 1 | |
| 7560 | pie22.Size = NumberSequence.new(50) | |
| 7561 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 7562 | pie22.Transparency = NumberSequence.new(0) | |
| 7563 | pie22.EmissionDirection = "Top" | |
| 7564 | pie22.Enabled = true | |
| 7565 | pie22.Lifetime = NumberRange.new(10) | |
| 7566 | pie22.Rotation = NumberRange.new(-420, 425) | |
| 7567 | pie22.Rate = 400 | |
| 7568 | pie22.Speed = NumberRange.new(100) | |
| 7569 | pie22.LockedToPart = false | |
| 7570 | pie22.VelocitySpread = 2 | |
| 7571 | lig = Instance.new("PointLight",player.Character.Torso)
| |
| 7572 | lig.Color=Color3.new(255,255,0) | |
| 7573 | lig.Range = 6 | |
| 7574 | rubbermodo = 1 | |
| 7575 | hum.JumpPower = 270 | |
| 7576 | lig = Instance.new("PointLight",player.Character.Torso)
| |
| 7577 | lig.Color=Color3.new(255,255,0) | |
| 7578 | lig.Range = 6 | |
| 7579 | Crater(head,30) | |
| 7580 | ||
| 7581 | wait(0) | |
| 7582 | for X = 1, 1 do wait() | |
| 7583 | local Effect = Instance.new("Part")
| |
| 7584 | Effect.Name = "Effect" | |
| 7585 | Effect.Parent = Torso | |
| 7586 | Effect.CFrame = Torso.CFrame | |
| 7587 | Effect.BrickColor = BrickColor.new("Neon orange")
| |
| 7588 | Effect.Shape = "Ball" | |
| 7589 | Effect.Size = Vector3.new(1, 1, 1) | |
| 7590 | Effect.Anchored = true | |
| 7591 | Effect.Material = "Neon" | |
| 7592 | Effect.CanCollide = false | |
| 7593 | Effect.CFrame = Torso.CFrame | |
| 7594 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
| 7595 | Effect.Transparency = Effect.Transparency + 0.04 | |
| 7596 | pie22:Destroy() | |
| 7597 | end | |
| 7598 | end | |
| 7599 | ||
| 7600 | repeat | |
| 7601 | Torso:FindFirstChild("Effect"):Remove()
| |
| 7602 | until Torso:FindFirstChild("Effect") == nil
| |
| 7603 | ||
| 7604 | ||
| 7605 | local Color1 = Color3.new(255, 255, 0) | |
| 7606 | local Color2 = Color3.new(255, 255, 0) | |
| 7607 | chatfunc("Full Power!")
| |
| 7608 | Instance.new("ForceField",char).Visible = false
| |
| 7609 | hum.Name = "youdungoofed" | |
| 7610 | ||
| 7611 | asd1 = Instance.new("Sound",char)
| |
| 7612 | asd1.SoundId = "http://www.roblox.com/asset/?id = 386666019" | |
| 7613 | asd1.Volume = 1 | |
| 7614 | asd1.Looped = true | |
| 7615 | asd1:Play() | |
| 7616 | ||
| 7617 | local pie22 = Instance.new("ParticleEmitter")
| |
| 7618 | pie22.Parent = larm | |
| 7619 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 7620 | pie22.LightEmission = 1 | |
| 7621 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 7622 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 7623 | pie22.Transparency = NumberSequence.new(0.7) | |
| 7624 | pie22.EmissionDirection = "Top" | |
| 7625 | pie22.Enabled = true | |
| 7626 | pie22.Lifetime = NumberRange.new(1) | |
| 7627 | pie22.Rotation = NumberRange.new(-420, 425) | |
| 7628 | pie22.Rate = 400 | |
| 7629 | pie22.Speed = NumberRange.new(1) | |
| 7630 | pie22.LockedToPart = false | |
| 7631 | pie22.VelocitySpread = 2 | |
| 7632 | local pie222 = Instance.new("ParticleEmitter")
| |
| 7633 | pie222.Parent = rarm | |
| 7634 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 7635 | pie222.LightEmission = 1 | |
| 7636 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 7637 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 7638 | pie222.Transparency = NumberSequence.new(0.7) | |
| 7639 | pie222.EmissionDirection = "Top" | |
| 7640 | pie222.Enabled = true | |
| 7641 | pie222.Lifetime = NumberRange.new(1) | |
| 7642 | pie222.Rotation = NumberRange.new(-420, 425) | |
| 7643 | pie222.Rate = 400 | |
| 7644 | pie222.Speed = NumberRange.new(1) | |
| 7645 | pie222.LockedToPart = false | |
| 7646 | pie222.VelocitySpread = 2 | |
| 7647 | local pie2222 = Instance.new("ParticleEmitter")
| |
| 7648 | pie2222.Parent = lleg | |
| 7649 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 7650 | pie2222.LightEmission = 1 | |
| 7651 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 7652 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 7653 | pie2222.Transparency = NumberSequence.new(0.7) | |
| 7654 | pie2222.EmissionDirection = "Top" | |
| 7655 | pie2222.Enabled = true | |
| 7656 | pie2222.Lifetime = NumberRange.new(1) | |
| 7657 | pie2222.Rotation = NumberRange.new(-420, 425) | |
| 7658 | pie2222.Rate = 400 | |
| 7659 | pie2222.Speed = NumberRange.new(1) | |
| 7660 | pie2222.LockedToPart = false | |
| 7661 | pie2222.VelocitySpread = 2 | |
| 7662 | local pie22222 = Instance.new("ParticleEmitter")
| |
| 7663 | pie22222.Parent = rleg | |
| 7664 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 7665 | pie22222.LightEmission = 1 | |
| 7666 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 7667 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 7668 | pie22222.Transparency = NumberSequence.new(0.7) | |
| 7669 | pie22222.EmissionDirection = "Top" | |
| 7670 | pie22222.Enabled = true | |
| 7671 | pie22222.Lifetime = NumberRange.new(1) | |
| 7672 | pie22222.Rotation = NumberRange.new(-420, 425) | |
| 7673 | pie22222.Rate = 400 | |
| 7674 | pie22222.Speed = NumberRange.new(1) | |
| 7675 | pie22222.LockedToPart = false | |
| 7676 | pie22222.VelocitySpread = 2 | |
| 7677 | local pie2242 = Instance.new("ParticleEmitter")
| |
| 7678 | pie2242.Parent = tors | |
| 7679 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 7680 | pie2242.LightEmission = 1 | |
| 7681 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 7682 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 7683 | pie2242.Transparency = NumberSequence.new(0.7) | |
| 7684 | pie2242.EmissionDirection = "Top" | |
| 7685 | pie2242.Enabled = true | |
| 7686 | pie2242.Lifetime = NumberRange.new(1) | |
| 7687 | pie2242.Rotation = NumberRange.new(-420, 425) | |
| 7688 | pie2242.Rate = 400 | |
| 7689 | pie2242.Speed = NumberRange.new(1) | |
| 7690 | pie2242.LockedToPart = false | |
| 7691 | pie2242.VelocitySpread = 2 | |
| 7692 | ||
| 7693 | InForm = true | |
| 7694 | ||
| 7695 | Char.Humanoid.MaxHealth = Health | |
| 7696 | wait(0.3) | |
| 7697 | Char.Humanoid.Health = Health | |
| 7698 | rock = true | |
| 7699 | ||
| 7700 | end | |
| 7701 | ||
| 7702 | function Base() | |
| 7703 | InForm = false | |
| 7704 | local Effect = Instance.new("Part")
| |
| 7705 | Effect.Name = "Effect" | |
| 7706 | Effect.Parent = Torso | |
| 7707 | Effect.CFrame = Torso.CFrame | |
| 7708 | Effect.BrickColor = BrickColor.new("White")
| |
| 7709 | Effect.Shape = "Ball" | |
| 7710 | Effect.Size = Vector3.new(8, 8, 8) | |
| 7711 | Effect.Anchored = true | |
| 7712 | Effect.Material = "Neon" | |
| 7713 | Effect.CanCollide = false | |
| 7714 | for loop = 1, 25 do wait() | |
| 7715 | Effect.CFrame = Torso.CFrame | |
| 7716 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
| 7717 | Effect.Transparency = Effect.Transparency + 0.04 | |
| 7718 | ||
| 7719 | end | |
| 7720 | repeat | |
| 7721 | Torso:FindFirstChild("Effect"):Remove()
| |
| 7722 | until Torso:FindFirstChild("Effect") == nil
| |
| 7723 | ||
| 7724 | for i, v in pairs(Torso:GetChildren()) do | |
| 7725 | if v:IsA('ParticleEmitter') then
| |
| 7726 | v:Remove() | |
| 7727 | asd1:Destroy() | |
| 7728 | killbrick:Destroy() | |
| 7729 | end | |
| 7730 | end | |
| 7731 | char.Humanoid.MaxHealth = BaseHealth | |
| 7732 | wait(0.3) | |
| 7733 | char.Humanoid.Health = BaseHealth | |
| 7734 | ||
| 7735 | ||
| 7736 | end | |
| 7737 | ||
| 7738 | mouse.KeyDown:connect(function(key) | |
| 7739 | if key=="9" then | |
| 7740 | Base() | |
| 7741 | lig:Destroy() | |
| 7742 | rubbermodo = 0 | |
| 7743 | end | |
| 7744 | end) | |
| 7745 | ||
| 7746 | Player.Chatted:connect(function(Message) | |
| 7747 | if Message == "Time to get serious." and InForm == false then | |
| 7748 | wait(0.10) | |
| 7749 | Serious2() | |
| 7750 | end | |
| 7751 | if Message == "off" or Message == "Nice fight." and InForm == true then | |
| 7752 | Base() | |
| 7753 | end | |
| 7754 | end) | |
| 7755 | ||
| 7756 | ||
| 7757 | mouse.KeyDown:connect(function(key) | |
| 7758 | if key=="." then | |
| 7759 | Serious2() | |
| 7760 | end | |
| 7761 | end) | |
| 7762 | Health = math.huge --------- Serious mode aura. | |
| 7763 | BaseHealth = math.huge | |
| 7764 | ||
| 7765 | ||
| 7766 | ||
| 7767 | ||
| 7768 | InForm = false | |
| 7769 | ||
| 7770 | Player = game.Players.LocalPlayer | |
| 7771 | Char = Player.Character | |
| 7772 | Torso = Char.Torso | |
| 7773 | ||
| 7774 | function Serious2() | |
| 7775 | for X = 1, 1 do wait() | |
| 7776 | asd:Destroy() | |
| 7777 | asd2 = Instance.new("Sound",char)
| |
| 7778 | asd2.SoundId = "http://www.roblox.com/asset/?id = 662782202 " | |
| 7779 | asd2.Volume = 3 | |
| 7780 | asd2.Looped = false | |
| 7781 | asd2:Play() | |
| 7782 | chatfunc("Full power!")
| |
| 7783 | local pie22 = Instance.new("ParticleEmitter")
| |
| 7784 | pie22.Parent = tors | |
| 7785 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 7786 | pie22.LightEmission = 1 | |
| 7787 | pie22.Size = NumberSequence.new(50) | |
| 7788 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 7789 | pie22.Transparency = NumberSequence.new(0) | |
| 7790 | pie22.EmissionDirection = "Top" | |
| 7791 | pie22.Enabled = true | |
| 7792 | pie22.Lifetime = NumberRange.new(10) | |
| 7793 | pie22.Rotation = NumberRange.new(-420, 425) | |
| 7794 | pie22.Rate = 400 | |
| 7795 | pie22.Speed = NumberRange.new(100) | |
| 7796 | pie22.LockedToPart = false | |
| 7797 | pie22.VelocitySpread = 2 | |
| 7798 | wait(1) | |
| 7799 | pie22.Size = NumberSequence.new(70) | |
| 7800 | wait(1) | |
| 7801 | pie22.Size = NumberSequence.new(140) | |
| 7802 | lig = Instance.new("PointLight",player.Character.Torso)
| |
| 7803 | lig.Color=Color3.new(255,255,0) | |
| 7804 | lig.Range = 6 | |
| 7805 | rubbermodo = 1 | |
| 7806 | hum.JumpPower = 270 | |
| 7807 | lig = Instance.new("PointLight",player.Character.Torso)
| |
| 7808 | lig.Color=Color3.new(255,255,0) | |
| 7809 | lig.Range = 6 | |
| 7810 | Crater(head,30) | |
| 7811 | ||
| 7812 | wait(0) | |
| 7813 | for X = 1, 1 do wait() | |
| 7814 | local Effect = Instance.new("Part")
| |
| 7815 | Effect.Name = "Effect" | |
| 7816 | Effect.Parent = Torso | |
| 7817 | Effect.CFrame = Torso.CFrame | |
| 7818 | Effect.BrickColor = BrickColor.new("Neon orange")
| |
| 7819 | Effect.Shape = "Ball" | |
| 7820 | Effect.Size = Vector3.new(1, 1, 1) | |
| 7821 | Effect.Anchored = true | |
| 7822 | Effect.Material = "Neon" | |
| 7823 | Effect.CanCollide = false | |
| 7824 | Effect.CFrame = Torso.CFrame | |
| 7825 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
| 7826 | Effect.Transparency = Effect.Transparency + 0.04 | |
| 7827 | pie22:Destroy() | |
| 7828 | end | |
| 7829 | end | |
| 7830 | ||
| 7831 | repeat | |
| 7832 | Torso:FindFirstChild("Effect"):Remove()
| |
| 7833 | until Torso:FindFirstChild("Effect") == nil
| |
| 7834 | ||
| 7835 | ||
| 7836 | local Color1 = Color3.new(255, 255, 0) | |
| 7837 | local Color2 = Color3.new(255, 255, 0) | |
| 7838 | chatfunc("Full Power!")
| |
| 7839 | Instance.new("ForceField",char).Visible = false
| |
| 7840 | hum.Name = "youdungoofed" | |
| 7841 | ||
| 7842 | asd1 = Instance.new("Sound",char)
| |
| 7843 | asd1.SoundId = "http://www.roblox.com/asset/?id = 386666019" | |
| 7844 | asd1.Volume = 1 | |
| 7845 | asd1.Looped = true | |
| 7846 | asd1:Play() | |
| 7847 | ||
| 7848 | local pie22 = Instance.new("ParticleEmitter")
| |
| 7849 | pie22.Parent = larm | |
| 7850 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 7851 | pie22.LightEmission = 1 | |
| 7852 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 7853 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 7854 | pie22.Transparency = NumberSequence.new(0.7) | |
| 7855 | pie22.EmissionDirection = "Top" | |
| 7856 | pie22.Enabled = true | |
| 7857 | pie22.Lifetime = NumberRange.new(1) | |
| 7858 | pie22.Rotation = NumberRange.new(-420, 425) | |
| 7859 | pie22.Rate = 400 | |
| 7860 | pie22.Speed = NumberRange.new(1) | |
| 7861 | pie22.LockedToPart = false | |
| 7862 | pie22.VelocitySpread = 2 | |
| 7863 | local pie222 = Instance.new("ParticleEmitter")
| |
| 7864 | pie222.Parent = rarm | |
| 7865 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 7866 | pie222.LightEmission = 1 | |
| 7867 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 7868 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 7869 | pie222.Transparency = NumberSequence.new(0.7) | |
| 7870 | pie222.EmissionDirection = "Top" | |
| 7871 | pie222.Enabled = true | |
| 7872 | pie222.Lifetime = NumberRange.new(1) | |
| 7873 | pie222.Rotation = NumberRange.new(-420, 425) | |
| 7874 | pie222.Rate = 400 | |
| 7875 | pie222.Speed = NumberRange.new(1) | |
| 7876 | pie222.LockedToPart = false | |
| 7877 | pie222.VelocitySpread = 2 | |
| 7878 | local pie2222 = Instance.new("ParticleEmitter")
| |
| 7879 | pie2222.Parent = lleg | |
| 7880 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 7881 | pie2222.LightEmission = 1 | |
| 7882 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 7883 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 7884 | pie2222.Transparency = NumberSequence.new(0.7) | |
| 7885 | pie2222.EmissionDirection = "Top" | |
| 7886 | pie2222.Enabled = true | |
| 7887 | pie2222.Lifetime = NumberRange.new(1) | |
| 7888 | pie2222.Rotation = NumberRange.new(-420, 425) | |
| 7889 | pie2222.Rate = 400 | |
| 7890 | pie2222.Speed = NumberRange.new(1) | |
| 7891 | pie2222.LockedToPart = false | |
| 7892 | pie2222.VelocitySpread = 2 | |
| 7893 | local pie22222 = Instance.new("ParticleEmitter")
| |
| 7894 | pie22222.Parent = rleg | |
| 7895 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 7896 | pie22222.LightEmission = 1 | |
| 7897 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 7898 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 7899 | pie22222.Transparency = NumberSequence.new(0.7) | |
| 7900 | pie22222.EmissionDirection = "Top" | |
| 7901 | pie22222.Enabled = true | |
| 7902 | pie22222.Lifetime = NumberRange.new(1) | |
| 7903 | pie22222.Rotation = NumberRange.new(-420, 425) | |
| 7904 | pie22222.Rate = 400 | |
| 7905 | pie22222.Speed = NumberRange.new(1) | |
| 7906 | pie22222.LockedToPart = false | |
| 7907 | pie22222.VelocitySpread = 2 | |
| 7908 | local pie2242 = Instance.new("ParticleEmitter")
| |
| 7909 | pie2242.Parent = tors | |
| 7910 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color)
| |
| 7911 | pie2242.LightEmission = 1 | |
| 7912 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
| 7913 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
| 7914 | pie2242.Transparency = NumberSequence.new(0.7) | |
| 7915 | pie2242.EmissionDirection = "Top" | |
| 7916 | pie2242.Enabled = true | |
| 7917 | pie2242.Lifetime = NumberRange.new(1) | |
| 7918 | pie2242.Rotation = NumberRange.new(-420, 425) | |
| 7919 | pie2242.Rate = 400 | |
| 7920 | pie2242.Speed = NumberRange.new(1) | |
| 7921 | pie2242.LockedToPart = false | |
| 7922 | pie2242.VelocitySpread = 2 | |
| 7923 | ||
| 7924 | InForm = true | |
| 7925 | ||
| 7926 | Char.Humanoid.MaxHealth = Health | |
| 7927 | wait(0.3) | |
| 7928 | Char.Humanoid.Health = Health | |
| 7929 | rock = true | |
| 7930 | ||
| 7931 | end | |
| 7932 | ||
| 7933 | function Base() | |
| 7934 | InForm = false | |
| 7935 | local Effect = Instance.new("Part")
| |
| 7936 | Effect.Name = "Effect" | |
| 7937 | Effect.Parent = Torso | |
| 7938 | Effect.CFrame = Torso.CFrame | |
| 7939 | Effect.BrickColor = BrickColor.new("White")
| |
| 7940 | Effect.Shape = "Ball" | |
| 7941 | Effect.Size = Vector3.new(8, 8, 8) | |
| 7942 | Effect.Anchored = true | |
| 7943 | Effect.Material = "Neon" | |
| 7944 | Effect.CanCollide = false | |
| 7945 | for loop = 1, 25 do wait() | |
| 7946 | Effect.CFrame = Torso.CFrame | |
| 7947 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
| 7948 | Effect.Transparency = Effect.Transparency + 0.04 | |
| 7949 | ||
| 7950 | end | |
| 7951 | repeat | |
| 7952 | Torso:FindFirstChild("Effect"):Remove()
| |
| 7953 | until Torso:FindFirstChild("Effect") == nil
| |
| 7954 | ||
| 7955 | for i, v in pairs(Torso:GetChildren()) do | |
| 7956 | if v:IsA('ParticleEmitter') then
| |
| 7957 | v:Remove() | |
| 7958 | asd1:Destroy() | |
| 7959 | killbrick:Destroy() | |
| 7960 | end | |
| 7961 | end | |
| 7962 | char.Humanoid.MaxHealth = BaseHealth | |
| 7963 | wait(0.3) | |
| 7964 | char.Humanoid.Health = BaseHealth | |
| 7965 | ||
| 7966 | ||
| 7967 | end | |
| 7968 | ||
| 7969 | mouse.KeyDown:connect(function(key) | |
| 7970 | if key=="9" then | |
| 7971 | Base() | |
| 7972 | lig:Destroy() | |
| 7973 | rubbermodo = 0 | |
| 7974 | end | |
| 7975 | end) | |
| 7976 | ||
| 7977 | Player.Chatted:connect(function(Message) | |
| 7978 | if Message == "Time to get serious." and InForm == false then | |
| 7979 | wait(0.10) | |
| 7980 | Serious2() | |
| 7981 | end | |
| 7982 | if Message == "off" or Message == "Nice fight." and InForm == true then | |
| 7983 | Base() | |
| 7984 | end | |
| 7985 | end) | |
| 7986 | ||
| 7987 | ||
| 7988 | local plr = game.Players.LocalPlayer | |
| 7989 | local char = game.Workspace:WaitForChild(plr.Name) | |
| 7990 | local m = plr:GetMouse() | |
| 7991 | local trans = false | |
| 7992 | local realdeb = false | |
| 7993 | local PGui = plr:WaitForChild("PlayerGui")
| |
| 7994 | local chat = game:GetService"Chat" | |
| 7995 | local Head = char:WaitForChild"Head" | |
| 7996 | local Torso = char:WaitForChild"Torso" | |
| 7997 | local HRP = char:WaitForChild"HumanoidRootPart" | |
| 7998 | local RArm = char:WaitForChild"Right Arm" | |
| 7999 | local LArm = char:WaitForChild"Left Arm" | |
| 8000 | local RLeg = char:WaitForChild"Right Leg" | |
| 8001 | local LLeg = char:WaitForChild"Left Leg" | |
| 8002 | local Hum = char:WaitForChild'Humanoid' | |
| 8003 | local lastspeed = Hum.WalkSpeed | |
| 8004 | msgz = Instance.new("Message", PGui)
| |
| 8005 | msgz.Text = "Full Power! Press , To transform!" | |
| 8006 | game.Debris:AddItem(msgz, 6.5) | |
| 8007 | local part = Instance.new"Part" | |
| 8008 | part.Name = "TransformationPart" | |
| 8009 | part.FormFactor = "Custom" | |
| 8010 | part.Size = Vector3.new(1,1,1) | |
| 8011 | part.Material = "SmoothPlastic" | |
| 8012 | part.TopSurface = "Smooth" | |
| 8013 | part.BottomSurface = "Smooth" | |
| 8014 | part.Anchored = true | |
| 8015 | part.CanCollide = false | |
| 8016 | ||
| 8017 | local Joints = {Head = Torso.Neck, Torso = HRP.RootJoint, RArm = Torso["Right Shoulder"], LArm = Torso["Left Shoulder"], RLeg = Torso["Right Hip"], LLeg = Torso["Left Hip"]}
| |
| 8018 | local Refresh = function() | |
| 8019 | Joints.Head.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 8020 | Joints.Torso.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 8021 | Joints.RArm.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 8022 | Joints.LArm.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 8023 | Joints.RLeg.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 8024 | Joints.LLeg.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 8025 | Joints.Head.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 8026 | Joints.Torso.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 8027 | Joints.RArm.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 8028 | Joints.LArm.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 8029 | Joints.RLeg.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 8030 | Joints.LLeg.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 8031 | end | |
| 8032 | ||
| 8033 | local Anims = {Scrunch = function(active)
| |
| 8034 | if active then | |
| 8035 | for i = 0, 10, 0.5 do | |
| 8036 | wait(0.016666666666667) | |
| 8037 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0) | |
| 8038 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0) | |
| 8039 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.01) | |
| 8040 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.01, 0.02, 0.01) | |
| 8041 | end | |
| 8042 | else | |
| 8043 | do | |
| 8044 | for i = 0, 10, 0.5 do | |
| 8045 | wait(0.016666666666667) | |
| 8046 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0):inverse() | |
| 8047 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0):inverse() | |
| 8048 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.01):inverse() | |
| 8049 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.01, 0.02, 0.01):inverse() | |
| 8050 | end | |
| 8051 | Refresh() | |
| 8052 | end | |
| 8053 | end | |
| 8054 | end | |
| 8055 | , Implode = function(active) | |
| 8056 | if active then | |
| 8057 | for i = 0, 10, 0.75 do | |
| 8058 | wait(0.016666666666667) | |
| 8059 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.155) | |
| 8060 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.155) | |
| 8061 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015) | |
| 8062 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015) | |
| 8063 | end | |
| 8064 | else | |
| 8065 | do | |
| 8066 | for i = 0, 10, 0.75 do | |
| 8067 | wait(0.016666666666667) | |
| 8068 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.155):inverse() | |
| 8069 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.155):inverse() | |
| 8070 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015):inverse() | |
| 8071 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015):inverse() | |
| 8072 | end | |
| 8073 | end | |
| 8074 | end | |
| 8075 | end | |
| 8076 | } | |
| 8077 | ||
| 8078 | local transform = function() | |
| 8079 | if (trans == false and realdeb == false) then | |
| 8080 | trans = true | |
| 8081 | Hum.WalkSpeed = 0 | |
| 8082 | local area = part:Clone() | |
| 8083 | area.CFrame = Torso.CFrame | |
| 8084 | area.Parent = workspace | |
| 8085 | Torso.Anchored = true | |
| 8086 | for i=1,10 do | |
| 8087 | area.CFrame = area.CFrame * CFrame.new(0,1,0) | |
| 8088 | Torso.CFrame = area.CFrame | |
| 8089 | wait() | |
| 8090 | end | |
| 8091 | local weld2 = Instance.new("Weld", area)
| |
| 8092 | weld2.Part0 = area | |
| 8093 | weld2.Part1 = Torso | |
| 8094 | weld2.C0 = CFrame.new() | |
| 8095 | Torso.Anchored = false | |
| 8096 | delay(0,function() | |
| 8097 | end) | |
| 8098 | delay(0,function() | |
| 8099 | chat:Chat(char["Head"],"How about i give it all i got?","Red") | |
| 8100 | end) | |
| 8101 | delay(0,function() | |
| 8102 | for i=1,5 do | |
| 8103 | wait() | |
| 8104 | delay(0,function() | |
| 8105 | local dzI = 100 | |
| 8106 | while dzI > 10 do | |
| 8107 | dzI = dzI - 1 | |
| 8108 | local p = Instance.new("Part", char.Head)
| |
| 8109 | p.Anchored = false | |
| 8110 | p.Size = Vector3.new(math.random(1,4),math.random(1,4),math.random(1,4)) | |
| 8111 | p.Material = "Neon" | |
| 8112 | local kekz2 = math.random(1,2) | |
| 8113 | if kekz2 == 2 then | |
| 8114 | p.BrickColor = BrickColor.new("New Yeller")
| |
| 8115 | else | |
| 8116 | p.BrickColor = BrickColor.new("Neon orange")
| |
| 8117 | end | |
| 8118 | p.CFrame = char.Torso.CFrame*CFrame.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
| 8119 | local t = Instance.new("BodyPosition", p)
| |
| 8120 | t.P = 20000 | |
| 8121 | t.Position = char.Torso.Position | |
| 8122 | game:service("Debris"):AddItem(p, 2.4)
| |
| 8123 | wait() | |
| 8124 | delay(0,function() | |
| 8125 | for i=1,10 do | |
| 8126 | p.Transparency = i/10 | |
| 8127 | p.CFrame = p.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-20,20),0,math.random(-20,20)) | |
| 8128 | wait() | |
| 8129 | end | |
| 8130 | p:Remove() | |
| 8131 | end) | |
| 8132 | end | |
| 8133 | end) | |
| 8134 | end | |
| 8135 | end) | |
| 8136 | delay(0,function() | |
| 8137 | for q=1,120 do | |
| 8138 | local xz = Instance.new("Part",plr.Character)
| |
| 8139 | xz.CFrame = plr.Character.Torso.CFrame*CFrame.new(math.random(-450,450),math.random(-450,450),math.random(-450,450)) | |
| 8140 | xz.Anchored = true | |
| 8141 | xz.Transparency = 1 | |
| 8142 | xz.CanCollide = false | |
| 8143 | wait(0.04) | |
| 8144 | local pos2 = xz.Position | |
| 8145 | local pos = plr.Character.Torso.Position | |
| 8146 | local radius = math.random(1,1.5) | |
| 8147 | local numParts = math.random(5,15) | |
| 8148 | local model = plr.Character.Torso | |
| 8149 | local lv = CFrame.new(pos,pos2).lookVector | |
| 8150 | local dist = (pos-pos2).magnitude | |
| 8151 | local dbp = dist/numParts | |
| 8152 | local last = pos | |
| 8153 | for i = 1,numParts do | |
| 8154 | local p = Instance.new("Part",model)
| |
| 8155 | p.FormFactor = "Symmetric" | |
| 8156 | p.Size = Vector3.new(1,1,1) | |
| 8157 | p.CanCollide = false | |
| 8158 | p.Anchored = true | |
| 8159 | p.Material = "Neon" | |
| 8160 | local kekz2 = math.random(1,2) | |
| 8161 | if kekz2 == 2 then | |
| 8162 | p.BrickColor = BrickColor.new("New Yeller")
| |
| 8163 | else | |
| 8164 | p.BrickColor = BrickColor.new("Neon orange")
| |
| 8165 | end | |
| 8166 | p.Transparency = 0.5 | |
| 8167 | local x = math.random(-2,2)/2*dbp/4 | |
| 8168 | local y = math.random(-2,2)/2*dbp/4 | |
| 8169 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
| 8170 | local dist2 = (p2.p-last).magnitude | |
| 8171 | local mid = (p2.p+last)/2 | |
| 8172 | local m = Instance.new("BlockMesh",p)
| |
| 8173 | m.Scale = Vector3.new(radius,radius,dist2) | |
| 8174 | p.CFrame = CFrame.new(mid,p2.p) | |
| 8175 | last = p2.p | |
| 8176 | game:GetService("Debris"):AddItem(p,0.1)
| |
| 8177 | end | |
| 8178 | wait() | |
| 8179 | xz:remove() | |
| 8180 | end | |
| 8181 | ||
| 8182 | kekd = false | |
| 8183 | end) | |
| 8184 | Anims.Scrunch(true) | |
| 8185 | for i = 1, 8 do | |
| 8186 | wait(0.9) | |
| 8187 | for i = 1, math.random(4, 6) do | |
| 8188 | local p = part:Clone() | |
| 8189 | p.Parent = Torso | |
| 8190 | p.Anchored = true | |
| 8191 | p.Material = "Neon" | |
| 8192 | p.CFrame = Torso.CFrame | |
| 8193 | p.CanCollide = false | |
| 8194 | -- game:service("Debris"):AddItem(p, 0.2)
| |
| 8195 | local kekz2 = math.random(1,2) | |
| 8196 | if kekz2 == 2 then | |
| 8197 | p.BrickColor = BrickColor.new("New Yeller")
| |
| 8198 | else | |
| 8199 | p.BrickColor = BrickColor.new("New Yeller")
| |
| 8200 | end | |
| 8201 | local w = Instance.new("Weld", p)
| |
| 8202 | w.Part0 = p | |
| 8203 | w.Part1 = Torso | |
| 8204 | w.C0 = w.C0 * CFrame.Angles(math.random() * 6.28, math.random() * 6.28, math.random() * 6.28) | |
| 8205 | local m = Instance.new("CylinderMesh", p)
| |
| 8206 | m.Scale = Vector3.new(math.random() * 3, 320, math.random() * 3) | |
| 8207 | coroutine.resume(coroutine.create(function() | |
| 8208 | for i = 1, 25 do | |
| 8209 | wait(0.071428571428571) | |
| 8210 | w.C0 = w.C0 * CFrame.Angles(0.05, 0.05, 0.05) | |
| 8211 | p.Transparency = i / 25 | |
| 8212 | end | |
| 8213 | pcall(game.Destroy, p) | |
| 8214 | end | |
| 8215 | )) | |
| 8216 | end | |
| 8217 | end | |
| 8218 | coroutine.resume(coroutine.create(function() | |
| 8219 | for i = 1, 6 do | |
| 8220 | wait(0.9) | |
| 8221 | --Player.Character.Torso.Anchored = true | |
| 8222 | coroutine.resume(coroutine.create(function() | |
| 8223 | local p = part:Clone() | |
| 8224 | p.Parent = Torso | |
| 8225 | p.Anchored = false | |
| 8226 | p.CanCollide = false | |
| 8227 | p.CFrame = Torso.CFrame | |
| 8228 | local kekz2 = math.random(1,2) | |
| 8229 | if kekz2 == 2 then | |
| 8230 | p.BrickColor = BrickColor.new("New Yeller")
| |
| 8231 | else | |
| 8232 | p.BrickColor = BrickColor.new("Neon orange")
| |
| 8233 | end | |
| 8234 | --game:service("Debris"):AddItem(p, 0.2)
| |
| 8235 | local w = Instance.new("Weld", p)
| |
| 8236 | w.Part0 = p | |
| 8237 | w.Part1 = Torso | |
| 8238 | w.C0 = w.C0 * CFrame.Angles(0, math.rad(90), 0) | |
| 8239 | local m = Instance.new("SpecialMesh", p)
| |
| 8240 | m.MeshId = "rbxassetid://3270017" | |
| 8241 | m.Scale = Vector3.new(10, 10, 5) | |
| 8242 | coroutine.resume(coroutine.create(function() | |
| 8243 | for i = 1, 25 do | |
| 8244 | wait(0.071428571428571) | |
| 8245 | w.C0 = w.C0 * CFrame.Angles(-0.05, 0.05 * math.random(), 0.05 * math.random()) | |
| 8246 | m.Scale = m.Scale + Vector3.new(3, 3, 1.5) | |
| 8247 | p.Transparency = i / 25 | |
| 8248 | end | |
| 8249 | pcall(game.Destroy, p) | |
| 8250 | end | |
| 8251 | )) | |
| 8252 | end | |
| 8253 | )) | |
| 8254 | local p = part:Clone() | |
| 8255 | do | |
| 8256 | p.Parent = Torso | |
| 8257 | p.Anchored = false | |
| 8258 | p.CFrame = Torso.CFrame | |
| 8259 | p.CanCollide = false | |
| 8260 | -- game:service("Debris"):AddItem(p, 0.2)
| |
| 8261 | local kekz2 = math.random(1,2) | |
| 8262 | if kekz2 == 2 then | |
| 8263 | p.BrickColor = BrickColor.new("New Yeller")
| |
| 8264 | else | |
| 8265 | p.BrickColor = BrickColor.new("Neon orange")
| |
| 8266 | end | |
| 8267 | local w = Instance.new("Weld", p)
| |
| 8268 | w.Part0 = p | |
| 8269 | w.Part1 = Torso | |
| 8270 | local m = Instance.new("SpecialMesh", p)
| |
| 8271 | m.MeshId = "rbxassetid://3270017" | |
| 8272 | m.Scale = Vector3.new(10, 10, 5) | |
| 8273 | coroutine.resume(coroutine.create(function() | |
| 8274 | for i = 1, 25 do | |
| 8275 | wait(0.071428571428571) | |
| 8276 | w.C0 = w.C0 * CFrame.Angles(0.05 * math.random(), -0.05 * math.random(), -0.05 * math.random()) | |
| 8277 | m.Scale = m.Scale + Vector3.new(3, 3, 1.5) | |
| 8278 | p.Transparency = i / 25 | |
| 8279 | end | |
| 8280 | pcall(game.Destroy, p) | |
| 8281 | end | |
| 8282 | )) | |
| 8283 | end | |
| 8284 | end | |
| 8285 | end | |
| 8286 | )) | |
| 8287 | for i=1, 6 do | |
| 8288 | wait(0.9) | |
| 8289 | for i = 1, math.random(4, 6) do | |
| 8290 | local p = part:Clone() | |
| 8291 | p.Parent = Torso | |
| 8292 | p.Anchored = true | |
| 8293 | p.CFrame = Torso.CFrame | |
| 8294 | local kekz2 = math.random(1,2) | |
| 8295 | if kekz2 == 2 then | |
| 8296 | p.BrickColor = BrickColor.new("New Yeller")
| |
| 8297 | else | |
| 8298 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 8299 | end | |
| 8300 | local me = Instance.new("SpecialMesh",p)
| |
| 8301 | me.MeshId = "rbxassetid://9982590" | |
| 8302 | me.Scale = Vector3.new(4,4,4) | |
| 8303 | delay(0,function() | |
| 8304 | for i=1,10 do | |
| 8305 | p.Transparency = i/10 | |
| 8306 | p.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(-20,20)/50),math.rad(math.random(-20,20)/50),0) | |
| 8307 | me.Scale = me.Scale + Vector3.new(4,4,4) | |
| 8308 | wait() | |
| 8309 | end | |
| 8310 | p:Destroy() | |
| 8311 | end) | |
| 8312 | wait() | |
| 8313 | end | |
| 8314 | end | |
| 8315 | Torso.Anchored = true | |
| 8316 | for i=1,10 do | |
| 8317 | Torso.CFrame = Torso.CFrame * CFrame.new(0,-1,0) | |
| 8318 | area.CFrame = Torso.CFrame | |
| 8319 | wait() | |
| 8320 | end | |
| 8321 | realdeb = true | |
| 8322 | Hum.WalkSpeed = 16 | |
| 8323 | Anims.Scrunch(false) | |
| 8324 | Torso.Anchored = false | |
| 8325 | area:Destroy() | |
| 8326 | wait(0.6) | |
| 8327 | Serious() | |
| 8328 | end | |
| 8329 | end | |
| 8330 | ||
| 8331 | local off = function() | |
| 8332 | if (realdeb == true and trans == true) then | |
| 8333 | trans = false | |
| 8334 | Hum.WalkSpeed = 0 | |
| 8335 | delay(0,function() | |
| 8336 | for q=1,120 do | |
| 8337 | local xz = Instance.new("Part",plr.Character)
| |
| 8338 | xz.CFrame = plr.Character.Torso.CFrame*CFrame.new(math.random(-450,450),math.random(-450,450),math.random(-450,450)) | |
| 8339 | xz.Anchored = true | |
| 8340 | xz.Transparency = 1 | |
| 8341 | xz.CanCollide = false | |
| 8342 | wait(0.04) | |
| 8343 | local pos2 = xz.Position | |
| 8344 | local pos = plr.Character.Torso.Position | |
| 8345 | local radius = math.random(1,1.5) | |
| 8346 | local numParts = math.random(5,15) | |
| 8347 | local model = plr.Character.Torso | |
| 8348 | local lv = CFrame.new(pos,pos2).lookVector | |
| 8349 | local dist = (pos-pos2).magnitude | |
| 8350 | local dbp = dist/numParts | |
| 8351 | local last = pos | |
| 8352 | for i = 1,numParts do | |
| 8353 | local p = Instance.new("Part",model)
| |
| 8354 | p.FormFactor = "Symmetric" | |
| 8355 | p.Size = Vector3.new(1,1,1) | |
| 8356 | p.CanCollide = false | |
| 8357 | p.Anchored = false | |
| 8358 | p.Material = "Neon" | |
| 8359 | local kekz2 = math.random(1,2) | |
| 8360 | if kekz2 == 2 then | |
| 8361 | p.BrickColor = BrickColor.new("Really red")
| |
| 8362 | else | |
| 8363 | p.BrickColor = BrickColor.new("Dark red")
| |
| 8364 | end | |
| 8365 | p.Transparency = 0.5 | |
| 8366 | local x = math.random(-2,2)/2*dbp/4 | |
| 8367 | local y = math.random(-2,2)/2*dbp/4 | |
| 8368 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
| 8369 | local dist2 = (p2.p-last).magnitude | |
| 8370 | local mid = (p2.p+last)/2 | |
| 8371 | local m = Instance.new("BlockMesh",p)
| |
| 8372 | m.Scale = Vector3.new(radius,radius,dist2) | |
| 8373 | p.CFrame = CFrame.new(mid,p2.p) | |
| 8374 | last = p2.p | |
| 8375 | game:GetService("Debris"):AddItem(p,0.2)
| |
| 8376 | end | |
| 8377 | wait() | |
| 8378 | xz:remove() | |
| 8379 | end | |
| 8380 | end) | |
| 8381 | Anims.Scrunch(true) | |
| 8382 | for i = 1, 8 do | |
| 8383 | wait(0.9) | |
| 8384 | for i = 1, math.random(4, 6) do | |
| 8385 | local p = part:Clone() | |
| 8386 | p.Parent = Torso | |
| 8387 | p.Anchored = true | |
| 8388 | p.CFrame = Torso.CFrame | |
| 8389 | p.CanCollide = false | |
| 8390 | -- game:service("Debris"):AddItem(p, 0.2)
| |
| 8391 | local kekz2 = math.random(1,2) | |
| 8392 | if kekz2 == 2 then | |
| 8393 | p.BrickColor = BrickColor.new("Really red")
| |
| 8394 | else | |
| 8395 | p.BrickColor = BrickColor.new("Dark red")
| |
| 8396 | end | |
| 8397 | local w = Instance.new("Weld", p)
| |
| 8398 | w.Part0 = p | |
| 8399 | w.Part1 = Torso | |
| 8400 | w.C0 = w.C0 * CFrame.Angles(math.random() * 6.28, math.random() * 6.28, math.random() * 6.28) | |
| 8401 | local m = Instance.new("CylinderMesh", p)
| |
| 8402 | m.Scale = Vector3.new(math.random() * 3, 320, math.random() * 3) | |
| 8403 | coroutine.resume(coroutine.create(function() | |
| 8404 | for i = 1, 25 do | |
| 8405 | wait(0.071428571428571) | |
| 8406 | w.C0 = w.C0 * CFrame.Angles(0.05, 0.05, 0.05) | |
| 8407 | p.Transparency = i / 25 | |
| 8408 | end | |
| 8409 | pcall(game.Destroy, p) | |
| 8410 | end | |
| 8411 | )) | |
| 8412 | end | |
| 8413 | end | |
| 8414 | Anims.Scrunch(false) | |
| 8415 | Hum.WalkSpeed = 16 | |
| 8416 | realdeb = false | |
| 8417 | end | |
| 8418 | end | |
| 8419 | ||
| 8420 | ||
| 8421 | m.KeyDown:connect(function(key) | |
| 8422 | local k = key:lower() | |
| 8423 | if key == "," then | |
| 8424 | if (trans == false and realdeb == false) then | |
| 8425 | transform() | |
| 8426 | elseif (trans == true and realdeb == true) then | |
| 8427 | off() | |
| 8428 | end | |
| 8429 | end | |
| 8430 | end) | |
| 8431 | ||
| 8432 | ||
| 8433 | ||
| 8434 | Humanoid.Animator.Parent = nil | |
| 8435 | idleanim=.4 | |
| 8436 | while true do | |
| 8437 | swait() | |
| 8438 | sine = sine + change | |
| 8439 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 8440 | local velderp=RootPart.Velocity.y | |
| 8441 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 8442 | if equipped==true or equipped==false then | |
| 8443 | if attack==false then | |
| 8444 | idle=idle+1 | |
| 8445 | else | |
| 8446 | idle=0 | |
| 8447 | end | |
| 8448 | if idle>=500 then | |
| 8449 | if attack==false then | |
| 8450 | --Sheath() | |
| 8451 | end | |
| 8452 | end | |
| 8453 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 8454 | Anim="Jump" | |
| 8455 | if attack==false then | |
| 8456 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) | |
| 8457 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 8458 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 8459 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3) | |
| 8460 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 8461 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3) | |
| 8462 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 8463 | RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2) | |
| 8464 | LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2) | |
| 8465 | end | |
| 8466 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 8467 | Anim="Fall" | |
| 8468 | if attack==false then | |
| 8469 | Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3) | |
| 8470 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 8471 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 8472 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3) | |
| 8473 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 8474 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3) | |
| 8475 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 8476 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2) | |
| 8477 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2) | |
| 8478 | end | |
| 8479 | elseif torvel<1 and hitfloor~=nil then | |
| 8480 | Anim="Idle" | |
| 8481 | if jumped == false then | |
| 8482 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3) | |
| 8483 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3) | |
| 8484 | end | |
| 8485 | if attack==false then | |
| 8486 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 8487 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 0 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.3) | |
| 8488 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(5 + 2.5 * math.cos(sine / 25))),.3) | |
| 8489 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-5 - 2.5 * math.cos(sine / 25))),.3) | |
| 8490 | end | |
| 8491 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
| 8492 | Anim="Walk" | |
| 8493 | if jumped == false then | |
| 8494 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3) | |
| 8495 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3) | |
| 8496 | end | |
| 8497 | if attack==false then | |
| 8498 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 - 0.05 * math.cos(sine / 4))*angles(math.rad(15),math.rad(0),math.rad(0)),.3) | |
| 8499 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 8500 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 25 * math.cos(sine / 8)),math.rad(0),math.rad(10 + 1.25 * math.cos(sine / 16))),.3) | |
| 8501 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 25 * math.cos(sine / 8)),math.rad(0),math.rad(-10 - 1.25 * math.cos(sine / 16))),.3) | |
| 8502 | end | |
| 8503 | elseif torvel>=22 and hitfloor~=nil then | |
| 8504 | Anim="Run" | |
| 8505 | if jumped == false then | |
| 8506 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3) | |
| 8507 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3) | |
| 8508 | end | |
| 8509 | if attack==false then | |
| 8510 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.25 + 0.05 * math.cos(sine / 32))* angles(math.rad(35),math.rad(0),math.rad(0)),.3) | |
| 8511 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 8512 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-60),math.rad(25)),.3) | |
| 8513 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-25)),.3) | |
| 8514 | end | |
| 8515 | end | |
| 8516 | end | |
| 8517 | end |