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()}
| |
| 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 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local Mouse = Player:GetMouse() | |
| 66 | local UIS = game:GetService("UserInputService")
| |
| 67 | local input = function(io,a) | |
| 68 | if a then return end | |
| 69 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 71 | end | |
| 72 | UIS.InputBegan:Connect(input) | |
| 73 | UIS.InputEnded:Connect(input) | |
| 74 | ||
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | ||
| 85 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 86 | --Real game object | |
| 87 | local _rg = game | |
| 88 | ||
| 89 | --Metatable for fake service | |
| 90 | local fsmt = {
| |
| 91 | __index = function(self,k) | |
| 92 | local s = rawget(self,"_RealService") | |
| 93 | if s then return s[k] end | |
| 94 | end, | |
| 95 | __newindex = function(self,k,v) | |
| 96 | local s = rawget(self,"_RealService") | |
| 97 | if s then s[k]=v end | |
| 98 | end, | |
| 99 | __call = function(self,...) | |
| 100 | local s = rawget(self,"_RealService") | |
| 101 | if s then return s(...) 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 self[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 | } | |
| 120 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 121 | g.service = g.GetService | |
| 122 | ||
| 123 | g.RunService = FakeService({
| |
| 124 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 125 | BindToRenderStep = function(self,name,_,fun) | |
| 126 | ||
| 127 | end, | |
| 128 | UnbindFromRenderStep = function(self,name) | |
| 129 | self._btrs[name]:Disconnect() | |
| 130 | end, | |
| 131 | },"RunService") | |
| 132 | ||
| 133 | setmetatable(g,{
| |
| 134 | __index=function(self,s) | |
| 135 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
| 136 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
| 137 | end, | |
| 138 | __newindex = fsmt.__newindex, | |
| 139 | __call = fsmt.__call | |
| 140 | }) | |
| 141 | --Changing owner to fake player object to support owner:GetMouse() | |
| 142 | game,owner = g,g.Players.LocalPlayer | |
| 143 | end | |
| 144 | -------------------------------------------------- | |
| 145 | ||
| 146 | --God Slayer | |
| 147 | ||
| 148 | ||
| 149 | ||
| 150 | ||
| 151 | --[[wait(0.1) | |
| 152 | ------------------------------- | |
| 153 | local p=game:service("Players").LocalPlayer
| |
| 154 | if p.Name=="Reruderu" then | |
| 155 | p:Kick("go away, skid who uses crappy decompilers,v3rmie skid.")
| |
| 156 | elseif p.Name=="Rerumu" then | |
| 157 | p:Kick("no thanks, skid who uses crappy decompilers that they didnt make.also being an pathetic v3rmie kid")
| |
| 158 | end]] | |
| 159 | local p=game:service("Players").LocalPlayer
| |
| 160 | local char=p.Character | |
| 161 | script.Parent=char | |
| 162 | local torso=char.Torso | |
| 163 | local hed=char.Head | |
| 164 | local larm=char:FindFirstChild("Left Arm")
| |
| 165 | local rarm=char:FindFirstChild("Right Arm")
| |
| 166 | local lleg=char:FindFirstChild("Left Leg")
| |
| 167 | local rleg=char:FindFirstChild("Right Leg")
| |
| 168 | local hum=char.Humanoid | |
| 169 | local cam=workspace.CurrentCamera | |
| 170 | local root=char.HumanoidRootPart | |
| 171 | local mouse=p:GetMouse() | |
| 172 | local hb=game:service("RunService").Heartbeat
| |
| 173 | local rs=game:service("RunService").Stepped
| |
| 174 | hum.MaxHealth=math.huge | |
| 175 | hum.Health=hum.MaxHealth | |
| 176 | local pgui=Instance.new("ScreenGui",p.PlayerGui)
| |
| 177 | random={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
| |
| 178 | local run = 30 | |
| 179 | local normal = 16 | |
| 180 | local color = "Really black" | |
| 181 | local color2 = "Really blue" | |
| 182 | local righteyebrickcolor = "Really blue" | |
| 183 | local NumCol = 0,0,255 | |
| 184 | local GodSlayer = true | |
| 185 | local Full = false | |
| 186 | hum.WalkSpeed = 5 | |
| 187 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 188 | ------------------- | |
| 189 | local drinks="10722059" | |
| 190 | local m="41707332" | |
| 191 | local tx="41708701" | |
| 192 | local ragesong="590156873" | |
| 193 | local breaks="368270172" | |
| 194 | local scream="527276541" | |
| 195 | local Shirt = "rbxassetid://427841675" | |
| 196 | local Pants = "rbxassetid://428282416" | |
| 197 | ------------------- | |
| 198 | ||
| 199 | ||
| 200 | function swait(num) | |
| 201 | if num==0 or num==nil then | |
| 202 | game:service'RunService'.Stepped:wait(0) | |
| 203 | else | |
| 204 | for i=0,num do | |
| 205 | game:service'RunService'.Stepped:wait(0) | |
| 206 | end | |
| 207 | end | |
| 208 | end | |
| 209 | ||
| 210 | function chatfunc(text) | |
| 211 | local chat = coroutine.wrap(function() | |
| 212 | if char:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 213 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 214 | end | |
| 215 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 216 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 217 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 218 | naeeym2.Adornee = char.Head | |
| 219 | naeeym2.Name = "TalkingBillBoard" | |
| 220 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 221 | tecks2.BackgroundTransparency = 1 | |
| 222 | tecks2.BorderSizePixel = 0 | |
| 223 | tecks2.Text = "" | |
| 224 | tecks2.Font = "Fantasy" | |
| 225 | tecks2.TextSize = 30 | |
| 226 | tecks2.TextStrokeTransparency = 0 | |
| 227 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
| 228 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 229 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 230 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 231 | tecks3.BackgroundTransparency = 1 | |
| 232 | tecks3.BorderSizePixel = 0 | |
| 233 | tecks3.Text = "" | |
| 234 | tecks3.Font = "Fantasy" | |
| 235 | tecks3.TextSize = 30 | |
| 236 | tecks3.TextStrokeTransparency = 0 | |
| 237 | tecks3.TextColor3 = Color3.new(0,0,255) | |
| 238 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
| 239 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 240 | for i = 1,string.len(text),1 do | |
| 241 | tecks2.Text = string.sub(text,1,i) | |
| 242 | tecks3.Text = string.sub(text,1,i) | |
| 243 | wait(0.01) | |
| 244 | end | |
| 245 | wait(2) | |
| 246 | for i = 1, 50 do | |
| 247 | swait() | |
| 248 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 249 | tecks2.Rotation = tecks2.Rotation - .8 | |
| 250 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 251 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 252 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 253 | tecks3.Rotation = tecks2.Rotation + .8 | |
| 254 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 255 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 256 | end | |
| 257 | naeeym2:Destroy() | |
| 258 | end) | |
| 259 | chat() | |
| 260 | end | |
| 261 | function onChatted(msg) | |
| 262 | chatfunc(msg) | |
| 263 | end | |
| 264 | p.Chatted:connect(onChatted) | |
| 265 | coroutine.resume(coroutine.create(function() | |
| 266 | wait(2) | |
| 267 | chatfunc("Allow me to show you what happens when I break my limiter..")
| |
| 268 | end)) | |
| 269 | ||
| 270 | ||
| 271 | local s0=Instance.new("Sound",char)
| |
| 272 | s0.SoundId="rbxassetid://"..ragesong | |
| 273 | s0.Volume=1999 | |
| 274 | s0.Pitch=1 | |
| 275 | s0.Looped=true | |
| 276 | ||
| 277 | ||
| 278 | local s02=Instance.new("Sound",char)
| |
| 279 | s02.SoundId="rbxassetid://978788235" | |
| 280 | s02.Volume=1999 | |
| 281 | s02.Pitch=1 | |
| 282 | s02.Looped=false | |
| 283 | s02:Play() | |
| 284 | ||
| 285 | function Sound(ID,Parent,Vol,Pitch,Loop) | |
| 286 | local S0 = Instance.new("Sound",Parent)
| |
| 287 | S0.SoundId = ID | |
| 288 | S0.Volume = Vol | |
| 289 | S0.Looped = Loop | |
| 290 | S0.Pitch = Pitch | |
| 291 | wait(.1) | |
| 292 | S0:Play() | |
| 293 | end | |
| 294 | function weld(a, b, acf) | |
| 295 | local w = Instance.new("Weld", a)
| |
| 296 | w.Part0 = a | |
| 297 | w.Part1 = b | |
| 298 | w.C0 = acf | |
| 299 | end | |
| 300 | ||
| 301 | ||
| 302 | wait(9) | |
| 303 | char.Head.face:Destroy() | |
| 304 | local reye = Instance.new("Part", char)
| |
| 305 | reye.CanCollide = false | |
| 306 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
| 307 | reye.Material = "Neon" | |
| 308 | reye.Size = Vector3.new(.15,.15,.15) | |
| 309 | weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
| 310 | m1 = Instance.new("SpecialMesh", reye)
| |
| 311 | m1.MeshType = "Sphere" | |
| 312 | m1.Scale = Vector3.new(0.9,0.9,0.9) | |
| 313 | reye.Locked = true | |
| 314 | reye.Name = "re" | |
| 315 | ||
| 316 | local leye = Instance.new("Part", char)
| |
| 317 | leye.CanCollide = false | |
| 318 | leye.BrickColor = BrickColor.new(righteyebrickcolor) | |
| 319 | leye.Material = "Neon" | |
| 320 | leye.Size = Vector3.new(.15,.15,.15) | |
| 321 | weld(leye, char.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
| 322 | local m = Instance.new("SpecialMesh", leye)
| |
| 323 | m.MeshType = "Sphere" | |
| 324 | m.Scale = Vector3.new(0.9,0.9,0.9) | |
| 325 | leye.Locked = true | |
| 326 | leye.Name = "le" | |
| 327 | ||
| 328 | coroutine.resume(coroutine.create(function(Part,Weld) | |
| 329 | while Part.Parent~=nil do | |
| 330 | wait(2) | |
| 331 | for i=0,1,0.2 do | |
| 332 | wait() | |
| 333 | m.Scale = Vector3.new(.9,.9-.8*i,.5) | |
| 334 | end | |
| 335 | for i=0,1,0.2 do | |
| 336 | wait() | |
| 337 | m.Scale = Vector3.new(.9,.9+.8*i,.5) | |
| 338 | end | |
| 339 | end | |
| 340 | end),leye,weld) | |
| 341 | ||
| 342 | coroutine.resume(coroutine.create(function(Part,Weld) | |
| 343 | while Part.Parent~=nil do | |
| 344 | wait(2) | |
| 345 | for z=0,1,0.2 do | |
| 346 | wait() | |
| 347 | m1.Scale = Vector3.new(.9,.9-.8*z,.5) | |
| 348 | end | |
| 349 | for z=0,1,0.2 do | |
| 350 | wait() | |
| 351 | m1.Scale = Vector3.new(.9,.9+.8*z,.5) | |
| 352 | end | |
| 353 | end | |
| 354 | end),reye,weld) | |
| 355 | ||
| 356 | ||
| 357 | ||
| 358 | function fnt(pos,dist,splr) | |
| 359 | if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end | |
| 360 | local list = {}
| |
| 361 | for i,v in pairs(workspace:GetChildren())do | |
| 362 | if v:IsA("Model")then
| |
| 363 | if v:findFirstChild("Torso")then
| |
| 364 | if v ~= char then | |
| 365 | if(v.Torso.Position -pos).magnitude <= dist then | |
| 366 | table.insert(list,v) | |
| 367 | end | |
| 368 | end | |
| 369 | end | |
| 370 | end | |
| 371 | end | |
| 372 | return list | |
| 373 | end | |
| 374 | function fnp(pos,dist,splr) | |
| 375 | if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end | |
| 376 | local list = {}
| |
| 377 | for i,v in pairs(workspace:GetChildren())do | |
| 378 | if v:IsA("Part")then
| |
| 379 | if v ~= char and v.Name~="Car" and v~=torso and v.Name~="Base" and v.Name~="Baseplate" then | |
| 380 | if(v.Position -pos).magnitude <= dist then | |
| 381 | table.insert(list,v) | |
| 382 | end | |
| 383 | end | |
| 384 | end | |
| 385 | end | |
| 386 | return list | |
| 387 | end | |
| 388 | fw = function(wp0, wp1, wc0x, wc0y, wc0z) -- fast weld | |
| 389 | local wld = Instance.new("Weld", wp1)
| |
| 390 | wld.Part0 = wp0 | |
| 391 | wld.Part1 = wp1 | |
| 392 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 393 | end | |
| 394 | local trans=false | |
| 395 | ------------------------------------ | |
| 396 | ------------------------------------ | |
| 397 | anim="idle" | |
| 398 | local sine=0 | |
| 399 | local add=0 | |
| 400 | local value=0 | |
| 401 | local ffing=false | |
| 402 | local msgs=0 | |
| 403 | attack=false | |
| 404 | NoAnims=false | |
| 405 | ----preparing character---- | |
| 406 | ||
| 407 | ||
| 408 | ||
| 409 | ||
| 410 | ||
| 411 | ||
| 412 | function NoOutline(Part) | |
| 413 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 414 | end | |
| 415 | function lerp(a, b, t) -- Linear interpolation | |
| 416 | return a + (b - a)*t | |
| 417 | end | |
| 418 | ||
| 419 | function slerp(a, b, t) --Spherical interpolation | |
| 420 | dot = a:Dot(b) | |
| 421 | if dot > 0.99999 or dot < -0.99999 then | |
| 422 | return t <= 0.5 and a or b | |
| 423 | else | |
| 424 | r = math.acos(dot) | |
| 425 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 426 | end | |
| 427 | end | |
| 428 | ||
| 429 | function matrixInterpolate(a, b, t) | |
| 430 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 431 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 432 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 433 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 434 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 435 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 436 | local t = v1:Dot(v2) | |
| 437 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 438 | return CFrame.new() | |
| 439 | end | |
| 440 | return CFrame.new( | |
| 441 | v0.x, v0.y, v0.z, | |
| 442 | v1.x, v1.y, v1.z, | |
| 443 | v2.x, v2.y, v2.z, | |
| 444 | v3.x, v3.y, v3.z) | |
| 445 | end | |
| 446 | ---------------------------------------------------- | |
| 447 | function genWeld(a,b) | |
| 448 | local w = Instance.new("Weld",a)
| |
| 449 | w.Part0 = a | |
| 450 | w.Part1 = b | |
| 451 | return w | |
| 452 | end | |
| 453 | function weld(a, b) | |
| 454 | local weld = Instance.new("Weld")
| |
| 455 | weld.Name = "W" | |
| 456 | weld.Part0 = a | |
| 457 | weld.Part1 = b | |
| 458 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 459 | weld.Parent = a | |
| 460 | return weld; | |
| 461 | end | |
| 462 | ---------------------------------------------------- | |
| 463 | function Lerp(c1,c2,al) | |
| 464 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 465 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 466 | for i,v in pairs(com1) do | |
| 467 | com1[i] = v+(com2[i]-v)*al | |
| 468 | end | |
| 469 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 470 | end | |
| 471 | ---------------------------------------------------- | |
| 472 | ||
| 473 | ||
| 474 | ||
| 475 | fw(torso, larm, -1.5, 0.5, 0) | |
| 476 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 477 | fw(torso, rarm, 1.5, 0.5, 0) | |
| 478 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 479 | fw(torso, hed, 0, 1.5, 0) | |
| 480 | fw(torso, lleg, -0.5, -1, 0) | |
| 481 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 482 | fw(torso, rleg, 0.5, -1, 0) | |
| 483 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 484 | fw(root, torso, 0, -1, 0) | |
| 485 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 486 | --------------rot------------ | |
| 487 | local r=0 | |
| 488 | local radd=0.04 | |
| 489 | coroutine.wrap(function() | |
| 490 | while rs:wait() do | |
| 491 | r=r+radd | |
| 492 | end | |
| 493 | end)() | |
| 494 | attack = false | |
| 495 | ----------------------------- | |
| 496 | ||
| 497 | ----------------------------- | |
| 498 | ||
| 499 | ||
| 500 | if trans == false then | |
| 501 | attack=true | |
| 502 | NoAnims=true | |
| 503 | hum.WalkSpeed=0 | |
| 504 | ||
| 505 | local fx = Instance.new("Sound",char)
| |
| 506 | fx.SoundId="rbxassetid://"..drinks | |
| 507 | fx.Volume=0 | |
| 508 | fx.Pitch=1 | |
| 509 | fx:Play() | |
| 510 | ||
| 511 | ||
| 512 | ||
| 513 | ||
| 514 | fx.SoundId="rbxassetid://"..breaks | |
| 515 | fx.Volume=10 | |
| 516 | fx:Play() | |
| 517 | ||
| 518 | ||
| 519 | ||
| 520 | ||
| 521 | print("drinked")
| |
| 522 | ||
| 523 | ||
| 524 | ||
| 525 | coroutine.wrap(function() | |
| 526 | while trans == false do | |
| 527 | wait(0.2) | |
| 528 | local ef = Instance.new("Part",char)
| |
| 529 | ef.Name="pulse" | |
| 530 | ef.BrickColor=BrickColor.new(color2) | |
| 531 | ef.Material="Neon" | |
| 532 | ef.Shape="Ball" | |
| 533 | ef.CanCollide=false | |
| 534 | ef.Anchored=true | |
| 535 | ef.Size=Vector3.new(1,1,1) | |
| 536 | ef.CFrame=root.CFrame | |
| 537 | ||
| 538 | local ef2 = ef:Clone() | |
| 539 | ef2.Parent=ef | |
| 540 | ef2.BrickColor=BrickColor.new(color) | |
| 541 | ef2.Name="call" | |
| 542 | ef2.Size=Vector3.new(1,1,1) | |
| 543 | local em=Instance.new("SpecialMesh",ef2)
| |
| 544 | em.MeshId="rbxassetid://3270017" | |
| 545 | em.Scale=Vector3.new(1,1,0.0001) | |
| 546 | ||
| 547 | local ef3 = ef2:Clone() | |
| 548 | ef3.Parent=ef | |
| 549 | ef3.Name="aura" | |
| 550 | ef3.CFrame=root.CFrame | |
| 551 | local em2=ef3.Mesh | |
| 552 | em2.MeshId="rbxassetid://20329976" | |
| 553 | em2.Scale=Vector3.new(1,0.4,1) | |
| 554 | ||
| 555 | local ef4 = ef3:Clone() | |
| 556 | ef4.Parent=ef | |
| 557 | local em3=ef4.Mesh | |
| 558 | ||
| 559 | local ef5 = ef2:Clone() | |
| 560 | ef5.Parent=ef | |
| 561 | local em4=ef5.Mesh | |
| 562 | ||
| 563 | coroutine.wrap(function() | |
| 564 | for i = 1, 60 do | |
| 565 | rs:wait() | |
| 566 | ef.Size=ef.Size+Vector3.new(1,1,1) | |
| 567 | ef.Transparency=ef.Transparency+1/60 | |
| 568 | ef2.Size=ef2.Size+Vector3.new(1,0.3,1) | |
| 569 | ef2.Transparency=ef2.Transparency+1/60 | |
| 570 | em.Scale=em.Scale+Vector3.new(1,1,0) | |
| 571 | ef2.CFrame=torso.CFrame*CFrame.Angles(r,r,r) | |
| 572 | ef3.Size=ef3.Size+Vector3.new(1,0.3,1) | |
| 573 | ef3.Transparency=ef3.Transparency+1/60 | |
| 574 | ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0) | |
| 575 | em2.Scale=em2.Scale+Vector3.new(1,0.3,1) | |
| 576 | ef4.Size=ef4.Size+Vector3.new(1,0.3,1) | |
| 577 | ef4.Transparency=ef4.Transparency+1/60 | |
| 578 | ef4.CFrame=root.CFrame*CFrame.Angles(0,-r,0) | |
| 579 | em3.Scale=em3.Scale+Vector3.new(1,0.3,1) | |
| 580 | ef5.Transparency=ef5.Transparency+1/60 | |
| 581 | em4.Scale=em4.Scale+Vector3.new(1,1,0) | |
| 582 | ef5.CFrame=torso.CFrame*CFrame.Angles(-r,-r,-r) | |
| 583 | end | |
| 584 | ef:Destroy() | |
| 585 | ef2:Destroy() | |
| 586 | ef3:Destroy() | |
| 587 | ef4:Destroy() | |
| 588 | ef5:Destroy() | |
| 589 | end)() | |
| 590 | end | |
| 591 | local ef = Instance.new("Part",char)
| |
| 592 | ef.Name="pulse" | |
| 593 | ef.BrickColor=BrickColor.new(color2) | |
| 594 | ef.Material="Neon" | |
| 595 | ef.Shape="Ball" | |
| 596 | ef.CanCollide=false | |
| 597 | ef.Anchored=true | |
| 598 | ef.Size=Vector3.new(1,1,1) | |
| 599 | ef.CFrame=root.CFrame | |
| 600 | local em=Instance.new("SpecialMesh",ef)
| |
| 601 | em.MeshId="rbxassetid://9982590" | |
| 602 | em.Scale=Vector3.new(1,0.3,1) | |
| 603 | ||
| 604 | local ef2 = ef:Clone() | |
| 605 | ef2.Parent=ef | |
| 606 | ef2.Name="aura" | |
| 607 | ef2.CFrame=root.CFrame | |
| 608 | ef2.Mesh:Destroy() | |
| 609 | ||
| 610 | local ef3 = ef:Clone() | |
| 611 | ef3.Parent=ef | |
| 612 | ef3.Name="aura" | |
| 613 | ef3.CFrame=root.CFrame | |
| 614 | ef3.Mesh:Destroy() | |
| 615 | local em2=Instance.new("SpecialMesh",ef3)
| |
| 616 | em2.MeshId="rbxassetid://20329976" | |
| 617 | em2.Scale=Vector3.new(1,0.3,1) | |
| 618 | ||
| 619 | coroutine.wrap(function() | |
| 620 | for i = 1, 250 do | |
| 621 | ef.Size=ef.Size+Vector3.new(2,2,2) | |
| 622 | ef.Transparency=ef.Transparency+1/160 | |
| 623 | em.Scale=em.Scale+Vector3.new(0.6,0.6,0.6) | |
| 624 | ef.CFrame=root.CFrame*CFrame.Angles(r,r,r) | |
| 625 | ef3.Transparency=ef3.Transparency+1/160 | |
| 626 | ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0) | |
| 627 | em2.Scale=em2.Scale+Vector3.new(2,0.8,2) | |
| 628 | ef2.Size=ef2.Size+Vector3.new(2,2,2) | |
| 629 | ef2.Transparency=ef2.Transparency+1/160 | |
| 630 | rs:wait() | |
| 631 | end | |
| 632 | ef:Destroy() | |
| 633 | ef2:Destroy() | |
| 634 | ef3:Destroy() | |
| 635 | s02:Destroy() | |
| 636 | ||
| 637 | end)() | |
| 638 | end)() | |
| 639 | ||
| 640 | for i = 1, 270 do | |
| 641 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,4,0)*CFrame.Angles(math.rad(20),0,0),0.25) | |
| 642 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,0.15),0.25) | |
| 643 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,-0.15),0.25) | |
| 644 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,-6),0.25) | |
| 645 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,6),0.25) | |
| 646 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25) | |
| 647 | rs:wait() | |
| 648 | end | |
| 649 | wait(8.7) | |
| 650 | s0:Play() | |
| 651 | trans=true | |
| 652 | print("screamed")
| |
| 653 | for i,v in pairs(char:GetChildren()) do | |
| 654 | if v:FindFirstChild("Handle") then
| |
| 655 | v.Handle.Transparency=1 | |
| 656 | end | |
| 657 | end | |
| 658 | hum.WalkSpeed=normal | |
| 659 | NoAnims=false | |
| 660 | attack=false | |
| 661 | end | |
| 662 | ||
| 663 | ||
| 664 | ------effects------ | |
| 665 | ||
| 666 | ypcall(function() | |
| 667 | shirt = Instance.new("Shirt", char)
| |
| 668 | shirt.Name = "Shirt" | |
| 669 | pants = Instance.new("Pants", char)
| |
| 670 | pants.Name = "Pants" | |
| 671 | char.Shirt.ShirtTemplate = Shirt | |
| 672 | char.Pants.PantsTemplate = Pants | |
| 673 | end) | |
| 674 | ||
| 675 | char["Body Colors"].HeadColor = BrickColor.new("Dirt brown")
| |
| 676 | char["Body Colors"].TorsoColor = BrickColor.new("Dirt brown")
| |
| 677 | char["Body Colors"].LeftArmColor = BrickColor.new("Dirt brown")
| |
| 678 | char["Body Colors"].RightArmColor = BrickColor.new("Dirt brown")
| |
| 679 | ||
| 680 | ||
| 681 | ||
| 682 | hum = char.Humanoid | |
| 683 | ||
| 684 | function CreateMesh(parent, id, x, y, z, texture) | |
| 685 | local m=Instance.new("SpecialMesh", parent)
| |
| 686 | m.MeshType = "FileMesh" | |
| 687 | m.MeshId=id | |
| 688 | if texture ~= nil then | |
| 689 | m.TextureId=texture | |
| 690 | end | |
| 691 | m.Scale = Vector3.new(x,y,z) | |
| 692 | end | |
| 693 | ||
| 694 | local euler = CFrame.fromEulerAnglesXYZ | |
| 695 | ||
| 696 | Hat=function() | |
| 697 | hat = Instance.new("Part", char)
| |
| 698 | CreateMesh(hat, "rbxassetid://667528488", 1.1, 1.1, 1.1,"rbxassetid://845828015") | |
| 699 | hat.Name = "PurpleHair" | |
| 700 | hat.Locked = true | |
| 701 | hat.BrickColor = BrickColor.new("Dark indigo")
| |
| 702 | hat.CanCollide=true | |
| 703 | hat.Size=Vector3.new(1,1,1) | |
| 704 | hatw = Instance.new("Weld",hat)
| |
| 705 | hatw.Part0=hat | |
| 706 | hatw.Part1=char['Head'] | |
| 707 | hatw.C0=CFrame.new(-0.1,-0.4,0) | |
| 708 | hatw.C1=euler(math.rad(0),math.rad(0),math.rad(0)) | |
| 709 | end | |
| 710 | ||
| 711 | ||
| 712 | Hat2=function() | |
| 713 | hat2 = Instance.new("Part", char)
| |
| 714 | CreateMesh(hat2, "rbxassetid://943649996", 0.5, 0.5, 0.5,"rbxassetid://943650208") | |
| 715 | hat2.Name = "DisguiseScarf" | |
| 716 | hat2.Locked = true | |
| 717 | hat2.BrickColor = BrickColor.new("Dark indigo")
| |
| 718 | hat2.CanCollide=true | |
| 719 | hat2.Size=Vector3.new(1,1,1) | |
| 720 | hat2w = Instance.new("Weld",hat2)
| |
| 721 | hat2w.Part0=hat2 | |
| 722 | hat2w.Part1=char['Head'] | |
| 723 | hat2w.C0=CFrame.new(0,0.5,0) | |
| 724 | hat2w.C1=euler(math.rad(0),math.rad(0),math.rad(0)) | |
| 725 | end | |
| 726 | ||
| 727 | Hat() | |
| 728 | Hat2() | |
| 729 | ||
| 730 | hum.MaxHealth=math.huge | |
| 731 | hum.Health=hum.MaxHealth | |
| 732 | ||
| 733 | ||
| 734 | Debounces = {
| |
| 735 | CanAttack = true; | |
| 736 | NoIdl = false; | |
| 737 | Slashing = false; | |
| 738 | Slashed = false; | |
| 739 | RPunch = false; | |
| 740 | RPunched = false; | |
| 741 | LPunch = false; | |
| 742 | LPunched = false; | |
| 743 | } | |
| 744 | local Touche = {char.Name, }
| |
| 745 | ||
| 746 | ||
| 747 | ||
| 748 | ||
| 749 | ||
| 750 | CV="Really blue" | |
| 751 | ||
| 752 | local txt = Instance.new("BillboardGui", char)
| |
| 753 | txt.Adornee = char .Head | |
| 754 | txt.Name = "_status" | |
| 755 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 756 | txt.StudsOffset = Vector3.new(-9, 11, 0) | |
| 757 | local text = Instance.new("TextLabel", txt)
| |
| 758 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 759 | text.FontSize = "Size24" | |
| 760 | text.TextScaled = true | |
| 761 | text.TextTransparency = 0 | |
| 762 | text.BackgroundTransparency = 1 | |
| 763 | text.TextTransparency = 0 | |
| 764 | text.TextStrokeTransparency = 0 | |
| 765 | text.Font = "Antique" | |
| 766 | text.TextStrokeColor3 = Color3.new(0,0,255) | |
| 767 | ||
| 768 | v=Instance.new("Part")
| |
| 769 | v.Name = "ColorBrick" | |
| 770 | v.Parent=p.Character | |
| 771 | v.FormFactor="Symmetric" | |
| 772 | v.Anchored=true | |
| 773 | v.CanCollide=false | |
| 774 | v.BottomSurface="Smooth" | |
| 775 | v.TopSurface="Smooth" | |
| 776 | v.Size=Vector3.new(10,5,3) | |
| 777 | v.Transparency=1 | |
| 778 | v.CFrame=char.Torso.CFrame | |
| 779 | v.BrickColor=BrickColor.new(CV) | |
| 780 | v.Transparency=1 | |
| 781 | text.TextColor3 = Color3.new(0,0,0) | |
| 782 | v.Shape="Block" | |
| 783 | text.Text = "God Slayer" | |
| 784 | ||
| 785 | ||
| 786 | ||
| 787 | ||
| 788 | ||
| 789 | ||
| 790 | ||
| 791 | rarm.Touched:connect(function(ht) | |
| 792 | hit = ht.Parent | |
| 793 | if ht and hit:IsA("Model") then
| |
| 794 | if hit:FindFirstChild("Humanoid") then
| |
| 795 | if hit.Name ~= p.Name then | |
| 796 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 797 | Debounces.RPunched = true | |
| 798 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 799 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
| |
| 800 | if Debounces.ks==true then | |
| 801 | z = Instance.new("Sound",hed)
| |
| 802 | z.SoundId = "rbxassetid://588693156" | |
| 803 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 804 | z.Volume = 20 | |
| 805 | z:Play() | |
| 806 | end | |
| 807 | wait(.2) | |
| 808 | Debounces.RPunched = false | |
| 809 | end | |
| 810 | end | |
| 811 | end | |
| 812 | elseif ht and hit:IsA("Hat") then
| |
| 813 | if hit.Parent.Name ~= p.Name then | |
| 814 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 815 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 816 | Debounces.RPunched = true | |
| 817 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 818 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
| |
| 819 | if Debounces.ks==true then | |
| 820 | z = Instance.new("Sound",hed)
| |
| 821 | z.SoundId = "rbxassetid://588693156" | |
| 822 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 823 | z.Volume = 20 | |
| 824 | z:Play() | |
| 825 | end | |
| 826 | wait(.2) | |
| 827 | Debounces.RPunched = false | |
| 828 | end | |
| 829 | end | |
| 830 | end | |
| 831 | end | |
| 832 | end) | |
| 833 | larm.Touched:connect(function(ht) | |
| 834 | hit = ht.Parent | |
| 835 | if ht and hit:IsA("Model") then
| |
| 836 | if hit:FindFirstChild("Humanoid") then
| |
| 837 | if hit.Name ~= p.Name then | |
| 838 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 839 | Debounces.LPunched = true | |
| 840 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 841 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
| |
| 842 | if Debounces.ks2==true then | |
| 843 | z = Instance.new("Sound",hed)
| |
| 844 | z.SoundId = "rbxassetid://588693156" | |
| 845 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 846 | z.Volume = 20 | |
| 847 | z:Play() | |
| 848 | end | |
| 849 | wait(.2) | |
| 850 | Debounces.LPunched = false | |
| 851 | end | |
| 852 | end | |
| 853 | end | |
| 854 | elseif ht and hit:IsA("Hat") then
| |
| 855 | if hit.Parent.Name ~= p.Name then | |
| 856 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 857 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 858 | Debounces.LPunched = true | |
| 859 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 860 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
| |
| 861 | if Debounces.ks2==true then | |
| 862 | z = Instance.new("Sound",hed)
| |
| 863 | z.SoundId = "rbxassetid://588693156" | |
| 864 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 865 | z.Volume = 20 | |
| 866 | z:Play() | |
| 867 | end | |
| 868 | wait(.2) | |
| 869 | Debounces.LPunched = false | |
| 870 | end | |
| 871 | end | |
| 872 | end | |
| 873 | end | |
| 874 | end) | |
| 875 | ||
| 876 | ||
| 877 | ||
| 878 | ||
| 879 | ||
| 880 | ||
| 881 | ||
| 882 | ||
| 883 | local attacktype = 1 | |
| 884 | local attack = false | |
| 885 | ||
| 886 | ||
| 887 | ||
| 888 | function attackone() | |
| 889 | Debounces.RPunch = true | |
| 890 | Debounces.LPunch = true | |
| 891 | attack = true | |
| 892 | NoAnims = true | |
| 893 | for i = 1, 3 do | |
| 894 | 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) | |
| 895 | 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) | |
| 896 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 897 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 898 | 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) | |
| 899 | 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) | |
| 900 | if Debounces.on == false then break end | |
| 901 | wait() | |
| 902 | end | |
| 903 | attack = false | |
| 904 | NoAnims = false | |
| 905 | Debounces.RPunch = false | |
| 906 | Debounces.LPunch = false | |
| 907 | end | |
| 908 | ||
| 909 | function attacktwo() | |
| 910 | Debounces.RPunch = true | |
| 911 | Debounces.LPunch = true | |
| 912 | NoAnims = true | |
| 913 | attack = true | |
| 914 | for i = 1, 3 do | |
| 915 | 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) | |
| 916 | 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) | |
| 917 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 918 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 919 | 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) | |
| 920 | 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) | |
| 921 | if Debounces.on == false then break end | |
| 922 | wait() | |
| 923 | end | |
| 924 | attack = false | |
| 925 | NoAnims = false | |
| 926 | Debounces.RPunch = false | |
| 927 | Debounces.LPunch = false | |
| 928 | ||
| 929 | end | |
| 930 | ||
| 931 | ||
| 932 | function attackthree() | |
| 933 | Debounces.RPunch = true | |
| 934 | Debounces.LPunch = true | |
| 935 | NoAnims = true | |
| 936 | attack = true | |
| 937 | for i = 1, 3 do | |
| 938 | 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) | |
| 939 | 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) | |
| 940 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 941 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 942 | 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) | |
| 943 | 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) | |
| 944 | if Debounces.on == false then break end | |
| 945 | wait() | |
| 946 | end | |
| 947 | attack = false | |
| 948 | NoAnims = false | |
| 949 | Debounces.RPunch = false | |
| 950 | Debounces.LPunch = false | |
| 951 | end | |
| 952 | ||
| 953 | ||
| 954 | function attackfour() | |
| 955 | Debounces.RPunch = true | |
| 956 | Debounces.LPunch = true | |
| 957 | NoAnims = true | |
| 958 | attack = true | |
| 959 | for i = 1, 3 do | |
| 960 | 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) | |
| 961 | 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) | |
| 962 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 963 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 964 | 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) | |
| 965 | 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) | |
| 966 | if Debounces.on == false then break end | |
| 967 | wait() | |
| 968 | end | |
| 969 | attack = false | |
| 970 | NoAnims = false | |
| 971 | Debounces.RPunch = false | |
| 972 | Debounces.LPunch = false | |
| 973 | end | |
| 974 | ||
| 975 | ||
| 976 | mouse.Button1Down:connect(function() | |
| 977 | if attack == false and attacktype == 1 then | |
| 978 | attacktype = 2 | |
| 979 | attackone() | |
| 980 | elseif attack == false and attacktype == 2 then | |
| 981 | attacktype = 3 | |
| 982 | attacktwo() | |
| 983 | elseif attack == false and attacktype == 3 then | |
| 984 | attacktype = 4 | |
| 985 | attackthree() | |
| 986 | elseif attack == false and attacktype == 4 then | |
| 987 | attacktype = 1 | |
| 988 | attackfour() | |
| 989 | end | |
| 990 | end) | |
| 991 | ||
| 992 | ||
| 993 | --[[function Transformation() | |
| 994 | hum.WalkSpeed = 0 | |
| 995 | local Portal = Instance.new("Model",char)
| |
| 996 | local prt1 = Instance.new("Model",Portal)
| |
| 997 | local prt2 = Instance.new("Model",Portal)
| |
| 998 | local prt3 = Instance.new("Model",Portal)
| |
| 999 | for i = 1,7 do | |
| 1000 | local p = Instance.new("Part",prt1)
| |
| 1001 | p.Locked = true | |
| 1002 | p.Anchored = true | |
| 1003 | p.Transparency = 1 | |
| 1004 | p.CanCollide = false | |
| 1005 | p.BrickColor = BrickColor.new("Really red")
| |
| 1006 | p.TopSurface = 0 | |
| 1007 | p.Material = "Neon" | |
| 1008 | p.BottomSurface = 0 | |
| 1009 | p.Size = Vector3.new(1,1,1) | |
| 1010 | local m = Instance.new("SpecialMesh",p)
| |
| 1011 | m.Name = 'm' | |
| 1012 | m.Scale = Vector3.new(1,1,1) | |
| 1013 | m.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 1014 | end for i = 1,7 do | |
| 1015 | local p = Instance.new("Part",prt2)
| |
| 1016 | p.Locked = true | |
| 1017 | p.Anchored = true | |
| 1018 | p.CanCollide = false | |
| 1019 | p.Transparency = 1 | |
| 1020 | p.BrickColor = BrickColor.new("Really black")
| |
| 1021 | p.TopSurface = 0 | |
| 1022 | p.Material = "Neon" | |
| 1023 | p.BottomSurface = 0 | |
| 1024 | p.Size = Vector3.new(1,1,1) | |
| 1025 | local m = Instance.new("SpecialMesh",p)
| |
| 1026 | m.Name = 'm' | |
| 1027 | m.Scale = Vector3.new(1,1,1) | |
| 1028 | m.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 1029 | end for i = 1,7 do | |
| 1030 | local p = Instance.new("Part",prt3)
| |
| 1031 | p.Locked = true | |
| 1032 | p.Anchored = true | |
| 1033 | p.CanCollide = false | |
| 1034 | p.Transparency = 1 | |
| 1035 | p.BrickColor = BrickColor.new("Really red")
| |
| 1036 | p.TopSurface = 0 | |
| 1037 | p.Material = "Neon" | |
| 1038 | p.BottomSurface = 0 | |
| 1039 | p.Size = Vector3.new(1,1,1) | |
| 1040 | local m = Instance.new("SpecialMesh",p)
| |
| 1041 | m.Name = 'm' | |
| 1042 | m.Scale = Vector3.new(1,1,1) | |
| 1043 | m.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 1044 | end | |
| 1045 | local Rot,Rate,Dist,Size = 0,65,65,1 | |
| 1046 | coroutine.wrap(function() | |
| 1047 | while wait()do | |
| 1048 | if _DEBOUNCE then break end | |
| 1049 | for i,v in pairs(prt1:GetChildren())do | |
| 1050 | v.Transparency = v.Transparency -0.035 | |
| 1051 | v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#prt1:GetChildren())+Rot),0)* CFrame.new(0,0,-Dist) | |
| 1052 | v.m.Scale = Vector3.new(Size,Size,Size) | |
| 1053 | end for i,v in pairs(prt2:GetChildren())do | |
| 1054 | v.Transparency = v.Transparency -0.035 | |
| 1055 | v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(math.rad((i *360/#prt2:GetChildren())+Rot),0,0)* CFrame.new(0,0,-Dist) | |
| 1056 | v.m.Scale = Vector3.new(Size,Size,Size) | |
| 1057 | end for i,v in pairs(prt3:GetChildren())do | |
| 1058 | v.Transparency = v.Transparency -0.035 | |
| 1059 | v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,0,math.rad((i *360/#prt2:GetChildren())+Rot))* CFrame.new(-Dist,-Dist,0) | |
| 1060 | v.m.Scale = Vector3.new(Size,Size,Size) | |
| 1061 | end | |
| 1062 | Rot = Rot >= 360 and 0 or Rot +Rate | |
| 1063 | end end)() | |
| 1064 | wait(0.75) | |
| 1065 | for i = 1,90 do | |
| 1066 | Rate = Rate -(2.3/3) | |
| 1067 | Dist = Dist -(1.5/3) | |
| 1068 | wait() | |
| 1069 | end | |
| 1070 | wait(1) | |
| 1071 | for i = 1,30 do | |
| 1072 | Rate = Rate -(2.3/3) | |
| 1073 | Dist = Dist +0.5 | |
| 1074 | wait() | |
| 1075 | end | |
| 1076 | wait(2) | |
| 1077 | for i = 1,30 do | |
| 1078 | Rate = Rate +(9.2/3) | |
| 1079 | Dist = Dist -1.75 | |
| 1080 | wait() | |
| 1081 | end | |
| 1082 | wait(0.75) | |
| 1083 | for i = 1,6 do | |
| 1084 | Rate = Rate -4 | |
| 1085 | Dist = Dist +0.5 | |
| 1086 | wait() | |
| 1087 | end | |
| 1088 | Rate = 0 | |
| 1089 | Dist = 6 | |
| 1090 | wait(2) | |
| 1091 | for i = 1,90 do | |
| 1092 | Rate = Rate +0.5 | |
| 1093 | Dist = Dist +0.2 | |
| 1094 | wait() | |
| 1095 | end | |
| 1096 | wait(1) | |
| 1097 | for i = 1,30 do | |
| 1098 | Dist = Dist -(24/30) | |
| 1099 | Size = Size +0.05 | |
| 1100 | wait() | |
| 1101 | end | |
| 1102 | -- Scream in pain | |
| 1103 | ||
| 1104 | ||
| 1105 | coroutine.resume(coroutine.create(function() | |
| 1106 | wait(2) | |
| 1107 | game.Lighting.TimeOfDay = "00:00:00" | |
| 1108 | ||
| 1109 | hat.Transparency = 1 | |
| 1110 | Hat3=function() | |
| 1111 | hat3 = Instance.new("Part", char)
| |
| 1112 | CreateMesh(hat3, "rbxassetid://667528488", 1.1, 1.1, 1.1) | |
| 1113 | hat3.Name = "RedHair" | |
| 1114 | hat3.Locked = true | |
| 1115 | hat3.BrickColor = BrickColor.new("Maroon")
| |
| 1116 | hat3.CanCollide=true | |
| 1117 | hat3.Size=Vector3.new(1,1,1) | |
| 1118 | hat3w = Instance.new("Weld",hat3)
| |
| 1119 | hat3w.Part0=hat3 | |
| 1120 | hat3w.Part1=char['Head'] | |
| 1121 | hat3w.C0=CFrame.new(-0.1,-0.4,0) | |
| 1122 | hat3w.C1=euler(math.rad(0),math.rad(0),math.rad(0)) | |
| 1123 | end | |
| 1124 | ||
| 1125 | ||
| 1126 | ||
| 1127 | ypcall(function() | |
| 1128 | shirt = Instance.new("Shirt", char)
| |
| 1129 | shirt.Name = "Shirt" | |
| 1130 | pants = Instance.new("Pants", char)
| |
| 1131 | pants.Name = "Pants" | |
| 1132 | char.Shirt.ShirtTemplate = "rbxassetid://519769931" | |
| 1133 | char.Pants.PantsTemplate = "rbxassetid://519770250" | |
| 1134 | end) | |
| 1135 | ||
| 1136 | ragesong2 = "492913801" | |
| 1137 | s02=Instance.new("Sound",char)
| |
| 1138 | s02.SoundId="rbxassetid://"..ragesong2 | |
| 1139 | s02.Volume=1999 | |
| 1140 | s02.Pitch=1 | |
| 1141 | s02.Looped=true | |
| 1142 | righteyebrickcolor = "Really red" | |
| 1143 | s0:Stop() | |
| 1144 | wait(0.01) | |
| 1145 | s02:Play() | |
| 1146 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
| 1147 | leye.BrickColor = BrickColor.new(righteyebrickcolor) | |
| 1148 | text.TextStrokeColor3 = Color3.new(255,0,0) | |
| 1149 | hat.BrickColor = BrickColor.new("Maroon")
| |
| 1150 | Hat3() | |
| 1151 | end)) | |
| 1152 | ||
| 1153 | ||
| 1154 | tran = 0 | |
| 1155 | for i,v in pairs(char:GetChildren()) do | |
| 1156 | if v.Name == "Head" or v.Name == "Torso" or v.Name == "Torso" or v.Name == "Left Arm" or v.Name == "Right Arm" or v.Name == "Left Leg" or v.Name == "Right Leg" then | |
| 1157 | Glow1 = Color3.new(.6,0,.1) | |
| 1158 | Glow2 = Color3.new(0,0,0) | |
| 1159 | ||
| 1160 | GlowParticle = Instance.new("ParticleEmitter",v)
| |
| 1161 | GlowParticle.LightEmission = 1 | |
| 1162 | GlowParticle.Color = ColorSequence.new(Glow1,Glow2) | |
| 1163 | GlowParticle.Size = NumberSequence.new(0,2) | |
| 1164 | ||
| 1165 | GlowParticle.Texture = "http://www.roblox.com/asset/?id=467188845" | |
| 1166 | GlowParticle.Transparency = NumberSequence.new(tran,1) | |
| 1167 | GlowParticle.LockedToPart = true | |
| 1168 | GlowParticle.Lifetime = NumberRange.new(0.5) | |
| 1169 | GlowParticle.Rate= 300 | |
| 1170 | GlowParticle.Speed =NumberRange.new(0) | |
| 1171 | end end | |
| 1172 | ||
| 1173 | ||
| 1174 | ||
| 1175 | ||
| 1176 | ||
| 1177 | ||
| 1178 | ||
| 1179 | ||
| 1180 | ||
| 1181 | ||
| 1182 | ||
| 1183 | ||
| 1184 | ||
| 1185 | coroutine.wrap(function() | |
| 1186 | for i = 1,3 do | |
| 1187 | wait() | |
| 1188 | end end)() | |
| 1189 | wait(1.65) | |
| 1190 | _DEBOUNCE = true | |
| 1191 | wait() | |
| 1192 | Portal:Destroy() | |
| 1193 | coroutine.wrap(function() | |
| 1194 | local Pos = char.Torso.Position | |
| 1195 | local BOOSH = Instance.new("Sound",Workspace)
| |
| 1196 | BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159" | |
| 1197 | BOOSH.Volume = 1 | |
| 1198 | BOOSH.Pitch = 0.675 | |
| 1199 | local Fuse = Instance.new("Sound",Workspace)
| |
| 1200 | Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908" | |
| 1201 | Fuse.Volume = 1 | |
| 1202 | Fuse.Pitch = 0.25 | |
| 1203 | local BOOSH2 = Instance.new("Sound",Workspace)
| |
| 1204 | BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793" | |
| 1205 | BOOSH2.Volume = 1 | |
| 1206 | BOOSH2.Pitch = 0.25 | |
| 1207 | local dsound = true | |
| 1208 | local PewPew = Instance.new("Sound",Workspace)
| |
| 1209 | PewPew.Name = "PewPew" | |
| 1210 | PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534" | |
| 1211 | PewPew.Volume = 1 | |
| 1212 | PewPew.Pitch = 0.32 | |
| 1213 | local function GetHumanoids() | |
| 1214 | local Characters = {}
| |
| 1215 | for i,v in pairs(Workspace:GetChildren())do | |
| 1216 | if v:IsA("Model")then
| |
| 1217 | local Hu = v:findFirstChild("Humanoid")
| |
| 1218 | local Torso = v:findFirstChild("Torso")
| |
| 1219 | if Hu and Torso and v.Name ~= p.Name then | |
| 1220 | table.insert(Characters,Torso) | |
| 1221 | end end end | |
| 1222 | return Characters | |
| 1223 | end | |
| 1224 | local function Boom() | |
| 1225 | for i = 1,25 do | |
| 1226 | for _,v in pairs(GetHumanoids())do | |
| 1227 | if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then | |
| 1228 | local h = v.Parent:findFirstChild("Humanoid")
| |
| 1229 | if h then | |
| 1230 | local Moar =(Pos - v.Position).unit | |
| 1231 | ||
| 1232 | ||
| 1233 | end end end | |
| 1234 | local p = Instance.new("Part",char)
| |
| 1235 | p.Name = "BlastRing" | |
| 1236 | p.TopSurface = 0 | |
| 1237 | p.BottomSurface = 0 | |
| 1238 | p.CanCollide = false | |
| 1239 | p.Anchored = true | |
| 1240 | p.BrickColor = BrickColor.new("Really red")
| |
| 1241 | p.Size = Vector3.new(1,1,1) | |
| 1242 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30) | |
| 1243 | local rm = Instance.new("SpecialMesh",p)
| |
| 1244 | rm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1245 | rm.Name = "BlastMesh" | |
| 1246 | rm.Scale = Vector3.new(1,1,1) | |
| 1247 | coroutine.wrap(function() | |
| 1248 | for n = 1,15 do | |
| 1249 | rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2 | |
| 1250 | if 2 +i/5 == 1.2 then | |
| 1251 | rm.Scale = rm.Scale + Vector3.new(0,0.9,0) | |
| 1252 | end | |
| 1253 | p.Transparency = n/15 | |
| 1254 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0) | |
| 1255 | wait() | |
| 1256 | end | |
| 1257 | p:Destroy() | |
| 1258 | end)() | |
| 1259 | local p = Instance.new("Part",char)
| |
| 1260 | p.TopSurface = 0 | |
| 1261 | p.BottomSurface = 0 | |
| 1262 | p.formFactor = "Symmetric" | |
| 1263 | p.Size = Vector3.new(1,1,1) | |
| 1264 | p.Anchored = true | |
| 1265 | p.CanCollide = false | |
| 1266 | p.BrickColor = BrickColor.new("Really red")
| |
| 1267 | p.CFrame = CFrame.new(Pos) | |
| 1268 | local m = Instance.new("BlockMesh",p)
| |
| 1269 | coroutine.wrap(function() | |
| 1270 | for x = 1,48 do | |
| 1271 | m.Scale = m.Scale + Vector3.new(0.48 *2 -x/50 +i *0.4,0.48 *2 -i/50 +i *0.4,0.48 *2 -i/50 +i *0.4)/2 | |
| 1272 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50) | |
| 1273 | p.Transparency = x/48 | |
| 1274 | Wait() | |
| 1275 | end | |
| 1276 | p:Destroy() | |
| 1277 | end)() | |
| 1278 | Game:GetService("Debris"):AddItem(p,5)
| |
| 1279 | local p = Instance.new("Part",char)
| |
| 1280 | p.Name = "BlastRing" | |
| 1281 | p.TopSurface = 0 | |
| 1282 | p.BottomSurface = 0 | |
| 1283 | p.CanCollide = false | |
| 1284 | p.Anchored = true | |
| 1285 | p.BrickColor = BrickColor.new("Really black")
| |
| 1286 | p.Size = Vector3.new(1,1,1) | |
| 1287 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1288 | local m = Instance.new("SpecialMesh",p)
| |
| 1289 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 1290 | m.Scale = Vector3.new(1,0.25,1) | |
| 1291 | coroutine.wrap(function() | |
| 1292 | for n = 1,13 do | |
| 1293 | m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2 | |
| 1294 | if 1 +i/5 == 1.2 then | |
| 1295 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
| 1296 | end | |
| 1297 | p.Transparency = n/13 | |
| 1298 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0) | |
| 1299 | Wait() | |
| 1300 | end | |
| 1301 | p:Destroy() | |
| 1302 | end)() | |
| 1303 | Wait(0.1) | |
| 1304 | end for i = 10,19 do | |
| 1305 | local p = Instance.new("Part",char)
| |
| 1306 | p.Name = "BlastRing" | |
| 1307 | p.TopSurface = 0 | |
| 1308 | p.BottomSurface = 0 | |
| 1309 | p.CanCollide = false | |
| 1310 | p.Anchored = true | |
| 1311 | p.BrickColor = BrickColor.new("Really red")
| |
| 1312 | p.Size = Vector3.new(1,1,1) | |
| 1313 | p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1314 | local m = Instance.new("SpecialMesh",p)
| |
| 1315 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 1316 | m.Scale = Vector3.new(1,0.25,1) | |
| 1317 | coroutine.wrap(function() | |
| 1318 | for n = 1,13 do | |
| 1319 | m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2 | |
| 1320 | if 1 +i/5 == 1.2 then | |
| 1321 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
| 1322 | end | |
| 1323 | p.Transparency = n/13 | |
| 1324 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0) | |
| 1325 | Wait() | |
| 1326 | end | |
| 1327 | p:Destroy() | |
| 1328 | end)() | |
| 1329 | local p = Instance.new("Part",char)
| |
| 1330 | p.Name = "BlastRing" | |
| 1331 | p.TopSurface = 0 | |
| 1332 | p.BottomSurface = 0 | |
| 1333 | p.CanCollide = false | |
| 1334 | p.Anchored = true | |
| 1335 | p.BrickColor = BrickColor.new("Really black")
| |
| 1336 | p.Size = Vector3.new(1,1,1) | |
| 1337 | p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30) | |
| 1338 | p.Parent = workspace | |
| 1339 | local m = Instance.new("SpecialMesh",p)
| |
| 1340 | m.Name = "BlastMesh" | |
| 1341 | m.Scale = Vector3.new(0.1,0.1,0.1) | |
| 1342 | m.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1343 | coroutine.wrap(function() | |
| 1344 | for n = 1,15 do | |
| 1345 | m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2 | |
| 1346 | if 3+i/5 == 1.2 then | |
| 1347 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
| 1348 | end | |
| 1349 | p.Transparency = n/15 | |
| 1350 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0) | |
| 1351 | Wait() | |
| 1352 | end | |
| 1353 | p:Destroy() | |
| 1354 | end)() | |
| 1355 | for _,v in pairs(GetHumanoids())do | |
| 1356 | if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then | |
| 1357 | local h = v.Parent:findFirstChild("Humanoid")
| |
| 1358 | if h then | |
| 1359 | local Moar =(Pos - v.Position).unit | |
| 1360 | ||
| 1361 | ||
| 1362 | end end end | |
| 1363 | Wait(0.1) | |
| 1364 | end for i = 30,37 do | |
| 1365 | for _,v in pairs(GetHumanoids())do | |
| 1366 | if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then | |
| 1367 | local h = v.Parent:findFirstChild("Humanoid")
| |
| 1368 | if h then | |
| 1369 | local Moar =(Pos - v.Position).unit | |
| 1370 | ||
| 1371 | ||
| 1372 | end end end end | |
| 1373 | dsound = false | |
| 1374 | wait(6.5) | |
| 1375 | for i = 1,30 do | |
| 1376 | BOOSH.Volume = BOOSH.Volume -0.033 | |
| 1377 | BOOSH2.Volume = BOOSH.Volume | |
| 1378 | Fuse.Volume = BOOSH.Volume | |
| 1379 | Wait() | |
| 1380 | end | |
| 1381 | BOOSH:Stop() | |
| 1382 | BOOSH2:Stop() | |
| 1383 | Fuse:Stop() | |
| 1384 | end | |
| 1385 | BOOSH2:Play() | |
| 1386 | Fuse:Play() | |
| 1387 | BOOSH:Play() | |
| 1388 | Boom() | |
| 1389 | end)() | |
| 1390 | hum.WalkSpeed = 5 | |
| 1391 | end]] | |
| 1392 | ||
| 1393 | ||
| 1394 | GroundWave = function() | |
| 1395 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1396 | local Colors = {"Really blue", "Really blue"}
| |
| 1397 | local wave = Instance.new("Part", torso)
| |
| 1398 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 1399 | wave.Anchored = true | |
| 1400 | wave.CanCollide = false | |
| 1401 | wave.Locked = true | |
| 1402 | wave.Size = Vector3.new(1, 1, 1) | |
| 1403 | wave.TopSurface = "Smooth" | |
| 1404 | wave.BottomSurface = "Smooth" | |
| 1405 | wave.Transparency = 0.35 | |
| 1406 | wave.CFrame = HandCF | |
| 1407 | wm = Instance.new("SpecialMesh", wave)
| |
| 1408 | wm.MeshId = "rbxassetid://3270017" | |
| 1409 | coroutine.wrap(function() | |
| 1410 | for i = 1, 14, 1 do | |
| 1411 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
| 1412 | wave.Size = wm.Scale | |
| 1413 | wave.CFrame = HandCF | |
| 1414 | wave.Transparency = i/14 | |
| 1415 | wait() | |
| 1416 | end | |
| 1417 | wait() | |
| 1418 | wave:Destroy() | |
| 1419 | end)() | |
| 1420 | end | |
| 1421 | ||
| 1422 | ||
| 1423 | ||
| 1424 | function BurningEff(part) | |
| 1425 | local eff1 = Instance.new("ParticleEmitter",part)
| |
| 1426 | eff1.Size = NumberSequence.new(.1) | |
| 1427 | eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
| |
| 1428 | eff1.LightEmission = 1 | |
| 1429 | eff1.Lifetime = NumberRange.new(1) | |
| 1430 | eff1.Speed = NumberRange.new(0) | |
| 1431 | eff1.Rate = 100 | |
| 1432 | eff1.Texture = "rbxassetid://284205403" | |
| 1433 | eff1.Acceleration = Vector3.new(0,10,0) | |
| 1434 | eff1.Color = ColorSequence.new(Color3.new(0,0,255)) | |
| 1435 | local eff2 = Instance.new("ParticleEmitter",part)
| |
| 1436 | eff2.Size = NumberSequence.new(.1) | |
| 1437 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
| |
| 1438 | eff2.LightEmission = 1 | |
| 1439 | eff2.Lifetime = NumberRange.new(0.2) | |
| 1440 | eff2.Speed = NumberRange.new(0) | |
| 1441 | eff2.Rate = 100 | |
| 1442 | eff2.Texture = "rbxassetid://347504259" | |
| 1443 | eff2.Acceleration = Vector3.new(0,10,0) | |
| 1444 | eff2.Color = ColorSequence.new(Color3.new(0,0,255)) | |
| 1445 | local eff3 = Instance.new("ParticleEmitter",part)
| |
| 1446 | eff3.Size = NumberSequence.new(0.2) | |
| 1447 | eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 1448 | eff3.LightEmission = 1 | |
| 1449 | eff3.Lifetime = NumberRange.new(1) | |
| 1450 | eff3.Speed = NumberRange.new(0) | |
| 1451 | eff3.Rate = 100 | |
| 1452 | eff3.Texture = "rbxassetid://284205403" | |
| 1453 | eff3.Acceleration = Vector3.new(0,10,0) | |
| 1454 | eff3.Color = ColorSequence.new(Color3.new(0,0,255)) | |
| 1455 | end | |
| 1456 | ||
| 1457 | ||
| 1458 | function FullPower() | |
| 1459 | NoAnims = true | |
| 1460 | attack = true | |
| 1461 | ||
| 1462 | ||
| 1463 | ||
| 1464 | Full = true | |
| 1465 | ||
| 1466 | ||
| 1467 | for i = 1, 40 do | |
| 1468 | wait() | |
| 1469 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head | |
| 1470 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso | |
| 1471 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm | |
| 1472 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm | |
| 1473 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg | |
| 1474 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg | |
| 1475 | end | |
| 1476 | ||
| 1477 | ||
| 1478 | ||
| 1479 | ||
| 1480 | ||
| 1481 | ||
| 1482 | ||
| 1483 | ||
| 1484 | ||
| 1485 | for i = 1, 20 do | |
| 1486 | wait() | |
| 1487 | 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 | |
| 1488 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)--torso | |
| 1489 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)), 0.2)--arm | |
| 1490 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)), 0.2)--arm | |
| 1491 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg | |
| 1492 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg | |
| 1493 | end | |
| 1494 | ||
| 1495 | s0:Destroy() | |
| 1496 | ragesong = "397952612" | |
| 1497 | wait(0.001) | |
| 1498 | s02 = Instance.new("Sound",char)
| |
| 1499 | s02.Volume = 90 | |
| 1500 | s02.SoundId = "rbxassetid://"..ragesong | |
| 1501 | s02.Looped = true | |
| 1502 | s02.Pitch = 1 | |
| 1503 | wait(0.001) | |
| 1504 | s02:Play() | |
| 1505 | ||
| 1506 | ||
| 1507 | local selectionBoxOfTorso = Instance.new("SelectionBox",torso)
| |
| 1508 | selectionBoxOfTorso.Adornee = torso | |
| 1509 | selectionBoxOfTorso.Color = BrickColor.new("Really blue")
| |
| 1510 | selectionBoxOfTorso.LineThickness = 0.01 | |
| 1511 | selectionBoxOfTorso.Transparency = 0 | |
| 1512 | ||
| 1513 | local selectionBoxOfRightArm = Instance.new("SelectionBox",char["Right Arm"])
| |
| 1514 | selectionBoxOfRightArm.Adornee = char["Right Arm"] | |
| 1515 | selectionBoxOfRightArm.Color = BrickColor.new("Really blue")
| |
| 1516 | selectionBoxOfRightArm.LineThickness = 0.01 | |
| 1517 | selectionBoxOfRightArm.Transparency = 0 | |
| 1518 | ||
| 1519 | local selectionBoxOfRightLeg = Instance.new("SelectionBox",char["Right Leg"])
| |
| 1520 | selectionBoxOfRightLeg.Adornee = char["Right Leg"] | |
| 1521 | selectionBoxOfRightLeg.Color = BrickColor.new("Really blue")
| |
| 1522 | selectionBoxOfRightLeg.LineThickness = 0.01 | |
| 1523 | selectionBoxOfRightLeg.Transparency = 0 | |
| 1524 | ||
| 1525 | local selectionBoxOfLeftArm = Instance.new("SelectionBox",char["Left Arm"])
| |
| 1526 | selectionBoxOfLeftArm.Adornee = char["Left Arm"] | |
| 1527 | selectionBoxOfLeftArm.Color = BrickColor.new("Really blue")
| |
| 1528 | selectionBoxOfLeftArm.LineThickness = 0.01 | |
| 1529 | selectionBoxOfLeftArm.Transparency = 0 | |
| 1530 | ||
| 1531 | local selectionBoxOfLeftLeg = Instance.new("SelectionBox",char["Left Leg"])
| |
| 1532 | selectionBoxOfLeftLeg.Adornee = char["Left Leg"] | |
| 1533 | selectionBoxOfLeftLeg.Color = BrickColor.new("Really blue")
| |
| 1534 | selectionBoxOfLeftLeg.LineThickness = 0.01 | |
| 1535 | selectionBoxOfLeftLeg.Transparency = 0 | |
| 1536 | ||
| 1537 | BurningEff(reye) | |
| 1538 | ||
| 1539 | LightOnBody = Instance.new("PointLight", hed)
| |
| 1540 | LightOnBody.Brightness = 3000 | |
| 1541 | LightOnBody.Range = 20 | |
| 1542 | LightOnBody.Color = Color3.new(0, 0, 255) | |
| 1543 | ||
| 1544 | r = game:GetService("RunService").RenderStepped
| |
| 1545 | Activated = true | |
| 1546 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
| |
| 1547 | Debri = coroutine.wrap(function() | |
| 1548 | repeat | |
| 1549 | local p = Instance.new('Part',torso)
| |
| 1550 | p.formFactor = 'Custom' | |
| 1551 | p.Size = Vector3.new(1,1,1) | |
| 1552 | p.BrickColor = workspace.Base.BrickColor | |
| 1553 | p.CanCollide = false | |
| 1554 | p.Transparency = 0 | |
| 1555 | p.Anchored = true | |
| 1556 | p.Locked=true | |
| 1557 | p.Material = workspace.Base.Material | |
| 1558 | s = math.random(1,40)/10 | |
| 1559 | local m = Instance.new("BlockMesh",p)
| |
| 1560 | m.Scale = Vector3.new(s,s,s) | |
| 1561 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 1562 | --[[coroutine.wrap(function() | |
| 1563 | wait(2) | |
| 1564 | while Charging == true do | |
| 1565 | wait(2) | |
| 1566 | GroundWave1() | |
| 1567 | wait(2) | |
| 1568 | end | |
| 1569 | end)()]]-- | |
| 1570 | ||
| 1571 | spawn(function() | |
| 1572 | while r:wait() do | |
| 1573 | if p.Transparency >= 1 then p:Destroy() break end | |
| 1574 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 1575 | p.Transparency = p.Transparency+0.01 | |
| 1576 | end | |
| 1577 | end) | |
| 1578 | wait(.3) | |
| 1579 | until Activated == false | |
| 1580 | end) | |
| 1581 | Debri() | |
| 1582 | ||
| 1583 | l = game.Lighting | |
| 1584 | l.TimeOfDay = 1 | |
| 1585 | - | game.Lighting.Ambient = Color3.new(0,0,0) |
| 1585 | + | game.Lighting.Ambient = Color3.new(1,0,0) |
| 1586 | l.Brightness = 0.1 | |
| 1587 | ||
| 1588 | ||
| 1589 | spawn(function() | |
| 1590 | while wait(2) | |
| 1591 | do | |
| 1592 | GroundWave() | |
| 1593 | end | |
| 1594 | end) | |
| 1595 | ||
| 1596 | ||
| 1597 | local eColors = {"Really blue", "Really blue"}
| |
| 1598 | coroutine.resume(coroutine.create(function() | |
| 1599 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
| 1600 | local magz = (Part0 - Part1).magnitude | |
| 1601 | local curpos = Part0 | |
| 1602 | local trz = {-Offset,Offset}
| |
| 1603 | for i=1,Times do | |
| 1604 | local li = Instance.new("Part", torso)
| |
| 1605 | li.Name = "Lightning" | |
| 1606 | li.TopSurface =0 | |
| 1607 | li.Material = "Neon" | |
| 1608 | li.BottomSurface = 0 | |
| 1609 | li.Anchored = true | |
| 1610 | li.Locked = true | |
| 1611 | li.Transparency = Trans or 0.4 | |
| 1612 | li.BrickColor = BrickColor.new(Color) | |
| 1613 | li.formFactor = "Custom" | |
| 1614 | li.CanCollide = false | |
| 1615 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
| 1616 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
| 1617 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
| 1618 | if Times == i then | |
| 1619 | local magz2 = (curpos - Part1).magnitude | |
| 1620 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
| 1621 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
| 1622 | else | |
| 1623 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
| 1624 | end | |
| 1625 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
| 1626 | game.Debris:AddItem(li,.1) | |
| 1627 | end | |
| 1628 | end | |
| 1629 | ||
| 1630 | BodyParts = {}
| |
| 1631 | for _, v in pairs(char:GetChildren()) do | |
| 1632 | if v:IsA("Part") then
| |
| 1633 | table.insert(BodyParts, v) | |
| 1634 | end | |
| 1635 | end | |
| 1636 | ||
| 1637 | Bounding = {} -- Calculate the bounding boxes
| |
| 1638 | for _, v in pairs(BodyParts) do | |
| 1639 | local temp = {X=nil, Y=nil, Z=nil}
| |
| 1640 | temp.X = v.Size.X/2 * 10 | |
| 1641 | temp.Y = v.Size.Y/2 * 10 | |
| 1642 | temp.Z = v.Size.Z/2 * 10 | |
| 1643 | Bounding[v.Name] = temp | |
| 1644 | end | |
| 1645 | ||
| 1646 | while wait(lightspeed) do | |
| 1647 | lightspeed = math.random(0.1,0.2) | |
| 1648 | local Body1 = BodyParts[math.random(#BodyParts)] | |
| 1649 | local Body2 = BodyParts[math.random(#BodyParts)] | |
| 1650 | local Pos1 = Vector3.new( | |
| 1651 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
| 1652 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
| 1653 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
| 1654 | ) | |
| 1655 | local Pos2 = Vector3.new( | |
| 1656 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
| 1657 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
| 1658 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
| 1659 | ) | |
| 1660 | local SPos1 = Body1.Position + Pos1 | |
| 1661 | local SPos2 = Body2.Position + Pos2 | |
| 1662 | Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56) | |
| 1663 | end | |
| 1664 | end)) | |
| 1665 | for i = 1, 20 do | |
| 1666 | wait() | |
| 1667 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.3,.2)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.4)--head | |
| 1668 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)--torso | |
| 1669 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(60)), 0.2)--arm | |
| 1670 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(-60)), 0.2)--arm | |
| 1671 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4)--leg | |
| 1672 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4)--leg | |
| 1673 | end | |
| 1674 | ||
| 1675 | ||
| 1676 | attack = false | |
| 1677 | NoAnims = false | |
| 1678 | end | |
| 1679 | ||
| 1680 | function weld5(part0, part1, c0, c1) | |
| 1681 | weeld=Instance.new("Weld", part0)
| |
| 1682 | weeld.Part0=part0 | |
| 1683 | weeld.Part1=part1 | |
| 1684 | weeld.C0=c0 | |
| 1685 | weeld.C1=c1 | |
| 1686 | return weeld | |
| 1687 | end | |
| 1688 | ||
| 1689 | ||
| 1690 | ||
| 1691 | Grab = false | |
| 1692 | ||
| 1693 | ||
| 1694 | ||
| 1695 | ||
| 1696 | ||
| 1697 | fat = Instance.new("BindableEvent",script)
| |
| 1698 | fat.Name = "Heartbeat" | |
| 1699 | ||
| 1700 | script:WaitForChild("Heartbeat")
| |
| 1701 | ||
| 1702 | frame = 1/30 | |
| 1703 | tf = 0 | |
| 1704 | allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater. | |
| 1705 | tossremainder = false --if set to true t will be set to 0 after Fire()-ing. | |
| 1706 | lastframe = tick() | |
| 1707 | script.Heartbeat:Fire() --ayy lmao | |
| 1708 | ||
| 1709 | game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
| |
| 1710 | tf = tf + s | |
| 1711 | if tf >= frame then | |
| 1712 | if allowframeloss then | |
| 1713 | script.Heartbeat:Fire() | |
| 1714 | lastframe=tick() | |
| 1715 | else | |
| 1716 | --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
| |
| 1717 | for i=1, math.floor(tf/frame) do | |
| 1718 | script.Heartbeat:Fire() | |
| 1719 | end | |
| 1720 | lastframe=tick() | |
| 1721 | end | |
| 1722 | if tossremainder then | |
| 1723 | tf = 0 | |
| 1724 | else | |
| 1725 | tf = tf - frame * math.floor(tf/frame) | |
| 1726 | end | |
| 1727 | end | |
| 1728 | end) | |
| 1729 | ||
| 1730 | function Swait(NUMBER) | |
| 1731 | if NUMBER == 0 or NUMBER == nil then | |
| 1732 | fat.Event:wait() | |
| 1733 | else | |
| 1734 | for i = 1, NUMBER do | |
| 1735 | fat.Event:wait() | |
| 1736 | end | |
| 1737 | end | |
| 1738 | end | |
| 1739 | ||
| 1740 | ||
| 1741 | ||
| 1742 | ||
| 1743 | ||
| 1744 | function GrabAndDrag() | |
| 1745 | NoAnims = true | |
| 1746 | attack = true | |
| 1747 | ||
| 1748 | if Grab == false then | |
| 1749 | ||
| 1750 | for i = 1, 20 do | |
| 1751 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
| 1752 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2) | |
| 1753 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2) | |
| 1754 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2) | |
| 1755 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
| 1756 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
| 1757 | if Debounces.on == false then break end | |
| 1758 | rs:wait(2) | |
| 1759 | end | |
| 1760 | con1=larm.Touched:connect(function(hit) -- this is grab | |
| 1761 | ht = hit.Parent | |
| 1762 | hum1=ht:FindFirstChild('Humanoid')
| |
| 1763 | if hum1 ~= nil then | |
| 1764 | ||
| 1765 | ||
| 1766 | ||
| 1767 | ||
| 1768 | z = Instance.new("Sound",char)
| |
| 1769 | z.SoundId = "rbxassetid://227194112" | |
| 1770 | z.Volume = 90 | |
| 1771 | wait(.1) | |
| 1772 | z:Play() | |
| 1773 | hum1.PlatformStand=true | |
| 1774 | gp = ht | |
| 1775 | Grab = true | |
| 1776 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
| |
| 1777 | asd.Parent = larm | |
| 1778 | asd.Name = "asd" | |
| 1779 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0) | |
| 1780 | ||
| 1781 | ||
| 1782 | --[[ elseif hum1 == nil then | |
| 1783 | con1:disconnect() | |
| 1784 | wait() return]] | |
| 1785 | end | |
| 1786 | end) | |
| 1787 | ||
| 1788 | ||
| 1789 | for i = 1, 20 do | |
| 1790 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
| 1791 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
| 1792 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2) | |
| 1793 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2) | |
| 1794 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
| 1795 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
| 1796 | if Debounces.on == false then break end | |
| 1797 | rs:wait(2) | |
| 1798 | end | |
| 1799 | con1:disconnect() | |
| 1800 | ||
| 1801 | if gp == nil then | |
| 1802 | attack = false | |
| 1803 | NoAnims = false | |
| 1804 | return end | |
| 1805 | ||
| 1806 | ||
| 1807 | ||
| 1808 | --[[for i = 1, 16 do | |
| 1809 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3) | |
| 1810 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3) | |
| 1811 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3) | |
| 1812 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
| 1813 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3) | |
| 1814 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
| 1815 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3) | |
| 1816 | if Debounces.on == false then end | |
| 1817 | rs:wait() | |
| 1818 | end]]-- | |
| 1819 | for i = 1, 16 do | |
| 1820 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
| 1821 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-73)), 0.3) | |
| 1822 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3) | |
| 1823 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3) | |
| 1824 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3) | |
| 1825 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
| 1826 | if Debounces.on == false then end | |
| 1827 | rs:wait() | |
| 1828 | end | |
| 1829 | ||
| 1830 | ||
| 1831 | coroutine.resume(coroutine.create(function() | |
| 1832 | local BF = Instance.new("BodyVelocity",hed)
| |
| 1833 | BF.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1834 | BF.velocity = root.CFrame.lookVector*120 | |
| 1835 | wait(2.5) | |
| 1836 | BF:remove() | |
| 1837 | end)) | |
| 1838 | ||
| 1839 | ||
| 1840 | ||
| 1841 | z = Instance.new("Sound",char)
| |
| 1842 | z.SoundId = "rbxassetid://138223085" | |
| 1843 | z.Volume = 90 | |
| 1844 | wait(.1) | |
| 1845 | z:Play() | |
| 1846 | ||
| 1847 | coroutine.resume(coroutine.create(function() | |
| 1848 | for i=1,78 do | |
| 1849 | wait() | |
| 1850 | MagicBlock(BrickColor.new("Really blue"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
| |
| 1851 | wait(0.01) | |
| 1852 | MagicBlock(BrickColor.new("Really black"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
| |
| 1853 | end | |
| 1854 | end)) | |
| 1855 | ||
| 1856 | coroutine.resume(coroutine.create(function() | |
| 1857 | Grabee = gp:FindFirstChild("Torso")
| |
| 1858 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
| 1859 | wait(0.01) | |
| 1860 | for i = 1,78 do | |
| 1861 | wait(0.01) | |
| 1862 | for i=1, 5 do | |
| 1863 | p=Instance.new("Part")
| |
| 1864 | p.FrontSurface=par.TopSurface | |
| 1865 | p.Material=par.Material | |
| 1866 | p.BottomSurface=0 | |
| 1867 | p.Anchored=true p.CanCollide=false | |
| 1868 | p.BrickColor=par.BrickColor | |
| 1869 | p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5)) | |
| 1870 | p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),loc+Vector3.new(0,1000-i*20,0))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30) | |
| 1871 | p.Parent=char | |
| 1872 | game:GetService("Debris"):AddItem(p,2+i*.1)
| |
| 1873 | if math.random(1,5)==5 then | |
| 1874 | coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=30 f.RiseVelocity=0 f.Opacity=.025 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
| |
| 1875 | end | |
| 1876 | end | |
| 1877 | end | |
| 1878 | ||
| 1879 | end)) | |
| 1880 | ||
| 1881 | coroutine.resume(coroutine.create(function() | |
| 1882 | Grabee = gp:FindFirstChild("Torso")
| |
| 1883 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
| 1884 | wait(0.01) | |
| 1885 | ||
| 1886 | for i=1, 78 do | |
| 1887 | wait(0.01) | |
| 1888 | for i=1, 1 do | |
| 1889 | p=Instance.new("Part")
| |
| 1890 | p.TopSurface=par.TopSurface | |
| 1891 | p.BottomSurface=par.BottomSurface | |
| 1892 | p.Material=par.Material | |
| 1893 | p.BottomSurface=0 | |
| 1894 | p.Anchored=false p.CanCollide=false | |
| 1895 | p.BrickColor=par.BrickColor | |
| 1896 | p.formFactor="Custom" | |
| 1897 | p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12) | |
| 1898 | p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-4,4),-2,math.random(-4,4)))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20) | |
| 1899 | p.Parent=char | |
| 1900 | game:GetService("Debris"):AddItem(p,3+i*.1)
| |
| 1901 | p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4) | |
| 1902 | p.RotVelocity=p.Velocity | |
| 1903 | if math.random(1,5)==5 then | |
| 1904 | coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=15 f.RiseVelocity=10 f.Opacity=.1 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
| |
| 1905 | end | |
| 1906 | end | |
| 1907 | Swait(.025) | |
| 1908 | end | |
| 1909 | ||
| 1910 | end)) | |
| 1911 | for i = 1, 100 do | |
| 1912 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
| 1913 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-13)), 0.3) | |
| 1914 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3) | |
| 1915 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3) | |
| 1916 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3) | |
| 1917 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3) | |
| 1918 | if Debounces.on == false then end | |
| 1919 | rs:wait() | |
| 1920 | end | |
| 1921 | asd:Destroy() | |
| 1922 | gp = nil | |
| 1923 | hum1.Health = 0 | |
| 1924 | attack = false | |
| 1925 | ht = nil | |
| 1926 | NoAnims = false | |
| 1927 | Grab = false | |
| 1928 | end | |
| 1929 | end | |
| 1930 | ||
| 1931 | ||
| 1932 | ||
| 1933 | ||
| 1934 | ||
| 1935 | ||
| 1936 | ||
| 1937 | ||
| 1938 | ||
| 1939 | ||
| 1940 | ||
| 1941 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1942 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1943 | local List = {}
| |
| 1944 | for i,v in pairs(workspace:GetChildren())do | |
| 1945 | if v:IsA("Model")then
| |
| 1946 | if v:findFirstChild("Torso")then
| |
| 1947 | if v ~= char then | |
| 1948 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1949 | table.insert(List,v) | |
| 1950 | end | |
| 1951 | end | |
| 1952 | end | |
| 1953 | end | |
| 1954 | end | |
| 1955 | return List | |
| 1956 | end | |
| 1957 | ||
| 1958 | ||
| 1959 | ||
| 1960 | function Ring() | |
| 1961 | ||
| 1962 | ||
| 1963 | local effspwn = Instance.new("Part")
| |
| 1964 | local model = Instance.new("Model")
| |
| 1965 | game.Debris:AddItem(model, 20) | |
| 1966 | model.Name = "smasheffects" | |
| 1967 | model.Parent = workspace | |
| 1968 | effspwn.Name = "spwnr" | |
| 1969 | effspwn.Size = Vector3.new(1, 1, 1) | |
| 1970 | effspwn.Anchored = true | |
| 1971 | effspwn.CanCollide = false | |
| 1972 | effspwn.Transparency = 1 | |
| 1973 | effspwn.CFrame = root.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
| 1974 | effspwn.Parent = model | |
| 1975 | ||
| 1976 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
| 1977 | if v:FindFirstChild('Humanoid') then
| |
| 1978 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
| 1979 | v.Humanoid.PlatformStand = true | |
| 1980 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 200
| |
| 1981 | end | |
| 1982 | end | |
| 1983 | coroutine.resume(coroutine.create(function() | |
| 1984 | local shok = Instance.new("Part")
| |
| 1985 | shok.Name = "wring1" | |
| 1986 | shok.BrickColor = BrickColor.new("Really blue")
| |
| 1987 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 1988 | shok.Size = Vector3.new(1, 1, 1) | |
| 1989 | shok.Anchored = true | |
| 1990 | shok.Material = "Neon" | |
| 1991 | shok.Transparency = 0.25 | |
| 1992 | shok.CanCollide = false | |
| 1993 | shok.Parent = model | |
| 1994 | game.Debris:AddItem(shok, 12) | |
| 1995 | local mesh = Instance.new("SpecialMesh")
| |
| 1996 | mesh.MeshType = "FileMesh" | |
| 1997 | mesh.MeshId = "rbxassetid://3270017" | |
| 1998 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
| 1999 | mesh.Parent = shok | |
| 2000 | for e = 1, 30 do | |
| 2001 | wait() | |
| 2002 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
| 2003 | shok.Transparency = shok.Transparency + 0.002 | |
| 2004 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 2005 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 2006 | end | |
| 2007 | for e = 1, 38 do | |
| 2008 | wait() | |
| 2009 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
| 2010 | shok.Transparency = shok.Transparency + 0.002 | |
| 2011 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 2012 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 2013 | end | |
| 2014 | for e = 1, 24 do | |
| 2015 | wait() | |
| 2016 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
| 2017 | shok.Transparency = shok.Transparency + 0.03 | |
| 2018 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 2019 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 2020 | end | |
| 2021 | end)) | |
| 2022 | coroutine.resume(coroutine.create(function() | |
| 2023 | local shok = Instance.new("Part")
| |
| 2024 | shok.Name = "wring2" | |
| 2025 | shok.BrickColor = BrickColor.new("Really blue")
| |
| 2026 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 2027 | shok.Size = Vector3.new(1, 1, 1) | |
| 2028 | shok.Anchored = true | |
| 2029 | shok.Material = "Neon" | |
| 2030 | shok.Transparency = 0.25 | |
| 2031 | shok.CanCollide = false | |
| 2032 | shok.Parent = model | |
| 2033 | game.Debris:AddItem(shok, 12) | |
| 2034 | local mesh = Instance.new("SpecialMesh")
| |
| 2035 | mesh.MeshType = "FileMesh" | |
| 2036 | mesh.MeshId = "rbxassetid://3270017" | |
| 2037 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
| 2038 | mesh.Parent = shok | |
| 2039 | for e = 1, 30 do | |
| 2040 | wait() | |
| 2041 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
| 2042 | shok.Transparency = shok.Transparency + 0.002 | |
| 2043 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 2044 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 2045 | end | |
| 2046 | for e = 1, 38 do | |
| 2047 | wait() | |
| 2048 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
| 2049 | shok.Transparency = shok.Transparency + 0.002 | |
| 2050 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 2051 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 2052 | end | |
| 2053 | for e = 1, 24 do | |
| 2054 | wait() | |
| 2055 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
| 2056 | shok.Transparency = shok.Transparency + 0.03 | |
| 2057 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 2058 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 2059 | end | |
| 2060 | end)) | |
| 2061 | ||
| 2062 | coroutine.resume(coroutine.create(function() | |
| 2063 | local shok = Instance.new("Part")
| |
| 2064 | shok.Name = "shokwve" | |
| 2065 | shok.BrickColor = BrickColor.new("Really black")
| |
| 2066 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
| 2067 | shok.Size = Vector3.new(1, 1, 1) | |
| 2068 | shok.Anchored = true | |
| 2069 | shok.Material = "Neon" | |
| 2070 | shok.Transparency = 0.6 | |
| 2071 | shok.CanCollide = false | |
| 2072 | shok.Parent = model | |
| 2073 | game.Debris:AddItem(shok, 12) | |
| 2074 | local mesh = Instance.new("SpecialMesh")
| |
| 2075 | mesh.MeshType = "FileMesh" | |
| 2076 | mesh.MeshId = "rbxassetid://489415447" | |
| 2077 | mesh.Scale = Vector3.new(1, 1, 1) | |
| 2078 | mesh.Parent = shok | |
| 2079 | for e = 1, 12 do | |
| 2080 | wait() | |
| 2081 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
| 2082 | shok.Transparency = shok.Transparency + 0.002 | |
| 2083 | end | |
| 2084 | for e = 1, 32 do | |
| 2085 | wait() | |
| 2086 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 2087 | shok.Transparency = shok.Transparency + 0.002 | |
| 2088 | end | |
| 2089 | for e = 1, 24 do | |
| 2090 | wait() | |
| 2091 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 2092 | shok.Transparency = shok.Transparency + 0.03 | |
| 2093 | end | |
| 2094 | end)) | |
| 2095 | coroutine.resume(coroutine.create(function() | |
| 2096 | local shok = Instance.new("Part")
| |
| 2097 | shok.Name = "shock2" | |
| 2098 | shok.BrickColor = BrickColor.new("Really black")
| |
| 2099 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 2100 | shok.Size = Vector3.new(1, 1, 1) | |
| 2101 | shok.Anchored = true | |
| 2102 | shok.Material = "Neon" | |
| 2103 | shok.Transparency = 0.35 | |
| 2104 | shok.CanCollide = false | |
| 2105 | shok.Parent = model | |
| 2106 | game.Debris:AddItem(shok, 12) | |
| 2107 | local mesh = Instance.new("SpecialMesh")
| |
| 2108 | mesh.MeshType = "FileMesh" | |
| 2109 | mesh.MeshId = "rbxassetid://489415447" | |
| 2110 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 2111 | mesh.Parent = shok | |
| 2112 | for e = 1, 15 do | |
| 2113 | wait() | |
| 2114 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 2115 | shok.Transparency = shok.Transparency + 0.004 | |
| 2116 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 2117 | end | |
| 2118 | for e = 1, 16 do | |
| 2119 | wait() | |
| 2120 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 2121 | shok.Transparency = shok.Transparency + 0.004 | |
| 2122 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 2123 | end | |
| 2124 | for e = 1, 12 do | |
| 2125 | wait() | |
| 2126 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 2127 | shok.Transparency = shok.Transparency + 0.06 | |
| 2128 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 2129 | end | |
| 2130 | end)) | |
| 2131 | coroutine.resume(coroutine.create(function() | |
| 2132 | local shok = Instance.new("Part")
| |
| 2133 | shok.Name = "shock3" | |
| 2134 | shok.BrickColor = BrickColor.new("Really blue")
| |
| 2135 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 2136 | shok.Size = Vector3.new(1, 1, 1) | |
| 2137 | shok.Anchored = true | |
| 2138 | shok.Material = "Neon" | |
| 2139 | shok.Transparency = 0.35 | |
| 2140 | shok.CanCollide = false | |
| 2141 | shok.Parent = model | |
| 2142 | game.Debris:AddItem(shok, 12) | |
| 2143 | local mesh = Instance.new("SpecialMesh")
| |
| 2144 | mesh.MeshType = "FileMesh" | |
| 2145 | mesh.MeshId = "rbxassetid://489415447" | |
| 2146 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 2147 | mesh.Parent = shok | |
| 2148 | for e = 1, 15 do | |
| 2149 | wait() | |
| 2150 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 2151 | shok.Transparency = shok.Transparency + 0.004 | |
| 2152 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 2153 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 2154 | end | |
| 2155 | for e = 1, 16 do | |
| 2156 | wait() | |
| 2157 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 2158 | shok.Transparency = shok.Transparency + 0.004 | |
| 2159 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 2160 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 2161 | end | |
| 2162 | for e = 1, 12 do | |
| 2163 | wait() | |
| 2164 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
| 2165 | shok.Transparency = shok.Transparency + 0.06 | |
| 2166 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 2167 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 2168 | end | |
| 2169 | end)) | |
| 2170 | ||
| 2171 | end | |
| 2172 | ||
| 2173 | ||
| 2174 | ||
| 2175 | ||
| 2176 | ||
| 2177 | ||
| 2178 | ||
| 2179 | it=Instance.new | |
| 2180 | vt=Vector3.new | |
| 2181 | cf=CFrame.new | |
| 2182 | ||
| 2183 | function NoOutline(Part) | |
| 2184 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 2185 | end | |
| 2186 | ||
| 2187 | ||
| 2188 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 2189 | local fp=it("Part")
| |
| 2190 | fp.formFactor=formfactor | |
| 2191 | fp.Parent=parent | |
| 2192 | fp.Reflectance=reflectance | |
| 2193 | fp.Transparency=transparency | |
| 2194 | fp.CanCollide=false | |
| 2195 | fp.Locked=true | |
| 2196 | fp.BrickColor=brickcolor | |
| 2197 | fp.Name=name | |
| 2198 | fp.Size=size | |
| 2199 | fp.Position=torso.Position | |
| 2200 | NoOutline(fp) | |
| 2201 | fp.Material="SmoothPlastic" | |
| 2202 | fp:BreakJoints() | |
| 2203 | return fp | |
| 2204 | end | |
| 2205 | ||
| 2206 | ||
| 2207 | ||
| 2208 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 2209 | local mesh=it(Mesh) | |
| 2210 | mesh.Parent=part | |
| 2211 | if Mesh=="SpecialMesh" then | |
| 2212 | mesh.MeshType=meshtype | |
| 2213 | if meshid~="nil" then | |
| 2214 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 2215 | end | |
| 2216 | end | |
| 2217 | mesh.Offset=offset | |
| 2218 | mesh.Scale=scale | |
| 2219 | return mesh | |
| 2220 | end | |
| 2221 | ||
| 2222 | function weld(parent,part0,part1,c0) | |
| 2223 | local weld=it("Weld")
| |
| 2224 | weld.Parent=parent | |
| 2225 | weld.Part0=part0 | |
| 2226 | weld.Part1=part1 | |
| 2227 | weld.C0=c0 | |
| 2228 | return weld | |
| 2229 | end | |
| 2230 | ||
| 2231 | ||
| 2232 | function swait(num) | |
| 2233 | if num==0 or num==nil then | |
| 2234 | game:service'RunService'.Stepped:wait(0) | |
| 2235 | else | |
| 2236 | for i=0,num do | |
| 2237 | game:service'RunService'.Stepped:wait(0) | |
| 2238 | end | |
| 2239 | end | |
| 2240 | end | |
| 2241 | ||
| 2242 | ||
| 2243 | ||
| 2244 | ||
| 2245 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 2246 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 2247 | end | |
| 2248 | ||
| 2249 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
| 2250 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2251 | prt.Anchored=true | |
| 2252 | prt.CFrame=cframe | |
| 2253 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
| |
| 2254 | --http://www.roblox.com/asset/?id=4770560 | |
| 2255 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2256 | CF=prt.CFrame | |
| 2257 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
| 2258 | for i=0,1,0.2 do | |
| 2259 | wait() | |
| 2260 | Part.CFrame=CF*cf(0,0,-0.4) | |
| 2261 | end | |
| 2262 | for i=0,1,delay do | |
| 2263 | wait() | |
| 2264 | --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) | |
| 2265 | Mesh.Scale=Mesh.Scale | |
| 2266 | end | |
| 2267 | for i=0,1,0.1 do | |
| 2268 | wait() | |
| 2269 | Part.Transparency=i | |
| 2270 | end | |
| 2271 | Part.Parent=nil | |
| 2272 | end),prt,msh,CF) | |
| 2273 | end | |
| 2274 | ||
| 2275 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2276 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2277 | prt.Anchored=true | |
| 2278 | prt.Material = "SmoothPlastic" | |
| 2279 | prt.CFrame=cframe | |
| 2280 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2281 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2282 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2283 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2284 | for i=0,1,delay do | |
| 2285 | swait() | |
| 2286 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2287 | Part.Transparency=i | |
| 2288 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2289 | end | |
| 2290 | Part.Parent=nil | |
| 2291 | end),prt,msh) | |
| 2292 | end | |
| 2293 | ||
| 2294 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 2295 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2296 | prt.Anchored=true | |
| 2297 | prt.Material = "Neon" | |
| 2298 | prt.CFrame=cframe | |
| 2299 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2300 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2301 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2302 | local rtype = rottype | |
| 2303 | for i=0,1,delay do | |
| 2304 | swait() | |
| 2305 | if rtype == 1 then | |
| 2306 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2307 | elseif rtype == 2 then | |
| 2308 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2309 | end | |
| 2310 | Part.Transparency=i | |
| 2311 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2312 | end | |
| 2313 | Part.Parent=nil | |
| 2314 | end),prt,msh) | |
| 2315 | end | |
| 2316 | ||
| 2317 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2318 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2319 | prt.Anchored=true | |
| 2320 | prt.CFrame=cframe | |
| 2321 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2322 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2323 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2324 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2325 | for i=0,1,delay do | |
| 2326 | wait() | |
| 2327 | Part.Transparency=i | |
| 2328 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2329 | end | |
| 2330 | Part.Parent=nil | |
| 2331 | end),prt,msh) | |
| 2332 | end | |
| 2333 | ||
| 2334 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 2335 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2336 | prt.Anchored=false | |
| 2337 | prt.CFrame=cframe | |
| 2338 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2339 | local wld=weld(prt,prt,Parent,cframe) | |
| 2340 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2341 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 2342 | for i=0,1,delay do | |
| 2343 | wait() | |
| 2344 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
| 2345 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2346 | Part.Transparency=i | |
| 2347 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2348 | end | |
| 2349 | Part.Parent=nil | |
| 2350 | end),prt,msh,wld) | |
| 2351 | end | |
| 2352 | ||
| 2353 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 2354 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2355 | prt.Anchored=false | |
| 2356 | prt.CFrame=cframe | |
| 2357 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2358 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
| 2359 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2360 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 2361 | for i=0,1,delay do | |
| 2362 | wait() | |
| 2363 | Weld.C0=euler(i*20,0,0) | |
| 2364 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2365 | Part.Transparency=i | |
| 2366 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2367 | end | |
| 2368 | Part.Parent=nil | |
| 2369 | end),prt,msh,wld) | |
| 2370 | end | |
| 2371 | ||
| 2372 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2373 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2374 | prt.Anchored=true | |
| 2375 | prt.CFrame=cframe | |
| 2376 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2377 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2378 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2379 | for i=0,1,delay do | |
| 2380 | wait() | |
| 2381 | Part.CFrame=Part.CFrame | |
| 2382 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2383 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2384 | prt2.Anchored=true | |
| 2385 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2386 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
| |
| 2387 | game:GetService("Debris"):AddItem(prt2,2)
| |
| 2388 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2389 | for i=0,1,0.1 do | |
| 2390 | wait() | |
| 2391 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
| 2392 | end | |
| 2393 | Part.Parent=nil | |
| 2394 | end),prt2,msh2) | |
| 2395 | end | |
| 2396 | for i=0,1,delay*2 do | |
| 2397 | wait() | |
| 2398 | Part.CFrame=Part.CFrame | |
| 2399 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
| 2400 | end | |
| 2401 | Part.Parent=nil | |
| 2402 | end),prt,msh) | |
| 2403 | end | |
| 2404 | ||
| 2405 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2406 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2407 | prt.Anchored=true | |
| 2408 | prt.CFrame=cframe | |
| 2409 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2410 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2411 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2412 | for i=0,1,delay do | |
| 2413 | wait() | |
| 2414 | Part.CFrame=Part.CFrame | |
| 2415 | Part.Transparency=i | |
| 2416 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2417 | end | |
| 2418 | Part.Parent=nil | |
| 2419 | end),prt,msh) | |
| 2420 | end | |
| 2421 | ||
| 2422 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
| 2423 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2424 | prt.Anchored=true | |
| 2425 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2426 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2427 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2428 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
| 2429 | CF=Part.CFrame | |
| 2430 | Numbb=0 | |
| 2431 | randnumb=math.random()/10 | |
| 2432 | rand1=math.random()/10 | |
| 2433 | for i=0,1,rand1 do | |
| 2434 | wait() | |
| 2435 | CF=CF*cf(0,math.random()/2,0) | |
| 2436 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
| 2437 | Part.CFrame=CF*euler(Numbb,0,0) | |
| 2438 | Part.Transparency=i | |
| 2439 | Numbb=Numbb+randnumb | |
| 2440 | end | |
| 2441 | Part.Parent=nil | |
| 2442 | end),prt,CF,Numbb,randnumb) | |
| 2443 | end | |
| 2444 | ||
| 2445 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2446 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2447 | prt.Anchored=true | |
| 2448 | prt.CFrame=cframe | |
| 2449 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
| |
| 2450 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2451 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2452 | for i=0,1,delay do | |
| 2453 | wait() | |
| 2454 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
| 2455 | Part.Transparency=i | |
| 2456 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2457 | end | |
| 2458 | Part.Parent=nil | |
| 2459 | end),prt,msh) | |
| 2460 | end | |
| 2461 | ||
| 2462 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2463 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2464 | prt.Anchored=true | |
| 2465 | prt.CFrame=cframe | |
| 2466 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
| |
| 2467 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2468 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2469 | for i=0,1,delay do | |
| 2470 | wait() | |
| 2471 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
| 2472 | Part.Transparency=i | |
| 2473 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2474 | end | |
| 2475 | Part.Parent=nil | |
| 2476 | end),prt,msh) | |
| 2477 | end | |
| 2478 | ||
| 2479 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
| 2480 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2481 | prt.Anchored=true | |
| 2482 | prt.CFrame=cframe*cf(x,y,z) | |
| 2483 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
| |
| 2484 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2485 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
| 2486 | local num=math.random() | |
| 2487 | local num2=math.random(-3,2)+math.random() | |
| 2488 | local numm=0 | |
| 2489 | for i=0,1,delay*2 do | |
| 2490 | swait() | |
| 2491 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
| 2492 | Part.Transparency=i | |
| 2493 | numm=numm+0.01 | |
| 2494 | end | |
| 2495 | Part.Parent=nil | |
| 2496 | Mesh.Parent=nil | |
| 2497 | end),prt,msh,x,y,z) | |
| 2498 | end | |
| 2499 | ||
| 2500 | ||
| 2501 | ||
| 2502 | function newRay(start,face,range,wat) | |
| 2503 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
| 2504 | hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
| 2505 | return rey,hit,pos | |
| 2506 | end | |
| 2507 | ||
| 2508 | function Landing() | |
| 2509 | MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2510 | MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
| |
| 2511 | MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2512 | MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2513 | MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
| |
| 2514 | MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2515 | ||
| 2516 | MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2517 | MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
| |
| 2518 | MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2519 | end | |
| 2520 | ||
| 2521 | ||
| 2522 | ||
| 2523 | ||
| 2524 | ||
| 2525 | ||
| 2526 | ||
| 2527 | ||
| 2528 | ||
| 2529 | ||
| 2530 | function nooutline(part) | |
| 2531 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 2532 | end | |
| 2533 | ||
| 2534 | ||
| 2535 | ||
| 2536 | ||
| 2537 | function debris(cfremz, thepart, amt) | |
| 2538 | for j = 1, amt do | |
| 2539 | do | |
| 2540 | local pr = Instance.new("Part")
| |
| 2541 | nooutline(pr) | |
| 2542 | pr.Name = "debrisobeb" | |
| 2543 | pr.Anchored = true | |
| 2544 | pr.BrickColor = thepart.BrickColor | |
| 2545 | pr.CanCollide = true | |
| 2546 | pr.Material = thepart.Material | |
| 2547 | pr.Transparency = thepart.Transparency | |
| 2548 | pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24)) | |
| 2549 | pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1))) | |
| 2550 | pr.Parent = workspace | |
| 2551 | game.Debris:AddItem(pr, 25) | |
| 2552 | delay(15, function() | |
| 2553 | if pr then | |
| 2554 | pr.CanCollide = false | |
| 2555 | pr.Anchored = false | |
| 2556 | end | |
| 2557 | end) | |
| 2558 | end | |
| 2559 | end | |
| 2560 | for c = 1, amt do | |
| 2561 | do | |
| 2562 | local pr2 = Instance.new("Part")
| |
| 2563 | nooutline(pr2) | |
| 2564 | pr2.Name = "moredebr" | |
| 2565 | pr2.Anchored = false | |
| 2566 | pr2.BrickColor = thepart.BrickColor | |
| 2567 | pr2.CanCollide = false | |
| 2568 | pr2.Material = thepart.Material | |
| 2569 | pr2.Transparency = thepart.Transparency | |
| 2570 | pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18)) | |
| 2571 | pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1))) | |
| 2572 | pr2.Parent = workspace | |
| 2573 | pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75)) | |
| 2574 | pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35)) | |
| 2575 | game.Debris:AddItem(pr2, 45) | |
| 2576 | delay(2, function() | |
| 2577 | pr2.CanCollide = true | |
| 2578 | wait(10) | |
| 2579 | if pr2 then | |
| 2580 | pr2.CanCollide = false | |
| 2581 | end | |
| 2582 | end) | |
| 2583 | end | |
| 2584 | end | |
| 2585 | end | |
| 2586 | ||
| 2587 | ||
| 2588 | ||
| 2589 | ||
| 2590 | ||
| 2591 | ||
| 2592 | ||
| 2593 | ||
| 2594 | ||
| 2595 | ||
| 2596 | function AirSlam() | |
| 2597 | NoAnims = true | |
| 2598 | attack = true | |
| 2599 | for i = 1, 20 do | |
| 2600 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2) | |
| 2601 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2) | |
| 2602 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2) | |
| 2603 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2) | |
| 2604 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2) | |
| 2605 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2) | |
| 2606 | if Debounces.on == false then break end | |
| 2607 | wait() | |
| 2608 | end | |
| 2609 | wait(0.5) | |
| 2610 | ||
| 2611 | ||
| 2612 | coroutine.resume(coroutine.create(function() | |
| 2613 | MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2614 | MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
| |
| 2615 | MagicBlock(BrickColor.new("Really blue"),root.CFrame,10*2.5,10*2.5,10*2.5,5.5*2.5,5.5*2.5,5.5*2.5,0.15)
| |
| 2616 | end)) | |
| 2617 | ||
| 2618 | Sound("http://www.roblox.com/asset?id = 180199750",char,90,1,false)
| |
| 2619 | ||
| 2620 | hum.WalkSpeed = 50 | |
| 2621 | BV = Instance.new("BodyVelocity", torso)
| |
| 2622 | BV.maxForce = Vector3.new(0,200000,0) | |
| 2623 | BV.P = 100000 | |
| 2624 | BV.velocity = Vector3.new(0,150,0) | |
| 2625 | for i = 1, 20 do | |
| 2626 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7) | |
| 2627 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
| 2628 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
| 2629 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7) | |
| 2630 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
| 2631 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
| 2632 | if Debounces.on == false then break end | |
| 2633 | wait() | |
| 2634 | end | |
| 2635 | BV:Destroy() | |
| 2636 | ||
| 2637 | coroutine.resume(coroutine.create(function() | |
| 2638 | for i = 1, 2880, 48 do | |
| 2639 | torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0)) | |
| 2640 | rs:wait(4) | |
| 2641 | end | |
| 2642 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 2643 | end)) | |
| 2644 | ||
| 2645 | for i = 1, 30 do | |
| 2646 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
| 2647 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3) | |
| 2648 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 2649 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 2650 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
| 2651 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
| 2652 | if Debounces.on == false then break end | |
| 2653 | wait() | |
| 2654 | end | |
| 2655 | ||
| 2656 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
| 2657 | for i = 1, 20 do | |
| 2658 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0), math.rad(0)),0.3) | |
| 2659 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad (0), math.rad(0)), 0.3) | |
| 2660 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3) | |
| 2661 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), 0.3) | |
| 2662 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
| 2663 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3) | |
| 2664 | if Debounces.on == false then break end | |
| 2665 | wait() | |
| 2666 | end | |
| 2667 | end | |
| 2668 | local ry,ht,ps=nil,nil,nil | |
| 2669 | while ht==nil do | |
| 2670 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
| |
| 2671 | wait() | |
| 2672 | end | |
| 2673 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
| 2674 | if par then | |
| 2675 | local cfremz = CFrame.new(loc) | |
| 2676 | debris(cfremz, par, 50) | |
| 2677 | end | |
| 2678 | coroutine.resume(coroutine.create(function() | |
| 2679 | Ring() | |
| 2680 | end)) | |
| 2681 | Landing() | |
| 2682 | Sound("rbxassetid://514867425",char,90,1,false)
| |
| 2683 | hum.WalkSpeed = 5 | |
| 2684 | for i = 1, 25 do | |
| 2685 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.3) *CFrame.Angles (math.rad(120),math.rad(10),math.rad(32)), 0.2) | |
| 2686 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20)), 0.2) | |
| 2687 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-8),math.rad(-40), math.rad(-8)),0.2) | |
| 2688 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2) | |
| 2689 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2) | |
| 2690 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2) | |
| 2691 | if Debounces.on == false then break end | |
| 2692 | wait() | |
| 2693 | end | |
| 2694 | wait(0.2) | |
| 2695 | attack = false | |
| 2696 | NoAnims = false | |
| 2697 | end | |
| 2698 | ||
| 2699 | ||
| 2700 | ||
| 2701 | function CreatePart(parent,transparency,reflectance,material,brickcolor) | |
| 2702 | local p = Instance.new("Part")
| |
| 2703 | p.Parent = parent | |
| 2704 | p.Size = Vector3.new(1,1,1) | |
| 2705 | p.Transparency = transparency | |
| 2706 | p.Reflectance = reflectance | |
| 2707 | p.CanCollide = false | |
| 2708 | p.BrickColor = brickcolor | |
| 2709 | p.Material = material | |
| 2710 | return p | |
| 2711 | end | |
| 2712 | ||
| 2713 | ||
| 2714 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
| 2715 | local weld = Instance.new("Weld")
| |
| 2716 | weld.Parent = parent | |
| 2717 | weld.Part0 = part0 | |
| 2718 | weld.Part1 = part1 | |
| 2719 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
| 2720 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
| 2721 | return weld | |
| 2722 | end | |
| 2723 | ||
| 2724 | ||
| 2725 | ||
| 2726 | --[[HandleR = Instance.new("Part")
| |
| 2727 | HandleR.BrickColor = BrickColor.new("Really blue")
| |
| 2728 | HandleR.Material = "Neon" | |
| 2729 | HandleR.Transparency = 0.3 | |
| 2730 | HandleR.Size = Vector3.new(1,0.8,4) | |
| 2731 | HandleR.CFrame = sorb.CFrame | |
| 2732 | HandleRM = Instance.new("SpecialMesh",HandleR)
| |
| 2733 | HandleRM.MeshId = "rbxasset://fonts/sword.mesh" | |
| 2734 | HandleRM.Scale = Vector3.new(1,1,1) | |
| 2735 | ||
| 2736 | HandleL = Instance.new("Part")
| |
| 2737 | HandleL.BrickColor = BrickColor.new("Really blue")
| |
| 2738 | HandleL.Material = "Neon" | |
| 2739 | HandleL.Transparency = 0.3 | |
| 2740 | HandleL.Size = Vector3.new(1,0.8,4) | |
| 2741 | HandleL.CFrame = sorb2.CFrame | |
| 2742 | HandleLM = Instance.new("SpecialMesh",HandleL)
| |
| 2743 | HandleLM.MeshId = "rbxasset://fonts/sword.mesh" | |
| 2744 | HandleLM.Scale = Vector3.new(1,1,1)]] | |
| 2745 | ||
| 2746 | ||
| 2747 | local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
| |
| 2748 | 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)) | |
| 2749 | local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
| |
| 2750 | 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)) | |
| 2751 | ||
| 2752 | ||
| 2753 | v3 = Vector3.new | |
| 2754 | rad=math.rad | |
| 2755 | ||
| 2756 | kiblade = Instance.new("Part",char)
| |
| 2757 | kiblade.Name = "Blade" | |
| 2758 | kiblade.Size = v3(1,5,1) | |
| 2759 | kiblade.Transparency = 1 | |
| 2760 | kiblade.BrickColor = BrickColor.new("Really blue")
| |
| 2761 | kiblade.Position = v3(999,999,999) | |
| 2762 | kiblade.CanCollide = false | |
| 2763 | kiblademesh = Instance.new("SpecialMesh",kiblade)
| |
| 2764 | kiblademesh.MeshType = "FileMesh" | |
| 2765 | kiblademesh.MeshId = "rbxassetid://898849476" | |
| 2766 | kiblademesh.Scale = v3(0.01,0.008,0.01) | |
| 2767 | kiweld7 = Instance.new("Weld",kiblade)
| |
| 2768 | kiweld7.Part0 = rarm | |
| 2769 | kiweld7.Part1 = kiblade | |
| 2770 | kiweld7.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0)) | |
| 2771 | kiblade1 = Instance.new("Part",char)
| |
| 2772 | kiblade1.Name = "Blade" | |
| 2773 | kiblade1.Transparency = 1 | |
| 2774 | kiblade1.Size = v3(0.1,0.1,0.1) | |
| 2775 | kiblade1.Position = v3(999,999,999) | |
| 2776 | kiblade1.CanCollide = false | |
| 2777 | kiblademesh = Instance.new("SpecialMesh",kiblade1)
| |
| 2778 | kiblademesh.MeshType = "Sphere" | |
| 2779 | kiblademesh.Scale = v3(1,1,1) | |
| 2780 | kiweld = Instance.new("Weld",kiblade1)
| |
| 2781 | kiweld.Part0 = rarm | |
| 2782 | kiweld.Part1 = kiblade1 | |
| 2783 | kiweld.C0 = CFrame.new(0,-1,0) | |
| 2784 | kiblade2 = Instance.new("Part",char)
| |
| 2785 | kiblade2.Name = "Blade" | |
| 2786 | kiblade2.Size = v3(0.1,0.1,0.1) | |
| 2787 | kiblade2.Transparency = 1 | |
| 2788 | kiblade2.Position = v3(999,999,999) | |
| 2789 | kiblade2.CanCollide = false | |
| 2790 | kiblademesh = Instance.new("SpecialMesh",kiblade2)
| |
| 2791 | kiblademesh.MeshType = "Sphere" | |
| 2792 | kiblademesh.Scale = v3(1,1,1) | |
| 2793 | kiweld = Instance.new("Weld",kiblade2)
| |
| 2794 | kiweld.Part0 = rarm | |
| 2795 | kiweld.Part1 = kiblade2 | |
| 2796 | kiweld.C0 = CFrame.new(0,-4.5,0) | |
| 2797 | torso = game.Players.LocalPlayer.Character.Torso | |
| 2798 | head = game.Players.LocalPlayer.Character.Head | |
| 2799 | torso1 = Instance.new("Attachment",kiblade1)
| |
| 2800 | head1 = Instance.new("Attachment",kiblade2)
| |
| 2801 | trail = Instance.new("Trail",torso)
| |
| 2802 | trail.Color = ColorSequence.new(Color3.fromRGB(0,0,255)) | |
| 2803 | trail.Attachment0 = torso1 | |
| 2804 | trail.Attachment1 = head1 | |
| 2805 | trail.Lifetime = 0.5 | |
| 2806 | trail.Enabled = false | |
| 2807 | ||
| 2808 | ||
| 2809 | ||
| 2810 | ||
| 2811 | kiblade2 = Instance.new("Part",char)
| |
| 2812 | kiblade2.Name = "Blade" | |
| 2813 | kiblade2.Size = v3(1,5,1) | |
| 2814 | kiblade2.Transparency = 1 | |
| 2815 | kiblade2.BrickColor = BrickColor.new("Really blue")
| |
| 2816 | kiblade2.Position = v3(999,999,999) | |
| 2817 | kiblade2.CanCollide = false | |
| 2818 | kiblademesh2 = Instance.new("SpecialMesh",kiblade2)
| |
| 2819 | kiblademesh2.MeshType = "FileMesh" | |
| 2820 | kiblademesh2.MeshId = "rbxassetid://898849476" | |
| 2821 | kiblademesh2.Scale = v3(0.01,0.008,0.01) | |
| 2822 | kiweld72 = Instance.new("Weld",kiblade2)
| |
| 2823 | kiweld72.Part0 = larm | |
| 2824 | kiweld72.Part1 = kiblade2 | |
| 2825 | kiweld72.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0)) | |
| 2826 | kiblade12 = Instance.new("Part",char)
| |
| 2827 | kiblade12.Name = "Blade" | |
| 2828 | kiblade12.Transparency = 1 | |
| 2829 | kiblade12.Size = v3(0.1,0.1,0.1) | |
| 2830 | kiblade12.Position = v3(999,999,999) | |
| 2831 | kiblade12.CanCollide = false | |
| 2832 | kiblademesh2 = Instance.new("SpecialMesh",kiblade12)
| |
| 2833 | kiblademesh2.MeshType = "Sphere" | |
| 2834 | kiblademesh2.Scale = v3(1,1,1) | |
| 2835 | kiweld2 = Instance.new("Weld",kiblade12)
| |
| 2836 | kiweld2.Part0 = larm | |
| 2837 | kiweld2.Part1 = kiblade12 | |
| 2838 | kiweld2.C0 = CFrame.new(0,-1,0) | |
| 2839 | kiblade22 = Instance.new("Part",char)
| |
| 2840 | kiblade22.Name = "Blade" | |
| 2841 | kiblade22.Size = v3(0.1,0.1,0.1) | |
| 2842 | kiblade22.Transparency = 1 | |
| 2843 | kiblade22.Position = v3(999,999,999) | |
| 2844 | kiblade22.CanCollide = false | |
| 2845 | kiblademesh2 = Instance.new("SpecialMesh",kiblade22)
| |
| 2846 | kiblademesh2.MeshType = "Sphere" | |
| 2847 | kiblademesh2.Scale = v3(1,1,1) | |
| 2848 | kiweld2 = Instance.new("Weld",kiblade22)
| |
| 2849 | kiweld2.Part0 = larm | |
| 2850 | kiweld2.Part1 = kiblade22 | |
| 2851 | kiweld2.C0 = CFrame.new(0,-4.5,0) | |
| 2852 | torso2 = game.Players.LocalPlayer.Character.Torso | |
| 2853 | head2 = game.Players.LocalPlayer.Character.Head | |
| 2854 | torso12 = Instance.new("Attachment",kiblade12)
| |
| 2855 | head12 = Instance.new("Attachment",kiblade22)
| |
| 2856 | trail2 = Instance.new("Trail",torso2)
| |
| 2857 | trail2.Color = ColorSequence.new(Color3.fromRGB(0,0,255)) | |
| 2858 | trail2.Attachment0 = torso12 | |
| 2859 | trail2.Attachment1 = head12 | |
| 2860 | trail2.Lifetime = 0.5 | |
| 2861 | trail2.Enabled = false | |
| 2862 | ||
| 2863 | ||
| 2864 | ||
| 2865 | local Gibs = game.Workspace | |
| 2866 | ||
| 2867 | ||
| 2868 | ||
| 2869 | ||
| 2870 | ||
| 2871 | ||
| 2872 | ||
| 2873 | ||
| 2874 | ||
| 2875 | ||
| 2876 | ||
| 2877 | ||
| 2878 | function Kill(Character) | |
| 2879 | Character.Humanoid.Health = 0 | |
| 2880 | local poo = Instance.new("IntValue",Character)
| |
| 2881 | poo.Name = "haha nope" | |
| 2882 | local svch = Character | |
| 2883 | local hum = Character:findFirstChild("Humanoid")
| |
| 2884 | Character.Archivable = true | |
| 2885 | local chrclone = Character:clone() | |
| 2886 | Character.Archivable = false | |
| 2887 | ||
| 2888 | local ch = chrclone:GetChildren() | |
| 2889 | local i | |
| 2890 | for i = 1,#ch do | |
| 2891 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then | |
| 2892 | ch[i]:remove() | |
| 2893 | end | |
| 2894 | end | |
| 2895 | local function Scan(ch) | |
| 2896 | local e | |
| 2897 | for e = 1,#ch do | |
| 2898 | Scan(ch[e]:GetChildren()) | |
| 2899 | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then | |
| 2900 | ch[e]:remove() | |
| 2901 | end | |
| 2902 | end | |
| 2903 | end | |
| 2904 | Scan(chrclone:GetChildren()) | |
| 2905 | ||
| 2906 | local hum2 = chrclone:findFirstChild("Humanoid")
| |
| 2907 | ||
| 2908 | ||
| 2909 | if hum2 ~= nil then | |
| 2910 | hum2.Name = "Humanoid2" | |
| 2911 | hum2.PlatformStand = true | |
| 2912 | hum2.Sit = true | |
| 2913 | hum2.MaxHealth = 0 | |
| 2914 | hum2.Health = 0 | |
| 2915 | end | |
| 2916 | ||
| 2917 | local ch = Character:GetChildren() | |
| 2918 | local i | |
| 2919 | for i = 1,#ch do | |
| 2920 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
| 2921 | ch[i]:remove() | |
| 2922 | end | |
| 2923 | end | |
| 2924 | ||
| 2925 | wait(0.2) | |
| 2926 | ||
| 2927 | local ch = Character:GetChildren() | |
| 2928 | local i | |
| 2929 | for i = 1,#ch do | |
| 2930 | if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
| 2931 | ch[i]:remove() | |
| 2932 | end | |
| 2933 | end | |
| 2934 | Character = chrclone | |
| 2935 | local Torso = Character.Torso | |
| 2936 | local movevector = Vector3.new() | |
| 2937 | ||
| 2938 | if Torso then | |
| 2939 | local Head = Character:FindFirstChild("Head")
| |
| 2940 | local Limb = Character:FindFirstChild("Right Arm")
| |
| 2941 | if Limb then | |
| 2942 | ||
| 2943 | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) | |
| 2944 | local Joint = Instance.new("Glue")
| |
| 2945 | Joint.Name = "RightShoulder" | |
| 2946 | Joint.Part0 = Torso | |
| 2947 | Joint.Part1 = Limb | |
| 2948 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2949 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2950 | Joint.Parent = Torso | |
| 2951 | ||
| 2952 | local B = Instance.new("Part")
| |
| 2953 | B.TopSurface = 0 | |
| 2954 | B.BottomSurface = 0 | |
| 2955 | B.formFactor = "Symmetric" | |
| 2956 | B.Size = Vector3.new(1, 1, 1) | |
| 2957 | B.Transparency = 1 | |
| 2958 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 2959 | B.Parent = Character | |
| 2960 | local W = Instance.new("Weld")
| |
| 2961 | W.Part0 = Limb | |
| 2962 | W.Part1 = B | |
| 2963 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 2964 | W.Parent = Limb | |
| 2965 | ||
| 2966 | end | |
| 2967 | local Limb = Character:FindFirstChild("Left Arm")
| |
| 2968 | if Limb then | |
| 2969 | ||
| 2970 | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) | |
| 2971 | local Joint = Instance.new("Glue")
| |
| 2972 | Joint.Name = "LeftShoulder" | |
| 2973 | Joint.Part0 = Torso | |
| 2974 | Joint.Part1 = Limb | |
| 2975 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2976 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2977 | Joint.Parent = Torso | |
| 2978 | ||
| 2979 | local B = Instance.new("Part")
| |
| 2980 | B.TopSurface = 0 | |
| 2981 | B.BottomSurface = 0 | |
| 2982 | B.formFactor = "Symmetric" | |
| 2983 | B.Size = Vector3.new(1, 1, 1) | |
| 2984 | B.Transparency = 1 | |
| 2985 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 2986 | B.Parent = Character | |
| 2987 | local W = Instance.new("Weld")
| |
| 2988 | W.Part0 = Limb | |
| 2989 | W.Part1 = B | |
| 2990 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 2991 | W.Parent = Limb | |
| 2992 | ||
| 2993 | end | |
| 2994 | local Limb = Character:FindFirstChild("Right Leg")
| |
| 2995 | if Limb then | |
| 2996 | ||
| 2997 | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) | |
| 2998 | local Joint = Instance.new("Glue")
| |
| 2999 | Joint.Name = "RightHip" | |
| 3000 | Joint.Part0 = Torso | |
| 3001 | Joint.Part1 = Limb | |
| 3002 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 3003 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 3004 | Joint.Parent = Torso | |
| 3005 | ||
| 3006 | local B = Instance.new("Part")
| |
| 3007 | B.TopSurface = 0 | |
| 3008 | B.BottomSurface = 0 | |
| 3009 | B.formFactor = "Symmetric" | |
| 3010 | B.Size = Vector3.new(1, 1, 1) | |
| 3011 | B.Transparency = 1 | |
| 3012 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 3013 | B.Parent = Character | |
| 3014 | local W = Instance.new("Weld")
| |
| 3015 | W.Part0 = Limb | |
| 3016 | W.Part1 = B | |
| 3017 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 3018 | W.Parent = Limb | |
| 3019 | ||
| 3020 | end | |
| 3021 | local Limb = Character:FindFirstChild("Left Leg")
| |
| 3022 | if Limb then | |
| 3023 | ||
| 3024 | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) | |
| 3025 | local Joint = Instance.new("Glue")
| |
| 3026 | Joint.Name = "LeftHip" | |
| 3027 | Joint.Part0 = Torso | |
| 3028 | Joint.Part1 = Limb | |
| 3029 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 3030 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 3031 | Joint.Parent = Torso | |
| 3032 | ||
| 3033 | local B = Instance.new("Part")
| |
| 3034 | B.TopSurface = 0 | |
| 3035 | B.BottomSurface = 0 | |
| 3036 | B.formFactor = "Symmetric" | |
| 3037 | B.Size = Vector3.new(1, 1, 1) | |
| 3038 | B.Transparency = 1 | |
| 3039 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 3040 | B.Parent = Character | |
| 3041 | local W = Instance.new("Weld")
| |
| 3042 | W.Part0 = Limb | |
| 3043 | W.Part1 = B | |
| 3044 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 3045 | W.Parent = Limb | |
| 3046 | ||
| 3047 | end | |
| 3048 | --[ | |
| 3049 | local Bar = Instance.new("Part")
| |
| 3050 | Bar.TopSurface = 0 | |
| 3051 | Bar.BottomSurface = 0 | |
| 3052 | Bar.formFactor = "Symmetric" | |
| 3053 | Bar.Size = Vector3.new(1, 1, 1) | |
| 3054 | Bar.Transparency = 1 | |
| 3055 | Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) | |
| 3056 | Bar.Parent = Character | |
| 3057 | local Weld = Instance.new("Weld")
| |
| 3058 | Weld.Part0 = Torso | |
| 3059 | Weld.Part1 = Bar | |
| 3060 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
| 3061 | Weld.Parent = Torso | |
| 3062 | --]] | |
| 3063 | end | |
| 3064 | Character.Parent = Gibs | |
| 3065 | game.Debris:AddItem(Character, 12) | |
| 3066 | if movevector ~= Vector3.new() then | |
| 3067 | for i = 1,10 do | |
| 3068 | wait() | |
| 3069 | Torso.Velocity = Vector3.new(0,0,-100) | |
| 3070 | Head.Velocity = movevector * 200 | |
| 3071 | end | |
| 3072 | end | |
| 3073 | end | |
| 3074 | ||
| 3075 | ||
| 3076 | ||
| 3077 | function SpinSlice() | |
| 3078 | NoAnims = true | |
| 3079 | attack = true | |
| 3080 | ||
| 3081 | ||
| 3082 | Sound("rbxassetid://588738949",char,90,1,false)
| |
| 3083 | kiblade.Transparency = 0 | |
| 3084 | kiblade2.Transparency = 0 | |
| 3085 | trail.Enabled = true | |
| 3086 | trail2.Enabled = true | |
| 3087 | ||
| 3088 | hum.WalkSpeed = 0 | |
| 3089 | for i = 1,40 do | |
| 3090 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05) | |
| 3091 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25) | |
| 3092 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25) | |
| 3093 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(90)), 0.5)--arm | |
| 3094 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-90)), 0.5)--arm | |
| 3095 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25) | |
| 3096 | if Debounces.on == false then break end | |
| 3097 | wait() | |
| 3098 | end | |
| 3099 | ||
| 3100 | ||
| 3101 | coroutine.resume(coroutine.create(function() | |
| 3102 | local BF = Instance.new("BodyVelocity",hed)
| |
| 3103 | BF.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 3104 | BF.velocity = root.CFrame.lookVector*120 | |
| 3105 | wait(2.0) | |
| 3106 | BF:remove() | |
| 3107 | end)) | |
| 3108 | ||
| 3109 | coroutine.resume(coroutine.create(function() | |
| 3110 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 3111 | wait(.1) | |
| 3112 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 3113 | wait(.1) | |
| 3114 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 3115 | wait(.1) | |
| 3116 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 3117 | wait(.1) | |
| 3118 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 3119 | wait(.1) | |
| 3120 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 3121 | wait(.1) | |
| 3122 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 3123 | wait(.1) | |
| 3124 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 3125 | end)) | |
| 3126 | local HitBox = Instance.new("Part",rarm)
| |
| 3127 | HitBox.Size = Vector3.new(1,5,1) | |
| 3128 | HitBox.CanCollide = false | |
| 3129 | HitBox.Transparency = 1 | |
| 3130 | local HitBox2 = Instance.new("Weld",HitBox)
| |
| 3131 | HitBox2.Part0 = rarm | |
| 3132 | HitBox2.Part1 = HitBox | |
| 3133 | HitBox2.C0 = CFrame.new(0,-1.8,0) | |
| 3134 | HitBox.Touched:connect(function(hit) | |
| 3135 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
| |
| 3136 | Kill(hit.Parent) | |
| 3137 | hit.Parent.Humanoid.PlatformStand = true | |
| 3138 | end | |
| 3139 | end) | |
| 3140 | ||
| 3141 | local HitBox2 = Instance.new("Part",larm)
| |
| 3142 | HitBox2.Size = Vector3.new(1,5,1) | |
| 3143 | HitBox2.CanCollide = false | |
| 3144 | HitBox2.Transparency = 1 | |
| 3145 | local HitBox22 = Instance.new("Weld",HitBox2)
| |
| 3146 | HitBox22.Part0 = larm | |
| 3147 | HitBox22.Part1 = HitBox2 | |
| 3148 | HitBox22.C0 = CFrame.new(0,-1.8,0) | |
| 3149 | HitBox2.Touched:connect(function(hit) | |
| 3150 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
| |
| 3151 | Kill(hit.Parent) | |
| 3152 | hit.Parent.Humanoid.PlatformStand = true | |
| 3153 | end | |
| 3154 | end) | |
| 3155 | ||
| 3156 | for i = 1,40 do | |
| 3157 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05) | |
| 3158 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25) | |
| 3159 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25) | |
| 3160 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(90)), 0.5)--arm | |
| 3161 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-90)), 0.5)--arm | |
| 3162 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25) | |
| 3163 | root.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0) | |
| 3164 | if Debounces.on == false then break end | |
| 3165 | wait() | |
| 3166 | end | |
| 3167 | kiblade.Transparency = 1 | |
| 3168 | kiblade2.Transparency = 1 | |
| 3169 | trail.Enabled = false | |
| 3170 | trail2.Enabled = false | |
| 3171 | HitBox:Destroy() | |
| 3172 | HitBox2:Destroy() | |
| 3173 | hum.WalkSpeed = 5 | |
| 3174 | attack = false | |
| 3175 | NoAnims = false | |
| 3176 | end | |
| 3177 | ||
| 3178 | ||
| 3179 | ||
| 3180 | ||
| 3181 | function hito(partoz, magn, dmg, debtim) | |
| 3182 | for _, guy in pairs(workspace:GetChildren()) do | |
| 3183 | if guy:FindFirstChildOfClass("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
| |
| 3184 | do | |
| 3185 | local humz = guy:FindFirstChildOfClass("Humanoid")
| |
| 3186 | local hed = guy:FindFirstChild("Head")
| |
| 3187 | humz:TakeDamage(math.random(15,30)) if Full == true then guy:BreakJoints() | |
| 3188 | local db = Instance.new("StringValue")
| |
| 3189 | db.Name = "alabo" | |
| 3190 | db.Parent = hed | |
| 3191 | delay(debtim, function() | |
| 3192 | db:Destroy() | |
| 3193 | end) | |
| 3194 | end | |
| 3195 | end | |
| 3196 | end | |
| 3197 | end | |
| 3198 | end | |
| 3199 | ||
| 3200 | ||
| 3201 | ||
| 3202 | ang = CFrame.Angles | |
| 3203 | rd = math.rad | |
| 3204 | rd2 = math.random | |
| 3205 | ov = false | |
| 3206 | ||
| 3207 | ||
| 3208 | ||
| 3209 | nooutline = function(i) | |
| 3210 | i.TopSurface = 10 | |
| 3211 | end | |
| 3212 | makepart = function(l, m, n, o, p, q, r) | |
| 3213 | local s = Instance.new("Part")
| |
| 3214 | s.BrickColor = BrickColor.new(l) | |
| 3215 | s.Name = m | |
| 3216 | s.Transparency = o | |
| 3217 | nooutline(s) | |
| 3218 | s.Reflectance = n | |
| 3219 | s.Material = p | |
| 3220 | s.Anchored = true | |
| 3221 | s.CanCollide = false | |
| 3222 | s.Locked = true | |
| 3223 | s.CFrame = r | |
| 3224 | s.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 3225 | s.Parent = q | |
| 3226 | return s | |
| 3227 | end | |
| 3228 | ||
| 3229 | makemesh = function(t, u, v, w) | |
| 3230 | local x = Instance.new("SpecialMesh")
| |
| 3231 | x.MeshType = t | |
| 3232 | x.Scale = u | |
| 3233 | if t == "FileMesh" then | |
| 3234 | x.MeshId = v | |
| 3235 | end | |
| 3236 | x.Parent = w | |
| 3237 | return x | |
| 3238 | end | |
| 3239 | ||
| 3240 | local H = {}
| |
| 3241 | ||
| 3242 | ||
| 3243 | Barrage = function() | |
| 3244 | modz = Instance.new("Model")
| |
| 3245 | modz.Name = "efx" | |
| 3246 | modz.Parent = char | |
| 3247 | ov = true | |
| 3248 | hum.AutoRotate = false | |
| 3249 | local aN = nil | |
| 3250 | local a9 = true | |
| 3251 | local aa = {}
| |
| 3252 | local ab = {}
| |
| 3253 | local b7 = {}
| |
| 3254 | for j = 1, 16 do | |
| 3255 | local ac = Instance.new("Part")
| |
| 3256 | nooutline(ac) | |
| 3257 | ac.Anchored = true | |
| 3258 | ac.Locked = true | |
| 3259 | ac.CanCollide = false | |
| 3260 | ac.Material = "Neon" | |
| 3261 | ac.Size = Vector3.new(1, 1, 1) | |
| 3262 | ac.Transparency = 1 | |
| 3263 | ac.CFrame = CFrame.new(0, 1000, 0) | |
| 3264 | ac.Parent = modz | |
| 3265 | ac.BrickColor = BrickColor.new("Really blue")
| |
| 3266 | makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
| |
| 3267 | table.insert(aa, ac) | |
| 3268 | end | |
| 3269 | for j = 1, 40 do | |
| 3270 | local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
| |
| 3271 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
| |
| 3272 | table.insert(ab, a3) | |
| 3273 | end | |
| 3274 | for j = 1, 30 do | |
| 3275 | local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
| |
| 3276 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
| |
| 3277 | table.insert(b7, a3) | |
| 3278 | end | |
| 3279 | local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
| |
| 3280 | local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
| |
| 3281 | for I,aO in pairs(H) do | |
| 3282 | if aO.Parent == rarm or aO.Parent == larm then | |
| 3283 | aN = aO.Transparency | |
| 3284 | aO.Transparency = 1 | |
| 3285 | end | |
| 3286 | end | |
| 3287 | local a8 = Instance.new("BodyGyro")
| |
| 3288 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
| 3289 | a8.CFrame = CFrame.new(root.Position, mouse.Hit.p) | |
| 3290 | a8.P = 580000 | |
| 3291 | a8.D = 250 | |
| 3292 | a8.Parent = root | |
| 3293 | coroutine.resume(coroutine.create(function() | |
| 3294 | while a8 do | |
| 3295 | swait() | |
| 3296 | a8.CFrame = CFrame.new(root.Position, mouse.Hit.p) | |
| 3297 | end | |
| 3298 | end)) | |
| 3299 | local af = 0 | |
| 3300 | local ag = 0 | |
| 3301 | repeat | |
| 3302 | ag = ag + 1 | |
| 3303 | if af == 0 then | |
| 3304 | af = 1 | |
| 3305 | else | |
| 3306 | af = af % 14 + 1 | |
| 3307 | end | |
| 3308 | coroutine.resume(coroutine.create(function() | |
| 3309 | local ah = aa[af] | |
| 3310 | local ai = ab[af] | |
| 3311 | local aj = ab[af + 14] | |
| 3312 | local ba = b7[af] | |
| 3313 | ah.Size = Vector3.new(1, 1, 2) | |
| 3314 | ah.CFrame = cf(root.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-200, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p) | |
| 3315 | ah.Transparency = 0.25 | |
| 3316 | ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
| |
| 3317 | ai.Transparency = 0.35 | |
| 3318 | ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
| |
| 3319 | aj.Transparency = 0.45 | |
| 3320 | aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
| |
| 3321 | aj.CFrame = ah.CFrame * ang(0, rd(90), rd(90)) | |
| 3322 | if af % 2 == 1 then | |
| 3323 | 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(90), rd(90)) | |
| 3324 | else | |
| 3325 | if af % 2 == 0 then | |
| 3326 | 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(90), rd(90)) | |
| 3327 | end | |
| 3328 | end | |
| 3329 | ba.CFrame = ah.CFrame * cf(0, 0, -8) | |
| 3330 | ba.Transparency = 0.4 | |
| 3331 | ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
| |
| 3332 | local bb = ah.CFrame * cf(0, 0, -5) | |
| 3333 | local bc = aj.CFrame * cf(0, -0.1, 0) | |
| 3334 | local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100) | |
| 3335 | local ak = false | |
| 3336 | for j = 1, 12 do | |
| 3337 | swait() | |
| 3338 | local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j)) | |
| 3339 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {char}, true, true)
| |
| 3340 | if a1 and ak == false then | |
| 3341 | ak = true | |
| 3342 | local a3 = makepart("Really blue", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90)))
| |
| 3343 | do | |
| 3344 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
| |
| 3345 | game.Debris:AddItem(a3, 0.5) | |
| 3346 | local a5 = rd2(1, 12) | |
| 3347 | if a5 == 6 then | |
| 3348 | hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8))) | |
| 3349 | else | |
| 3350 | hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10) | |
| 3351 | end | |
| 3352 | coroutine.resume(coroutine.create(function() | |
| 3353 | for I = 1, 4 do | |
| 3354 | swait() | |
| 3355 | a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8) | |
| 3356 | a3.Transparency = a3.Transparency + 0.2 | |
| 3357 | end | |
| 3358 | a3:Destroy() | |
| 3359 | end)) | |
| 3360 | end | |
| 3361 | end | |
| 3362 | ah.Size = ah.Size:lerp(Vector3.new(2, 2, 12), 0.5) | |
| 3363 | ah.CFrame = ah.CFrame:lerp(bb, 1) | |
| 3364 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
| |
| 3365 | ah.Transparency = ah.Transparency + 0.0725 | |
| 3366 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
| |
| 3367 | ai.Transparency = ai.Transparency + 0.06 | |
| 3368 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
| |
| 3369 | aj.CFrame = aj.CFrame:lerp(bc, 0.3) | |
| 3370 | aj.Transparency = aj.Transparency + 0.05 | |
| 3371 | ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
| |
| 3372 | ba.CFrame = ba.CFrame:lerp(bd, 0.3) | |
| 3373 | ba.Transparency = ba.Transparency + 0.06 | |
| 3374 | end | |
| 3375 | end)) | |
| 3376 | swait() | |
| 3377 | until ov == false | |
| 3378 | for I,aO in pairs(H) do | |
| 3379 | if aO.Parent == rarm or aO.Parent == larm then | |
| 3380 | aO.Transparency = aN | |
| 3381 | end | |
| 3382 | end | |
| 3383 | b8:Destroy() | |
| 3384 | b9:Destroy() | |
| 3385 | a8:Destroy() | |
| 3386 | hum.AutoRotate = true | |
| 3387 | ov = false | |
| 3388 | wait(1) | |
| 3389 | for I,al in pairs(aa) do | |
| 3390 | al:Destroy() | |
| 3391 | end | |
| 3392 | for I,am in pairs(ab) do | |
| 3393 | am:Destroy() | |
| 3394 | end | |
| 3395 | for I,be in pairs(b7) do | |
| 3396 | be:Destroy() | |
| 3397 | end | |
| 3398 | end | |
| 3399 | ||
| 3400 | ||
| 3401 | ||
| 3402 | ||
| 3403 | ||
| 3404 | ||
| 3405 | function Kneel() | |
| 3406 | ||
| 3407 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
| 3408 | if v:FindFirstChild('Humanoid') then
| |
| 3409 | ||
| 3410 | hum2 = v:FindFirstChild('Humanoid')
| |
| 3411 | hum2.PlatformStand=true | |
| 3412 | ||
| 3413 | end | |
| 3414 | end | |
| 3415 | end | |
| 3416 | ||
| 3417 | --[[mouse.KeyDown:connect(function(key) | |
| 3418 | if key == "l" and Trans == false and Strength then | |
| 3419 | Transformation() | |
| 3420 | Trans = true | |
| 3421 | end | |
| 3422 | end)]] | |
| 3423 | ||
| 3424 | ||
| 3425 | ||
| 3426 | mouse.KeyDown:connect(function(key) | |
| 3427 | if key == "z" then | |
| 3428 | GrabAndDrag() | |
| 3429 | end | |
| 3430 | end) | |
| 3431 | ||
| 3432 | ||
| 3433 | mouse.KeyDown:connect(function(key) | |
| 3434 | if key == "x" then | |
| 3435 | AirSlam() | |
| 3436 | end | |
| 3437 | end) | |
| 3438 | ||
| 3439 | ||
| 3440 | ||
| 3441 | mouse.KeyDown:connect(function(key) | |
| 3442 | if key == "c" then | |
| 3443 | SpinSlice() | |
| 3444 | end | |
| 3445 | end) | |
| 3446 | ||
| 3447 | ||
| 3448 | mouse.KeyDown:connect(function(key) | |
| 3449 | if key == "p" and Full == false then | |
| 3450 | FullPower() | |
| 3451 | end | |
| 3452 | end) | |
| 3453 | ||
| 3454 | mouse.KeyDown:connect(function(key) | |
| 3455 | if key == "1" then | |
| 3456 | Sound("rbxassetid://966268002",char,90,1,false)
| |
| 3457 | Kneel() | |
| 3458 | end | |
| 3459 | end) | |
| 3460 | ||
| 3461 | mouse.KeyDown:connect(function(key) | |
| 3462 | if key == "v" then | |
| 3463 | if ov == false then | |
| 3464 | hed.Weld.C0 = hed.Weld.C0 * CFrame.Angles(0,0,0) | |
| 3465 | wait() | |
| 3466 | local ChatService = game:GetService("Chat")
| |
| 3467 | wait() | |
| 3468 | local ChatService = game:GetService("Chat")
| |
| 3469 | coroutine.resume(coroutine.create(function() | |
| 3470 | s = 0 | |
| 3471 | repeat | |
| 3472 | s = s + 1 | |
| 3473 | Barrage() | |
| 3474 | wait() | |
| 3475 | until not ov | |
| 3476 | end)) | |
| 3477 | if Full == true then | |
| 3478 | coroutine.resume(coroutine.create(function() | |
| 3479 | s = 0 | |
| 3480 | repeat | |
| 3481 | s = s + 1 | |
| 3482 | Barrage() | |
| 3483 | wait() | |
| 3484 | until not ov | |
| 3485 | end)) | |
| 3486 | end | |
| 3487 | mouse.KeyUp:connect(function(key) | |
| 3488 | if key == "v" then | |
| 3489 | wait(0.4) | |
| 3490 | ov = false | |
| 3491 | wait(0.1) | |
| 3492 | end | |
| 3493 | end) | |
| 3494 | end | |
| 3495 | end | |
| 3496 | end) | |
| 3497 | ||
| 3498 | ||
| 3499 | ||
| 3500 | ||
| 3501 | ||
| 3502 | -----animations----- | |
| 3503 | ||
| 3504 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 3505 | char.Humanoid.FreeFalling:connect(function(f) | |
| 3506 | if f then | |
| 3507 | ffing = true | |
| 3508 | else | |
| 3509 | ffing = false | |
| 3510 | end | |
| 3511 | end) | |
| 3512 | sine = sine + add | |
| 3513 | if ffing==true then | |
| 3514 | anim="jump" | |
| 3515 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 3516 | anim="idle" | |
| 3517 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 3518 | anim = "walk" | |
| 3519 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 3520 | anim = "run" | |
| 3521 | end | |
| 3522 | ||
| 3523 | if NoAnims==false then | |
| 3524 | if anim=="idle" then | |
| 3525 | add=0.5 | |
| 3526 | if trans == false then | |
| 3527 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.05) | |
| 3528 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25) | |
| 3529 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25) | |
| 3530 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1) | |
| 3531 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1) | |
| 3532 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25) | |
| 3533 | else | |
| 3534 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05) | |
| 3535 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25) | |
| 3536 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25) | |
| 3537 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.6,-0.6)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-90)), 0.5)--arm | |
| 3538 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.6,-.6)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.5)--arm | |
| 3539 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25) | |
| 3540 | end | |
| 3541 | ||
| 3542 | elseif anim=="walk" then | |
| 3543 | add=0.5 | |
| 3544 | if trans == false then | |
| 3545 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/3.5)/3,0)*CFrame.Angles(math.rad(-10),0,0),0.25) | |
| 3546 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/7)/2,-0.15+-math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/7)/2,0,0.05),0.25) | |
| 3547 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/7)/2,-0.15+math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/7)/2,0,-0.05),0.25) | |
| 3548 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/7)/7,0+math.sin(sine/14)/7)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/2,0,-6+-math.sin(sine/14)/7),0.1) | |
| 3549 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/10)/14,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1) | |
| 3550 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),0.25) | |
| 3551 | else | |
| 3552 | change = 0.5 | |
| 3553 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 3), -math.sin(sine / 6) / 4) * CFrame.Angles(math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(-10 - 2 * math.cos(sine / 3))), 0.2) | |
| 3554 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 - 0.05 * math.cos(sine / 3), math.sin(sine / 6) / 4) * CFrame.Angles(-math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(10 + 2 * math.cos(sine / 3))), 0.2) | |
| 3555 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8 + 2 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.2) | |
| 3556 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 - 0.15 * math.cos(sine / 6) / 5, -0.15 + math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + -math.sin(sine / 6) / 2.7, 0, 0), 0.4) | |
| 3557 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 + 0.15 * math.cos(sine / 6) / 5, -0.15 + -math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + math.sin(sine / 6) / 2.7, 0, 0), 0.4) | |
| 3558 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.07 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-4 + 1 * math.cos(sine / 3)), 0, math.rad(0)), 0.2) | |
| 3559 | end | |
| 3560 | ||
| 3561 | elseif anim=="run" then | |
| 3562 | add=0.5 | |
| 3563 | if trans == false then | |
| 3564 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/2)/3,0)*CFrame.Angles(math.rad(-37),0,0),0.025) | |
| 3565 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/4)/2,-0.15+-math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/4)/2,0,0.05),0.25) | |
| 3566 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/4)/2,-0.15+math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/4)/2,0,-0.05),0.25) | |
| 3567 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,-6),0.25) | |
| 3568 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,6),0.25) | |
| 3569 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),0,0),0.25) | |
| 3570 | else | |
| 3571 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,1+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-70),0,0),0.25) | |
| 3572 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25) | |
| 3573 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25) | |
| 3574 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,-6),0.25) | |
| 3575 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,6),0.25) | |
| 3576 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0.3)*CFrame.Angles(math.rad(70),0,0),0.25) | |
| 3577 | end | |
| 3578 | ||
| 3579 | elseif anim=="jump" then | |
| 3580 | add=0.5 | |
| 3581 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0+-math.cos(sine/14)/7,.5+-math.cos(sine/14)/7,0+-math.cos(sine/14)/7)*CFrame.Angles(math.rad(0),0,0),0.05) | |
| 3582 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-0.7,-0.5)*CFrame.Angles(math.rad(10),0,0),0.25) | |
| 3583 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.1)*CFrame.Angles(math.rad(-10),0,0),0.25) | |
| 3584 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(50),0,90),0.25) | |
| 3585 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),0,-90),0.25) | |
| 3586 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-20),0,0),0.25) | |
| 3587 | ||
| 3588 | end | |
| 3589 | end | |
| 3590 | ||
| 3591 | end) | |
| 3592 | ||
| 3593 | ||
| 3594 | --[[l = game.Lighting | |
| 3595 | l.TimeOfDay = 1 | |
| 3596 | - | game.Lighting.Ambient = Color3.new(0,0,0) |
| 3596 | + | game.Lighting.Ambient = Color3.new(1,0,0) |
| 3597 | - | l.Brightness = 0.1]]-- |
| 3597 | + | l.Brightness = 1]]-- |