SHOW:
|
|
- or go back to the newest paste.
| 1 | -- Script | |
| 2 | ||
| 3 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | local RealPlayer = Player | |
| 7 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 8 | ||
| 9 | wait(1) | |
| 10 | ||
| 11 | ||
| 12 | local punched1 = true | |
| 13 | local punched2 = false | |
| 14 | local punched3 = false | |
| 15 | local punched4 = false | |
| 16 | local beamgo4 = 2.2 | |
| 17 | local beamgo3 = 1 | |
| 18 | local trans = 1 | |
| 19 | local ssj1 = false | |
| 20 | local ssj2 = false | |
| 21 | local transforming1 = false | |
| 22 | local transforming2 = false | |
| 23 | local transforming3 = false | |
| 24 | local transforming4 = false | |
| 25 | local onaura = true | |
| 26 | local num = 0 | |
| 27 | local enabled = true | |
| 28 | local beamgo = 2.2 | |
| 29 | local beamgo1 = 1 | |
| 30 | local p = owner | |
| 31 | local char = p.Character | |
| 32 | local mouse = p:GetMouse() | |
| 33 | local larm = char["Left Arm"] | |
| 34 | local rarm = char["Right Arm"] | |
| 35 | local lleg = char["Left Leg"] | |
| 36 | local rleg = char["Right Leg"] | |
| 37 | local hed = char.Head | |
| 38 | local torso = char.Torso | |
| 39 | local hum = char.Humanoid | |
| 40 | local root = char.HumanoidRootPart | |
| 41 | local canattack = true | |
| 42 | local canwalk = true | |
| 43 | local canwalk1 = true | |
| 44 | local canidle = true | |
| 45 | local rs = game:GetService("RunService").RenderStepped
| |
| 46 | local new = Instance.new | |
| 47 | local v3 = Vector3.new | |
| 48 | local ns = NumberSequence.new | |
| 49 | local nr = NumberRange.new | |
| 50 | local bc = BrickColor.new | |
| 51 | local cf = CFrame.new | |
| 52 | local cfa = CFrame.Angles | |
| 53 | local rad = math.rad | |
| 54 | local startk = false | |
| 55 | local beam1 = false | |
| 56 | local beam2 = false | |
| 57 | local powering = false | |
| 58 | stop = false | |
| 59 | local start = false | |
| 60 | Mrandom = math.random | |
| 61 | local DebrisModel = Instance.new("Model",char)
| |
| 62 | DebrisModel.Name = "Debris" | |
| 63 | C3 = Color3.new | |
| 64 | local base = true | |
| 65 | local super = false | |
| 66 | local super2 = false | |
| 67 | local super3 = false | |
| 68 | local god = false | |
| 69 | local blue = false | |
| 70 | local slow = false | |
| 71 | local ui = false | |
| 72 | local kaioken = false | |
| 73 | local dodge = false | |
| 74 | local transformed = false | |
| 75 | local muiable = false | |
| 76 | cooldown = true | |
| 77 | canfly = false | |
| 78 | ||
| 79 | -- Scripts | |
| 80 | -- Objects | |
| 81 | ||
| 82 | local HealthGUI = Instance.new("ScreenGui")
| |
| 83 | local TextLabel = Instance.new("TextLabel")
| |
| 84 | local Frame2 = Instance.new("Frame")
| |
| 85 | local Slot2 = Instance.new("TextLabel")
| |
| 86 | local Slot3 = Instance.new("TextLabel")
| |
| 87 | local Slot4 = Instance.new("TextLabel")
| |
| 88 | local Slot5 = Instance.new("TextLabel")
| |
| 89 | local Slot6 = Instance.new("TextLabel")
| |
| 90 | local Slot7 = Instance.new("TextLabel")
| |
| 91 | local Slot8 = Instance.new("TextLabel")
| |
| 92 | local Slot9 = Instance.new("TextLabel")
| |
| 93 | local Slot10 = Instance.new("TextLabel")
| |
| 94 | local Slot11 = Instance.new("TextLabel")
| |
| 95 | local Slot12 = Instance.new("TextLabel")
| |
| 96 | ||
| 97 | -- Properties | |
| 98 | PlayerGui = p.PlayerGui | |
| 99 | HealthGUI.Name = "HealthGUI" | |
| 100 | HealthGUI = Instance.new("ScreenGui", PlayerGui)
| |
| 101 | ||
| 102 | TextLabel.Parent = HealthGUI | |
| 103 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 104 | TextLabel.BackgroundTransparency = 1 | |
| 105 | TextLabel.Position = UDim2.new(0, 0, 0.959999979, 0) | |
| 106 | TextLabel.Size = UDim2.new(0.0900000036, 0, 0.0500000007, 0) | |
| 107 | TextLabel.ZIndex = 3 | |
| 108 | TextLabel.Font = Enum.Font.Cartoon | |
| 109 | TextLabel.Text = "[H] Flight" | |
| 110 | TextLabel.TextColor3 = Color3.new(0, 0, 0) | |
| 111 | TextLabel.TextScaled = true | |
| 112 | TextLabel.TextSize = 10 | |
| 113 | TextLabel.TextStrokeColor3 = Color3.new(1, 0.294118, 0.294118) | |
| 114 | TextLabel.TextStrokeTransparency = 0 | |
| 115 | TextLabel.TextWrapped = true | |
| 116 | ||
| 117 | Frame2.Name = "Frame2" | |
| 118 | Frame2.Parent = HealthGUI | |
| 119 | Frame2.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 120 | Frame2.BackgroundTransparency = 1 | |
| 121 | Frame2.Position = UDim2.new(-0.00146412884, 0, 0.00607902743, 0) | |
| 122 | Frame2.Size = UDim2.new(0.5, 0, 0.5, 0) | |
| 123 | ||
| 124 | Slot2.Name = "Slot2" | |
| 125 | Slot2.Parent = Frame2 | |
| 126 | Slot2.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 127 | Slot2.BackgroundTransparency = 1 | |
| 128 | Slot2.Position = UDim2.new(1.72187495, 0, 1.34546447, 0) | |
| 129 | Slot2.Rotation = -1 | |
| 130 | Slot2.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
| 131 | Slot2.Font = Enum.Font.ArialBold | |
| 132 | Slot2.Text = "[U] UI" | |
| 133 | Slot2.TextColor3 = Color3.new(1, 1, 1) | |
| 134 | Slot2.TextScaled = true | |
| 135 | Slot2.TextSize = 30 | |
| 136 | Slot2.TextStrokeColor3 = Color3.new(0, 0.333333, 1) | |
| 137 | Slot2.TextStrokeTransparency = 0 | |
| 138 | Slot2.TextWrapped = true | |
| 139 | ||
| 140 | Slot3.Name = "Slot3" | |
| 141 | Slot3.Parent = Frame2 | |
| 142 | Slot3.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 143 | Slot3.BackgroundTransparency = 1 | |
| 144 | Slot3.Position = UDim2.new(1.722, 0, 1.20500004, 0) | |
| 145 | Slot3.Rotation = -1 | |
| 146 | Slot3.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
| 147 | Slot3.Font = Enum.Font.ArialBold | |
| 148 | Slot3.Text = "[Y] MUI" | |
| 149 | Slot3.TextColor3 = Color3.new(1, 1, 1) | |
| 150 | Slot3.TextScaled = true | |
| 151 | Slot3.TextSize = 100 | |
| 152 | Slot3.TextStrokeColor3 = Color3.new(0, 0.333333, 1) | |
| 153 | Slot3.TextStrokeTransparency = 0 | |
| 154 | Slot3.TextWrapped = true | |
| 155 | ||
| 156 | Slot4.Name = "Slot4" | |
| 157 | Slot4.Parent = Frame2 | |
| 158 | Slot4.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 159 | Slot4.BackgroundTransparency = 1 | |
| 160 | Slot4.Position = UDim2.new(1.722, 0, 1.10500002, 0) | |
| 161 | Slot4.Rotation = -1 | |
| 162 | Slot4.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
| 163 | Slot4.Font = Enum.Font.ArialBold | |
| 164 | Slot4.Text = "[P] Energy Charge" | |
| 165 | Slot4.TextColor3 = Color3.new(1, 1, 1) | |
| 166 | Slot4.TextScaled = true | |
| 167 | Slot4.TextSize = 100 | |
| 168 | Slot4.TextStrokeColor3 = Color3.new(0, 0.333333, 1) | |
| 169 | Slot4.TextStrokeTransparency = 0 | |
| 170 | Slot4.TextWrapped = true | |
| 171 | ||
| 172 | Slot5.Name = "Slot5" | |
| 173 | Slot5.Parent = Frame2 | |
| 174 | Slot5.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 175 | Slot5.BackgroundTransparency = 1 | |
| 176 | Slot5.Position = UDim2.new(1.722, 0, 1.005, 0) | |
| 177 | Slot5.Rotation = -1 | |
| 178 | Slot5.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
| 179 | Slot5.Font = Enum.Font.ArialBold | |
| 180 | Slot5.Text = "[Q] Kamehameha" | |
| 181 | Slot5.TextColor3 = Color3.new(1, 1, 1) | |
| 182 | Slot5.TextScaled = true | |
| 183 | Slot5.TextSize = 100 | |
| 184 | Slot5.TextStrokeColor3 = Color3.new(0, 1, 1) | |
| 185 | Slot5.TextStrokeTransparency = 0 | |
| 186 | Slot5.TextWrapped = true | |
| 187 | ||
| 188 | Slot6.Name = "Slot6" | |
| 189 | Slot6.Parent = Frame2 | |
| 190 | Slot6.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 191 | Slot6.BackgroundTransparency = 1 | |
| 192 | Slot6.Position = UDim2.new(1.722, 0, 1.505, 0) | |
| 193 | Slot6.Rotation = -1 | |
| 194 | Slot6.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
| 195 | Slot6.Font = Enum.Font.ArialBold | |
| 196 | Slot6.Text = "[R] Guard" | |
| 197 | Slot6.TextColor3 = Color3.new(1, 1, 1) | |
| 198 | Slot6.TextScaled = true | |
| 199 | Slot6.TextSize = 100 | |
| 200 | Slot6.TextStrokeColor3 = Color3.new(1, 0, 0) | |
| 201 | Slot6.TextStrokeTransparency = 0 | |
| 202 | Slot6.TextWrapped = true | |
| 203 | ||
| 204 | if p.Character:FindFirstChild("Body Colors") then
| |
| 205 | p.Character["Body Colors"]:remove() | |
| 206 | end | |
| 207 | if p.Character:FindFirstChild("Shirt Graphic") then
| |
| 208 | p.Character["Shirt Graphic"]:remove() | |
| 209 | end | |
| 210 | if p.Character:FindFirstChild("Shirt") then
| |
| 211 | p.Character["Shirt"]:remove() | |
| 212 | end | |
| 213 | if p.Character:FindFirstChild("Pants") then
| |
| 214 | p.Character["Pants"]:remove() | |
| 215 | end | |
| 216 | for i=1,5 do | |
| 217 | wait() | |
| 218 | for _,hat in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
| 219 | if hat.ClassName == "Accessory" then | |
| 220 | hat:remove() | |
| 221 | end | |
| 222 | if hat:IsA("BasePart") then
| |
| 223 | hat.BrickColor = BrickColor.new("Pastel brown")
| |
| 224 | end | |
| 225 | end | |
| 226 | end | |
| 227 | ||
| 228 | - | shirt = Instance.new("Shirt",p.Character)
|
| 228 | + | |
| 229 | - | shirt.ShirtTemplate = "rbxassetid://804894303" |
| 229 | + | |
| 230 | - | pants = Instance.new("Pants",p.Character)
|
| 230 | + | |
| 231 | - | pants.PantsTemplate = "rbxassetid://189943600" |
| 231 | + | |
| 232 | if tauntdebounce then return end | |
| 233 | - | hair = Instance.new("Part",game.Players.LocalPlayer.Character) hair.Size = Vector3.new(1,1,1) hair.CanCollide = false
|
| 233 | + | |
| 234 | laff = Instance.new("Sound",hed)
| |
| 235 | - | p.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=1142979747" |
| 235 | + | |
| 236 | laff.Volume = 5 | |
| 237 | laff:Play() | |
| 238 | removeuseless:AddItem(laff,3) | |
| 239 | wait(1) | |
| 240 | tauntdebounce = false | |
| 241 | end | |
| 242 | end) | |
| 243 | ||
| 244 | Baseparticle = Instance.new("ParticleEmitter")
| |
| 245 | Basemesh = Instance.new("SpecialMesh")
| |
| 246 | local mesh = Basemesh:Clone() | |
| 247 | mesh.Parent = hair | |
| 248 | mesh.MeshId = "rbxassetid://1143041061" | |
| 249 | Baseweld = Instance.new("Weld")
| |
| 250 | local weld = Baseweld:Clone() | |
| 251 | weld.Part0 = hair | |
| 252 | weld.Part1 = p.Character.Head | |
| 253 | hair.Color = Color3.fromRGB(153, 125, 61) | |
| 254 | weld.C0 = CFrame.new(0,-0.25,0)*CFrame.Angles(0,math.rad(180),0) | |
| 255 | weld.Parent = hair | |
| 256 | ||
| 257 | Slot7.Name = "Slot7" | |
| 258 | Slot7.Parent = Frame2 | |
| 259 | Slot7.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 260 | Slot7.BackgroundTransparency = 1 | |
| 261 | Slot7.Position = UDim2.new(1.722, 0, 1.60500002, 0) | |
| 262 | Slot7.Rotation = -1 | |
| 263 | Slot7.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
| 264 | Slot7.Font = Enum.Font.ArialBold | |
| 265 | Slot7.Text = "[E] Combat" | |
| 266 | Slot7.TextColor3 = Color3.new(1, 1, 1) | |
| 267 | Slot7.TextScaled = true | |
| 268 | Slot7.TextSize = 100 | |
| 269 | Slot7.TextStrokeColor3 = Color3.new(1, 0, 0) | |
| 270 | Slot7.TextStrokeTransparency = 0 | |
| 271 | Slot7.TextWrapped = true | |
| 272 | ||
| 273 | Slot8.Name = "Slot8" | |
| 274 | Slot8.Parent = Frame2 | |
| 275 | Slot8.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 276 | Slot8.BackgroundTransparency = 1 | |
| 277 | Slot8.Position = UDim2.new(1.722, 0, 1.70500004, 0) | |
| 278 | Slot8.Rotation = -1 | |
| 279 | Slot8.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
| 280 | Slot8.Font = Enum.Font.ArialBold | |
| 281 | Slot8.Text = "[X] Super God Fist" | |
| 282 | Slot8.TextColor3 = Color3.new(1, 1, 1) | |
| 283 | Slot8.TextScaled = true | |
| 284 | Slot8.TextSize = 100 | |
| 285 | Slot8.TextStrokeColor3 = Color3.new(1, 0.333333, 0) | |
| 286 | Slot8.TextStrokeTransparency = 0 | |
| 287 | Slot8.TextWrapped = true | |
| 288 | ||
| 289 | Slot9.Name = "Slot9" | |
| 290 | Slot9.Parent = Frame2 | |
| 291 | Slot9.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 292 | Slot9.BackgroundTransparency = 1 | |
| 293 | Slot9.Position = UDim2.new(1.722, 0, 1.80499995, 0) | |
| 294 | Slot9.Rotation = -1 | |
| 295 | Slot9.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
| 296 | Slot9.Font = Enum.Font.ArialBold | |
| 297 | Slot9.Text = "[V] Grab" | |
| 298 | Slot9.TextColor3 = Color3.new(1, 1, 1) | |
| 299 | Slot9.TextScaled = true | |
| 300 | Slot9.TextSize = 100 | |
| 301 | Slot9.TextStrokeColor3 = Color3.new(1, 0, 0) | |
| 302 | Slot9.TextStrokeTransparency = 0 | |
| 303 | Slot9.TextWrapped = true | |
| 304 | ||
| 305 | Slot10.Name = "Slot10" | |
| 306 | Slot10.Parent = Frame2 | |
| 307 | Slot10.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 308 | Slot10.BackgroundTransparency = 1 | |
| 309 | Slot10.Position = UDim2.new(1.722, 0, 0.704999983, 0) | |
| 310 | Slot10.Rotation = -1 | |
| 311 | Slot10.Size = UDim2.new(0.209000006, 0, 0.064000003, 0) | |
| 312 | Slot10.Font = Enum.Font.ArialBold | |
| 313 | Slot10.Text = "[3] Z-Vanish" | |
| 314 | Slot10.TextColor3 = Color3.new(1, 1, 1) | |
| 315 | Slot10.TextScaled = true | |
| 316 | Slot10.TextSize = 100 | |
| 317 | Slot10.TextStrokeTransparency = 0 | |
| 318 | Slot10.TextWrapped = true | |
| 319 | ||
| 320 | Slot11.Name = "Slot 11" | |
| 321 | Slot11.Parent = Frame2 | |
| 322 | Slot11.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 323 | Slot11.BackgroundTransparency = 1 | |
| 324 | Slot11.Position = UDim2.new(1.62199998, 0, 0.104999997, 0) | |
| 325 | Slot11.Rotation = -1 | |
| 326 | Slot11.Size = UDim2.new(0.308999985, 0, 0.164000005, 0) | |
| 327 | Slot11.Font = Enum.Font.ArialBold | |
| 328 | Slot11.Text = "UI Avatar made by venturiansonic" | |
| 329 | Slot11.TextColor3 = Color3.new(0, 1, 1) | |
| 330 | Slot11.TextScaled = true | |
| 331 | Slot11.TextSize = 100 | |
| 332 | Slot11.TextStrokeColor3 = Color3.new(0, 0, 1) | |
| 333 | Slot11.TextStrokeTransparency = 0.89999997615814 | |
| 334 | Slot11.TextTransparency = 0.89999997615814 | |
| 335 | Slot11.TextWrapped = true | |
| 336 | ||
| 337 | Slot12.Name = "Slot12" | |
| 338 | Slot12.Parent = Frame2 | |
| 339 | Slot12.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 340 | Slot12.BackgroundTransparency = 1 | |
| 341 | Slot12.Position = UDim2.new(1.62199998, 0, 0.305000007, 0) | |
| 342 | Slot12.Rotation = -1 | |
| 343 | Slot12.Size = UDim2.new(0.308999985, 0, 0.164000005, 0) | |
| 344 | Slot12.Font = Enum.Font.ArialBold | |
| 345 | Slot12.Text = " venturiansonic#3801" | |
| 346 | Slot12.TextColor3 = Color3.new(0, 1, 1) | |
| 347 | Slot12.TextScaled = true | |
| 348 | Slot12.TextSize = 100 | |
| 349 | Slot12.TextStrokeColor3 = Color3.new(1, 0, 0) | |
| 350 | Slot12.TextStrokeTransparency = 0.89999997615814 | |
| 351 | Slot12.TextTransparency = 0.89999997615814 | |
| 352 | Slot12.TextWrapped = true | |
| 353 | ||
| 354 | ||
| 355 | ----------------------------------- | |
| 356 | --god/health | |
| 357 | hum:SetStateEnabled("Dead",false)
| |
| 358 | hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
| 359 | Instance.new("ForceField",char).Visible = false
| |
| 360 | hum.MaxHealth = 100000 | |
| 361 | hum.Health = 100000 | |
| 362 | ||
| 363 | ||
| 364 | ----------------------------------- | |
| 365 | function Lerp(c1,c2,al) | |
| 366 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 367 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 368 | for i,v in pairs(com1) do | |
| 369 | com1[i] = v+(com2[i]-v)*al | |
| 370 | end | |
| 371 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 372 | end | |
| 373 | ---------------------------------------------------------------------------------------------------- | |
| 374 | local maincolor = BrickColor.new("Cyan")
| |
| 375 | function Eviscerate(dude) | |
| 376 | if dude.Name ~= char then | |
| 377 | local bgf = Instance.new("BodyGyro", dude.Head)
| |
| 378 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(rad(-90), 0, 0) | |
| 379 | local val = Instance.new("BoolValue", dude)
| |
| 380 | val.Name = "IsHit" | |
| 381 | local ds = coroutine.wrap(function() | |
| 382 | dude:WaitForChild("Head"):BreakJoints()
| |
| 383 | ||
| 384 | ||
| 385 | coroutine.resume(coroutine.create(function() | |
| 386 | for i, v in pairs(dude:GetChildren()) do | |
| 387 | if v:IsA("Accessory") then
| |
| 388 | v:Destroy() | |
| 389 | end | |
| 390 | if v:IsA("Humanoid") then
| |
| 391 | v:Destroy() | |
| 392 | end | |
| 393 | if v:IsA("CharacterMesh") then
| |
| 394 | v:Destroy() | |
| 395 | end | |
| 396 | if v:IsA("Model") then
| |
| 397 | v:Destroy() | |
| 398 | end | |
| 399 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 400 | for x, o in pairs(v:GetChildren()) do | |
| 401 | if o:IsA("Decal") then
| |
| 402 | o:Destroy() | |
| 403 | end | |
| 404 | end | |
| 405 | coroutine.resume(coroutine.create(function() | |
| 406 | v.Material = "Neon" | |
| 407 | v.CanCollide = false | |
| 408 | local PartEmmit1 = Instance.new("ParticleEmitter", v)
| |
| 409 | PartEmmit1.LightEmission = 1 | |
| 410 | PartEmmit1.Texture = "rbxassetid://284205403" | |
| 411 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 412 | PartEmmit1.Rate = 150 | |
| 413 | PartEmmit1.Lifetime = NumberRange.new(1) | |
| 414 | PartEmmit1.Size = NumberSequence.new({
| |
| 415 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
| 416 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 417 | }) | |
| 418 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 419 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 420 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 421 | }) | |
| 422 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 423 | PartEmmit1.VelocitySpread = 30000 | |
| 424 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
| 425 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
| 426 | local BodPoss = Instance.new("BodyPosition", v)
| |
| 427 | BodPoss.P = 3000 | |
| 428 | BodPoss.D = 1000 | |
| 429 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 430 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 431 | v.Color = maincolor.Color | |
| 432 | coroutine.resume(coroutine.create(function() | |
| 433 | for i = 0, 49 do | |
| 434 | swait(1) | |
| 435 | v.Transparency = v.Transparency + 0.08 | |
| 436 | end | |
| 437 | wait(0.5) | |
| 438 | PartEmmit1.Enabled = false | |
| 439 | wait(3) | |
| 440 | v:Destroy() | |
| 441 | dude:Destroy() | |
| 442 | end)) | |
| 443 | end)) | |
| 444 | end | |
| 445 | end | |
| 446 | end)) | |
| 447 | end) | |
| 448 | ds() | |
| 449 | end | |
| 450 | end | |
| 451 | ---------------------------------------------------------------------------------------------------- | |
| 452 | --Hair | |
| 453 | ||
| 454 | a8 = new("Part",char)
| |
| 455 | a8.Name = "Hair" | |
| 456 | a8.Size = v3(2.92, 2.58, 2.72) | |
| 457 | a8.BrickColor = bc("Really black")
| |
| 458 | a8.Material = "Neon" | |
| 459 | a8.Transparency = 1 | |
| 460 | aa8 = new("SpecialMesh",a8)
| |
| 461 | aa8.MeshType = "FileMesh" | |
| 462 | aa8.Scale = v3(7.3,7.3,7.3) | |
| 463 | aa8.MeshId = "rbxassetid://455100513" | |
| 464 | aaa8 =new("Weld",a8)
| |
| 465 | aaa8.Part0 = hed | |
| 466 | aaa8.Part1 = a8 | |
| 467 | aaa8.C0 = cf(-0.15,.9,-0.1) * cfa(rad(0),rad(0),rad(0)) | |
| 468 | ||
| 469 | ||
| 470 | ||
| 471 | ||
| 472 | ||
| 473 | ||
| 474 | Lightning = function(Start,End,Times,Offset,Color,Thickness) | |
| 475 | ||
| 476 | ||
| 477 | ||
| 478 | ||
| 479 | local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset}
| |
| 480 | ||
| 481 | ||
| 482 | ||
| 483 | ||
| 484 | for i=1,Times do | |
| 485 | ||
| 486 | ||
| 487 | ||
| 488 | ||
| 489 | local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true
| |
| 490 | ||
| 491 | ||
| 492 | ||
| 493 | ||
| 494 | li.Material = "Neon" | |
| 495 | ||
| 496 | ||
| 497 | ||
| 498 | ||
| 499 | ||
| 500 | ||
| 501 | ||
| 502 | ||
| 503 | ||
| 504 | ||
| 505 | ||
| 506 | ||
| 507 | ||
| 508 | li.Transparency = 0 li.BrickColor = Color | |
| 509 | ||
| 510 | ||
| 511 | ||
| 512 | ||
| 513 | li.formFactor = "Custom" li.CanCollide = false | |
| 514 | ||
| 515 | ||
| 516 | ||
| 517 | ||
| 518 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
| 519 | ||
| 520 | ||
| 521 | ||
| 522 | ||
| 523 | local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
| 524 | ||
| 525 | ||
| 526 | ||
| 527 | ||
| 528 | local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz | |
| 529 | ||
| 530 | ||
| 531 | ||
| 532 | ||
| 533 | if Times == i then | |
| 534 | ||
| 535 | ||
| 536 | ||
| 537 | ||
| 538 | local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2) | |
| 539 | ||
| 540 | ||
| 541 | ||
| 542 | ||
| 543 | li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2) | |
| 544 | ||
| 545 | ||
| 546 | ||
| 547 | ||
| 548 | else | |
| 549 | ||
| 550 | ||
| 551 | ||
| 552 | ||
| 553 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
| 554 | ||
| 555 | ||
| 556 | ||
| 557 | ||
| 558 | end | |
| 559 | ||
| 560 | ||
| 561 | ||
| 562 | ||
| 563 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p Spawn(function() for i=1,10 do wait() | |
| 564 | ||
| 565 | ||
| 566 | ||
| 567 | ||
| 568 | ||
| 569 | ||
| 570 | ||
| 571 | ||
| 572 | ||
| 573 | ||
| 574 | ||
| 575 | ||
| 576 | ||
| 577 | li.Transparency = li.Transparency+tra end li:Destroy() end) | |
| 578 | ||
| 579 | ||
| 580 | ||
| 581 | ||
| 582 | end | |
| 583 | ||
| 584 | ||
| 585 | ||
| 586 | ||
| 587 | end | |
| 588 | ||
| 589 | ||
| 590 | --Clothes | |
| 591 | wait(0.5) | |
| 592 | ||
| 593 | local instinct = false | |
| 594 | ||
| 595 | ------- | |
| 596 | ----------------------------------------------------------------------- | |
| 597 | --Sounds | |
| 598 | --Folder | |
| 599 | soundfolder = Instance.new("Model",char)
| |
| 600 | soundfolder.Name = "Sound Folder" | |
| 601 | --Sounds | |
| 602 | kamecharge = Instance.new("Sound",torso)
| |
| 603 | kamecharge.Volume = 1 | |
| 604 | kamecharge.Name = "kamecharge" | |
| 605 | kamecharge.Looped = false | |
| 606 | kamecharge.SoundId = "rbxassetid://908489666" | |
| 607 | kamefire = Instance.new("Sound",torso)
| |
| 608 | kamefire.Volume = 1 | |
| 609 | kamefire.Name = "kamefire" | |
| 610 | kamefire.Looped = false | |
| 611 | kamefire.SoundId = "rbxassetid://908474188" | |
| 612 | kamehit = Instance.new("Sound",torso)
| |
| 613 | kamehit.Volume = 30 | |
| 614 | kamehit.Name = "kamehit" | |
| 615 | kamehit.Looped = false | |
| 616 | kamehit.SoundId = "rbxassetid://908484148" | |
| 617 | ssjaura = Instance.new("Sound",torso)
| |
| 618 | ssjaura.Volume = 10 | |
| 619 | ssjaura.Name = "ssjaura" | |
| 620 | ssjaura.Looped = true | |
| 621 | ssjaura.SoundId = "rbxassetid://891397456" | |
| 622 | ssjauraburst = Instance.new("Sound",torso)
| |
| 623 | ssjauraburst.Volume = math.huge | |
| 624 | ssjauraburst.Name = "ssjauraburst" | |
| 625 | ssjauraburst.Looped =false | |
| 626 | ssjauraburst.SoundId = "rbxassetid://437393965" | |
| 627 | ssjmusic = Instance.new("Sound",torso)
| |
| 628 | ssjmusic.Volume = 10 | |
| 629 | ssjmusic.Name = "ssjmusic" | |
| 630 | ssjmusic.Looped = true | |
| 631 | ssjmusic.SoundId = "rbxassetid://194135434" | |
| 632 | ssj2music = Instance.new("Sound",torso)
| |
| 633 | ssj2music.Volume = 10 | |
| 634 | ssj2music.Name = "ssj2music" | |
| 635 | ssj2music.Looped = true | |
| 636 | ssj2music.SoundId = "rbxassetid://144377132" | |
| 637 | ssj2aura = Instance.new("Sound",torso)
| |
| 638 | ssj2aura.Volume = 10 | |
| 639 | ssj2aura.Name = "ssj2aura" | |
| 640 | ssj2aura.Looped = true | |
| 641 | ssj2aura.SoundId = "rbxassetid://262498455" | |
| 642 | ||
| 643 | fahersonstart = Instance.new("Sound",torso)
| |
| 644 | fahersonstart.Volume = math.huge | |
| 645 | fahersonstart.Name = "fahersonstart" | |
| 646 | fahersonstart.Looped = false | |
| 647 | fahersonstart.SoundId = "rbxassetid://958391048" | |
| 648 | fahersonend = Instance.new("Sound",torso)
| |
| 649 | fahersonend.Volume = math.huge | |
| 650 | fahersonend.Name = "fahersonend" | |
| 651 | fahersonend.Looped = false | |
| 652 | fahersonend.SoundId = "rbxassetid://958391222" | |
| 653 | punchsound = Instance.new("Sound",torso)
| |
| 654 | punchsound.Volume = 10 | |
| 655 | punchsound.Name = "punchsound" | |
| 656 | punchsound.Looped = false | |
| 657 | punchsound.SoundId = "rbxassetid://896246498" | |
| 658 | punchsound1 = Instance.new("Sound",torso)
| |
| 659 | punchsound1.Volume = 10 | |
| 660 | punchsound1.Name = "punchsound1" | |
| 661 | punchsound1.Looped = false | |
| 662 | punchsound1.SoundId = "rbxassetid://137579113" | |
| 663 | ||
| 664 | ||
| 665 | ||
| 666 | ||
| 667 | ||
| 668 | NewInstance = function(instance,parent,properties) | |
| 669 | local inst = Instance.new(instance) | |
| 670 | inst.Parent = parent | |
| 671 | if(properties)then | |
| 672 | for i,v in next, properties do | |
| 673 | pcall(function() inst[i] = v end) | |
| 674 | end | |
| 675 | end | |
| 676 | return inst; | |
| 677 | end | |
| 678 | ||
| 679 | ||
| 680 | ||
| 681 | ||
| 682 | ||
| 683 | ---------------------------------------------------- | |
| 684 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 685 | local wld = Instance.new("Weld", wp1)
| |
| 686 | wld.Part0 = wp0 | |
| 687 | wld.Part1 = wp1 | |
| 688 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 689 | end | |
| 690 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 691 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 692 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 693 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 694 | newWeld(torso, hed, 0, 1.5, 0) | |
| 695 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 696 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 697 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 698 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 699 | newWeld(root, torso, 0, -1, 0) | |
| 700 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 701 | --Animations | |
| 702 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 703 | ||
| 704 | ||
| 705 | hum.WalkSpeed = 20 | |
| 706 | ||
| 707 | ||
| 708 | ||
| 709 | ||
| 710 | ||
| 711 | ||
| 712 | ||
| 713 | ||
| 714 | ||
| 715 | ||
| 716 | ||
| 717 | ||
| 718 | ||
| 719 | ||
| 720 | ||
| 721 | ||
| 722 | ||
| 723 | ||
| 724 | ||
| 725 | ||
| 726 | function firsthit() | |
| 727 | local SFXZ = Instance.new("Sound",hed)
| |
| 728 | SFXZ.SoundId = "rbxassetid://169259383" | |
| 729 | SFXZ.Volume = 1 | |
| 730 | SFXZ.Pitch = 1.5 | |
| 731 | SFXZ.Looped = false | |
| 732 | wait(0.01) | |
| 733 | SFXZ:Play() | |
| 734 | ||
| 735 | for i = 1,5 do | |
| 736 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
| 737 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(0)), .5)--torso | |
| 738 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(20)), .5)--arm | |
| 739 | 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)), .5)--arm | |
| 740 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
| 741 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
| 742 | wait() | |
| 743 | end | |
| 744 | ||
| 745 | ||
| 746 | ag = new("Part",char)
| |
| 747 | ag.Name = "NewPart" | |
| 748 | ag.Size = v3(2,2,2) | |
| 749 | ag.CanCollide = false | |
| 750 | ag.Position = v3(999,999,999) | |
| 751 | ag.BrickColor = bc("Color")
| |
| 752 | ag.Material = "Neon" | |
| 753 | ag.Transparency = 1 | |
| 754 | aaag =new("Weld",ag)
| |
| 755 | aaag.Part0 = rarm | |
| 756 | aaag.Part1 = ag | |
| 757 | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
| 758 | ||
| 759 | ||
| 760 | ag.Touched:connect(function(hit) | |
| 761 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 762 | if v:IsA("Humanoid") then
| |
| 763 | ag.TouchInterest:Destroy() | |
| 764 | if ssj1 == false and ssj2 == false then | |
| 765 | v.Health = v.Health - 40 | |
| 766 | end | |
| 767 | if blue == true and ssj2 == true then | |
| 768 | v.Health = v.Health - 1500 | |
| 769 | end | |
| 770 | if ui == true then | |
| 771 | v.Health = v.Health - 3000000000000000000000000000000 | |
| 772 | end | |
| 773 | ||
| 774 | local Cloud3 = Instance.new("Part",char)
| |
| 775 | Cloud3.Size = Vector3.new(1,1,1) | |
| 776 | Cloud3.BrickColor = BrickColor.new("Medium stone grey")
| |
| 777 | Cloud3.Anchored = true | |
| 778 | Cloud3.Material = "Neon" | |
| 779 | Cloud3.CanCollide = false | |
| 780 | Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
| 781 | local Cloud4 = Instance.new("SpecialMesh",Cloud3)
| |
| 782 | Cloud4.MeshId = "rbxassetid://3270017" | |
| 783 | Cloud4.Scale = Vector3.new(1,1,0.4) | |
| 784 | ||
| 785 | ||
| 786 | ||
| 787 | coroutine.resume(coroutine.create(function() | |
| 788 | for i = 3,650 do | |
| 789 | ||
| 790 | ||
| 791 | ||
| 792 | ||
| 793 | Cloud3.Transparency = Cloud3.Transparency + 0.03 | |
| 794 | Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2) | |
| 795 | ||
| 796 | ||
| 797 | ||
| 798 | ||
| 799 | wait(0.00000000001) | |
| 800 | end | |
| 801 | end)) | |
| 802 | local SFXZ = Instance.new("Sound",hed)
| |
| 803 | SFXZ.SoundId = "rbxassetid://260430060" | |
| 804 | SFXZ.Volume = 1 | |
| 805 | SFXZ.Pitch = 1 | |
| 806 | SFXZ.Looped = false | |
| 807 | wait(0.01) | |
| 808 | SFXZ:Play() | |
| 809 | ||
| 810 | ||
| 811 | end | |
| 812 | end | |
| 813 | end) | |
| 814 | ||
| 815 | ||
| 816 | ||
| 817 | ||
| 818 | for i= 1,5 do | |
| 819 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
| 820 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(50), math.rad(0)), .5)--torso | |
| 821 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.8)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), .5)--arm | |
| 822 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), .5)--arm | |
| 823 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .5)--leg | |
| 824 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
| 825 | wait() | |
| 826 | end | |
| 827 | ag:Destroy() | |
| 828 | end | |
| 829 | function secondhit() | |
| 830 | ||
| 831 | local SFXZ = Instance.new("Sound",torso)
| |
| 832 | SFXZ.SoundId = "rbxassetid://169259383" | |
| 833 | SFXZ.Volume = 1 | |
| 834 | SFXZ.Pitch = 1.5 | |
| 835 | SFXZ.Looped = false | |
| 836 | wait(0.01) | |
| 837 | SFXZ:Play() | |
| 838 | ||
| 839 | for i = 1,5 do | |
| 840 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
| 841 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(20), math.rad(0)), .5)--torso | |
| 842 | 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)), .5)--arm | |
| 843 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), .5)--arm | |
| 844 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
| 845 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
| 846 | wait() | |
| 847 | end | |
| 848 | ||
| 849 | ||
| 850 | ||
| 851 | ag = new("Part",char)
| |
| 852 | ag.Name = "NewPart" | |
| 853 | ag.Size = v3(2,2,2) | |
| 854 | ag.CanCollide = false | |
| 855 | ag.Position = v3(999,999,999) | |
| 856 | ag.BrickColor = bc("Color")
| |
| 857 | ag.Material = "Neon" | |
| 858 | ag.Transparency = 1 | |
| 859 | aaag =new("Weld",ag)
| |
| 860 | aaag.Part0 = larm | |
| 861 | aaag.Part1 = ag | |
| 862 | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
| 863 | ||
| 864 | ||
| 865 | ||
| 866 | ag.Touched:connect(function(hit) | |
| 867 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 868 | if v:IsA("Humanoid") then
| |
| 869 | ag.TouchInterest:Destroy() | |
| 870 | if ssj1 == false and ssj2 == false then | |
| 871 | v.Health = v.Health - 100 | |
| 872 | end | |
| 873 | if blue == true and ssj2 == false then | |
| 874 | v.Health = v.Health - 1500 | |
| 875 | end | |
| 876 | if ui == true then | |
| 877 | v.Health = v.Health - 3000000000000000000000000000000 | |
| 878 | end | |
| 879 | local Cloud3 = Instance.new("Part",char)
| |
| 880 | Cloud3.Size = Vector3.new(1,1,1) | |
| 881 | Cloud3.BrickColor = BrickColor.new("Medium stone grey")
| |
| 882 | Cloud3.Anchored = true | |
| 883 | Cloud3.Material = "Neon" | |
| 884 | Cloud3.CanCollide = false | |
| 885 | Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
| 886 | local Cloud4 = Instance.new("SpecialMesh",Cloud3)
| |
| 887 | Cloud4.MeshId = "rbxassetid://3270017" | |
| 888 | Cloud4.Scale = Vector3.new(1,1,0.4) | |
| 889 | ||
| 890 | ||
| 891 | ||
| 892 | coroutine.resume(coroutine.create(function() | |
| 893 | for i = 3,650 do | |
| 894 | ||
| 895 | ||
| 896 | ||
| 897 | ||
| 898 | Cloud3.Transparency = Cloud3.Transparency + 0.03 | |
| 899 | Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2) | |
| 900 | ||
| 901 | ||
| 902 | ||
| 903 | ||
| 904 | wait(0.00000000001) | |
| 905 | end | |
| 906 | end)) | |
| 907 | local SFXZ = Instance.new("Sound",hed)
| |
| 908 | SFXZ.SoundId = "rbxassetid://260430060" | |
| 909 | SFXZ.Volume = 1 | |
| 910 | SFXZ.Pitch = 1.1 | |
| 911 | SFXZ.Looped = false | |
| 912 | wait(0.01) | |
| 913 | SFXZ:Play() | |
| 914 | ||
| 915 | ||
| 916 | end | |
| 917 | end | |
| 918 | end) | |
| 919 | ||
| 920 | ||
| 921 | ||
| 922 | ||
| 923 | ||
| 924 | ||
| 925 | ||
| 926 | ||
| 927 | for i= 1,5 do | |
| 928 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
| 929 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso | |
| 930 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm | |
| 931 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm | |
| 932 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg | |
| 933 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg | |
| 934 | wait() | |
| 935 | end | |
| 936 | ag:Destroy() | |
| 937 | end | |
| 938 | function thirdhit() | |
| 939 | local SFXZ = Instance.new("Sound",torso)
| |
| 940 | SFXZ.SoundId = "rbxassetid://169259383" | |
| 941 | SFXZ.Volume = 1 | |
| 942 | SFXZ.Pitch = 1.5 | |
| 943 | SFXZ.Looped = false | |
| 944 | wait(0.01) | |
| 945 | SFXZ:Play() | |
| 946 | ||
| 947 | for i = 1,5 do | |
| 948 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
| 949 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-60), math.rad(0)), .5)--torso | |
| 950 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), .5)--arm | |
| 951 | 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)), .5)--arm | |
| 952 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
| 953 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
| 954 | wait() | |
| 955 | end | |
| 956 | ||
| 957 | ||
| 958 | ag = new("Part",char)
| |
| 959 | ag.Name = "NewPart" | |
| 960 | ag.Size = v3(2,2,2) | |
| 961 | ag.CanCollide = false | |
| 962 | ag.Position = v3(999,999,999) | |
| 963 | ag.BrickColor = bc("Color")
| |
| 964 | ag.Material = "Neon" | |
| 965 | ag.Transparency = 1 | |
| 966 | aaag =new("Weld",ag)
| |
| 967 | aaag.Part0 = rleg | |
| 968 | aaag.Part1 = ag | |
| 969 | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
| 970 | ||
| 971 | ||
| 972 | ||
| 973 | ag.Touched:connect(function(hit) | |
| 974 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 975 | if v:IsA("Humanoid") then
| |
| 976 | ag.TouchInterest:Destroy() | |
| 977 | if ssj1 == false and ssj2 == false then | |
| 978 | v.Health = v.Health - 30 | |
| 979 | end | |
| 980 | if blue == true and ssj2 == false then | |
| 981 | v.Health = v.Health - 5500 | |
| 982 | end | |
| 983 | if ui == true then | |
| 984 | v.Health = v.Health - 3000000000000000000000000000000 | |
| 985 | end | |
| 986 | ||
| 987 | local Cloud3 = Instance.new("Part",char)
| |
| 988 | Cloud3.Size = Vector3.new(1,1,1) | |
| 989 | Cloud3.BrickColor = BrickColor.new("Medium stone grey")
| |
| 990 | Cloud3.Anchored = true | |
| 991 | Cloud3.Material = "Neon" | |
| 992 | Cloud3.CanCollide = false | |
| 993 | Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
| 994 | local Cloud4 = Instance.new("SpecialMesh",Cloud3)
| |
| 995 | Cloud4.MeshId = "rbxassetid://3270017" | |
| 996 | Cloud4.Scale = Vector3.new(1,1,0.4) | |
| 997 | ||
| 998 | ||
| 999 | ||
| 1000 | coroutine.resume(coroutine.create(function() | |
| 1001 | for i = 3,650 do | |
| 1002 | ||
| 1003 | ||
| 1004 | ||
| 1005 | ||
| 1006 | Cloud3.Transparency = Cloud3.Transparency + 0.03 | |
| 1007 | Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2) | |
| 1008 | ||
| 1009 | ||
| 1010 | ||
| 1011 | ||
| 1012 | wait(0.00000000001) | |
| 1013 | end | |
| 1014 | end)) | |
| 1015 | local SFXZ = Instance.new("Sound",hed)
| |
| 1016 | SFXZ.SoundId = "rbxassetid://260430060" | |
| 1017 | SFXZ.Volume = 1 | |
| 1018 | SFXZ.Pitch = 0.96 | |
| 1019 | SFXZ.Looped = false | |
| 1020 | wait(0.01) | |
| 1021 | SFXZ:Play() | |
| 1022 | ||
| 1023 | ||
| 1024 | end | |
| 1025 | end | |
| 1026 | end) | |
| 1027 | ||
| 1028 | ||
| 1029 | ||
| 1030 | ||
| 1031 | ||
| 1032 | ||
| 1033 | ||
| 1034 | ||
| 1035 | ||
| 1036 | ||
| 1037 | ||
| 1038 | ||
| 1039 | ||
| 1040 | ||
| 1041 | ||
| 1042 | ||
| 1043 | ||
| 1044 | for i = 1,5 do | |
| 1045 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
| 1046 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(50), math.rad(0)), .5)--torso | |
| 1047 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), .5)--arm | |
| 1048 | 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)), .5)--arm | |
| 1049 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
| 1050 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(120), math.rad(20), math.rad(-30)),.5)--leg | |
| 1051 | wait() | |
| 1052 | end | |
| 1053 | ag:Destroy() | |
| 1054 | end | |
| 1055 | function lasthit() | |
| 1056 | ||
| 1057 | local SFXZ = Instance.new("Sound",torso)
| |
| 1058 | SFXZ.SoundId = "rbxassetid://169259383" | |
| 1059 | SFXZ.Volume = 1 | |
| 1060 | SFXZ.Pitch = 1.5 | |
| 1061 | SFXZ.Looped = false | |
| 1062 | wait(0.01) | |
| 1063 | SFXZ:Play() | |
| 1064 | for i = 1,5 do | |
| 1065 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-40),math.rad(0)), .5)--head | |
| 1066 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(80), math.rad(0)), .5)--torso | |
| 1067 | 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)), .5)--arm | |
| 1068 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), .5)--arm | |
| 1069 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg | |
| 1070 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg | |
| 1071 | wait() | |
| 1072 | end | |
| 1073 | ||
| 1074 | ||
| 1075 | ||
| 1076 | ||
| 1077 | ||
| 1078 | ||
| 1079 | ||
| 1080 | ||
| 1081 | ||
| 1082 | ||
| 1083 | ||
| 1084 | ag = new("Part",char)
| |
| 1085 | ag.Name = "NewPart" | |
| 1086 | ag.Size = v3(2,2,2) | |
| 1087 | ag.CanCollide = false | |
| 1088 | ag.Position = v3(999,999,999) | |
| 1089 | ag.BrickColor = bc("Color")
| |
| 1090 | ag.Material = "Neon" | |
| 1091 | ag.Transparency = 1 | |
| 1092 | aaag =new("Weld",ag)
| |
| 1093 | aaag.Part0 = lleg | |
| 1094 | aaag.Part1 = ag | |
| 1095 | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
| 1096 | ||
| 1097 | ||
| 1098 | ||
| 1099 | ag.Touched:connect(function(hit) | |
| 1100 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 1101 | if v:IsA("Humanoid") then
| |
| 1102 | ag.TouchInterest:Destroy() | |
| 1103 | if ssj1 == false and ssj2 == false then | |
| 1104 | v.Health = v.Health - 1000 | |
| 1105 | end | |
| 1106 | if blue == true and ssj2 == false then | |
| 1107 | v.Health = v.Health - 1900 | |
| 1108 | end | |
| 1109 | if ui == true then | |
| 1110 | v.Health = v.Health - 3000000000000000000000000000000 | |
| 1111 | end | |
| 1112 | ||
| 1113 | ||
| 1114 | local SFXZ = Instance.new("Sound",hed)
| |
| 1115 | SFXZ.SoundId = "rbxassetid://260430060" | |
| 1116 | SFXZ.Volume = 1 | |
| 1117 | SFXZ.Pitch = 1.1 | |
| 1118 | SFXZ.Looped = false | |
| 1119 | wait(0.01) | |
| 1120 | SFXZ:Play() | |
| 1121 | local Cloud3 = Instance.new("Part",char)
| |
| 1122 | Cloud3.Size = Vector3.new(1,1,1) | |
| 1123 | Cloud3.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1124 | Cloud3.Anchored = true | |
| 1125 | Cloud3.Material = "Neon" | |
| 1126 | Cloud3.CanCollide = false | |
| 1127 | Cloud3.CFrame = larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
| 1128 | local Cloud4 = Instance.new("SpecialMesh",Cloud3)
| |
| 1129 | Cloud4.MeshId = "rbxassetid://3270017" | |
| 1130 | Cloud4.Scale = Vector3.new(1,1,0.4) | |
| 1131 | ||
| 1132 | ||
| 1133 | ||
| 1134 | coroutine.resume(coroutine.create(function() | |
| 1135 | for i = 3,650 do | |
| 1136 | ||
| 1137 | ||
| 1138 | ||
| 1139 | ||
| 1140 | Cloud3.Transparency = Cloud3.Transparency + 0.03 | |
| 1141 | Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2) | |
| 1142 | ||
| 1143 | ||
| 1144 | ||
| 1145 | ||
| 1146 | wait(0.00000000001) | |
| 1147 | end | |
| 1148 | end)) | |
| 1149 | ||
| 1150 | end | |
| 1151 | end | |
| 1152 | end) | |
| 1153 | ||
| 1154 | ||
| 1155 | ||
| 1156 | ||
| 1157 | ||
| 1158 | ||
| 1159 | ||
| 1160 | ||
| 1161 | for i = 1,5 do | |
| 1162 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(30),math.rad(0)), .5)--head | |
| 1163 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(-60), math.rad(0)), .5)--torso | |
| 1164 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), .5)--arm | |
| 1165 | 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)), .5)--arm | |
| 1166 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.6) * CFrame.Angles(math.rad(120), math.rad(-30), math.rad(20)), .5)--leg | |
| 1167 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
| 1168 | wait() | |
| 1169 | end | |
| 1170 | ag:Destroy() | |
| 1171 | end | |
| 1172 | ||
| 1173 | ||
| 1174 | ||
| 1175 | local jumped = false | |
| 1176 | bg = Instance.new("BodyGyro",root)
| |
| 1177 | bg.P = 100000 | |
| 1178 | bg.D = 100 | |
| 1179 | ||
| 1180 | ||
| 1181 | ||
| 1182 | ||
| 1183 | ||
| 1184 | ||
| 1185 | ||
| 1186 | ||
| 1187 | ||
| 1188 | ||
| 1189 | ||
| 1190 | ||
| 1191 | ||
| 1192 | ||
| 1193 | ||
| 1194 | ||
| 1195 | ||
| 1196 | function startkamehameha() | |
| 1197 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--head | |
| 1198 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)--torso | |
| 1199 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--arm | |
| 1200 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--arm | |
| 1201 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)--leg | |
| 1202 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)--leg | |
| 1203 | ||
| 1204 | for i = 1, 20 do | |
| 1205 | wait() | |
| 1206 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)), 0.1)--head | |
| 1207 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.1)--torso | |
| 1208 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(30)), 0.1)--arm | |
| 1209 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(65),math.rad(0),math.rad(-30)), 0.1)--arm | |
| 1210 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-3)), 0.1)--leg | |
| 1211 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(3)), 0.1)--leg | |
| 1212 | end | |
| 1213 | for i = 1, 20 do | |
| 1214 | wait() | |
| 1215 | ||
| 1216 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)), 0.1)--head | |
| 1217 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.1)--torso | |
| 1218 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.7,-0.5)*CFrame.Angles(math.rad(85),math.rad(-10),math.rad(-30)), 0.1)--arm | |
| 1219 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1,0.3,-0.5)*CFrame.Angles(math.rad(85),math.rad(10),math.rad(30)), 0.1)--arm | |
| 1220 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-3)), 0.1)--leg | |
| 1221 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(3)), 0.1)--leg | |
| 1222 | end | |
| 1223 | kamecharge:Play() | |
| 1224 | ||
| 1225 | coroutine.resume(coroutine.create(function() | |
| 1226 | for i = 3,22 do | |
| 1227 | local Ball = Instance.new("Part",char)
| |
| 1228 | Ball.Size = Vector3.new(1,1,1) | |
| 1229 | Ball.BrickColor = BrickColor.new("Cyan")
| |
| 1230 | Ball.Material = "Neon" | |
| 1231 | Ball.Anchored = true | |
| 1232 | Ball.CanCollide = false | |
| 1233 | Ball.Transparency = 0 | |
| 1234 | Ball.CFrame = a.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
| 1235 | local Ball2 = Instance.new("SpecialMesh",Ball)
| |
| 1236 | Ball2.MeshType = 3 | |
| 1237 | Ball2.Scale = Vector3.new(2,2,2) | |
| 1238 | ||
| 1239 | ||
| 1240 | ||
| 1241 | ||
| 1242 | coroutine.resume(coroutine.create(function() | |
| 1243 | for i = 1,15 do | |
| 1244 | Ball2.Scale = Ball2.Scale + Vector3.new(0.4,0.4,0.4) | |
| 1245 | Ball.Transparency = Ball.Transparency + 0.06 | |
| 1246 | wait(0.00000000001) | |
| 1247 | end | |
| 1248 | Ball:Destroy() | |
| 1249 | ||
| 1250 | ||
| 1251 | end)) | |
| 1252 | wait(0.2) | |
| 1253 | end | |
| 1254 | end)) | |
| 1255 | ||
| 1256 | startk = true | |
| 1257 | ||
| 1258 | for i = 1, 100 do | |
| 1259 | wait() | |
| 1260 | ||
| 1261 | ||
| 1262 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.1)--head | |
| 1263 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), math.rad(5)), 0.1)--torso | |
| 1264 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.7,-0.5)*CFrame.Angles(math.rad(50),math.rad(-10),math.rad(-30)), 0.1)--arm | |
| 1265 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1,0.3,-0.5)*CFrame.Angles(math.rad(65),math.rad(10),math.rad(30)), 0.1)--arm | |
| 1266 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.1)--leg | |
| 1267 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 0.1)--leg | |
| 1268 | end | |
| 1269 | end | |
| 1270 | function endkamehameha() | |
| 1271 | for i = 1, 10 do | |
| 1272 | wait() | |
| 1273 | 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.5)--head | |
| 1274 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)--torso | |
| 1275 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.7,-0.5)*CFrame.Angles(math.rad(95),math.rad(-10),math.rad(-30)), 0.5)--arm | |
| 1276 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1,0.3,-0.5)*CFrame.Angles(math.rad(75),math.rad(10),math.rad(30)), 0.5)--arm | |
| 1277 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.5)--leg | |
| 1278 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 0.5)--leg | |
| 1279 | end | |
| 1280 | end | |
| 1281 | function fatherson() | |
| 1282 | for i = 1,50 do | |
| 1283 | wait() | |
| 1284 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .1)--head | |
| 1285 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .1)--torso | |
| 1286 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), .1)--arm | |
| 1287 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)), .1)--arm | |
| 1288 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), .1)--leg | |
| 1289 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), .1)--leg | |
| 1290 | end | |
| 1291 | wait(2) | |
| 1292 | for i = 1,50 do | |
| 1293 | wait() | |
| 1294 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(40),math.rad(0)), .1)--head | |
| 1295 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(-60), math.rad(0)), .1)--torso | |
| 1296 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0.5)*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(10)), .1)--arm | |
| 1297 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-20)), .1)--arm | |
| 1298 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), .1)--leg | |
| 1299 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(5)), .1)--leg | |
| 1300 | end | |
| 1301 | end | |
| 1302 | function fathersonfire() | |
| 1303 | for i = 1,10 do | |
| 1304 | wait() | |
| 1305 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .4)--head | |
| 1306 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)--torso | |
| 1307 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), .4)--arm | |
| 1308 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-10)), .4)--arm | |
| 1309 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), .4)--leg | |
| 1310 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), .4)--leg | |
| 1311 | end | |
| 1312 | end | |
| 1313 | ||
| 1314 | ||
| 1315 | ||
| 1316 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 1317 | a = new("Part",char)
| |
| 1318 | a.Name = "NewPart" | |
| 1319 | a.Size = v3(0.1,0.1,0.1) | |
| 1320 | a.Shape = "Ball" | |
| 1321 | a.Position = v3(999,999,999) | |
| 1322 | a.BrickColor = bc("bright Blue")
| |
| 1323 | a.Material = "Neon" | |
| 1324 | a.Transparency = 1 | |
| 1325 | aa = new("SpecialMesh",a)
| |
| 1326 | aa.Scale = v3(1,1,1) | |
| 1327 | aaa =new("Weld",a)
| |
| 1328 | aaa.Part0 = torso | |
| 1329 | aaa.Part1 = a | |
| 1330 | aaa.C0 = cf(0,0,-1.6) * cfa(rad(0),rad(0),rad(0)) | |
| 1331 | aaaa = new("ParticleEmitter",a)
| |
| 1332 | aaaa.Size = ns(1) | |
| 1333 | aaaa.Rate = 5 | |
| 1334 | aaaa.Texture = "rbxassetid://0" | |
| 1335 | aaaa.ZOffset = 1 | |
| 1336 | aaaa.Lifetime = nr(5) | |
| 1337 | aaaa.Transparency = ns(1) | |
| 1338 | aaaa.LockedToPart = true | |
| 1339 | aaaa.Speed = nr(0) | |
| 1340 | aw = new("Part",char)
| |
| 1341 | aw.Name = "NewPart" | |
| 1342 | aw.Size = v3(0.1,0.1,0.1) | |
| 1343 | aw.Shape = "Ball" | |
| 1344 | aw.Position = v3(999,999,999) | |
| 1345 | aw.BrickColor = bc("bright Blue")
| |
| 1346 | aw.Material = "Neon" | |
| 1347 | aw.Transparency = 1 | |
| 1348 | aaw = new("SpecialMesh",aw)
| |
| 1349 | aaw.Scale = v3(1,1,1) | |
| 1350 | aaaw =new("Weld",aw)
| |
| 1351 | aaaw.Part0 = torso | |
| 1352 | aaaw.Part1 = aw | |
| 1353 | aaaw.C0 = cf(0,0,-1.6) * cfa(rad(0),rad(0),rad(0)) | |
| 1354 | aaaaw = new("ParticleEmitter",aw)
| |
| 1355 | aaaaw.Size = ns(5) | |
| 1356 | aaaaw.Rate = 5 | |
| 1357 | aaaaw.Color = ColorSequence.new(Color3.fromRGB(149,190,255)) | |
| 1358 | aaaaw.Texture = "rbxassetid://0" | |
| 1359 | aaaaw.ZOffset = -1 | |
| 1360 | aaaaw.Lifetime = nr(5) | |
| 1361 | aaaaw.RotSpeed = nr(50) | |
| 1362 | aaaaw.Transparency = ns(1) | |
| 1363 | aaaaw.LockedToPart = true | |
| 1364 | aaaaw.Speed = nr(0) | |
| 1365 | ||
| 1366 | ||
| 1367 | ||
| 1368 | ae = new("Part",char)
| |
| 1369 | ae.Name = "NewPart" | |
| 1370 | ae.Size = v3(0.1,0.1,0.1) | |
| 1371 | ae.Shape = "Ball" | |
| 1372 | ae.Position = v3(999,999,999) | |
| 1373 | ae.BrickColor = bc("bright Blue")
| |
| 1374 | ae.Material = "Neon" | |
| 1375 | ae.Transparency = 1 | |
| 1376 | aaae =new("Weld",ae)
| |
| 1377 | aaae.Part0 = torso | |
| 1378 | aaae.Part1 = ae | |
| 1379 | aaae.C0 = cf(0,7,0) * cfa(rad(0),rad(0),rad(0)) | |
| 1380 | aaaae = new("ParticleEmitter",ae)
| |
| 1381 | aaaae.Size = ns(15) | |
| 1382 | aaaae.Rate = 5 | |
| 1383 | aaaae.Color = ColorSequence.new(Color3.fromRGB(231,255,111)) | |
| 1384 | aaaae.ZOffset = -2 | |
| 1385 | aaaae.Lifetime = nr(5) | |
| 1386 | aaaae.Transparency = ns(1) | |
| 1387 | aaaae.LockedToPart = true | |
| 1388 | aaaae.Speed = nr(0) | |
| 1389 | ||
| 1390 | ad = new("Part",char)
| |
| 1391 | ad.Name = "NewPart" | |
| 1392 | ad.Size = v3(10,10,10) | |
| 1393 | ad.CanCollide = false | |
| 1394 | ad.Anchored = true | |
| 1395 | ad.Position = torso.Position - v3(0,3,0) | |
| 1396 | ad.BrickColor = bc("bright Blue")
| |
| 1397 | ad.Material = "Neon" | |
| 1398 | ad.Transparency = 1 | |
| 1399 | aad = new("Decal",ad)
| |
| 1400 | aad.Texture = "rbxassetid://110711859" | |
| 1401 | aad.Face = "Top" | |
| 1402 | aad.Transparency = 1 | |
| 1403 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 1404 | --Functions | |
| 1405 | function kamehameha() | |
| 1406 | enabled = true | |
| 1407 | ||
| 1408 | ||
| 1409 | kamefire.Volume = 5 | |
| 1410 | ||
| 1411 | startkamehameha() | |
| 1412 | ||
| 1413 | ||
| 1414 | wait(1) | |
| 1415 | ||
| 1416 | endkamehameha() | |
| 1417 | coroutine.resume(coroutine.create(function() | |
| 1418 | for i = 1,100 do | |
| 1419 | CamShakeAll(32,270,torso) | |
| 1420 | game:GetService("RunService").RenderStepped:wait()
| |
| 1421 | end | |
| 1422 | end)) | |
| 1423 | a1 = new("Part",char)
| |
| 1424 | a1.Name = "Beam" | |
| 1425 | a1.Anchored = true | |
| 1426 | a1.Size = v3(6,6,6) | |
| 1427 | a1.CanCollide = false | |
| 1428 | a1.Locked = true | |
| 1429 | a1.Position = v3(999,999,999) | |
| 1430 | a1.BrickColor = bc("Cyan")
| |
| 1431 | a1.Material = "Neon" | |
| 1432 | a1.Transparency = 0 | |
| 1433 | aa1 = new("SpecialMesh",a1)
| |
| 1434 | aa1.MeshType = "Cylinder" | |
| 1435 | aa1.Scale = v3(1,1,1) | |
| 1436 | local FZcharge3 = Instance.new("ParticleEmitter",a1)
| |
| 1437 | FZcharge3.Texture = "rbxassetid://174073769" | |
| 1438 | FZcharge3.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 1439 | FZcharge3.EmissionDirection = "Top" | |
| 1440 | FZcharge3.Speed = NumberRange.new(5) | |
| 1441 | FZcharge3.Size = NumberSequence.new(10,0) | |
| 1442 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
| 1443 | FZcharge3.Drag = 1.2 | |
| 1444 | FZcharge3.LockedToPart = false | |
| 1445 | FZcharge3.Lifetime = NumberRange.new(2) | |
| 1446 | FZcharge3.Rate = 305 | |
| 1447 | FZcharge3.LightEmission = 0.8 | |
| 1448 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
| 1449 | FZcharge3.VelocitySpread = 100 | |
| 1450 | FZcharge3.ZOffset = 1 | |
| 1451 | local Aaaa = Instance.new("ParticleEmitter",a3)
| |
| 1452 | Aaaa.Texture = "rbxassetid://174073769" | |
| 1453 | Aaaa.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 1454 | Aaaa.EmissionDirection = "Top" | |
| 1455 | Aaaa.Speed = NumberRange.new(5) | |
| 1456 | Aaaa.Size = NumberSequence.new(20,0) | |
| 1457 | Aaaa.Transparency = NumberSequence.new(0,1) | |
| 1458 | Aaaa.Drag = 1.2 | |
| 1459 | Aaaa.LockedToPart = false | |
| 1460 | Aaaa.Lifetime = NumberRange.new(1) | |
| 1461 | Aaaa.Rate = 305 | |
| 1462 | Aaaa.LightEmission = 0.8 | |
| 1463 | Aaaa.Rotation = NumberRange.new(-360,360) | |
| 1464 | Aaaa.VelocitySpread = 100 | |
| 1465 | Aaaa.ZOffset = 1 | |
| 1466 | a2 = new("Part",char)
| |
| 1467 | a2.Name = "Beam" | |
| 1468 | a2.Anchored = true | |
| 1469 | a2.Locked = true | |
| 1470 | a2.Size = v3(0.1,0.1,0.1) | |
| 1471 | a2.CanCollide = false | |
| 1472 | a2.Position = v3(999,999,999) | |
| 1473 | a2.BrickColor = bc("Cyan")
| |
| 1474 | a2.Material = "Neon" | |
| 1475 | a2.Transparency = 0 | |
| 1476 | aa2 = new("SpecialMesh",a2)
| |
| 1477 | aa2.MeshType = 3 | |
| 1478 | aa2.Scale = v3(150,150,150) | |
| 1479 | a3 = new("Part",char)
| |
| 1480 | a3.Name = "Beam" | |
| 1481 | a3.Locked = true | |
| 1482 | a3.Anchored = true | |
| 1483 | a3.Size = v3(0.1,0.1,0.1) | |
| 1484 | a3.CanCollide = false | |
| 1485 | a3.Position = v3(999,999,999) | |
| 1486 | a3.BrickColor = bc("Cyan")
| |
| 1487 | a3.Material = "Neon" | |
| 1488 | a3.Transparency = 0 | |
| 1489 | aa3 = new("SpecialMesh",a3)
| |
| 1490 | aa3.MeshType = 3 | |
| 1491 | aa3.Scale = v3(200,200,200) | |
| 1492 | local Chase = Instance.new("ParticleEmitter",a2)
| |
| 1493 | Chase.Texture = "rbxassetid://924746519" | |
| 1494 | Chase.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 1495 | Chase.EmissionDirection = "Top" | |
| 1496 | Chase.Speed = NumberRange.new(5) | |
| 1497 | Chase.Size = NumberSequence.new(30,42) | |
| 1498 | Chase.Transparency = NumberSequence.new(0,0.3) | |
| 1499 | Chase.Drag = 1.2 | |
| 1500 | Chase.LockedToPart = false | |
| 1501 | Chase.Lifetime = NumberRange.new(0.2) | |
| 1502 | Chase.Rate = 110 | |
| 1503 | Chase.LightEmission = 0.3 | |
| 1504 | Chase.Rotation = NumberRange.new(-360,360) | |
| 1505 | Chase.VelocitySpread = 100 | |
| 1506 | Chase.ZOffset = 1 | |
| 1507 | ||
| 1508 | coroutine.resume(coroutine.create(function() | |
| 1509 | for i = 1,9 do | |
| 1510 | ||
| 1511 | local H = Instance.new("Part",a3)
| |
| 1512 | H.Size = Vector3.new(1,1,1) | |
| 1513 | H.BrickColor = BrickColor.new("White")
| |
| 1514 | H.CanCollide = false | |
| 1515 | H.Anchored = true | |
| 1516 | H.CFrame = a3.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0) | |
| 1517 | local H2 = Instance.new("SpecialMesh",H)
| |
| 1518 | H2.MeshId = "rbxassetid://3270017" | |
| 1519 | H2.Scale = Vector3.new(1.5,1.5,1.5) | |
| 1520 | g = Instance.new("Explosion")
| |
| 1521 | ||
| 1522 | coroutine.resume(coroutine.create(function() | |
| 1523 | for i = 1,120 do | |
| 1524 | ||
| 1525 | H2.Scale = H2.Scale + Vector3.new(1.2,1.2,1.2) | |
| 1526 | H.Transparency = H.Transparency + 0.04 | |
| 1527 | wait(0.00000000001) | |
| 1528 | end | |
| 1529 | ||
| 1530 | H2:Destroy() | |
| 1531 | H:Destroy() | |
| 1532 | ||
| 1533 | end)) | |
| 1534 | ||
| 1535 | wait(0.3) | |
| 1536 | ||
| 1537 | end | |
| 1538 | ||
| 1539 | end)) | |
| 1540 | coroutine.resume(coroutine.create(function() | |
| 1541 | for i = 1,30 do | |
| 1542 | local HQ = Instance.new("Part",a3)
| |
| 1543 | HQ.Size = Vector3.new(1,1,1) | |
| 1544 | HQ.BrickColor = BrickColor.new("Cyan")
| |
| 1545 | HQ.Material = Enum.Material.Glass | |
| 1546 | HQ.Anchored = true | |
| 1547 | HQ.CanCollide = false | |
| 1548 | HQ.Transparency = 0 | |
| 1549 | HQ.CFrame = a3.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55) | |
| 1550 | local HQ2 = Instance.new("SpecialMesh",HQ)
| |
| 1551 | HQ2.MeshId = "rbxassetid://20329976" | |
| 1552 | HQ2.Scale = Vector3.new(4.5,4.5,4.5) | |
| 1553 | g.Parent = workspace | |
| 1554 | g.Position = HQ.Position | |
| 1555 | g.BlastRadius = 28 | |
| 1556 | g.BlastPressure = 4006200 | |
| 1557 | g.Visible = false | |
| 1558 | coroutine.resume(coroutine.create(function() | |
| 1559 | for i = 1,90 do | |
| 1560 | ||
| 1561 | HQ2.Scale = HQ2.Scale + Vector3.new(1.2,1.2,1.2) | |
| 1562 | HQ.Transparency = HQ.Transparency + 0.05 | |
| 1563 | ||
| 1564 | wait(0.00000000001) | |
| 1565 | end | |
| 1566 | HQ:Destroy() | |
| 1567 | ||
| 1568 | HQ2:Destroy() | |
| 1569 | ||
| 1570 | end)) | |
| 1571 | ||
| 1572 | wait(0.07) | |
| 1573 | ||
| 1574 | end | |
| 1575 | ||
| 1576 | end)) | |
| 1577 | kamecharge:Stop() | |
| 1578 | kamefire:Play() | |
| 1579 | root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z)) | |
| 1580 | local HQ = Instance.new("Part",a)
| |
| 1581 | HQ.Size = Vector3.new(1,0,1) | |
| 1582 | HQ.BrickColor = BrickColor.new("Toothpaste")
| |
| 1583 | HQ.Material = "Neon" | |
| 1584 | HQ.Anchored = true | |
| 1585 | HQ.CanCollide = false | |
| 1586 | HQ.CFrame = a1.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
| 1587 | local HQ2 = Instance.new("SpecialMesh",HQ)
| |
| 1588 | HQ2.MeshId = "rbxassetid://20329976" | |
| 1589 | HQ2.Scale = Vector3.new(10,10,10) | |
| 1590 | ||
| 1591 | ||
| 1592 | coroutine.resume(coroutine.create(function() | |
| 1593 | for i = 3,650 do | |
| 1594 | ||
| 1595 | ||
| 1596 | ||
| 1597 | ||
| 1598 | HQ2.Scale = HQ2.Scale + Vector3.new(0,0,0) | |
| 1599 | HQ.Transparency = HQ.Transparency + 0.02 | |
| 1600 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,-0.2,0) | |
| 1601 | ||
| 1602 | ||
| 1603 | ||
| 1604 | wait(0.00000000001) | |
| 1605 | end | |
| 1606 | end)) | |
| 1607 | hed.Anchored = true | |
| 1608 | a8.Anchored = true | |
| 1609 | ae.Anchored = true | |
| 1610 | startk = false | |
| 1611 | ||
| 1612 | ||
| 1613 | --Damages | |
| 1614 | ----------------------------------------------------------------------------------------- | |
| 1615 | a1.Touched:connect(function(hit) | |
| 1616 | ||
| 1617 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 then
| |
| 1618 | ||
| 1619 | ||
| 1620 | ||
| 1621 | if hit.Parent:IsA("Model") then
| |
| 1622 | hit.Parent.Humanoid:TakeDamage(2500000000) | |
| 1623 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
| |
| 1624 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1625 | Fl.velocity = root.CFrame.lookVector*80 | |
| 1626 | wait(0.05) | |
| 1627 | Fl:remove() | |
| 1628 | ||
| 1629 | end | |
| 1630 | ||
| 1631 | if enabled == true then | |
| 1632 | enabled = false | |
| 1633 | num = num + 1 | |
| 1634 | ||
| 1635 | a21 = new("Part",char)
| |
| 1636 | a21.Name = "Beam"..num | |
| 1637 | a21.Locked = true | |
| 1638 | a21.Size = v3(0,0,0) | |
| 1639 | a21.CanCollide = false | |
| 1640 | a21.Position = v3(999,999,999) | |
| 1641 | a21.BrickColor = bc("Cyan")
| |
| 1642 | a21.Material = "Neon" | |
| 1643 | a21.Transparency = 0 | |
| 1644 | aa21 = new("SpecialMesh",a21)
| |
| 1645 | a21.Anchored = true | |
| 1646 | a21.Position = hit.Position | |
| 1647 | aa21.MeshType = "Sphere" | |
| 1648 | aa21.Scale = v3(0,0,0) | |
| 1649 | ||
| 1650 | for i = 1,90 do | |
| 1651 | wait() | |
| 1652 | ||
| 1653 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(0,0,0) | |
| 1654 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
| 1655 | end | |
| 1656 | enabled = true | |
| 1657 | char["Beam"..num]:Destroy() | |
| 1658 | end | |
| 1659 | ||
| 1660 | end | |
| 1661 | ||
| 1662 | end) | |
| 1663 | ||
| 1664 | ||
| 1665 | ||
| 1666 | ||
| 1667 | ||
| 1668 | ||
| 1669 | ||
| 1670 | beam2 = true | |
| 1671 | beam1 = true | |
| 1672 | wait(2) | |
| 1673 | FZcharge3.Rate = 0 | |
| 1674 | beam1 = false | |
| 1675 | ||
| 1676 | repeat | |
| 1677 | wait() | |
| 1678 | a1.Size = a1.Size - v3(0.2,0.2,0.2) | |
| 1679 | aa2.Scale = aa2.Scale - v3(3,3,3) | |
| 1680 | aa3.Scale = aa3.Scale - v3(3,3,3) | |
| 1681 | until | |
| 1682 | a1.Size.y < 0.1 | |
| 1683 | ||
| 1684 | beamgo = 2.2 | |
| 1685 | beamgo1 = 1 | |
| 1686 | a1:Destroy() | |
| 1687 | a2:Destroy() | |
| 1688 | a3:Destroy() | |
| 1689 | for i = 1,10 do | |
| 1690 | wait() | |
| 1691 | ||
| 1692 | kamefire.Volume = kamefire.Volume - 0.5 | |
| 1693 | end | |
| 1694 | kamefire:Stop() | |
| 1695 | ||
| 1696 | hed.Anchored = false | |
| 1697 | a8.Anchored = false | |
| 1698 | ae.Anchored = false | |
| 1699 | end | |
| 1700 | ||
| 1701 | function BlueKame() | |
| 1702 | enabled = true | |
| 1703 | ||
| 1704 | ||
| 1705 | kamefire.Volume = 5 | |
| 1706 | ||
| 1707 | startkamehameha() | |
| 1708 | ||
| 1709 | ||
| 1710 | wait(1) | |
| 1711 | ||
| 1712 | endkamehameha() | |
| 1713 | ||
| 1714 | a1 = new("Part",char)
| |
| 1715 | a1.Name = "Beam" | |
| 1716 | a1.Anchored = true | |
| 1717 | a1.Size = v3(6,6,6) | |
| 1718 | a1.CanCollide = false | |
| 1719 | a1.Locked = true | |
| 1720 | a1.Position = v3(999,999,999) | |
| 1721 | a1.BrickColor = bc("Cyan")
| |
| 1722 | a1.Material = "Neon" | |
| 1723 | a1.Transparency = 0 | |
| 1724 | aa1 = new("SpecialMesh",a1)
| |
| 1725 | aa1.MeshType = "Cylinder" | |
| 1726 | aa1.Scale = v3(1,1,1) | |
| 1727 | local FZcharge3 = Instance.new("ParticleEmitter",a1)
| |
| 1728 | FZcharge3.Texture = "rbxassetid://174073769" | |
| 1729 | FZcharge3.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 1730 | FZcharge3.EmissionDirection = "Top" | |
| 1731 | FZcharge3.Speed = NumberRange.new(5) | |
| 1732 | FZcharge3.Size = NumberSequence.new(15,0) | |
| 1733 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
| 1734 | FZcharge3.Drag = 1.2 | |
| 1735 | FZcharge3.LockedToPart = false | |
| 1736 | FZcharge3.Lifetime = NumberRange.new(2) | |
| 1737 | FZcharge3.Rate = 305 | |
| 1738 | FZcharge3.LightEmission = 0.8 | |
| 1739 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
| 1740 | FZcharge3.VelocitySpread = 100 | |
| 1741 | FZcharge3.ZOffset = 1 | |
| 1742 | local Aaaa = Instance.new("ParticleEmitter",a3)
| |
| 1743 | Aaaa.Texture = "rbxassetid://174073769" | |
| 1744 | Aaaa.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 1745 | Aaaa.EmissionDirection = "Top" | |
| 1746 | Aaaa.Speed = NumberRange.new(5) | |
| 1747 | Aaaa.Size = NumberSequence.new(20,0) | |
| 1748 | Aaaa.Transparency = NumberSequence.new(0,1) | |
| 1749 | Aaaa.Drag = 1.2 | |
| 1750 | Aaaa.LockedToPart = false | |
| 1751 | Aaaa.Lifetime = NumberRange.new(1) | |
| 1752 | Aaaa.Rate = 305 | |
| 1753 | Aaaa.LightEmission = 0.8 | |
| 1754 | Aaaa.Rotation = NumberRange.new(-360,360) | |
| 1755 | Aaaa.VelocitySpread = 100 | |
| 1756 | Aaaa.ZOffset = 1 | |
| 1757 | a2 = new("Part",char)
| |
| 1758 | a2.Name = "Beam" | |
| 1759 | a2.Anchored = true | |
| 1760 | a2.Locked = true | |
| 1761 | a2.Size = v3(0.1,0.1,0.1) | |
| 1762 | a2.CanCollide = false | |
| 1763 | a2.Position = v3(999,999,999) | |
| 1764 | a2.BrickColor = bc("Cyan")
| |
| 1765 | a2.Material = "Neon" | |
| 1766 | a2.Transparency = 0 | |
| 1767 | aa2 = new("SpecialMesh",a2)
| |
| 1768 | aa2.MeshType = 3 | |
| 1769 | aa2.Scale = v3(150,150,150) | |
| 1770 | a3 = new("Part",char)
| |
| 1771 | a3.Name = "Beam" | |
| 1772 | a3.Locked = true | |
| 1773 | a3.Anchored = true | |
| 1774 | a3.Size = v3(0.1,0.1,0.1) | |
| 1775 | a3.CanCollide = false | |
| 1776 | a3.Position = v3(999,999,999) | |
| 1777 | a3.BrickColor = bc("Cyan")
| |
| 1778 | a3.Material = "Neon" | |
| 1779 | a3.Transparency = 0 | |
| 1780 | aa3 = new("SpecialMesh",a3)
| |
| 1781 | aa3.MeshType = 3 | |
| 1782 | aa3.Scale = v3(200,200,200) | |
| 1783 | local Chase = Instance.new("ParticleEmitter",a2)
| |
| 1784 | Chase.Texture = "rbxassetid://924746519" | |
| 1785 | Chase.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 1786 | Chase.EmissionDirection = "Top" | |
| 1787 | Chase.Speed = NumberRange.new(5) | |
| 1788 | Chase.Size = NumberSequence.new(30,42) | |
| 1789 | Chase.Transparency = NumberSequence.new(0,0.3) | |
| 1790 | Chase.Drag = 1.2 | |
| 1791 | Chase.LockedToPart = false | |
| 1792 | Chase.Lifetime = NumberRange.new(0.2) | |
| 1793 | Chase.Rate = 110 | |
| 1794 | Chase.LightEmission = 0.3 | |
| 1795 | Chase.Rotation = NumberRange.new(-360,360) | |
| 1796 | Chase.VelocitySpread = 100 | |
| 1797 | Chase.ZOffset = 1 | |
| 1798 | ||
| 1799 | coroutine.resume(coroutine.create(function() | |
| 1800 | for i = 1,9 do | |
| 1801 | ||
| 1802 | local H = Instance.new("Part",a3)
| |
| 1803 | H.Size = Vector3.new(1,1,1) | |
| 1804 | H.BrickColor = BrickColor.new("White")
| |
| 1805 | H.CanCollide = false | |
| 1806 | H.Anchored = true | |
| 1807 | H.CFrame = a3.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0) | |
| 1808 | local H2 = Instance.new("SpecialMesh",H)
| |
| 1809 | H2.MeshId = "rbxassetid://3270017" | |
| 1810 | H2.Scale = Vector3.new(6.5,6.5,6.5) | |
| 1811 | ||
| 1812 | ||
| 1813 | coroutine.resume(coroutine.create(function() | |
| 1814 | for i = 1,120 do | |
| 1815 | ||
| 1816 | H2.Scale = H2.Scale + Vector3.new(1.2,1.2,1.2) | |
| 1817 | H.Transparency = H.Transparency + 0.04 | |
| 1818 | wait(0.00000000001) | |
| 1819 | end | |
| 1820 | ||
| 1821 | H2:Destroy() | |
| 1822 | H:Destroy() | |
| 1823 | ||
| 1824 | end)) | |
| 1825 | ||
| 1826 | wait(0.3) | |
| 1827 | ||
| 1828 | end | |
| 1829 | ||
| 1830 | end)) | |
| 1831 | coroutine.resume(coroutine.create(function() | |
| 1832 | for i = 1,20 do | |
| 1833 | local HQ = Instance.new("Part",a3)
| |
| 1834 | HQ.Size = Vector3.new(1,1,1) | |
| 1835 | HQ.BrickColor = BrickColor.new("Cyan")
| |
| 1836 | HQ.Material = Enum.Material.Glass | |
| 1837 | HQ.Anchored = true | |
| 1838 | HQ.CanCollide = false | |
| 1839 | HQ.Transparency = 0 | |
| 1840 | HQ.CFrame = a3.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55) | |
| 1841 | local HQ2 = Instance.new("SpecialMesh",HQ)
| |
| 1842 | HQ2.MeshId = "rbxassetid://20329976" | |
| 1843 | HQ2.Scale = Vector3.new(14.5,14.5,14.5) | |
| 1844 | g = Instance.new("Explosion")
| |
| 1845 | g.Parent = workspace | |
| 1846 | g.Position = HQ.Position | |
| 1847 | g.BlastRadius = 30 | |
| 1848 | g.BlastPressure = 6500200 | |
| 1849 | g.Visible = false | |
| 1850 | coroutine.resume(coroutine.create(function() | |
| 1851 | for i = 1,90 do | |
| 1852 | ||
| 1853 | HQ2.Scale = HQ2.Scale + Vector3.new(1.2,1.2,1.2) | |
| 1854 | HQ.Transparency = HQ.Transparency + 0.05 | |
| 1855 | ||
| 1856 | wait(0.00000000001) | |
| 1857 | end | |
| 1858 | HQ:Destroy() | |
| 1859 | ||
| 1860 | HQ2:Destroy() | |
| 1861 | ||
| 1862 | end)) | |
| 1863 | ||
| 1864 | wait(0.1) | |
| 1865 | ||
| 1866 | end | |
| 1867 | ||
| 1868 | end)) | |
| 1869 | kamecharge:Stop() | |
| 1870 | kamefire:Play() | |
| 1871 | root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z)) | |
| 1872 | local HQ = Instance.new("Part",a)
| |
| 1873 | HQ.Size = Vector3.new(1,0,1) | |
| 1874 | HQ.BrickColor = BrickColor.new("Toothpaste")
| |
| 1875 | HQ.Material = "Neon" | |
| 1876 | HQ.Anchored = true | |
| 1877 | HQ.CanCollide = false | |
| 1878 | HQ.CFrame = a1.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
| 1879 | local HQ2 = Instance.new("SpecialMesh",HQ)
| |
| 1880 | HQ2.MeshId = "rbxassetid://20329976" | |
| 1881 | HQ2.Scale = Vector3.new(25,25,25) | |
| 1882 | ||
| 1883 | ||
| 1884 | coroutine.resume(coroutine.create(function() | |
| 1885 | for i = 3,650 do | |
| 1886 | ||
| 1887 | ||
| 1888 | ||
| 1889 | ||
| 1890 | HQ2.Scale = HQ2.Scale + Vector3.new(0,0,0) | |
| 1891 | HQ.Transparency = HQ.Transparency + 0.02 | |
| 1892 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,-0.2,0) | |
| 1893 | ||
| 1894 | ||
| 1895 | ||
| 1896 | wait(0.00000000001) | |
| 1897 | end | |
| 1898 | end)) | |
| 1899 | hed.Anchored = true | |
| 1900 | a8.Anchored = true | |
| 1901 | ae.Anchored = true | |
| 1902 | startk = false | |
| 1903 | ||
| 1904 | ||
| 1905 | --Damages | |
| 1906 | ----------------------------------------------------------------------------------------- | |
| 1907 | a1.Touched:connect(function(hit) | |
| 1908 | ||
| 1909 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 then
| |
| 1910 | ||
| 1911 | ||
| 1912 | ||
| 1913 | if hit.Parent:IsA("Model") then
| |
| 1914 | hit.Parent.Humanoid:TakeDamage(150000000000000000000000000000000000000000000000000000000000000000000) | |
| 1915 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
| |
| 1916 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1917 | Fl.velocity = root.CFrame.lookVector*100 | |
| 1918 | wait(0.05) | |
| 1919 | Fl:remove() | |
| 1920 | ||
| 1921 | end | |
| 1922 | ||
| 1923 | if enabled == true then | |
| 1924 | enabled = false | |
| 1925 | num = num + 1 | |
| 1926 | ||
| 1927 | a21 = new("Part",char)
| |
| 1928 | a21.Name = "Beam"..num | |
| 1929 | a21.Locked = true | |
| 1930 | a21.Size = v3(0,0,0) | |
| 1931 | a21.CanCollide = false | |
| 1932 | a21.Position = v3(999,999,999) | |
| 1933 | a21.BrickColor = bc("Cyan")
| |
| 1934 | a21.Material = "Neon" | |
| 1935 | a21.Transparency = 0 | |
| 1936 | aa21 = new("SpecialMesh",a21)
| |
| 1937 | a21.Anchored = true | |
| 1938 | a21.Position = hit.Position | |
| 1939 | aa21.MeshType = "Sphere" | |
| 1940 | aa21.Scale = v3(0,0,0) | |
| 1941 | ||
| 1942 | for i = 1,90 do | |
| 1943 | wait() | |
| 1944 | ||
| 1945 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(0,0,0) | |
| 1946 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
| 1947 | end | |
| 1948 | enabled = true | |
| 1949 | char["Beam"..num]:Destroy() | |
| 1950 | end | |
| 1951 | ||
| 1952 | end | |
| 1953 | ||
| 1954 | end) | |
| 1955 | ||
| 1956 | ||
| 1957 | ||
| 1958 | ||
| 1959 | ||
| 1960 | ||
| 1961 | ||
| 1962 | beamb = true | |
| 1963 | beamb2 = true | |
| 1964 | wait(3) | |
| 1965 | FZcharge3.Rate = 0 | |
| 1966 | beamui1 = false | |
| 1967 | ||
| 1968 | repeat | |
| 1969 | wait() | |
| 1970 | a1.Size = a1.Size - v3(1,1,1) | |
| 1971 | aa2.Scale = aa2.Scale - v3(5,5,5) | |
| 1972 | aa3.Scale = aa3.Scale - v3(5,5,5) | |
| 1973 | until | |
| 1974 | a1.Size.y < 0.1 | |
| 1975 | ||
| 1976 | beamgo = 2.2 | |
| 1977 | beamgo1 = 1 | |
| 1978 | a1:Destroy() | |
| 1979 | a2:Destroy() | |
| 1980 | a3:Destroy() | |
| 1981 | for i = 1,10 do | |
| 1982 | wait() | |
| 1983 | ||
| 1984 | kamefire.Volume = kamefire.Volume - 0.5 | |
| 1985 | end | |
| 1986 | kamefire:Stop() | |
| 1987 | ||
| 1988 | hed.Anchored = false | |
| 1989 | a8.Anchored = false | |
| 1990 | ae.Anchored = false | |
| 1991 | end | |
| 1992 | ||
| 1993 | ||
| 1994 | function UIKame() | |
| 1995 | enabled = true | |
| 1996 | ||
| 1997 | ||
| 1998 | kamefire.Volume = 5 | |
| 1999 | ||
| 2000 | ||
| 2001 | ||
| 2002 | endkamehameha() | |
| 2003 | coroutine.resume(coroutine.create(function() | |
| 2004 | for i = 1,100 do | |
| 2005 | CamShakeAll(32,270,torso) | |
| 2006 | game:GetService("RunService").RenderStepped:wait()
| |
| 2007 | end | |
| 2008 | end)) | |
| 2009 | a1 = new("Part",char)
| |
| 2010 | a1.Name = "Beam" | |
| 2011 | a1.Anchored = true | |
| 2012 | a1.Size = v3(6,6,6) | |
| 2013 | a1.CanCollide = false | |
| 2014 | a1.Locked = true | |
| 2015 | a1.Position = v3(999,999,999) | |
| 2016 | a1.BrickColor = bc("Cyan")
| |
| 2017 | a1.Material = "Neon" | |
| 2018 | a1.Transparency = 0 | |
| 2019 | aa1 = new("SpecialMesh",a1)
| |
| 2020 | aa1.MeshType = "Cylinder" | |
| 2021 | aa1.Scale = v3(1,1,1) | |
| 2022 | local FZcharge3 = Instance.new("ParticleEmitter",a1)
| |
| 2023 | FZcharge3.Texture = "rbxassetid://174073769" | |
| 2024 | FZcharge3.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2025 | FZcharge3.EmissionDirection = "Top" | |
| 2026 | FZcharge3.Speed = NumberRange.new(5) | |
| 2027 | FZcharge3.Size = NumberSequence.new(15,0) | |
| 2028 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
| 2029 | FZcharge3.Drag = 1.2 | |
| 2030 | FZcharge3.LockedToPart = false | |
| 2031 | FZcharge3.Lifetime = NumberRange.new(2) | |
| 2032 | FZcharge3.Rate = 305 | |
| 2033 | FZcharge3.LightEmission = 0.8 | |
| 2034 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
| 2035 | FZcharge3.VelocitySpread = 100 | |
| 2036 | FZcharge3.ZOffset = 1 | |
| 2037 | local Aaaa = Instance.new("ParticleEmitter",a3)
| |
| 2038 | Aaaa.Texture = "rbxassetid://174073769" | |
| 2039 | Aaaa.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2040 | Aaaa.EmissionDirection = "Top" | |
| 2041 | Aaaa.Speed = NumberRange.new(5) | |
| 2042 | Aaaa.Size = NumberSequence.new(20,0) | |
| 2043 | Aaaa.Transparency = NumberSequence.new(0,1) | |
| 2044 | Aaaa.Drag = 1.2 | |
| 2045 | Aaaa.LockedToPart = false | |
| 2046 | Aaaa.Lifetime = NumberRange.new(1) | |
| 2047 | Aaaa.Rate = 305 | |
| 2048 | Aaaa.LightEmission = 0.8 | |
| 2049 | Aaaa.Rotation = NumberRange.new(-360,360) | |
| 2050 | Aaaa.VelocitySpread = 100 | |
| 2051 | Aaaa.ZOffset = 1 | |
| 2052 | a2 = new("Part",char)
| |
| 2053 | a2.Name = "Beam" | |
| 2054 | a2.Anchored = true | |
| 2055 | a2.Locked = true | |
| 2056 | a2.Size = v3(0.1,0.1,0.1) | |
| 2057 | a2.CanCollide = false | |
| 2058 | a2.Position = v3(999,999,999) | |
| 2059 | a2.BrickColor = bc("Cyan")
| |
| 2060 | a2.Material = "Neon" | |
| 2061 | a2.Transparency = 0 | |
| 2062 | aa2 = new("SpecialMesh",a2)
| |
| 2063 | aa2.MeshType = 3 | |
| 2064 | aa2.Scale = v3(150,150,150) | |
| 2065 | a3 = new("Part",char)
| |
| 2066 | a3.Name = "Beam" | |
| 2067 | a3.Locked = true | |
| 2068 | a3.Anchored = true | |
| 2069 | a3.Size = v3(0.1,0.1,0.1) | |
| 2070 | a3.CanCollide = false | |
| 2071 | a3.Position = v3(999,999,999) | |
| 2072 | a3.BrickColor = bc("Cyan")
| |
| 2073 | a3.Material = "Neon" | |
| 2074 | a3.Transparency = 0 | |
| 2075 | aa3 = new("SpecialMesh",a3)
| |
| 2076 | aa3.MeshType = 3 | |
| 2077 | aa3.Scale = v3(200,200,200) | |
| 2078 | local Chase = Instance.new("ParticleEmitter",a2)
| |
| 2079 | Chase.Texture = "rbxassetid://924746519" | |
| 2080 | Chase.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 2081 | Chase.EmissionDirection = "Top" | |
| 2082 | Chase.Speed = NumberRange.new(5) | |
| 2083 | Chase.Size = NumberSequence.new(30,42) | |
| 2084 | Chase.Transparency = NumberSequence.new(0,0.3) | |
| 2085 | Chase.Drag = 1.2 | |
| 2086 | Chase.LockedToPart = false | |
| 2087 | Chase.Lifetime = NumberRange.new(0.2) | |
| 2088 | Chase.Rate = 110 | |
| 2089 | Chase.LightEmission = 0.3 | |
| 2090 | Chase.Rotation = NumberRange.new(-360,360) | |
| 2091 | Chase.VelocitySpread = 100 | |
| 2092 | Chase.ZOffset = 1 | |
| 2093 | ||
| 2094 | coroutine.resume(coroutine.create(function() | |
| 2095 | for i = 1,9 do | |
| 2096 | ||
| 2097 | local H = Instance.new("Part",a3)
| |
| 2098 | H.Size = Vector3.new(1,1,1) | |
| 2099 | H.BrickColor = BrickColor.new("White")
| |
| 2100 | H.CanCollide = false | |
| 2101 | H.Anchored = true | |
| 2102 | H.CFrame = a3.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0) | |
| 2103 | local H2 = Instance.new("SpecialMesh",H)
| |
| 2104 | H2.MeshId = "rbxassetid://3270017" | |
| 2105 | H2.Scale = Vector3.new(6.5,6.5,6.5) | |
| 2106 | ||
| 2107 | ||
| 2108 | coroutine.resume(coroutine.create(function() | |
| 2109 | for i = 1,120 do | |
| 2110 | ||
| 2111 | H2.Scale = H2.Scale + Vector3.new(1.2,1.2,1.2) | |
| 2112 | H.Transparency = H.Transparency + 0.04 | |
| 2113 | wait(0.00000000001) | |
| 2114 | end | |
| 2115 | ||
| 2116 | H2:Destroy() | |
| 2117 | H:Destroy() | |
| 2118 | ||
| 2119 | end)) | |
| 2120 | ||
| 2121 | wait(0.3) | |
| 2122 | ||
| 2123 | end | |
| 2124 | ||
| 2125 | end)) | |
| 2126 | coroutine.resume(coroutine.create(function() | |
| 2127 | for i = 1,20 do | |
| 2128 | local HQ = Instance.new("Part",a3)
| |
| 2129 | HQ.Size = Vector3.new(1,1,1) | |
| 2130 | HQ.BrickColor = BrickColor.new("Cyan")
| |
| 2131 | HQ.Material = Enum.Material.Glass | |
| 2132 | HQ.Anchored = true | |
| 2133 | HQ.CanCollide = false | |
| 2134 | HQ.Transparency = 0 | |
| 2135 | HQ.CFrame = a3.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55) | |
| 2136 | local HQ2 = Instance.new("SpecialMesh",HQ)
| |
| 2137 | HQ2.MeshId = "rbxassetid://20329976" | |
| 2138 | HQ2.Scale = Vector3.new(19.5,19.5,19.5) | |
| 2139 | g = Instance.new("Explosion")
| |
| 2140 | g.Parent = workspace | |
| 2141 | g.Position = HQ.Position | |
| 2142 | g.BlastRadius = 35 | |
| 2143 | g.BlastPressure = 7 | |
| 2144 | g.Visible = false | |
| 2145 | coroutine.resume(coroutine.create(function() | |
| 2146 | for i = 1,90 do | |
| 2147 | ||
| 2148 | HQ2.Scale = HQ2.Scale + Vector3.new(1.2,1.2,1.2) | |
| 2149 | HQ.Transparency = HQ.Transparency + 0.05 | |
| 2150 | ||
| 2151 | wait(0.00000000001) | |
| 2152 | end | |
| 2153 | HQ:Destroy() | |
| 2154 | ||
| 2155 | HQ2:Destroy() | |
| 2156 | ||
| 2157 | end)) | |
| 2158 | ||
| 2159 | wait(0.1) | |
| 2160 | ||
| 2161 | end | |
| 2162 | ||
| 2163 | end)) | |
| 2164 | kamecharge:Stop() | |
| 2165 | kamefire:Play() | |
| 2166 | root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z)) | |
| 2167 | local HQ = Instance.new("Part",a)
| |
| 2168 | HQ.Size = Vector3.new(1,0,1) | |
| 2169 | HQ.BrickColor = BrickColor.new("Toothpaste")
| |
| 2170 | HQ.Material = "Neon" | |
| 2171 | HQ.Anchored = true | |
| 2172 | HQ.CanCollide = false | |
| 2173 | HQ.CFrame = a1.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
| 2174 | local HQ2 = Instance.new("SpecialMesh",HQ)
| |
| 2175 | HQ2.MeshId = "rbxassetid://20329976" | |
| 2176 | HQ2.Scale = Vector3.new(25,25,25) | |
| 2177 | ||
| 2178 | ||
| 2179 | coroutine.resume(coroutine.create(function() | |
| 2180 | for i = 3,650 do | |
| 2181 | ||
| 2182 | ||
| 2183 | ||
| 2184 | ||
| 2185 | HQ2.Scale = HQ2.Scale + Vector3.new(0,0,0) | |
| 2186 | HQ.Transparency = HQ.Transparency + 0.02 | |
| 2187 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,-0.2,0) | |
| 2188 | ||
| 2189 | ||
| 2190 | ||
| 2191 | wait(0.00000000001) | |
| 2192 | end | |
| 2193 | end)) | |
| 2194 | hed.Anchored = true | |
| 2195 | a8.Anchored = true | |
| 2196 | ae.Anchored = true | |
| 2197 | startk = false | |
| 2198 | ||
| 2199 | ||
| 2200 | --Damages | |
| 2201 | ----------------------------------------------------------------------------------------- | |
| 2202 | a1.Touched:connect(function(hit) | |
| 2203 | ||
| 2204 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 then
| |
| 2205 | ||
| 2206 | ||
| 2207 | ||
| 2208 | if hit.Parent:IsA("Model") then
| |
| 2209 | hit.Parent:BreakJoints() | |
| 2210 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
| |
| 2211 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 2212 | Fl.velocity = root.CFrame.lookVector*920 | |
| 2213 | wait(0.05) | |
| 2214 | Fl:remove() | |
| 2215 | ||
| 2216 | end | |
| 2217 | ||
| 2218 | if enabled == true then | |
| 2219 | enabled = false | |
| 2220 | num = num + 1 | |
| 2221 | ||
| 2222 | a21 = new("Part",char)
| |
| 2223 | a21.Name = "Beam"..num | |
| 2224 | a21.Locked = true | |
| 2225 | a21.Size = v3(0,0,0) | |
| 2226 | a21.CanCollide = false | |
| 2227 | a21.Position = v3(999,999,999) | |
| 2228 | a21.BrickColor = bc("Cyan")
| |
| 2229 | a21.Material = "Neon" | |
| 2230 | a21.Transparency = 0 | |
| 2231 | aa21 = new("SpecialMesh",a21)
| |
| 2232 | a21.Anchored = true | |
| 2233 | a21.Position = hit.Position | |
| 2234 | aa21.MeshType = "Sphere" | |
| 2235 | aa21.Scale = v3(0,0,0) | |
| 2236 | ||
| 2237 | for i = 1,90 do | |
| 2238 | wait() | |
| 2239 | ||
| 2240 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(0,0,0) | |
| 2241 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
| 2242 | end | |
| 2243 | enabled = true | |
| 2244 | char["Beam"..num]:Destroy() | |
| 2245 | end | |
| 2246 | ||
| 2247 | end | |
| 2248 | ||
| 2249 | end) | |
| 2250 | ||
| 2251 | ||
| 2252 | ||
| 2253 | ||
| 2254 | ||
| 2255 | ||
| 2256 | ||
| 2257 | beamui2 = true | |
| 2258 | beamui1 = true | |
| 2259 | wait(3) | |
| 2260 | FZcharge3.Rate = 0 | |
| 2261 | beamui1 = false | |
| 2262 | ||
| 2263 | repeat | |
| 2264 | wait() | |
| 2265 | a1.Size = a1.Size - v3(1,1,1) | |
| 2266 | aa2.Scale = aa2.Scale - v3(5,5,5) | |
| 2267 | aa3.Scale = aa3.Scale - v3(5,5,5) | |
| 2268 | until | |
| 2269 | a1.Size.y < 0.1 | |
| 2270 | ||
| 2271 | beamgo = 2.2 | |
| 2272 | beamgo1 = 1 | |
| 2273 | a1:Destroy() | |
| 2274 | a2:Destroy() | |
| 2275 | a3:Destroy() | |
| 2276 | for i = 1,10 do | |
| 2277 | wait() | |
| 2278 | ||
| 2279 | kamefire.Volume = kamefire.Volume - 0.5 | |
| 2280 | end | |
| 2281 | kamefire:Stop() | |
| 2282 | ||
| 2283 | hed.Anchored = false | |
| 2284 | a8.Anchored = false | |
| 2285 | ae.Anchored = false | |
| 2286 | end | |
| 2287 | ||
| 2288 | ||
| 2289 | ||
| 2290 | ||
| 2291 | function superkamehameha() | |
| 2292 | enabled = true | |
| 2293 | ||
| 2294 | ||
| 2295 | kamefire.Volume = 5 | |
| 2296 | ||
| 2297 | startkamehameha() | |
| 2298 | ||
| 2299 | ||
| 2300 | wait(1) | |
| 2301 | ||
| 2302 | endkamehameha() | |
| 2303 | ||
| 2304 | a1 = new("Part",char)
| |
| 2305 | a1.Name = "Beam" | |
| 2306 | a1.Anchored = true | |
| 2307 | a1.Size = v3(5,5,5) | |
| 2308 | a1.CanCollide = false | |
| 2309 | a1.Locked = true | |
| 2310 | a1.Position = v3(999,999,999) | |
| 2311 | a1.BrickColor = bc("Cyan")
| |
| 2312 | a1.Material = "Neon" | |
| 2313 | a1.Transparency = 0 | |
| 2314 | aa1 = new("SpecialMesh",a1)
| |
| 2315 | aa1.MeshType = "Cylinder" | |
| 2316 | aa1.Scale = v3(5,5,5) | |
| 2317 | local FZcharge3 = Instance.new("ParticleEmitter",a1)
| |
| 2318 | FZcharge3.Texture = "rbxassetid://174073769" | |
| 2319 | FZcharge3.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 2320 | FZcharge3.EmissionDirection = "Top" | |
| 2321 | FZcharge3.Speed = NumberRange.new(5) | |
| 2322 | FZcharge3.Size = NumberSequence.new(15,0) | |
| 2323 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
| 2324 | FZcharge3.Drag = 1.2 | |
| 2325 | FZcharge3.LockedToPart = false | |
| 2326 | FZcharge3.Lifetime = NumberRange.new(2) | |
| 2327 | FZcharge3.Rate = 305 | |
| 2328 | FZcharge3.LightEmission = 0.8 | |
| 2329 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
| 2330 | FZcharge3.VelocitySpread = 100 | |
| 2331 | FZcharge3.ZOffset = 1 | |
| 2332 | a2 = new("Part",char)
| |
| 2333 | a2.Name = "Beam" | |
| 2334 | a2.Anchored = true | |
| 2335 | a2.Locked = true | |
| 2336 | a2.Size = v3(0.2,0.2,0.2) | |
| 2337 | a2.CanCollide = false | |
| 2338 | a2.Position = v3(999,999,999) | |
| 2339 | a2.BrickColor = bc("Cyan")
| |
| 2340 | a2.Material = "Neon" | |
| 2341 | a2.Transparency = 0 | |
| 2342 | aa2 = new("SpecialMesh",a2)
| |
| 2343 | aa2.MeshType = 3 | |
| 2344 | aa2.Scale = v3(150,150,150) | |
| 2345 | a3 = new("Part",char)
| |
| 2346 | a3.Name = "Beam" | |
| 2347 | a3.Locked = true | |
| 2348 | a3.Anchored = true | |
| 2349 | a3.Size = v3(0.2,0.2,0.2) | |
| 2350 | a3.CanCollide = false | |
| 2351 | a3.Position = v3(999,999,999) | |
| 2352 | a3.BrickColor = bc("Cyan")
| |
| 2353 | a3.Material = "Neon" | |
| 2354 | a3.Transparency = 0 | |
| 2355 | aa3 = new("SpecialMesh",a3)
| |
| 2356 | aa3.MeshType = 3 | |
| 2357 | aa3.Scale = v3(200,200,200) | |
| 2358 | local Chase = Instance.new("ParticleEmitter",a2)
| |
| 2359 | Chase.Texture = "rbxassetid://924746519" | |
| 2360 | Chase.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 2361 | Chase.EmissionDirection = "Top" | |
| 2362 | Chase.Speed = NumberRange.new(5) | |
| 2363 | Chase.Size = NumberSequence.new(30,42) | |
| 2364 | Chase.Transparency = NumberSequence.new(0,0.3) | |
| 2365 | Chase.Drag = 1.2 | |
| 2366 | Chase.LockedToPart = false | |
| 2367 | Chase.Lifetime = NumberRange.new(0.2) | |
| 2368 | Chase.Rate = 110 | |
| 2369 | Chase.LightEmission = 0.3 | |
| 2370 | Chase.Rotation = NumberRange.new(-360,360) | |
| 2371 | Chase.VelocitySpread = 100 | |
| 2372 | Chase.ZOffset = 1 | |
| 2373 | a1.CFrame = torso.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(0)) | |
| 2374 | local HQ = Instance.new("Part",a)
| |
| 2375 | HQ.Size = Vector3.new(1,0,1) | |
| 2376 | HQ.BrickColor = BrickColor.new("Toothpaste")
| |
| 2377 | HQ.Material = "Neon" | |
| 2378 | HQ.Anchored = true | |
| 2379 | HQ.CanCollide = false | |
| 2380 | HQ.CFrame = a.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
| 2381 | local HQ2 = Instance.new("SpecialMesh",HQ)
| |
| 2382 | HQ2.MeshId = "rbxassetid://20329976" | |
| 2383 | HQ2.Scale = Vector3.new(10,10,10) | |
| 2384 | ||
| 2385 | ||
| 2386 | coroutine.resume(coroutine.create(function() | |
| 2387 | for i = 3,650 do | |
| 2388 | ||
| 2389 | ||
| 2390 | ||
| 2391 | ||
| 2392 | HQ2.Scale = HQ2.Scale + Vector3.new(0,0,0) | |
| 2393 | HQ.Transparency = HQ.Transparency + 0.02 | |
| 2394 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,-0.2,0) | |
| 2395 | ||
| 2396 | ||
| 2397 | ||
| 2398 | wait(0.00000000001) | |
| 2399 | end | |
| 2400 | end)) | |
| 2401 | ||
| 2402 | kamecharge:Stop() | |
| 2403 | kamefire:Play() | |
| 2404 | hed.Anchored = true | |
| 2405 | a8.Anchored = true | |
| 2406 | ae.Anchored = true | |
| 2407 | startk = false | |
| 2408 | ||
| 2409 | ||
| 2410 | --Damages | |
| 2411 | ----------------------------------------------------------------------------------------- | |
| 2412 | a1.Touched:connect(function(hit) | |
| 2413 | ||
| 2414 | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 then
| |
| 2415 | ||
| 2416 | ||
| 2417 | ||
| 2418 | if hit.Parent:IsA("Model") then
| |
| 2419 | hit.Parent.Humanoid:TakeDamage(1000000000000000000000000000000000000000) | |
| 2420 | end | |
| 2421 | ||
| 2422 | if enabled == true then | |
| 2423 | enabled = false | |
| 2424 | num = num + 1 | |
| 2425 | ||
| 2426 | a21 = new("Part",char)
| |
| 2427 | a21.Name = "Beam"..num | |
| 2428 | a21.Locked = true | |
| 2429 | a21.Size = v3(0,0,0) | |
| 2430 | a21.CanCollide = false | |
| 2431 | a21.Position = v3(999,999,999) | |
| 2432 | a21.BrickColor = bc("Cyan")
| |
| 2433 | a21.Material = "Neon" | |
| 2434 | a21.Transparency = 0 | |
| 2435 | aa21 = new("SpecialMesh",a21)
| |
| 2436 | a21.Anchored = true | |
| 2437 | a21.Position = hit.Position | |
| 2438 | aa21.MeshType = "Sphere" | |
| 2439 | aa21.Scale = v3(0,0,0) | |
| 2440 | ||
| 2441 | for i = 1,90 do | |
| 2442 | wait() | |
| 2443 | a1.CFrame = torso.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2444 | a1.Position = v3(999,999,999) | |
| 2445 | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(0,0,0) | |
| 2446 | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 | |
| 2447 | end | |
| 2448 | enabled = true | |
| 2449 | char["Beam"..num]:Destroy() | |
| 2450 | end | |
| 2451 | ||
| 2452 | end | |
| 2453 | ||
| 2454 | end) | |
| 2455 | ||
| 2456 | ||
| 2457 | ||
| 2458 | ||
| 2459 | ||
| 2460 | ||
| 2461 | ||
| 2462 | beam2 = true | |
| 2463 | beam1 = true | |
| 2464 | wait(2) | |
| 2465 | FZcharge3.Rate = 0 | |
| 2466 | beam1 = false | |
| 2467 | ||
| 2468 | repeat | |
| 2469 | wait() | |
| 2470 | a1.Size = a1.Size - v3(0,0.2,0.2) | |
| 2471 | aa2.Scale = aa2.Scale - v3(3,3,3) | |
| 2472 | aa3.Scale = aa3.Scale - v3(3,3,3) | |
| 2473 | until | |
| 2474 | a1.Size.y < 0.4 | |
| 2475 | ||
| 2476 | beamgo = 2.2 | |
| 2477 | beamgo1 = 1 | |
| 2478 | a1:Destroy() | |
| 2479 | a2:Destroy() | |
| 2480 | a3:Destroy() | |
| 2481 | for i = 1,10 do | |
| 2482 | wait() | |
| 2483 | ||
| 2484 | kamefire.Volume = kamefire.Volume - 0.5 | |
| 2485 | end | |
| 2486 | kamefire:Stop() | |
| 2487 | ||
| 2488 | hed.Anchored = false | |
| 2489 | a8.Anchored = false | |
| 2490 | ae.Anchored = false | |
| 2491 | end | |
| 2492 | ||
| 2493 | ||
| 2494 | ||
| 2495 | ||
| 2496 | ||
| 2497 | ||
| 2498 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 2499 | --RenderedStep | |
| 2500 | rs:connect(function() | |
| 2501 | --kamehameha | |
| 2502 | ------------------------------------------------------------------ | |
| 2503 | if startk == true then | |
| 2504 | aaaa.Transparency = ns(0) | |
| 2505 | aaaaw.Transparency = ns(0) | |
| 2506 | aaaa.Size = ns(math.random(1,2)) | |
| 2507 | else | |
| 2508 | aaaa.Transparency = ns(1) | |
| 2509 | aaaaw.Transparency = ns(1) | |
| 2510 | end | |
| 2511 | ||
| 2512 | if beam1 == true then | |
| 2513 | ||
| 2514 | ||
| 2515 | beamgo = beamgo + 2 | |
| 2516 | beamgo1 = beamgo1 + 4 | |
| 2517 | a3.CFrame = root.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + root.CFrame.lookVector * beamgo * 2 | |
| 2518 | a1.CFrame = root.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + root.CFrame.lookVector * beamgo | |
| 2519 | a1.Size = v3(beamgo1,6,6) | |
| 2520 | aa2.Scale = v3(150,math.random(150,150),math.random(150,150)) | |
| 2521 | aa3.Scale = v3(150,math.random(150,150),math.random(150,150)) | |
| 2522 | ||
| 2523 | end | |
| 2524 | ||
| 2525 | ||
| 2526 | ||
| 2527 | if beamui1 == true then | |
| 2528 | ||
| 2529 | ||
| 2530 | beamgo = beamgo + 2 | |
| 2531 | beamgo1 = beamgo1 + 4 | |
| 2532 | a3.CFrame = root.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + root.CFrame.lookVector * beamgo * 2 | |
| 2533 | a1.CFrame = root.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + root.CFrame.lookVector * beamgo | |
| 2534 | a1.Size = v3(beamgo1,26,26) | |
| 2535 | aa2.Scale = v3(290,math.random(290,290),math.random(290,290)) | |
| 2536 | aa3.Scale = v3(290,math.random(290,290),math.random(290,290)) | |
| 2537 | ||
| 2538 | end | |
| 2539 | if beamb == true then | |
| 2540 | ||
| 2541 | ||
| 2542 | beamgo = beamgo + 2 | |
| 2543 | beamgo1 = beamgo1 + 4 | |
| 2544 | a3.CFrame = root.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + root.CFrame.lookVector * beamgo * 2 | |
| 2545 | a1.CFrame = root.CFrame * CFrame.Angles(0,rad(90),0)+ v3(0,1,0) + root.CFrame.lookVector * beamgo | |
| 2546 | a1.Size = v3(beamgo1,15,15) | |
| 2547 | aa2.Scale = v3(190,math.random(190,190),math.random(190,190)) | |
| 2548 | aa3.Scale = v3(190,math.random(190,190),math.random(190,190)) | |
| 2549 | ||
| 2550 | end | |
| 2551 | if beam2 == true then | |
| 2552 | a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo | |
| 2553 | a2.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8 | |
| 2554 | a3.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo * 1.93 | |
| 2555 | end | |
| 2556 | if beamui2 == true then | |
| 2557 | a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo | |
| 2558 | a2.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8 | |
| 2559 | a3.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo * 2 | |
| 2560 | end | |
| 2561 | if beamb2 == true then | |
| 2562 | a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo | |
| 2563 | a2.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8 | |
| 2564 | a3.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo * 2 | |
| 2565 | end | |
| 2566 | ----------------------------------------------------------------------- | |
| 2567 | ||
| 2568 | ||
| 2569 | ||
| 2570 | ||
| 2571 | if hum.MoveDirection.x == 0 then | |
| 2572 | if canidle == true then | |
| 2573 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)--head | |
| 2574 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)--torso | |
| 2575 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(10)), 0.1)--arm | |
| 2576 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-10)), 0.1)--arm | |
| 2577 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)), 0.1)--leg | |
| 2578 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)--leg | |
| 2579 | end | |
| 2580 | end | |
| 2581 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2582 | ||
| 2583 | if canwalk1 == true then | |
| 2584 | canwalk1 = false | |
| 2585 | for i = 1,10 do | |
| 2586 | wait() | |
| 2587 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2588 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .1)--head | |
| 2589 | end | |
| 2590 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2591 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0)), .1)--torso | |
| 2592 | end | |
| 2593 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2594 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(5)), .1)--arm | |
| 2595 | end | |
| 2596 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2597 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-5)), .1)--arm | |
| 2598 | end | |
| 2599 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2600 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), .1)--leg | |
| 2601 | end | |
| 2602 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2603 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), .1)--leg | |
| 2604 | end | |
| 2605 | end | |
| 2606 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2607 | for i = 1,10 do | |
| 2608 | wait() | |
| 2609 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2610 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .1)--head | |
| 2611 | end | |
| 2612 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2613 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(0)), .1)--torso | |
| 2614 | end | |
| 2615 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2616 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(5)), .1)--arm | |
| 2617 | end | |
| 2618 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2619 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-5)), .1)--arm | |
| 2620 | end | |
| 2621 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2622 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), .1)--leg | |
| 2623 | end | |
| 2624 | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then | |
| 2625 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), .1)--leg | |
| 2626 | end | |
| 2627 | end | |
| 2628 | end | |
| 2629 | canwalk1 = true | |
| 2630 | end | |
| 2631 | ||
| 2632 | ||
| 2633 | end | |
| 2634 | ||
| 2635 | if block == true then | |
| 2636 | 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 | |
| 2637 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)--torso | |
| 2638 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(-10)), 0.4)--arm | |
| 2639 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(10)), 0.4)--arm | |
| 2640 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)), 0.4)--leg | |
| 2641 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.4, -0.1, -0.7) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(2)), 0.4)--leg | |
| 2642 | ||
| 2643 | ||
| 2644 | end | |
| 2645 | -------------------------------------------------- | |
| 2646 | ||
| 2647 | -- | |
| 2648 | --Aura | |
| 2649 | if onaura == true then | |
| 2650 | onaura =false | |
| 2651 | ||
| 2652 | wait(0.1) | |
| 2653 | aaaae.Texture = "rbxassetid://926705964" | |
| 2654 | wait(0.1) | |
| 2655 | aaaae.Texture = "rbxassetid://926709486" | |
| 2656 | wait(0.1) | |
| 2657 | aaaae.Texture = "rbxassetid://926711720" | |
| 2658 | wait(0.1) | |
| 2659 | aaaae.Texture = "rbxassetid://926712235" | |
| 2660 | onaura =true | |
| 2661 | end | |
| 2662 | ||
| 2663 | if transforming1 == true then | |
| 2664 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), 0.1)--head | |
| 2665 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)--torso | |
| 2666 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(10)), 0.1)--arm | |
| 2667 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-10)), 0.1)--arm | |
| 2668 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)), 0.1)--leg | |
| 2669 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)--leg | |
| 2670 | ||
| 2671 | end | |
| 2672 | ||
| 2673 | if slow == true then | |
| 2674 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.2)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), 0.1)--head | |
| 2675 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)--torso | |
| 2676 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(10)), 0.1)--arm | |
| 2677 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-10)), 0.1)--arm | |
| 2678 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)), 0.1)--leg | |
| 2679 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)--leg | |
| 2680 | ||
| 2681 | end | |
| 2682 | ||
| 2683 | if transforming2 == true then | |
| 2684 | 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.1)--head | |
| 2685 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)--torso | |
| 2686 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm | |
| 2687 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm | |
| 2688 | 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.1)--leg | |
| 2689 | 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.1)--leg | |
| 2690 | ||
| 2691 | end | |
| 2692 | ||
| 2693 | if dodge == true then | |
| 2694 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
| 2695 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(20), math.rad(0)), .5)--torso | |
| 2696 | 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)), .5)--arm | |
| 2697 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), .5)--arm | |
| 2698 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
| 2699 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
| 2700 | ||
| 2701 | end | |
| 2702 | if transforming3 == true then | |
| 2703 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.3)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.1)--head | |
| 2704 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.1)--torso | |
| 2705 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(10)), 0.1)--arm | |
| 2706 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-10)), 0.1)--arm | |
| 2707 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.3) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-5)), 0.1)--leg | |
| 2708 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.3) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(5)), 0.1)--leg | |
| 2709 | ||
| 2710 | end | |
| 2711 | ||
| 2712 | if powering == true then | |
| 2713 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)), 0.1)--head | |
| 2714 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)--torso | |
| 2715 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(40),math.rad(-20),math.rad(10)), 0.1)--arm | |
| 2716 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(-10)), 0.1)--arm | |
| 2717 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)--leg | |
| 2718 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)--leg | |
| 2719 | ||
| 2720 | end | |
| 2721 | if start == true then | |
| 2722 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)), 0.1)--head | |
| 2723 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)--torso | |
| 2724 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(-3),math.rad(-60)), 0.1)--arm | |
| 2725 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(3),math.rad(60)), 0.1)--arm | |
| 2726 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)--leg | |
| 2727 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)--leg | |
| 2728 | ||
| 2729 | end | |
| 2730 | if beam3 == true then | |
| 2731 | beamgo4 = beamgo4 + 1 | |
| 2732 | beamgo3 = beamgo3 + 0.018 | |
| 2733 | a1s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 | |
| 2734 | aa1s.Scale = v3(1,math.random(1,1.2),math.random(1,1.2)) | |
| 2735 | a3s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 * 5 | |
| 2736 | a1s.Size = a1s.Size + v3(beamgo3,0,0) | |
| 2737 | aa2s.Scale = v3(200,math.random(150,170),math.random(150,170)) | |
| 2738 | aa3s.Scale = v3(250,math.random(150,170),math.random(150,170)) | |
| 2739 | a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 | |
| 2740 | a2s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) - torso.CFrame.lookVector * 1 | |
| 2741 | end | |
| 2742 | if beam4 == true then | |
| 2743 | a1s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 | |
| 2744 | a2s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8 | |
| 2745 | a3s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 * 1.93 | |
| 2746 | end | |
| 2747 | ||
| 2748 | ||
| 2749 | end) | |
| 2750 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 2751 | --Kamehameha | |
| 2752 | --------------------------------------------------------------------- | |
| 2753 | --InstantTramission | |
| 2754 | ---- | |
| 2755 | ||
| 2756 | ||
| 2757 | tp = true | |
| 2758 | mouse.KeyDown:connect(function(key) | |
| 2759 | if key == "3" then | |
| 2760 | if tp == true then | |
| 2761 | tp = true | |
| 2762 | local Teleport = Instance.new("Sound",hed)
| |
| 2763 | Teleport.SoundId = "rbxassetid://1055279036" | |
| 2764 | Teleport.Pitch = 1 | |
| 2765 | Teleport.Looped = false | |
| 2766 | Teleport.Volume = 2 | |
| 2767 | wait(0.0001) | |
| 2768 | Teleport:Play() | |
| 2769 | ||
| 2770 | Zanzoken = Instance.new("Part",root)
| |
| 2771 | Zanzoken.Anchored = true | |
| 2772 | Zanzoken.CanCollide = false | |
| 2773 | Zanzoken.Position = v3(999,999,999) | |
| 2774 | Zanzoken.CFrame = root.CFrame | |
| 2775 | game.Debris:AddItem(Zanzoken,0.5) | |
| 2776 | Zanzoken.Transparency = 1 | |
| 2777 | wait() | |
| 2778 | idk = Instance.new("BillboardGui",Zanzoken)
| |
| 2779 | idk.Size = UDim2.new(10,0,15,0) | |
| 2780 | idk.AlwaysOnTop = false | |
| 2781 | idk1 = Instance.new("ImageLabel",idk)
| |
| 2782 | idk1.BackgroundTransparency = 1 | |
| 2783 | idk.ExtentsOffset = v3(0,0,0) | |
| 2784 | idk1.ImageTransparency = 0 | |
| 2785 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
| 2786 | idk1.Size = UDim2.new(2,0,1,0) | |
| 2787 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
| 2788 | idk1.Image = "rbxassetid://319554883" | |
| 2789 | wait() | |
| 2790 | root.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
| 2791 | Zanzoken = Instance.new("Part",char)
| |
| 2792 | Zanzoken.Anchored = true | |
| 2793 | Zanzoken.CanCollide = false | |
| 2794 | Zanzoken.Position = v3(999,999,999) | |
| 2795 | Zanzoken.CFrame = root.CFrame | |
| 2796 | game.Debris:AddItem(Zanzoken,0.5) | |
| 2797 | Zanzoken.Transparency = 1 | |
| 2798 | wait() | |
| 2799 | idk = Instance.new("BillboardGui",Zanzoken)
| |
| 2800 | idk.Size = UDim2.new(20,0,20,0) | |
| 2801 | idk.AlwaysOnTop = false | |
| 2802 | idk1 = Instance.new("ImageLabel",idk)
| |
| 2803 | idk1.BackgroundTransparency = 1 | |
| 2804 | idk.ExtentsOffset = v3(0,0,0) | |
| 2805 | idk1.ImageTransparency = 0 | |
| 2806 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
| 2807 | idk1.Size = UDim2.new(2,0,1,0) | |
| 2808 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
| 2809 | idk1.Image = "rbxassetid://319554883" | |
| 2810 | ||
| 2811 | ||
| 2812 | ||
| 2813 | wait(0) | |
| 2814 | ||
| 2815 | tp = true | |
| 2816 | ||
| 2817 | ||
| 2818 | end | |
| 2819 | end | |
| 2820 | end) | |
| 2821 | --- | |
| 2822 | --LockOn | |
| 2823 | --- | |
| 2824 | ||
| 2825 | ||
| 2826 | mouse.KeyDown:connect(function(key) | |
| 2827 | if key == '1' then | |
| 2828 | LockOn() | |
| 2829 | end | |
| 2830 | end) | |
| 2831 | ||
| 2832 | function LockOn() | |
| 2833 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 2834 | TargetSelect(mouse.Target.Parent) | |
| 2835 | end | |
| 2836 | end | |
| 2837 | function swait(num) | |
| 2838 | if num == 0 or num == nil then | |
| 2839 | ArtificialHB.Event:wait() | |
| 2840 | else | |
| 2841 | for i = 0, num do | |
| 2842 | ArtificialHB.Event:wait() | |
| 2843 | end | |
| 2844 | end | |
| 2845 | end | |
| 2846 | ||
| 2847 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 2848 | ArtificialHB.Name = "Heartbeat" | |
| 2849 | ||
| 2850 | script:WaitForChild("Heartbeat")
| |
| 2851 | ||
| 2852 | function TargetSelect(person) | |
| 2853 | local dd=coroutine.wrap(function() | |
| 2854 | if targetted ~= person then | |
| 2855 | targetted = person | |
| 2856 | for i = 0, 2, 0.1 do | |
| 2857 | swait() | |
| 2858 | end | |
| 2859 | end | |
| 2860 | end) | |
| 2861 | dd() | |
| 2862 | end | |
| 2863 | ||
| 2864 | function HomingAttack() | |
| 2865 | ||
| 2866 | ||
| 2867 | ||
| 2868 | ||
| 2869 | if targetted == nil then | |
| 2870 | ||
| 2871 | end | |
| 2872 | ||
| 2873 | ||
| 2874 | local Music2 = Instance.new("Sound",torso)
| |
| 2875 | Music2.SoundId = "rbxassetid://1055279036" | |
| 2876 | Music2.Pitch = 1 | |
| 2877 | Music2.Looped = false | |
| 2878 | Music2.Volume = 3.2 | |
| 2879 | wait(0.0001) | |
| 2880 | Music2:Play() | |
| 2881 | root.CFrame = targetted.Head.CFrame * CFrame.new(0,1.5,3.1) | |
| 2882 | Zanzoken = Instance.new("Part",root)
| |
| 2883 | Zanzoken.Anchored = true | |
| 2884 | Zanzoken.CanCollide = false | |
| 2885 | Zanzoken.Position = v3(999,999,999) | |
| 2886 | Zanzoken.CFrame = root.CFrame | |
| 2887 | game.Debris:AddItem(Zanzoken,0.5) | |
| 2888 | Zanzoken.Transparency = 1 | |
| 2889 | wait() | |
| 2890 | idk = Instance.new("BillboardGui",Zanzoken)
| |
| 2891 | idk.Size = UDim2.new(10,0,15,0) | |
| 2892 | idk.AlwaysOnTop = false | |
| 2893 | idk1 = Instance.new("ImageLabel",idk)
| |
| 2894 | idk1.BackgroundTransparency = 1 | |
| 2895 | idk.ExtentsOffset = v3(0,0,0) | |
| 2896 | idk1.ImageTransparency = 0 | |
| 2897 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
| 2898 | idk1.Size = UDim2.new(2,0,1,0) | |
| 2899 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
| 2900 | idk1.Image = "rbxassetid://319554883" | |
| 2901 | wait() | |
| 2902 | Zanzoken = Instance.new("Part",char)
| |
| 2903 | Zanzoken.Anchored = true | |
| 2904 | Zanzoken.CanCollide = false | |
| 2905 | Zanzoken.Position = v3(999,999,999) | |
| 2906 | Zanzoken.CFrame = root.CFrame | |
| 2907 | game.Debris:AddItem(Zanzoken,0.5) | |
| 2908 | Zanzoken.Transparency = 1 | |
| 2909 | wait() | |
| 2910 | idk = Instance.new("BillboardGui",Zanzoken)
| |
| 2911 | idk.Size = UDim2.new(20,0,20,0) | |
| 2912 | idk.AlwaysOnTop = false | |
| 2913 | idk1 = Instance.new("ImageLabel",idk)
| |
| 2914 | idk1.BackgroundTransparency = 1 | |
| 2915 | idk.ExtentsOffset = v3(0,0,0) | |
| 2916 | idk1.ImageTransparency = 0 | |
| 2917 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
| 2918 | idk1.Size = UDim2.new(2,0,1,0) | |
| 2919 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
| 2920 | idk1.Image = "rbxassetid://319554883" | |
| 2921 | ||
| 2922 | ||
| 2923 | ||
| 2924 | end | |
| 2925 | mouse.KeyDown:connect(function(key) | |
| 2926 | if key == 'c' and ui == false and kaioken == false then | |
| 2927 | ||
| 2928 | GodFist() | |
| 2929 | end | |
| 2930 | end) | |
| 2931 | ||
| 2932 | mouse.KeyDown:connect(function(key) | |
| 2933 | if key == 'c' and kaioken == true then | |
| 2934 | ||
| 2935 | KaiokenRush() | |
| 2936 | end | |
| 2937 | end) | |
| 2938 | ||
| 2939 | mouse.KeyDown:connect(function(key) | |
| 2940 | if key == 'c' and ui == true and kaioken == false then | |
| 2941 | ||
| 2942 | FinalAttack() | |
| 2943 | end | |
| 2944 | end) | |
| 2945 | ||
| 2946 | ||
| 2947 | mouse.KeyDown:connect(function(key) | |
| 2948 | if key == '2' then | |
| 2949 | HomingAttack() | |
| 2950 | end | |
| 2951 | end) | |
| 2952 | ------- | |
| 2953 | ||
| 2954 | function GodFist() | |
| 2955 | ||
| 2956 | canattack = false | |
| 2957 | canidle = false | |
| 2958 | canwalk = false | |
| 2959 | ||
| 2960 | ||
| 2961 | ||
| 2962 | local bv = Instance.new("BodyVelocity")
| |
| 2963 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 2964 | bv.velocity = mouse.Hit.lookVector * 250 | |
| 2965 | bv.Parent = root | |
| 2966 | ||
| 2967 | local Aura = Instance.new('ParticleEmitter')
| |
| 2968 | Aura.Name = "Aura" | |
| 2969 | Aura.Texture = "rbxassetid://411939841" | |
| 2970 | Aura.Parent = torso | |
| 2971 | Aura.LightEmission = 1 | |
| 2972 | Aura.Transparency = NumberSequence.new(0.2,1) | |
| 2973 | Aura.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 2974 | Aura.Size = NumberSequence.new(9,0) | |
| 2975 | Aura.LockedToPart = false | |
| 2976 | Aura.Lifetime = NumberRange.new(0.3) | |
| 2977 | Aura.Rate = 150 | |
| 2978 | Aura.Speed = NumberRange.new(2.3) | |
| 2979 | Aura.EmissionDirection = "Top" | |
| 2980 | Aura.Rotation = NumberRange.new(-80, 80) | |
| 2981 | local Grab = Instance.new("Part",torso)
| |
| 2982 | Grab.Size = Vector3.new(4,4,4) | |
| 2983 | Grab.CanCollide = false | |
| 2984 | Grab.BrickColor = BrickColor.new("Deep orange")
| |
| 2985 | Grab.Transparency = math.huge | |
| 2986 | local Grabo = Instance.new("Weld",Grab)
| |
| 2987 | Grabo.Part0 = torso | |
| 2988 | Grabo.Part1 = Grab | |
| 2989 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
| 2990 | local SFXZ = Instance.new("Sound",torso)
| |
| 2991 | SFXZ.SoundId = "rbxassetid://1056625824" | |
| 2992 | SFXZ.Volume = 1 | |
| 2993 | SFXZ.Pitch = 1 | |
| 2994 | SFXZ.Looped = false | |
| 2995 | wait(0.01) | |
| 2996 | SFXZ:Play() | |
| 2997 | Grab.Touched:connect(function(hit) | |
| 2998 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
| |
| 2999 | Grab:Destroy() | |
| 3000 | root.Anchored = true | |
| 3001 | hit.Parent.Humanoid:TakeDamage(155555555555555555575) | |
| 3002 | bv:Destroy() | |
| 3003 | canattack = true | |
| 3004 | canidle = true | |
| 3005 | canwalk = true | |
| 3006 | local SFXZ = Instance.new("Sound",root)
| |
| 3007 | SFXZ.SoundId = "rbxassetid://1699290293" | |
| 3008 | SFXZ.Volume = 7 | |
| 3009 | SFXZ.Pitch = 1 | |
| 3010 | SFXZ.Looped = false | |
| 3011 | wait(0.01) | |
| 3012 | SFXZ:Play() | |
| 3013 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
| |
| 3014 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 3015 | Fl.velocity = root.CFrame.lookVector*10 | |
| 3016 | wait(0.05) | |
| 3017 | Fl:remove() | |
| 3018 | root.Anchored = false | |
| 3019 | end | |
| 3020 | end) | |
| 3021 | for i = 1, 50 do | |
| 3022 | wait() | |
| 3023 | ||
| 3024 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head | |
| 3025 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso | |
| 3026 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm | |
| 3027 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm | |
| 3028 | 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.1)--leg | |
| 3029 | 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.1)--leg | |
| 3030 | end | |
| 3031 | bv:Destroy() | |
| 3032 | canattack = true | |
| 3033 | canidle = true | |
| 3034 | canwalk = true | |
| 3035 | root.Anchored = false | |
| 3036 | Aura.Enabled = false | |
| 3037 | Grab:Destroy() | |
| 3038 | ||
| 3039 | end | |
| 3040 | ||
| 3041 | ||
| 3042 | ||
| 3043 | function FinalAttack() | |
| 3044 | ||
| 3045 | canattack = false | |
| 3046 | canidle = false | |
| 3047 | canwalk = false | |
| 3048 | ||
| 3049 | ||
| 3050 | ||
| 3051 | local bv = Instance.new("BodyVelocity")
| |
| 3052 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3053 | bv.velocity = mouse.Hit.lookVector * 250 | |
| 3054 | bv.Parent = root | |
| 3055 | coroutine.resume(coroutine.create(function() | |
| 3056 | for i = 1,100 do | |
| 3057 | CamShakeAll(32,230,torso) | |
| 3058 | game:GetService("RunService").RenderStepped:wait()
| |
| 3059 | end | |
| 3060 | end)) | |
| 3061 | local Aura = Instance.new('ParticleEmitter')
| |
| 3062 | Aura.Name = "Aura" | |
| 3063 | Aura.Texture = "rbxassetid://1200947142" | |
| 3064 | Aura.Parent = torso | |
| 3065 | Aura.LightEmission = 1 | |
| 3066 | Aura.Transparency = NumberSequence.new(0.2,1) | |
| 3067 | Aura.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 3068 | Aura.Size = NumberSequence.new(9,0) | |
| 3069 | Aura.LockedToPart = false | |
| 3070 | Aura.Lifetime = NumberRange.new(0.3) | |
| 3071 | Aura.Rate = 350 | |
| 3072 | Aura.Speed = NumberRange.new(2.3) | |
| 3073 | Aura.EmissionDirection = "Top" | |
| 3074 | Aura.Rotation = NumberRange.new(-80, 80) | |
| 3075 | local Grab = Instance.new("Part",torso)
| |
| 3076 | Grab.Size = Vector3.new(4,4,4) | |
| 3077 | Grab.CanCollide = false | |
| 3078 | Grab.BrickColor = BrickColor.new("Deep orange")
| |
| 3079 | Grab.Transparency = math.huge | |
| 3080 | local Grabo = Instance.new("Weld",Grab)
| |
| 3081 | Grabo.Part0 = torso | |
| 3082 | Grabo.Part1 = Grab | |
| 3083 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
| 3084 | local SFXZ = Instance.new("Sound",torso)
| |
| 3085 | SFXZ.SoundId = "rbxassetid://1056625824" | |
| 3086 | SFXZ.Volume = 1 | |
| 3087 | SFXZ.Pitch = 1 | |
| 3088 | SFXZ.Looped = false | |
| 3089 | wait(0.01) | |
| 3090 | SFXZ:Play() | |
| 3091 | Grab.Touched:connect(function(hit) | |
| 3092 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
| |
| 3093 | Grab:Destroy() | |
| 3094 | root.Anchored = true | |
| 3095 | hit.Parent:BreakJoints() | |
| 3096 | bv:Destroy() | |
| 3097 | canattack = true | |
| 3098 | canidle = true | |
| 3099 | canwalk = true | |
| 3100 | local SFXZ = Instance.new("Sound",root)
| |
| 3101 | SFXZ.SoundId = "rbxassetid://1699290293" | |
| 3102 | SFXZ.Volume = 7 | |
| 3103 | SFXZ.Pitch = 1 | |
| 3104 | SFXZ.Looped = false | |
| 3105 | wait(0.01) | |
| 3106 | SFXZ:Play() | |
| 3107 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
| |
| 3108 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 3109 | Fl.velocity = root.CFrame.lookVector*10 | |
| 3110 | wait(0.05) | |
| 3111 | Fl:remove() | |
| 3112 | root.Anchored = false | |
| 3113 | end | |
| 3114 | end) | |
| 3115 | for i = 1, 20 do | |
| 3116 | wait() | |
| 3117 | ||
| 3118 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head | |
| 3119 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso | |
| 3120 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm | |
| 3121 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm | |
| 3122 | 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.1)--leg | |
| 3123 | 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.1)--leg | |
| 3124 | end | |
| 3125 | bv:Destroy() | |
| 3126 | canattack = true | |
| 3127 | canidle = true | |
| 3128 | canwalk = true | |
| 3129 | root.Anchored = false | |
| 3130 | Aura.Enabled = false | |
| 3131 | Grab:Destroy() | |
| 3132 | ||
| 3133 | end | |
| 3134 | ||
| 3135 | ||
| 3136 | ||
| 3137 | function KaiokenRush() | |
| 3138 | ||
| 3139 | canattack = false | |
| 3140 | canidle = false | |
| 3141 | canwalk = false | |
| 3142 | ||
| 3143 | ||
| 3144 | ||
| 3145 | local bv = Instance.new("BodyVelocity")
| |
| 3146 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3147 | bv.velocity = mouse.Hit.lookVector * 250 | |
| 3148 | bv.Parent = root | |
| 3149 | ||
| 3150 | local Aura = Instance.new('ParticleEmitter')
| |
| 3151 | Aura.Name = "Aura" | |
| 3152 | Aura.Texture = "rbxassetid://411939841" | |
| 3153 | Aura.Parent = torso | |
| 3154 | Aura.LightEmission = 1 | |
| 3155 | Aura.Transparency = NumberSequence.new(0.2,1) | |
| 3156 | Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
| |
| 3157 | Aura.Size = NumberSequence.new(9,0) | |
| 3158 | Aura.LockedToPart = false | |
| 3159 | Aura.Lifetime = NumberRange.new(1) | |
| 3160 | Aura.Rate = 350 | |
| 3161 | Aura.Speed = NumberRange.new(2.3) | |
| 3162 | Aura.EmissionDirection = "Top" | |
| 3163 | Aura.Rotation = NumberRange.new(-80, 80) | |
| 3164 | local Grab = Instance.new("Part",torso)
| |
| 3165 | Grab.Size = Vector3.new(4,4,4) | |
| 3166 | Grab.CanCollide = false | |
| 3167 | Grab.BrickColor = BrickColor.new("Deep orange")
| |
| 3168 | Grab.Transparency = math.huge | |
| 3169 | local Grabo = Instance.new("Weld",Grab)
| |
| 3170 | Grabo.Part0 = torso | |
| 3171 | Grabo.Part1 = Grab | |
| 3172 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
| 3173 | local SFXZ = Instance.new("Sound",torso)
| |
| 3174 | SFXZ.SoundId = "rbxassetid://1056625824" | |
| 3175 | SFXZ.Volume = 1 | |
| 3176 | SFXZ.Pitch = 1 | |
| 3177 | SFXZ.Looped = false | |
| 3178 | wait(0.01) | |
| 3179 | SFXZ:Play() | |
| 3180 | Grab.Touched:connect(function(hit) | |
| 3181 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
| |
| 3182 | Grab:Destroy() | |
| 3183 | ||
| 3184 | ||
| 3185 | hit.Parent.Humanoid:TakeDamage(150000000000000000000000000000000) | |
| 3186 | ||
| 3187 | ||
| 3188 | local SFXZ = Instance.new("Sound",root)
| |
| 3189 | SFXZ.SoundId = "rbxassetid://1699290293" | |
| 3190 | SFXZ.Volume = 7 | |
| 3191 | SFXZ.Pitch = 1 | |
| 3192 | SFXZ.Looped = false | |
| 3193 | wait(0.01) | |
| 3194 | SFXZ:Play() | |
| 3195 | ||
| 3196 | ||
| 3197 | ||
| 3198 | ||
| 3199 | end | |
| 3200 | end) | |
| 3201 | for i = 1, 20 do | |
| 3202 | wait() | |
| 3203 | ||
| 3204 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head | |
| 3205 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso | |
| 3206 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm | |
| 3207 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm | |
| 3208 | 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.1)--leg | |
| 3209 | 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.1)--leg | |
| 3210 | end | |
| 3211 | wait(4) | |
| 3212 | bv:Destroy() | |
| 3213 | canattack = true | |
| 3214 | canidle = true | |
| 3215 | canwalk = true | |
| 3216 | root.Anchored = false | |
| 3217 | Aura.Enabled = false | |
| 3218 | Grab:Destroy() | |
| 3219 | ||
| 3220 | end | |
| 3221 | ||
| 3222 | ||
| 3223 | ||
| 3224 | -- | |
| 3225 | ||
| 3226 | ||
| 3227 | mouse.KeyDown:connect(function(key) | |
| 3228 | if key == "q" and ui == false and blue == false then | |
| 3229 | if canattack == true then | |
| 3230 | canattack = false | |
| 3231 | canidle = false | |
| 3232 | canwalk = false | |
| 3233 | kamehameha() | |
| 3234 | canattack = true | |
| 3235 | canwalk = true | |
| 3236 | canidle = true | |
| 3237 | end | |
| 3238 | end | |
| 3239 | end) | |
| 3240 | mouse.KeyDown:connect(function(key) | |
| 3241 | if key == "q" and ui == true and blue == false then | |
| 3242 | if canattack == true then | |
| 3243 | canattack = false | |
| 3244 | canidle = false | |
| 3245 | canwalk = false | |
| 3246 | UIKame() | |
| 3247 | canattack = true | |
| 3248 | canwalk = true | |
| 3249 | canidle = true | |
| 3250 | end | |
| 3251 | end | |
| 3252 | end) | |
| 3253 | mouse.KeyDown:connect(function(key) | |
| 3254 | if key == "q" and ui == false and blue == true then | |
| 3255 | if canattack == true then | |
| 3256 | canattack = false | |
| 3257 | canidle = false | |
| 3258 | canwalk = false | |
| 3259 | BlueKame() | |
| 3260 | canattack = true | |
| 3261 | canwalk = true | |
| 3262 | canidle = true | |
| 3263 | end | |
| 3264 | end | |
| 3265 | end) | |
| 3266 | ||
| 3267 | ------------------------------------------------------------------ | |
| 3268 | --Blocking | |
| 3269 | ---------------------------------------------------------------- | |
| 3270 | mouse.KeyDown:connect(function(key) | |
| 3271 | if key == "r" and ui == false then | |
| 3272 | if canattack == true then | |
| 3273 | canattack = false | |
| 3274 | canidle = false | |
| 3275 | canwalk = false | |
| 3276 | hum.MaxHealth = 1.0E298 | |
| 3277 | root.Anchored = true | |
| 3278 | hum.Health = 1.0E298 | |
| 3279 | local SFXZ = Instance.new("Sound",hed)
| |
| 3280 | SFXZ.SoundId = "rbxassetid://865151637" | |
| 3281 | SFXZ.Volume = 3 | |
| 3282 | SFXZ.Pitch = 1 | |
| 3283 | SFXZ.Looped = false | |
| 3284 | wait(0.01) | |
| 3285 | SFXZ:Play() | |
| 3286 | local Grab = Instance.new("Part",root)
| |
| 3287 | Grab.Size = Vector3.new(5.2,5.8,3.9) | |
| 3288 | Grab.CanCollide = false | |
| 3289 | Grab.BrickColor = BrickColor.new("Deep orange")
| |
| 3290 | Grab.Transparency = 1 | |
| 3291 | local Grabo = Instance.new("Weld",Grab)
| |
| 3292 | Grabo.Part0 = root | |
| 3293 | Grabo.Part1 = Grab | |
| 3294 | Grabo.C0 = CFrame.new(0,0.3,-2.8) | |
| 3295 | ||
| 3296 | local AuraB = Instance.new("Part",root)
| |
| 3297 | AuraB.Size = Vector3.new(2,1,2) | |
| 3298 | AuraB.CanCollide = false | |
| 3299 | AuraB.BrickColor = BrickColor.new("Deep orange")
| |
| 3300 | AuraB.Transparency = 1 | |
| 3301 | local AuraBo = Instance.new("Weld",AuraB)
| |
| 3302 | AuraBo.Part0 = root | |
| 3303 | AuraBo.Part1 = AuraB | |
| 3304 | AuraBo.C0 = CFrame.new(0,-0.6,0) | |
| 3305 | block = true | |
| 3306 | ||
| 3307 | end | |
| 3308 | end | |
| 3309 | end) | |
| 3310 | mouse.KeyUp:connect(function(key) | |
| 3311 | if key == "r" and ui == false then | |
| 3312 | if canattack == false then | |
| 3313 | canattack = true | |
| 3314 | canidle = true | |
| 3315 | block = false | |
| 3316 | canwalk = true | |
| 3317 | hum.MaxHealth = 100000 | |
| 3318 | hum.Health = 100000 | |
| 3319 | root.Anchored = false | |
| 3320 | for i, v in pairs(root:GetChildren()) do | |
| 3321 | if v:IsA("Part")then
| |
| 3322 | v:Remove() | |
| 3323 | end | |
| 3324 | end | |
| 3325 | ||
| 3326 | end | |
| 3327 | end | |
| 3328 | end) | |
| 3329 | mouse.KeyDown:connect(function(key) | |
| 3330 | if key == "r" and ui == true then | |
| 3331 | if canattack == true then | |
| 3332 | canattack = false | |
| 3333 | canidle = false | |
| 3334 | canwalk = false | |
| 3335 | hum.MaxHealth = 1.0E298 | |
| 3336 | root.Anchored = true | |
| 3337 | hum.Health = 1.0E298 | |
| 3338 | local SFXZ = Instance.new("Sound",hed)
| |
| 3339 | SFXZ.SoundId = "rbxassetid://865151637" | |
| 3340 | SFXZ.Volume = 3 | |
| 3341 | SFXZ.Pitch = 1 | |
| 3342 | SFXZ.Looped = false | |
| 3343 | wait(0.01) | |
| 3344 | SFXZ:Play() | |
| 3345 | local Grab = Instance.new("Part",root)
| |
| 3346 | Grab.Size = Vector3.new(5.2,5.8,3.9) | |
| 3347 | Grab.CanCollide = false | |
| 3348 | Grab.BrickColor = BrickColor.new("Deep orange")
| |
| 3349 | Grab.Transparency = 1 | |
| 3350 | local Grabo = Instance.new("Weld",Grab)
| |
| 3351 | Grabo.Part0 = root | |
| 3352 | Grabo.Part1 = Grab | |
| 3353 | Grabo.C0 = CFrame.new(0,0.3,-2.8) | |
| 3354 | ||
| 3355 | local AuraB = Instance.new("Part",root)
| |
| 3356 | AuraB.Size = Vector3.new(2,1,2) | |
| 3357 | AuraB.CanCollide = false | |
| 3358 | AuraB.BrickColor = BrickColor.new("Deep orange")
| |
| 3359 | AuraB.Transparency = 1 | |
| 3360 | local AuraBo = Instance.new("Weld",AuraB)
| |
| 3361 | AuraBo.Part0 = root | |
| 3362 | AuraBo.Part1 = AuraB | |
| 3363 | AuraBo.C0 = CFrame.new(0,-0.6,0) | |
| 3364 | block = true | |
| 3365 | ||
| 3366 | end | |
| 3367 | end | |
| 3368 | end) | |
| 3369 | mouse.KeyUp:connect(function(key) | |
| 3370 | if key == "r" and ui == true then | |
| 3371 | if canattack == false then | |
| 3372 | canattack = true | |
| 3373 | canidle = true | |
| 3374 | block = false | |
| 3375 | canwalk = true | |
| 3376 | hum.MaxHealth = 10000000000000000000000000000000000000000000 | |
| 3377 | hum.Health = 10000000000000000000000000000000000000000000 | |
| 3378 | root.Anchored = false | |
| 3379 | for i, v in pairs(root:GetChildren()) do | |
| 3380 | if v:IsA("Part")then
| |
| 3381 | v:Remove() | |
| 3382 | end | |
| 3383 | end | |
| 3384 | ||
| 3385 | end | |
| 3386 | end | |
| 3387 | end) | |
| 3388 | -------------------------------------------------------------------- | |
| 3389 | --Transformations | |
| 3390 | -------------------------------------------------------------------- | |
| 3391 | local cam = workspace.CurrentCamera | |
| 3392 | ||
| 3393 | function CamShake(who,times,intense,origin) | |
| 3394 | coroutine.wrap(function() | |
| 3395 | if(script:FindFirstChild'CamShake')then | |
| 3396 | local cam = script.CamShake:Clone() | |
| 3397 | cam:WaitForChild'intensity'.Value = intense | |
| 3398 | cam:WaitForChild'times'.Value = times | |
| 3399 | ||
| 3400 | if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
| |
| 3401 | cam.Parent = who | |
| 3402 | wait() | |
| 3403 | cam.Disabled = false | |
| 3404 | elseif(who == p or who == char or who:IsDescendantOf(p))then | |
| 3405 | local intensity = intense | |
| 3406 | ||
| 3407 | for i = 1, times do | |
| 3408 | local camDistFromOrigin | |
| 3409 | if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then | |
| 3410 | camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25 | |
| 3411 | elseif(typeof(origin) == 'Vector3')then | |
| 3412 | camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25 | |
| 3413 | end | |
| 3414 | if(camDistFromOrigin)then | |
| 3415 | intensity = math.min(intense, math.floor(intense/camDistFromOrigin)) | |
| 3416 | end | |
| 3417 | cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4) | |
| 3418 | swait() | |
| 3419 | end | |
| 3420 | end | |
| 3421 | end)() | |
| 3422 | end | |
| 3423 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
| |
| 3424 | local Plrs = S.Players | |
| 3425 | function CamShakeAll(times,intense,origin) | |
| 3426 | for _,v in next, Plrs:players() do | |
| 3427 | CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin) | |
| 3428 | end | |
| 3429 | end | |
| 3430 | ------------------------------------------------------- | |
| 3431 | local Player_Size = 4 | |
| 3432 | if Player_Size ~= 4 then | |
| 3433 | root.Size = root.Size * Player_Size | |
| 3434 | torso.Size = torso.Size * Player_Size | |
| 3435 | hed.Size = hed.Size * Player_Size | |
| 3436 | rarm.Size = rarm.Size * Player_Size | |
| 3437 | larm.Size = larm.Size * Player_Size | |
| 3438 | rleg.Size = rleg.Size * Player_Size | |
| 3439 | lleg.Size = lleg.Size * Player_Size | |
| 3440 | end | |
| 3441 | ---------------------------------------------------------------------------------- | |
| 3442 | local cycle2 = false | |
| 3443 | local Dodged = Instance.new("Sound",hed)
| |
| 3444 | Dodged.SoundId = "rbxassetid://908217684" | |
| 3445 | Dodged.Pitch = 1 | |
| 3446 | Dodged.Looped = false | |
| 3447 | Dodged.Volume = 2 | |
| 3448 | local Dodged2 = Instance.new("Sound",hed)
| |
| 3449 | Dodged2.SoundId = "rbxassetid://908217925" | |
| 3450 | Dodged2.Pitch = 1 | |
| 3451 | Dodged2.Looped = false | |
| 3452 | Dodged2.Volume = 2 | |
| 3453 | game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
| |
| 3454 | if hum.Health > 0.1 and hum.Health < 100000 and cycle2 == false and instinct == true then | |
| 3455 | root.Anchored = true | |
| 3456 | hum.MaxHealth = 100000 | |
| 3457 | hum.Health = 100000 | |
| 3458 | dodge = true | |
| 3459 | ||
| 3460 | Dodged:Play() | |
| 3461 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(8, 0, 0) * CFrame.Angles(math.rad(20),math.rad(80),math.rad(0)), 0.4)--torso | |
| 3462 | dodge = false | |
| 3463 | ||
| 3464 | cycle2 = true | |
| 3465 | root.Anchored = false | |
| 3466 | ||
| 3467 | end | |
| 3468 | end) | |
| 3469 | game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
| |
| 3470 | if hum.Health > 0.6 and hum.Health < 100000 and cycle2 == true and instinct == true then | |
| 3471 | root.Anchored = true | |
| 3472 | hum.MaxHealth = 100000 | |
| 3473 | hum.Health = 100000 | |
| 3474 | dodge = true | |
| 3475 | Dodged2:Play() | |
| 3476 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-10, 0, 0) * CFrame.Angles(math.rad(-30),math.rad(-80),math.rad(0)), 0.4)--torso | |
| 3477 | dodge = false | |
| 3478 | ||
| 3479 | cycle2 = false | |
| 3480 | root.Anchored = false | |
| 3481 | ||
| 3482 | ||
| 3483 | end | |
| 3484 | end) | |
| 3485 | local temppos = root.Position | |
| 3486 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) | |
| 3487 | local magz = (Part0 - Part1).magnitude | |
| 3488 | local curpos = Part0 | |
| 3489 | local trz = {-Offset,Offset}
| |
| 3490 | for i=1,Times do | |
| 3491 | local li = Instance.new("Part", DebrisModel)
| |
| 3492 | li.TopSurface =0 | |
| 3493 | li.Material = Enum.Material.Neon | |
| 3494 | li.BottomSurface = 0 | |
| 3495 | li.Anchored = true | |
| 3496 | li.Locked = true | |
| 3497 | li.Transparency = Trans or 0.4 | |
| 3498 | li.Color = Color | |
| 3499 | li.formFactor = "Custom" | |
| 3500 | li.CanCollide = false | |
| 3501 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
| 3502 | local lim = Instance.new("BlockMesh",li)
| |
| 3503 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
| 3504 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
| 3505 | if Times == i then | |
| 3506 | local magz2 = (curpos - Part1).magnitude | |
| 3507 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
| 3508 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
| 3509 | else | |
| 3510 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
| 3511 | end | |
| 3512 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
| 3513 | li.Name = "LIGHTNING" | |
| 3514 | ||
| 3515 | end | |
| 3516 | end | |
| 3517 | function findAllNearestTorso(pos,dist) | |
| 3518 | local list = workspace:children() | |
| 3519 | local torso = {}
| |
| 3520 | local temp = nil | |
| 3521 | local human = nil | |
| 3522 | local temp2 = nil | |
| 3523 | for x = 1, #list do | |
| 3524 | temp2 = list[x] | |
| 3525 | if (temp2.className == "Model") and (temp2 ~= char) then | |
| 3526 | temp = temp2:findFirstChild("Torso")
| |
| 3527 | human = temp2:findFirstChildOfClass("Humanoid")
| |
| 3528 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
| 3529 | if (temp.Position - pos).magnitude < dist then | |
| 3530 | table.insert(torso,temp) | |
| 3531 | dist = (temp.Position - pos).magnitude | |
| 3532 | end | |
| 3533 | end | |
| 3534 | end | |
| 3535 | end | |
| 3536 | return torso | |
| 3537 | end | |
| 3538 | function computeDirection(vec) | |
| 3539 | local lenSquared = vec.magnitude * vec.magnitude | |
| 3540 | local invSqrt = 1 / math.sqrt(lenSquared) | |
| 3541 | return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt) | |
| 3542 | end | |
| 3543 | local Charge = Instance.new("Sound",hed)
| |
| 3544 | Charge.SoundId = "rbxassetid://1179254378" | |
| 3545 | Charge.Pitch = 1.2 | |
| 3546 | Charge.Looped = true | |
| 3547 | Charge.Volume = 5 | |
| 3548 | local Charge2 = Instance.new("Sound",hed)
| |
| 3549 | Charge2.SoundId = "rbxassetid://908226507" | |
| 3550 | Charge2.Pitch = 1 | |
| 3551 | Charge2.Looped = true | |
| 3552 | Charge2.Volume = 2.5 | |
| 3553 | local Charge3 = Instance.new("Sound",hed)
| |
| 3554 | Charge3.SoundId = "rbxassetid://1116208999" | |
| 3555 | Charge3.Pitch = 1 | |
| 3556 | Charge3.Looped = true | |
| 3557 | Charge3.Volume = 2.5 | |
| 3558 | ||
| 3559 | mouse.KeyDown:connect(function(key) | |
| 3560 | if key == "p" and ui == false then | |
| 3561 | canattack = false | |
| 3562 | canidle = false | |
| 3563 | canwalk = false | |
| 3564 | start = true | |
| 3565 | wait(0.4) | |
| 3566 | local Flame = Instance.new("ParticleEmitter",root)
| |
| 3567 | Flame.Texture = "rbxassetid://1332922037" | |
| 3568 | Flame.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 3569 | Flame.EmissionDirection = "Top" | |
| 3570 | Flame.Speed = NumberRange.new(3) | |
| 3571 | Flame.Size = NumberSequence.new(5.5,4) | |
| 3572 | Flame.Transparency = NumberSequence.new(0.8,1) | |
| 3573 | Flame.Drag = 0.4 | |
| 3574 | Flame.LightInfluence = 0 | |
| 3575 | Flame.LockedToPart = true | |
| 3576 | Flame.Lifetime = NumberRange.new(1) | |
| 3577 | Flame.Rate = 65 | |
| 3578 | Flame.LightEmission = 1 | |
| 3579 | Flame.Rotation = NumberRange.new(-5,5) | |
| 3580 | Flame.VelocitySpread = 100 | |
| 3581 | Flame.Acceleration = Vector3.new(0,17,0) | |
| 3582 | Flame.ZOffset = -0.2 | |
| 3583 | local Soundd = Instance.new("Sound",hed)
| |
| 3584 | Soundd.SoundId = "rbxassetid://917377181" | |
| 3585 | Soundd.Pitch = 1 | |
| 3586 | Soundd.Looped = false | |
| 3587 | Soundd.Volume = 8 | |
| 3588 | Soundd:Play() | |
| 3589 | start = false | |
| 3590 | transforming3 = true | |
| 3591 | Charge3:Play() | |
| 3592 | end | |
| 3593 | end) | |
| 3594 | mouse.KeyDown:connect(function(key) | |
| 3595 | if key == "p" and ui == true then | |
| 3596 | canattack = false | |
| 3597 | canidle = false | |
| 3598 | canwalk = false | |
| 3599 | start = true | |
| 3600 | local Soundd = Instance.new("Sound",hed)
| |
| 3601 | Soundd.SoundId = "rbxassetid://1019054093" | |
| 3602 | Soundd.Pitch = 1 | |
| 3603 | Soundd.Looped = false | |
| 3604 | Soundd.Volume = 8 | |
| 3605 | Soundd:Play() | |
| 3606 | wait(0.4) | |
| 3607 | ||
| 3608 | Charge:Play() | |
| 3609 | Charge2:Play() | |
| 3610 | ||
| 3611 | start = true | |
| 3612 | local Soundd2 = Instance.new("Sound",hed)
| |
| 3613 | Soundd2.SoundId = "rbxassetid://874183151" | |
| 3614 | Soundd2.Pitch = 1 | |
| 3615 | Soundd2.Looped = false | |
| 3616 | Soundd2.Volume = 8 | |
| 3617 | Soundd2:Play() | |
| 3618 | ||
| 3619 | ||
| 3620 | local AURU = Instance.new('ParticleEmitter')
| |
| 3621 | AURU.Name = "Aura" | |
| 3622 | AURU.Texture = "rbxassetid://1200947142" | |
| 3623 | AURU.Parent = root | |
| 3624 | AURU.LightEmission = 0.9 | |
| 3625 | AURU.Transparency = NumberSequence.new(0.1,1) | |
| 3626 | AURU.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 3627 | AURU.Size = NumberSequence.new(8,0) | |
| 3628 | AURU.LockedToPart = false | |
| 3629 | AURU.Lifetime = NumberRange.new(0.6) | |
| 3630 | AURU.Rate = 230 | |
| 3631 | AURU.Speed = NumberRange.new(40) | |
| 3632 | AURU.Rotation = NumberRange.new(-360,360) | |
| 3633 | AURU.EmissionDirection = "Top" | |
| 3634 | AURU.ZOffset = 1 | |
| 3635 | AURU.VelocitySpread = 100 | |
| 3636 | AURU.RotSpeed = NumberRange.new(-100,100) | |
| 3637 | AURU.Acceleration = Vector3.new(0,100,0) | |
| 3638 | ||
| 3639 | start = false | |
| 3640 | powering = true | |
| 3641 | ||
| 3642 | end | |
| 3643 | end) | |
| 3644 | mouse.KeyUp:connect(function(key) | |
| 3645 | if key == "p" and ui == false then | |
| 3646 | canattack = true | |
| 3647 | canidle = true | |
| 3648 | canwalk = true | |
| 3649 | transforming3 = false | |
| 3650 | for i, v in pairs(root:GetChildren()) do | |
| 3651 | if v:IsA("ParticleEmitter")then
| |
| 3652 | v.Rate = 0 | |
| 3653 | end | |
| 3654 | end | |
| 3655 | local Auura = Instance.new("Sound",hed)
| |
| 3656 | Auura.SoundId = "rbxassetid://550621034" | |
| 3657 | Auura.Pitch = 1 | |
| 3658 | Auura.Looped = false | |
| 3659 | Auura.Volume = 5 | |
| 3660 | Auura:Play() | |
| 3661 | Charge3:Stop() | |
| 3662 | end | |
| 3663 | end) | |
| 3664 | mouse.KeyUp:connect(function(key) | |
| 3665 | if key == "p" and ui == true then | |
| 3666 | canattack = true | |
| 3667 | canidle = true | |
| 3668 | canwalk = true | |
| 3669 | powering = false | |
| 3670 | for i, v in pairs(root:GetChildren()) do | |
| 3671 | if v:IsA("ParticleEmitter")then
| |
| 3672 | v.Rate = 0 | |
| 3673 | end | |
| 3674 | end | |
| 3675 | local Auura = Instance.new("Sound",hed)
| |
| 3676 | Auura.SoundId = "rbxassetid://922710675" | |
| 3677 | Auura.Pitch = 1 | |
| 3678 | Auura.Looped = false | |
| 3679 | Auura.Volume = 5 | |
| 3680 | Auura:Play() | |
| 3681 | Charge:Stop() | |
| 3682 | Charge2:Stop() | |
| 3683 | ||
| 3684 | end | |
| 3685 | end) | |
| 3686 | mouse.KeyDown:connect(function(key) | |
| 3687 | if key == "y" and ui == true and muiable == true then | |
| 3688 | instinct = false | |
| 3689 | for i, v in pairs(torso:GetChildren()) do | |
| 3690 | if v:IsA("Sound")then
| |
| 3691 | v:Remove() | |
| 3692 | end | |
| 3693 | end | |
| 3694 | for i, v in pairs(hed:GetChildren()) do | |
| 3695 | if v:IsA("Sound")then
| |
| 3696 | v:Remove() | |
| 3697 | end | |
| 3698 | end | |
| 3699 | ||
| 3700 | canattack = false | |
| 3701 | canidle = false | |
| 3702 | canwalk = false | |
| 3703 | transforming3 = true | |
| 3704 | local UltraInstinct = Instance.new("Sound",char)
| |
| 3705 | UltraInstinct.SoundId = "rbxassetid://1419716650" | |
| 3706 | UltraInstinct.Pitch = 1 | |
| 3707 | UltraInstinct.Looped = false | |
| 3708 | UltraInstinct.Volume = 1.5 | |
| 3709 | UltraInstinct:Play() | |
| 3710 | local Auura = Instance.new("Sound",hed)
| |
| 3711 | Auura.SoundId = "rbxassetid://1179254378" | |
| 3712 | Auura.Pitch = 1.3 | |
| 3713 | Auura.Looped = true | |
| 3714 | Auura.Volume = 8 | |
| 3715 | Auura:Play() | |
| 3716 | hum.WalkSpeed = 0 | |
| 3717 | coroutine.resume(coroutine.create(function() | |
| 3718 | for i = 1,380 do | |
| 3719 | CamShakeAll(32,80,torso) | |
| 3720 | game:GetService("RunService").RenderStepped:wait()
| |
| 3721 | end | |
| 3722 | end)) | |
| 3723 | ||
| 3724 | local CHAINLINKS = {}
| |
| 3725 | local POS = mouse.Hit.p | |
| 3726 | local CHAINS = false | |
| 3727 | local CHAINLINKS = {}
| |
| 3728 | local A = Instance.new("Attachment",root)
| |
| 3729 | A.Position = Vector3.new(1.5,-0.5,0)*Player_Size | |
| 3730 | A.Orientation = Vector3.new(-90, -89.982, 0) | |
| 3731 | local B = Instance.new("Attachment",root)
| |
| 3732 | B.Position = Vector3.new(-1.5,-0.5,0)*Player_Size | |
| 3733 | B.Orientation = Vector3.new(-90, 89.988, 0) | |
| 3734 | local C = Instance.new("Attachment",root)
| |
| 3735 | C.Position = Vector3.new(1.5,-0.5,0)*Player_Size | |
| 3736 | C.Orientation = Vector3.new(-90, -89.982, 0) | |
| 3737 | local D = Instance.new("Attachment",root)
| |
| 3738 | D.Position = Vector3.new(-1.5,-0.5,0)*Player_Size | |
| 3739 | D.Orientation = Vector3.new(-90, 89.988, 0) | |
| 3740 | local LIGHT = Instance.new("Attachment",root)
| |
| 3741 | LIGHT.Position = Vector3.new(1.5,-0.5,0)*Player_Size | |
| 3742 | local LIGHT2 = Instance.new("PointLight",larm)
| |
| 3743 | LIGHT2.Range = 10 | |
| 3744 | LIGHT2.Brightness = 20 | |
| 3745 | LIGHT2.Color = Color3.new(0, 255, 255) | |
| 3746 | for i = 1, 2 do | |
| 3747 | local TWIST = 0 | |
| 3748 | local START = A | |
| 3749 | local END = B | |
| 3750 | if i == 1 then | |
| 3751 | START = B | |
| 3752 | END = A | |
| 3753 | end | |
| 3754 | local ChainLink = Instance.new("Beam",torso)
| |
| 3755 | ChainLink.Texture = "rbxassetid://134532208" | |
| 3756 | ChainLink.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
| 3757 | ChainLink.TextureSpeed = 5 | |
| 3758 | ChainLink.Width0 = 200 | |
| 3759 | ChainLink.Width1 = 200 | |
| 3760 | ChainLink.TextureLength = 9.5 | |
| 3761 | ChainLink.Attachment0 = START | |
| 3762 | ChainLink.Attachment1 = END | |
| 3763 | ChainLink.CurveSize0 = TWIST | |
| 3764 | ChainLink.CurveSize1 = TWIST | |
| 3765 | --ChainLink.FaceCamera = true | |
| 3766 | ChainLink.Segments = 185 | |
| 3767 | ChainLink.Transparency = NumberSequence.new(0.5) | |
| 3768 | table.insert(CHAINLINKS,ChainLink) | |
| 3769 | end | |
| 3770 | for _, c in pairs(char:GetDescendants()) do | |
| 3771 | if c and c.Parent then | |
| 3772 | if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then | |
| 3773 | if c:FindFirstChildOfClass("SpecialMesh") then
| |
| 3774 | c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
| |
| 3775 | ||
| 3776 | c.Material = "Glass" | |
| 3777 | end | |
| 3778 | ||
| 3779 | end | |
| 3780 | end | |
| 3781 | end | |
| 3782 | ||
| 3783 | local AURU = Instance.new('ParticleEmitter')
| |
| 3784 | AURU.Name = "Aura" | |
| 3785 | AURU.Texture = "rbxassetid://1200947142" | |
| 3786 | AURU.Parent = root | |
| 3787 | AURU.LightEmission = 0.6 | |
| 3788 | AURU.Transparency = NumberSequence.new(0.1,1) | |
| 3789 | AURU.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 3790 | AURU.Size = NumberSequence.new(5,0) | |
| 3791 | AURU.LockedToPart = false | |
| 3792 | AURU.Lifetime = NumberRange.new(1) | |
| 3793 | AURU.Rate = 530 | |
| 3794 | AURU.Speed = NumberRange.new(40) | |
| 3795 | AURU.Rotation = NumberRange.new(-360,360) | |
| 3796 | AURU.EmissionDirection = "Top" | |
| 3797 | AURU.ZOffset = 2 | |
| 3798 | AURU.VelocitySpread = 100 | |
| 3799 | AURU.RotSpeed = NumberRange.new(-100,100) | |
| 3800 | ||
| 3801 | wait(10) | |
| 3802 | AURU.Acceleration = Vector3.new(0,250,0) | |
| 3803 | AURU.Rate = 230 | |
| 3804 | wait(1) | |
| 3805 | coroutine.resume(coroutine.create(function() | |
| 3806 | for i = 1,130 do | |
| 3807 | CamShakeAll(32,180,torso) | |
| 3808 | game:GetService("RunService").RenderStepped:wait()
| |
| 3809 | end | |
| 3810 | end)) | |
| 3811 | AURU.Size = NumberSequence.new(10,0) | |
| 3812 | wait(1) | |
| 3813 | coroutine.resume(coroutine.create(function() | |
| 3814 | for i = 1,30 do | |
| 3815 | CamShakeAll(32,200,torso) | |
| 3816 | game:GetService("RunService").RenderStepped:wait()
| |
| 3817 | end | |
| 3818 | end)) | |
| 3819 | AURU.Size = NumberSequence.new(20,0) | |
| 3820 | wait(1) | |
| 3821 | coroutine.resume(coroutine.create(function() | |
| 3822 | for i = 1,970 do | |
| 3823 | CamShakeAll(32,490,torso) | |
| 3824 | game:GetService("RunService").RenderStepped:wait()
| |
| 3825 | end | |
| 3826 | end)) | |
| 3827 | ||
| 3828 | ||
| 3829 | AURU.Size = NumberSequence.new(30,80) | |
| 3830 | Auura.Pitch = 1.5 | |
| 3831 | Auura.Volume = 10 | |
| 3832 | AURU.VelocitySpread = 100 | |
| 3833 | wait(7) | |
| 3834 | AURU.Rate = 100 | |
| 3835 | AURU.Size = NumberSequence.new(50,0) | |
| 3836 | AURU.Lifetime = NumberRange.new(100) | |
| 3837 | AURU.Acceleration = Vector3.new(0,0,0) | |
| 3838 | AURU.Speed = NumberRange.new(7) | |
| 3839 | ||
| 3840 | ||
| 3841 | ||
| 3842 | ||
| 3843 | wait(18) | |
| 3844 | local Grab = Instance.new("Part",hed)
| |
| 3845 | Grab.Size = Vector3.new(3.9,5,3.9) | |
| 3846 | Grab.CanCollide = false | |
| 3847 | Grab.BrickColor = BrickColor.new("Deep orange")
| |
| 3848 | Grab.Transparency = 1 | |
| 3849 | local Grabo = Instance.new("Weld",Grab)
| |
| 3850 | Grabo.Part0 = hed | |
| 3851 | Grabo.Part1 = Grab | |
| 3852 | Grabo.C0 = CFrame.new(0,-1.5,0) | |
| 3853 | ||
| 3854 | local AuraB = Instance.new("Part",hed)
| |
| 3855 | AuraB.Size = Vector3.new(2,1,2) | |
| 3856 | AuraB.CanCollide = false | |
| 3857 | AuraB.BrickColor = BrickColor.new("Deep orange")
| |
| 3858 | AuraB.Transparency = 1 | |
| 3859 | local AuraBo = Instance.new("Weld",AuraB)
| |
| 3860 | AuraBo.Part0 = hed | |
| 3861 | AuraBo.Part1 = AuraB | |
| 3862 | AuraBo.C0 = CFrame.new(0,-3.6,0) | |
| 3863 | ||
| 3864 | local FZcharge3 = Instance.new("ParticleEmitter",Grab)
| |
| 3865 | FZcharge3.Texture = "rbxassetid://1460362359" | |
| 3866 | FZcharge3.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) | |
| 3867 | FZcharge3.EmissionDirection = "Top" | |
| 3868 | FZcharge3.Speed = NumberRange.new(2) | |
| 3869 | FZcharge3.Size = NumberSequence.new(0.4,0) | |
| 3870 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
| 3871 | FZcharge3.Drag = 1.2 | |
| 3872 | FZcharge3.LockedToPart = true | |
| 3873 | FZcharge3.Lifetime = NumberRange.new(1) | |
| 3874 | FZcharge3.Rate = 35 | |
| 3875 | FZcharge3.LightEmission = 0.3 | |
| 3876 | FZcharge3.Rotation = NumberRange.new(-5,5) | |
| 3877 | FZcharge3.VelocitySpread = 0.2 | |
| 3878 | FZcharge3.ZOffset = 2.5 | |
| 3879 | Auura:Destroy() | |
| 3880 | canattack = true | |
| 3881 | canidle = true | |
| 3882 | canwalk = true | |
| 3883 | transforming3 = false | |
| 3884 | wait(0.1) | |
| 3885 | local Auura = Instance.new("Sound",hed)
| |
| 3886 | Auura.SoundId = "rbxassetid://1504498051" | |
| 3887 | Auura.Pitch = 1 | |
| 3888 | Auura.Looped = true | |
| 3889 | Auura.Volume = 8 | |
| 3890 | Auura:Play() | |
| 3891 | AURU.Rate = 0 | |
| 3892 | UltraInstinct:Stop() | |
| 3893 | wait(0.1) | |
| 3894 | local Flame = Instance.new("ParticleEmitter",torso)
| |
| 3895 | Flame.Texture = "rbxassetid://1332922037" | |
| 3896 | Flame.Color = ColorSequence.new(BrickColor.new("Dark blue").Color)
| |
| 3897 | Flame.EmissionDirection = "Top" | |
| 3898 | Flame.Speed = NumberRange.new(3) | |
| 3899 | Flame.Size = NumberSequence.new(5.5,4) | |
| 3900 | Flame.Transparency = NumberSequence.new(0.8,1) | |
| 3901 | Flame.Drag = 0.4 | |
| 3902 | Flame.LightInfluence = 0 | |
| 3903 | Flame.LockedToPart = true | |
| 3904 | Flame.Lifetime = NumberRange.new(1) | |
| 3905 | Flame.Rate = 45 | |
| 3906 | Flame.LightEmission = 1 | |
| 3907 | Flame.Rotation = NumberRange.new(-5,5) | |
| 3908 | Flame.VelocitySpread = 100 | |
| 3909 | Flame.Acceleration = Vector3.new(0,17,0) | |
| 3910 | Flame.ZOffset = -1.1 | |
| 3911 | local Aura = Instance.new("ParticleEmitter",rarm)
| |
| 3912 | Aura.Texture = "rbxassetid://1207853932" | |
| 3913 | Aura.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
| 3914 | Aura.EmissionDirection = "Top" | |
| 3915 | Aura.Speed = NumberRange.new(1) | |
| 3916 | Aura.Size = NumberSequence.new(1.2) | |
| 3917 | Aura.Transparency = NumberSequence.new(0.6,1) | |
| 3918 | Aura.Drag = 0.4 | |
| 3919 | Aura.LightInfluence = 0 | |
| 3920 | Aura.LockedToPart = true | |
| 3921 | Aura.Lifetime = NumberRange.new(1.2) | |
| 3922 | Aura.Rate = 18 | |
| 3923 | Aura.LightEmission = 1 | |
| 3924 | Aura.Rotation = NumberRange.new(-360,360) | |
| 3925 | Aura.VelocitySpread = 0 | |
| 3926 | Aura.Acceleration = Vector3.new(0,0,0) | |
| 3927 | Aura.ZOffset = 0.2 | |
| 3928 | local Aura2 = Instance.new("ParticleEmitter",larm)
| |
| 3929 | Aura2.Texture = "rbxassetid://1207853932" | |
| 3930 | Aura2.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
| 3931 | Aura2.EmissionDirection = "Top" | |
| 3932 | Aura2.Speed = NumberRange.new(1) | |
| 3933 | Aura2.Size = NumberSequence.new(1.2) | |
| 3934 | Aura2.Transparency = NumberSequence.new(0.6,1) | |
| 3935 | Aura2.Drag = 0.4 | |
| 3936 | Aura2.LightInfluence = 0 | |
| 3937 | Aura2.LockedToPart = true | |
| 3938 | Aura2.Lifetime = NumberRange.new(1.2) | |
| 3939 | Aura2.Rate = 18 | |
| 3940 | Aura2.LightEmission = 1 | |
| 3941 | Aura2.Rotation = NumberRange.new(-360,360) | |
| 3942 | Aura2.VelocitySpread = 0 | |
| 3943 | Aura2.Acceleration = Vector3.new(0,0,0) | |
| 3944 | Aura2.ZOffset = 0.2 | |
| 3945 | local Aura3 = Instance.new("ParticleEmitter",torso)
| |
| 3946 | Aura3.Texture = "rbxassetid://1207853932" | |
| 3947 | Aura3.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
| 3948 | Aura3.EmissionDirection = "Top" | |
| 3949 | Aura3.Speed = NumberRange.new(1) | |
| 3950 | Aura3.Size = NumberSequence.new(1.2) | |
| 3951 | Aura3.Transparency = NumberSequence.new(0.6,1) | |
| 3952 | Aura3.Drag = 0.4 | |
| 3953 | Aura3.LightInfluence = 0 | |
| 3954 | Aura3.LockedToPart = true | |
| 3955 | Aura3.Lifetime = NumberRange.new(1.2) | |
| 3956 | Aura3.Rate = 18 | |
| 3957 | Aura3.LightEmission = 1 | |
| 3958 | Aura3.Rotation = NumberRange.new(-360,360) | |
| 3959 | Aura3.VelocitySpread = 0 | |
| 3960 | Aura3.Acceleration = Vector3.new(0,0,0) | |
| 3961 | Aura3.ZOffset = 0.2 | |
| 3962 | local Aura4 = Instance.new("ParticleEmitter",hed)
| |
| 3963 | Aura4.Texture = "rbxassetid://1207853932" | |
| 3964 | Aura4.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
| 3965 | Aura4.EmissionDirection = "Top" | |
| 3966 | Aura4.Speed = NumberRange.new(1) | |
| 3967 | Aura4.Size = NumberSequence.new(1.2) | |
| 3968 | Aura4.Transparency = NumberSequence.new(0.6,1) | |
| 3969 | Aura4.Drag = 0.4 | |
| 3970 | Aura4.LightInfluence = 0 | |
| 3971 | Aura4.LockedToPart = true | |
| 3972 | Aura4.Lifetime = NumberRange.new(1.2) | |
| 3973 | Aura4.Rate = 18 | |
| 3974 | Aura4.LightEmission = 1 | |
| 3975 | Aura4.Rotation = NumberRange.new(-360,360) | |
| 3976 | Aura4.VelocitySpread = 0 | |
| 3977 | Aura4.Acceleration = Vector3.new(0,0,0) | |
| 3978 | Aura4.ZOffset = 0.2 | |
| 3979 | local Aura5 = Instance.new("ParticleEmitter",torso)
| |
| 3980 | Aura5.Texture = "rbxassetid://242255193" | |
| 3981 | Aura5.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
| 3982 | Aura5.EmissionDirection = "Top" | |
| 3983 | Aura5.Speed = NumberRange.new(4) | |
| 3984 | Aura5.Size = NumberSequence.new(4) | |
| 3985 | Aura5.Transparency = NumberSequence.new(0.9,1) | |
| 3986 | Aura5.Drag = 0.4 | |
| 3987 | Aura5.LightInfluence = 0 | |
| 3988 | Aura5.LockedToPart = true | |
| 3989 | Aura5.Lifetime = NumberRange.new(2) | |
| 3990 | Aura5.Rate = 18 | |
| 3991 | Aura5.LightEmission = 1 | |
| 3992 | Aura5.Rotation = NumberRange.new(-360,360) | |
| 3993 | Aura5.VelocitySpread = 1 | |
| 3994 | Aura5.Acceleration = Vector3.new(0,0,0) | |
| 3995 | Aura5.ZOffset = 2 | |
| 3996 | local Aura6 = Instance.new("ParticleEmitter",lleg)
| |
| 3997 | Aura6.Texture = "rbxassetid://1207853932" | |
| 3998 | Aura6.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
| 3999 | Aura6.EmissionDirection = "Top" | |
| 4000 | Aura6.Speed = NumberRange.new(1) | |
| 4001 | Aura6.Size = NumberSequence.new(1.2) | |
| 4002 | Aura6.Transparency = NumberSequence.new(0.6,1) | |
| 4003 | Aura6.Drag = 0.4 | |
| 4004 | Aura6.LightInfluence = 0 | |
| 4005 | Aura6.LockedToPart = true | |
| 4006 | Aura6.Lifetime = NumberRange.new(1.2) | |
| 4007 | Aura6.Rate = 18 | |
| 4008 | Aura6.LightEmission = 1 | |
| 4009 | Aura6.Rotation = NumberRange.new(-360,360) | |
| 4010 | Aura6.VelocitySpread = 0 | |
| 4011 | Aura6.Acceleration = Vector3.new(0,0,0) | |
| 4012 | Aura6.ZOffset = 0.2 | |
| 4013 | local Aura7 = Instance.new("ParticleEmitter",rleg)
| |
| 4014 | Aura7.Texture = "rbxassetid://1207853932" | |
| 4015 | Aura7.Color = ColorSequence.new(Color3.fromRGB(0, 255, 255)) | |
| 4016 | Aura7.EmissionDirection = "Top" | |
| 4017 | Aura7.Speed = NumberRange.new(1) | |
| 4018 | Aura7.Size = NumberSequence.new(1.2) | |
| 4019 | Aura7.Transparency = NumberSequence.new(0.6,1) | |
| 4020 | Aura7.Drag = 0.4 | |
| 4021 | Aura7.LightInfluence = 0 | |
| 4022 | Aura7.LockedToPart = true | |
| 4023 | Aura7.Lifetime = NumberRange.new(1.2) | |
| 4024 | Aura7.Rate = 18 | |
| 4025 | Aura7.LightEmission = 1 | |
| 4026 | Aura7.Rotation = NumberRange.new(-360,360) | |
| 4027 | Aura7.VelocitySpread = 0 | |
| 4028 | Aura7.Acceleration = Vector3.new(0,0,0) | |
| 4029 | Aura7.ZOffset = 0.2 | |
| 4030 | local UltraInstinct = Instance.new("Sound",torso)
| |
| 4031 | UltraInstinct.SoundId = "rbxassetid://1475916014" | |
| 4032 | UltraInstinct.Pitch = 1 | |
| 4033 | UltraInstinct.Looped = false | |
| 4034 | UltraInstinct.Volume = 10 | |
| 4035 | UltraInstinct:Play() | |
| 4036 | hum.WalkSpeed = 20 | |
| 4037 | instinct = true | |
| 4038 | for i, v in pairs(torso:GetChildren()) do | |
| 4039 | if v:IsA("Beam")then
| |
| 4040 | v:Remove() | |
| 4041 | end | |
| 4042 | end | |
| 4043 | for i, v in pairs(torso:GetChildren()) do | |
| 4044 | if v:IsA("PointLight")then
| |
| 4045 | v:Remove() | |
| 4046 | end | |
| 4047 | end | |
| 4048 | local Grab = Instance.new("Part",hed)
| |
| 4049 | Grab.Size = Vector3.new(3.9,5,3.9) | |
| 4050 | Grab.CanCollide = false | |
| 4051 | Grab.BrickColor = BrickColor.new("Deep orange")
| |
| 4052 | Grab.Transparency = 1 | |
| 4053 | local Grabo = Instance.new("Weld",Grab)
| |
| 4054 | Grabo.Part0 = hed | |
| 4055 | Grabo.Part1 = Grab | |
| 4056 | Grabo.C0 = CFrame.new(0,-1.5,0) | |
| 4057 | ||
| 4058 | local AuraB = Instance.new("Part",hed)
| |
| 4059 | AuraB.Size = Vector3.new(2,1,2) | |
| 4060 | AuraB.CanCollide = false | |
| 4061 | AuraB.BrickColor = BrickColor.new("Deep orange")
| |
| 4062 | AuraB.Transparency = 1 | |
| 4063 | local AuraBo = Instance.new("Weld",AuraB)
| |
| 4064 | AuraBo.Part0 = hed | |
| 4065 | AuraBo.Part1 = AuraB | |
| 4066 | AuraBo.C0 = CFrame.new(0,-3.6,0) | |
| 4067 | local FZcharge3 = Instance.new("ParticleEmitter",Grab)
| |
| 4068 | FZcharge3.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) | |
| 4069 | FZcharge3.EmissionDirection = "Top" | |
| 4070 | FZcharge3.Speed = NumberRange.new(2) | |
| 4071 | FZcharge3.Size = NumberSequence.new(0.6,0) | |
| 4072 | FZcharge3.Transparency = NumberSequence.new(0,1) | |
| 4073 | FZcharge3.Drag = 1.2 | |
| 4074 | FZcharge3.LockedToPart = true | |
| 4075 | FZcharge3.Lifetime = NumberRange.new(1) | |
| 4076 | FZcharge3.Rate = 55 | |
| 4077 | FZcharge3.LightEmission = 0.3 | |
| 4078 | FZcharge3.Rotation = NumberRange.new(-5,5) | |
| 4079 | FZcharge3.VelocitySpread = 0.2 | |
| 4080 | FZcharge3.ZOffset = 3.5 | |
| 4081 | FZcharge3.Texture = "rbxassetid://1509406387" | |
| 4082 | FZcharge3.Speed = NumberRange.new(0) | |
| 4083 | FZcharge3.Lifetime = NumberRange.new(0.5) | |
| 4084 | FZcharge3.Rotation = NumberRange.new(-360,360) | |
| 4085 | FZcharge3.RotSpeed = NumberRange.new(-300,300) | |
| 4086 | ||
| 4087 | end | |
| 4088 | end) | |
| 4089 | ||
| 4090 | ||
| 4091 | ||
| 4092 | ||
| 4093 | ||
| 4094 | mouse.KeyDown:connect(function(key) | |
| 4095 | if key == "u" and base == true and transformed == false then | |
| 4096 | ||
| 4097 | canattack = false | |
| 4098 | canidle = false | |
| 4099 | canwalk = false | |
| 4100 | hum.WalkSpeed = 0 | |
| 4101 | transformed = true | |
| 4102 | ||
| 4103 | local UltraInstinct = Instance.new("Sound",char)
| |
| 4104 | UltraInstinct.SoundId = "rbxassetid://1649969788" | |
| 4105 | UltraInstinct.Pitch = 1 | |
| 4106 | UltraInstinct.Looped = false | |
| 4107 | UltraInstinct.Volume = 4.5 | |
| 4108 | UltraInstinct:Play() | |
| 4109 | ||
| 4110 | wait(1) | |
| 4111 | ||
| 4112 | coroutine.resume(coroutine.create(function() | |
| 4113 | for i = 1,450 do | |
| 4114 | CamShakeAll(32,270,torso) | |
| 4115 | game:GetService("RunService").RenderStepped:wait()
| |
| 4116 | end | |
| 4117 | end)) | |
| 4118 | ||
| 4119 | hed:FindFirstChildOfClass("Decal").Texture = "http://www.roblox.com/asset/?id=1142979747"
| |
| 4120 | coroutine.resume(coroutine.create(function() | |
| 4121 | for i = 1,1000000000 do | |
| 4122 | hed:FindFirstChildOfClass("Decal").Texture = "http://www.roblox.com/asset/?id=1142979747"
| |
| 4123 | wait(5) | |
| 4124 | hed:FindFirstChildOfClass("Decal").Texture = "http://www.roblox.com/asset/?id=1142979747"
| |
| 4125 | wait(0.1) | |
| 4126 | hed:FindFirstChildOfClass("Decal").Texture = "http://www.roblox.com/asset/?id=1142979747"
| |
| 4127 | coroutine.resume(coroutine.create(function() | |
| 4128 | for i = 1,90 do | |
| 4129 | ||
| 4130 | ||
| 4131 | wait(0.00000000001) | |
| 4132 | end | |
| 4133 | ||
| 4134 | ||
| 4135 | end)) | |
| 4136 | wait(0.3) | |
| 4137 | end | |
| 4138 | end)) | |
| 4139 | local Grab = Instance.new("Part",hed)
| |
| 4140 | Grab.Size = Vector3.new(4.9,0.1,4.9) | |
| 4141 | Grab.CanCollide = false | |
| 4142 | Grab.BrickColor = BrickColor.new("Deep orange")
| |
| 4143 | Grab.Transparency = 1 | |
| 4144 | local Grabo = Instance.new("Weld",Grab)
| |
| 4145 | Grabo.Part0 = hed | |
| 4146 | Grabo.Part1 = Grab | |
| 4147 | Grabo.C0 = CFrame.new(0,-4,0) | |
| 4148 | ||
| 4149 | local AuraB = Instance.new("Part",hed)
| |
| 4150 | AuraB.Size = Vector3.new(2,1,2) | |
| 4151 | AuraB.CanCollide = false | |
| 4152 | AuraB.BrickColor = BrickColor.new("Deep orange")
| |
| 4153 | AuraB.Transparency = 1 | |
| 4154 | local AuraBo = Instance.new("Weld",AuraB)
| |
| 4155 | AuraBo.Part0 = hed | |
| 4156 | AuraBo.Part1 = AuraB | |
| 4157 | AuraBo.C0 = CFrame.new(0,-3.6,0) | |
| 4158 | ||
| 4159 | ||
| 4160 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
| 4161 | if par then | |
| 4162 | local cfremz = CFrame.new(loc) | |
| 4163 | debris(cfremz, par, 50) | |
| 4164 | end | |
| 4165 | local Smoke = Instance.new('ParticleEmitter')
| |
| 4166 | Smoke.Name = "Aura" | |
| 4167 | Smoke.Texture = "rbxassetid://242201991" | |
| 4168 | Smoke.Parent = Grab | |
| 4169 | Smoke.LightEmission = 0 | |
| 4170 | Smoke.Transparency = NumberSequence.new(0.3,1) | |
| 4171 | Smoke.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color)
| |
| 4172 | Smoke.Size = NumberSequence.new(0,10) | |
| 4173 | Smoke.LockedToPart = false | |
| 4174 | Smoke.Lifetime = NumberRange.new(1) | |
| 4175 | Smoke.Rate = 48 | |
| 4176 | Smoke.Speed = NumberRange.new(40) | |
| 4177 | Smoke.Rotation = NumberRange.new(-360,360) | |
| 4178 | Smoke.EmissionDirection = "Left" | |
| 4179 | Smoke.ZOffset = 0 | |
| 4180 | local Smoke2 = Instance.new('ParticleEmitter')
| |
| 4181 | Smoke2.Name = "Aura" | |
| 4182 | Smoke2.Texture = "rbxassetid://242201991" | |
| 4183 | Smoke2.Parent = Grab | |
| 4184 | Smoke2.LightEmission = 0 | |
| 4185 | Smoke2.Transparency = NumberSequence.new(0.3,1) | |
| 4186 | Smoke2.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color)
| |
| 4187 | Smoke2.Size = NumberSequence.new(0,10) | |
| 4188 | Smoke2.LockedToPart = false | |
| 4189 | Smoke2.Lifetime = NumberRange.new(1) | |
| 4190 | Smoke2.Rate = 48 | |
| 4191 | Smoke2.Speed = NumberRange.new(40) | |
| 4192 | Smoke2.Rotation = NumberRange.new(-360,360) | |
| 4193 | Smoke2.EmissionDirection = "Right" | |
| 4194 | Smoke2.ZOffset = 0 | |
| 4195 | local Smoke3 = Instance.new('ParticleEmitter')
| |
| 4196 | Smoke3.Name = "Aura" | |
| 4197 | Smoke3.Texture = "rbxassetid://242201991" | |
| 4198 | Smoke3.Parent = Grab | |
| 4199 | Smoke3.LightEmission = 0 | |
| 4200 | Smoke3.Transparency = NumberSequence.new(0.3,1) | |
| 4201 | Smoke3.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color)
| |
| 4202 | Smoke3.Size = NumberSequence.new(0,10) | |
| 4203 | Smoke3.LockedToPart = false | |
| 4204 | Smoke3.Lifetime = NumberRange.new(1) | |
| 4205 | Smoke3.Rate = 48 | |
| 4206 | Smoke3.Speed = NumberRange.new(40) | |
| 4207 | Smoke3.Rotation = NumberRange.new(-360,360) | |
| 4208 | Smoke3.EmissionDirection = "Front" | |
| 4209 | Smoke3.ZOffset = 0 | |
| 4210 | local Smoke4 = Instance.new('ParticleEmitter')
| |
| 4211 | Smoke4.Name = "Aura" | |
| 4212 | Smoke4.Texture = "rbxassetid://242201991" | |
| 4213 | Smoke4.Parent = Grab | |
| 4214 | Smoke4.LightEmission = 0 | |
| 4215 | Smoke4.Transparency = NumberSequence.new(0.3,1) | |
| 4216 | Smoke4.Color = ColorSequence.new(BrickColor.new("Dirt brown").Color)
| |
| 4217 | Smoke4.Size = NumberSequence.new(0,10) | |
| 4218 | Smoke4.LockedToPart = false | |
| 4219 | Smoke4.Lifetime = NumberRange.new(1) | |
| 4220 | Smoke4.Rate = 48 | |
| 4221 | Smoke4.Speed = NumberRange.new(40) | |
| 4222 | Smoke4.Rotation = NumberRange.new(-360,360) | |
| 4223 | Smoke4.EmissionDirection = "Back" | |
| 4224 | Smoke4.ZOffset = 0 | |
| 4225 | ||
| 4226 | ||
| 4227 | local Aura = Instance.new("ParticleEmitter",torso)
| |
| 4228 | Aura.Texture = "rbxassetid://243728206" | |
| 4229 | Aura.Color = ColorSequence.new(Color3.fromRGB(114, 255, 246)) | |
| 4230 | Aura.EmissionDirection = "Top" | |
| 4231 | Aura.Speed = NumberRange.new(0) | |
| 4232 | Aura.Size = NumberSequence.new(60,70) | |
| 4233 | Aura.Transparency = NumberSequence.new(0) | |
| 4234 | Aura.Drag = 0.4 | |
| 4235 | Aura.LightInfluence = 0 | |
| 4236 | Aura.LockedToPart = true | |
| 4237 | Aura.Lifetime = NumberRange.new(1) | |
| 4238 | Aura.Rate = 38 | |
| 4239 | Aura.LightEmission = 1 | |
| 4240 | Aura.Rotation = NumberRange.new(-360,360) | |
| 4241 | Aura.VelocitySpread = 0 | |
| 4242 | Aura.Acceleration = Vector3.new(0,0,0) | |
| 4243 | Aura.ZOffset = 2.5 | |
| 4244 | Aura.RotSpeed = NumberRange.new(-100,100) | |
| 4245 | ||
| 4246 | local Aura2 = Instance.new("ParticleEmitter",torso)
| |
| 4247 | Aura2.Texture = "rbxassetid://434298892" | |
| 4248 | Aura2.Color = ColorSequence.new(Color3.fromRGB(114, 255, 246)) | |
| 4249 | Aura2.EmissionDirection = "Top" | |
| 4250 | Aura2.Speed = NumberRange.new(110) | |
| 4251 | Aura2.Size = NumberSequence.new(30) | |
| 4252 | Aura2.Transparency = NumberSequence.new(0) | |
| 4253 | Aura2.Drag = 0.4 | |
| 4254 | Aura2.LightInfluence = 0 | |
| 4255 | Aura2.LockedToPart = true | |
| 4256 | Aura2.Lifetime = NumberRange.new(5) | |
| 4257 | Aura2.Rate = 78 | |
| 4258 | Aura2.LightEmission = 1 | |
| 4259 | Aura2.Rotation = NumberRange.new(-5,5) | |
| 4260 | Aura2.VelocitySpread = 0 | |
| 4261 | Aura2.Acceleration = Vector3.new(0,0,0) | |
| 4262 | Aura2.ZOffset = 2.5 | |
| 4263 | ||
| 4264 | coroutine.resume(coroutine.create(function() | |
| 4265 | for i = 1,1450 do | |
| 4266 | CamShakeAll(5,65,torso) | |
| 4267 | game:GetService("RunService").RenderStepped:wait()
| |
| 4268 | end | |
| 4269 | end)) | |
| 4270 | wait(10) | |
| 4271 | Aura.Rate = 0 | |
| 4272 | Aura2.Rate = 0 | |
| 4273 | wait(0.1) | |
| 4274 | local SFXZ = Instance.new("Sound",hed)
| |
| 4275 | SFXZ.SoundId = "rbxassetid://1419716650" | |
| 4276 | SFXZ.Volume = 15 | |
| 4277 | SFXZ.Pitch = 1.1 | |
| 4278 | SFXZ.Looped = false | |
| 4279 | SFXZ:Play() | |
| 4280 | local AURU = Instance.new('ParticleEmitter')
| |
| 4281 | AURU.Name = "Aura" | |
| 4282 | AURU.Texture = "rbxassetid://1200947142" | |
| 4283 | AURU.Parent = root | |
| 4284 | AURU.LightEmission = 0.6 | |
| 4285 | AURU.Transparency = NumberSequence.new(0.1,1) | |
| 4286 | AURU.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 4287 | AURU.Size = NumberSequence.new(10,20) | |
| 4288 | AURU.LockedToPart = true | |
| 4289 | AURU.Lifetime = NumberRange.new(1) | |
| 4290 | AURU.Rate = 530 | |
| 4291 | AURU.Speed = NumberRange.new(40) | |
| 4292 | AURU.Rotation = NumberRange.new(-360,360) | |
| 4293 | AURU.EmissionDirection = "Top" | |
| 4294 | AURU.ZOffset = -1 | |
| 4295 | wait(0.1) | |
| 4296 | AURU.Rate = 1200 | |
| 4297 | AURU.VelocitySpread = 100 | |
| 4298 | wait(0.5) | |
| 4299 | AURU.Rate = 0 | |
| 4300 | local Aura = Instance.new("ParticleEmitter",rarm)
| |
| 4301 | Aura.Texture = "rbxassetid://1207853932" | |
| 4302 | Aura.Color = ColorSequence.new(Color3.fromRGB(33, 54, 255)) | |
| 4303 | Aura.EmissionDirection = "Top" | |
| 4304 | Aura.Speed = NumberRange.new(1) | |
| 4305 | Aura.Size = NumberSequence.new(1.2) | |
| 4306 | Aura.Transparency = NumberSequence.new(0,1) | |
| 4307 | Aura.Drag = 0.4 | |
| 4308 | Aura.LightInfluence = 0 | |
| 4309 | Aura.LockedToPart = true | |
| 4310 | Aura.Lifetime = NumberRange.new(1.2) | |
| 4311 | Aura.Rate = 48 | |
| 4312 | Aura.LightEmission = 1 | |
| 4313 | Aura.Rotation = NumberRange.new(-360,360) | |
| 4314 | Aura.VelocitySpread = 0 | |
| 4315 | Aura.Acceleration = Vector3.new(0,0,0) | |
| 4316 | Aura.ZOffset = 0.2 | |
| 4317 | local Aura2 = Instance.new("ParticleEmitter",larm)
| |
| 4318 | Aura2.Texture = "rbxassetid://1207853932" | |
| 4319 | Aura2.Color = ColorSequence.new(Color3.fromRGB(33, 54, 255)) | |
| 4320 | Aura2.EmissionDirection = "Top" | |
| 4321 | Aura2.Speed = NumberRange.new(1) | |
| 4322 | Aura2.Size = NumberSequence.new(1.2) | |
| 4323 | Aura2.Transparency = NumberSequence.new(0,1) | |
| 4324 | Aura2.Drag = 0.4 | |
| 4325 | Aura2.LightInfluence = 0 | |
| 4326 | Aura2.LockedToPart = true | |
| 4327 | Aura2.Lifetime = NumberRange.new(1.2) | |
| 4328 | Aura2.Rate = 48 | |
| 4329 | Aura2.LightEmission = 1 | |
| 4330 | Aura2.Rotation = NumberRange.new(-360,360) | |
| 4331 | Aura2.VelocitySpread = 0 | |
| 4332 | Aura2.Acceleration = Vector3.new(0,0,0) | |
| 4333 | Aura2.ZOffset = 0.2 | |
| 4334 | local Aura3 = Instance.new("ParticleEmitter",torso)
| |
| 4335 | Aura3.Texture = "rbxassetid://1207853932" | |
| 4336 | Aura3.Color = ColorSequence.new(Color3.fromRGB(33, 54, 255)) | |
| 4337 | Aura3.EmissionDirection = "Top" | |
| 4338 | Aura3.Speed = NumberRange.new(1) | |
| 4339 | Aura3.Size = NumberSequence.new(1.2) | |
| 4340 | Aura3.Transparency = NumberSequence.new(0,1) | |
| 4341 | Aura3.Drag = 0.4 | |
| 4342 | Aura3.LightInfluence = 0 | |
| 4343 | Aura3.LockedToPart = true | |
| 4344 | Aura3.Lifetime = NumberRange.new(1.2) | |
| 4345 | Aura3.Rate = 48 | |
| 4346 | Aura3.LightEmission = 1 | |
| 4347 | Aura3.Rotation = NumberRange.new(-360,360) | |
| 4348 | Aura3.VelocitySpread = 0 | |
| 4349 | Aura3.Acceleration = Vector3.new(0,0,0) | |
| 4350 | Aura3.ZOffset = 0.2 | |
| 4351 | local Aura4 = Instance.new("ParticleEmitter",hed)
| |
| 4352 | Aura4.Texture = "rbxassetid://1207853932" | |
| 4353 | Aura4.Color = ColorSequence.new(Color3.fromRGB(33, 54, 255)) | |
| 4354 | Aura4.EmissionDirection = "Top" | |
| 4355 | Aura4.Speed = NumberRange.new(1) | |
| 4356 | Aura4.Size = NumberSequence.new(1.2) | |
| 4357 | Aura4.Transparency = NumberSequence.new(0,1) | |
| 4358 | Aura4.Drag = 0.4 | |
| 4359 | Aura4.LightInfluence = 0 | |
| 4360 | Aura4.LockedToPart = true | |
| 4361 | Aura4.Lifetime = NumberRange.new(1.2) | |
| 4362 | Aura4.Rate = 48 | |
| 4363 | Aura4.LightEmission = 1 | |
| 4364 | Aura4.Rotation = NumberRange.new(-360,360) | |
| 4365 | Aura4.VelocitySpread = 0 | |
| 4366 | Aura4.Acceleration = Vector3.new(0,0,0) | |
| 4367 | Aura4.ZOffset = 0.2 | |
| 4368 | local Aura5 = Instance.new("ParticleEmitter",torso)
| |
| 4369 | Aura5.Texture = "rbxassetid://242255193" | |
| 4370 | Aura5.Color = ColorSequence.new(Color3.fromRGB(85, 170, 255)) | |
| 4371 | Aura5.EmissionDirection = "Top" | |
| 4372 | Aura5.Speed = NumberRange.new(1) | |
| 4373 | Aura5.Size = NumberSequence.new(3) | |
| 4374 | Aura5.Transparency = NumberSequence.new(0.9,1) | |
| 4375 | Aura5.Drag = 0.4 | |
| 4376 | Aura5.LightInfluence = 0 | |
| 4377 | Aura5.LockedToPart = true | |
| 4378 | Aura5.Lifetime = NumberRange.new(4) | |
| 4379 | Aura5.Rate = 28 | |
| 4380 | Aura5.LightEmission = 1 | |
| 4381 | Aura5.Rotation = NumberRange.new(-360,360) | |
| 4382 | Aura5.VelocitySpread = 1 | |
| 4383 | Aura5.Acceleration = Vector3.new(0,0,0) | |
| 4384 | Aura5.ZOffset = 2 | |
| 4385 | local Aura6 = Instance.new("ParticleEmitter",lleg)
| |
| 4386 | Aura6.Texture = "rbxassetid://1207853932" | |
| 4387 | Aura6.Color = ColorSequence.new(Color3.fromRGB(33, 54, 255)) | |
| 4388 | Aura6.EmissionDirection = "Top" | |
| 4389 | Aura6.Speed = NumberRange.new(1) | |
| 4390 | Aura6.Size = NumberSequence.new(1.2) | |
| 4391 | Aura6.Transparency = NumberSequence.new(0,1) | |
| 4392 | Aura6.Drag = 0.4 | |
| 4393 | Aura6.LightInfluence = 0 | |
| 4394 | Aura6.LockedToPart = true | |
| 4395 | Aura6.Lifetime = NumberRange.new(1.2) | |
| 4396 | Aura6.Rate = 48 | |
| 4397 | Aura6.LightEmission = 1 | |
| 4398 | Aura6.Rotation = NumberRange.new(-360,360) | |
| 4399 | Aura6.VelocitySpread = 0 | |
| 4400 | Aura6.Acceleration = Vector3.new(0,0,0) | |
| 4401 | Aura6.ZOffset = 0.2 | |
| 4402 | local Aura7 = Instance.new("ParticleEmitter",rleg)
| |
| 4403 | Aura7.Texture = "rbxassetid://1207853932" | |
| 4404 | Aura7.Color = ColorSequence.new(Color3.fromRGB(33, 54, 255)) | |
| 4405 | Aura7.EmissionDirection = "Top" | |
| 4406 | Aura7.Speed = NumberRange.new(1) | |
| 4407 | Aura7.Size = NumberSequence.new(1.2) | |
| 4408 | Aura7.Transparency = NumberSequence.new(0,1) | |
| 4409 | Aura7.Drag = 0.4 | |
| 4410 | Aura7.LightInfluence = 0 | |
| 4411 | Aura7.LockedToPart = true | |
| 4412 | Aura7.Lifetime = NumberRange.new(1.2) | |
| 4413 | Aura7.Rate = 48 | |
| 4414 | Aura7.LightEmission = 1 | |
| 4415 | Aura7.Rotation = NumberRange.new(-360,360) | |
| 4416 | Aura7.VelocitySpread = 0 | |
| 4417 | Aura7.Acceleration = Vector3.new(0,0,0) | |
| 4418 | Aura7.ZOffset = 0.2 | |
| 4419 | local Sparkles = Instance.new("ParticleEmitter",torso)
| |
| 4420 | Sparkles.Texture = "rbxassetid://1084976679" | |
| 4421 | Sparkles.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 4422 | Sparkles.EmissionDirection = "Top" | |
| 4423 | Sparkles.Speed = NumberRange.new(0) | |
| 4424 | Sparkles.Size = NumberSequence.new(2.5) | |
| 4425 | Sparkles.Transparency = NumberSequence.new(0,1) | |
| 4426 | Sparkles.Drag = 0.4 | |
| 4427 | Sparkles.LightInfluence = 0 | |
| 4428 | Sparkles.LockedToPart = true | |
| 4429 | Sparkles.Lifetime = NumberRange.new(0.8) | |
| 4430 | Sparkles.Rate = 60 | |
| 4431 | Sparkles.LightEmission = 1 | |
| 4432 | Sparkles.Rotation = NumberRange.new(-360,360) | |
| 4433 | Sparkles.VelocitySpread = 0 | |
| 4434 | Sparkles.Acceleration = Vector3.new(0,10,0) | |
| 4435 | Sparkles.ZOffset = 1 | |
| 4436 | local Auura = Instance.new("Sound",hed)
| |
| 4437 | Auura.SoundId = "rbxassetid://1179254378" | |
| 4438 | Auura.Pitch = 1 | |
| 4439 | Auura.Looped = true | |
| 4440 | Auura.Volume = 4 | |
| 4441 | Auura:Play() | |
| 4442 | wait(2.5) | |
| 4443 | Smoke.Rate = 0 | |
| 4444 | Smoke2.Rate = 0 | |
| 4445 | Smoke3.Rate = 0 | |
| 4446 | Smoke4.Rate = 0 | |
| 4447 | hum.WalkSpeed = 17 | |
| 4448 | wait(7) | |
| 4449 | ui = true | |
| 4450 | instinct = true | |
| 4451 | transforming2 = false | |
| 4452 | canattack = true | |
| 4453 | canidle = true | |
| 4454 | canwalk = true | |
| 4455 | ||
| 4456 | muiable = true | |
| 4457 | wait(0.6) | |
| 4458 | ||
| 4459 | ||
| 4460 | end | |
| 4461 | end) | |
| 4462 | ||
| 4463 | ||
| 4464 | --Lightning | |
| 4465 | ||
| 4466 | local auranum = 0 | |
| 4467 | local auranum1 = 0 | |
| 4468 | local auranum2 = 0 | |
| 4469 | auranum = math.random(35,65) | |
| 4470 | auranum1 = math.random(-25,0) | |
| 4471 | auranum2 = math.random(10,25) | |
| 4472 | auranum3 = math.random(65,75) | |
| 4473 | auranum4 = math.random(-25,-15) | |
| 4474 | ||
| 4475 | ---------------------------------------------------------------------------------------------- | |
| 4476 | ac = new("Part",char)
| |
| 4477 | ac.Name = "NewPart" | |
| 4478 | ac.Size = v3(0.1,0.1,0.1) | |
| 4479 | ac.Position = v3(999,999,999) | |
| 4480 | ac.BrickColor = bc("bright Blue")
| |
| 4481 | ac.Material = "Neon" | |
| 4482 | ac.Transparency = 1 | |
| 4483 | aaac =new("Weld",ac)
| |
| 4484 | aaac.Part0 = rarm | |
| 4485 | aaac.Part1 = ac | |
| 4486 | aaac.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) | |
| 4487 | aaaac = new("ParticleEmitter",ac)
| |
| 4488 | aaaac.Size = ns(1) | |
| 4489 | aaaac.Rate = 5 | |
| 4490 | aaaac.Texture = "rbxassetid://246381828" | |
| 4491 | aaaac.ZOffset = 1 | |
| 4492 | aaaac.Lifetime = nr(5) | |
| 4493 | aaaac.Transparency = ns(1) | |
| 4494 | aaaac.LockedToPart = true | |
| 4495 | aaaac.Speed = nr(0) | |
| 4496 | aaaawc = new("ParticleEmitter",ac)
| |
| 4497 | aaaawc.Size = ns(5) | |
| 4498 | aaaawc.Rate = 5 | |
| 4499 | aaaawc.Color = ColorSequence.new(Color3.fromRGB(149,190,255)) | |
| 4500 | aaaawc.Texture = "rbxassetid://924710961" | |
| 4501 | aaaawc.ZOffset = -1 | |
| 4502 | aaaawc.Lifetime = nr(5) | |
| 4503 | aaaawc.RotSpeed = nr(50) | |
| 4504 | aaaawc.Transparency = ns(1) | |
| 4505 | aaaawc.LockedToPart = true | |
| 4506 | aaaawc.Speed = nr(0) | |
| 4507 | function weld(parent,part0,part1,c0) | |
| 4508 | local weld=Instance.new("Weld")
| |
| 4509 | weld.Parent=parent | |
| 4510 | weld.Part0=part0 | |
| 4511 | weld.Part1=part1 | |
| 4512 | weld.C0=c0 | |
| 4513 | return weld | |
| 4514 | end | |
| 4515 | function newRay(start,face,range,wat) | |
| 4516 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
| 4517 | hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
| 4518 | return rey,hit,pos | |
| 4519 | end | |
| 4520 | function nooutline(part) | |
| 4521 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 4522 | end | |
| 4523 | function debris(cfremz, thepart, amt) | |
| 4524 | for j = 1, amt do | |
| 4525 | do | |
| 4526 | local pr = Instance.new("Part")
| |
| 4527 | nooutline(pr) | |
| 4528 | pr.Name = "debrisobeb" | |
| 4529 | pr.Anchored = true | |
| 4530 | pr.BrickColor = BrickColor.new("Dark stone grey")
| |
| 4531 | pr.CanCollide = true | |
| 4532 | pr.Material = "Slate" | |
| 4533 | pr.Transparency = 0 | |
| 4534 | pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24)) | |
| 4535 | 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))) | |
| 4536 | pr.Parent = workspace | |
| 4537 | game.Debris:AddItem(pr, 25) | |
| 4538 | delay(15, function() | |
| 4539 | if pr then | |
| 4540 | pr.CanCollide = false | |
| 4541 | pr.Anchored = false | |
| 4542 | end | |
| 4543 | end) | |
| 4544 | end | |
| 4545 | end | |
| 4546 | for c = 1, amt do | |
| 4547 | do | |
| 4548 | local pr2 = Instance.new("Part")
| |
| 4549 | nooutline(pr2) | |
| 4550 | pr2.Name = "moredebr" | |
| 4551 | pr2.Anchored = false | |
| 4552 | pr2.BrickColor = BrickColor.new("Dark stone grey")
| |
| 4553 | pr2.CanCollide = false | |
| 4554 | pr2.Material = "Concrete" | |
| 4555 | pr2.Transparency = 0 | |
| 4556 | pr2.Size = Vector3.new(math.random(3, 6), math.random(4, 7), math.random(1, 5)) | |
| 4557 | 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))) | |
| 4558 | pr2.Parent = workspace | |
| 4559 | pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75)) | |
| 4560 | pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35)) | |
| 4561 | game.Debris:AddItem(pr2, 45) | |
| 4562 | delay(2, function() | |
| 4563 | pr2.CanCollide = true | |
| 4564 | wait(10) | |
| 4565 | if pr2 then | |
| 4566 | pr2.CanCollide = false | |
| 4567 | end | |
| 4568 | end) | |
| 4569 | end | |
| 4570 | end | |
| 4571 | end | |
| 4572 | Grab = false | |
| 4573 | function weld5(part0, part1, c0, c1) | |
| 4574 | weeld=Instance.new("Weld", part0)
| |
| 4575 | weeld.Part0=part0 | |
| 4576 | weeld.Part1=part1 | |
| 4577 | weeld.C0=c0 | |
| 4578 | weeld.C1=c1 | |
| 4579 | return weeld | |
| 4580 | end | |
| 4581 | mouse.KeyDown:connect(function(key) | |
| 4582 | if key == "v" then | |
| 4583 | canattack = false | |
| 4584 | canidle = false | |
| 4585 | canwalk = false | |
| 4586 | for i = 1, 20 do | |
| 4587 | 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) | |
| 4588 | 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) | |
| 4589 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2) | |
| 4590 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2) | |
| 4591 | 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) | |
| 4592 | 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) | |
| 4593 | ||
| 4594 | rs:wait(2) | |
| 4595 | end | |
| 4596 | con1=larm.Touched:connect(function(hit) -- this is grab | |
| 4597 | hum.MaxHealth = 1.0E298 | |
| 4598 | hum.Health = 1.0E298 | |
| 4599 | ht = hit.Parent | |
| 4600 | hum1=ht:FindFirstChildOfClass('Humanoid')
| |
| 4601 | if hum1 ~= nil and hit.Parent.Name ~= p.Character.Name then | |
| 4602 | ||
| 4603 | ||
| 4604 | ||
| 4605 | ||
| 4606 | z = Instance.new("Sound",char)
| |
| 4607 | z.SoundId = "rbxassetid://227194112" | |
| 4608 | z.Volume = 90 | |
| 4609 | wait(.1) | |
| 4610 | z:Play() | |
| 4611 | hum1.PlatformStand=true | |
| 4612 | gp = ht | |
| 4613 | Grab = true | |
| 4614 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
| |
| 4615 | asd.Parent = larm | |
| 4616 | asd.Name = "asd" | |
| 4617 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0) | |
| 4618 | ||
| 4619 | ||
| 4620 | --[[ elseif hum1 == nil then | |
| 4621 | con1:disconnect() | |
| 4622 | wait() return]] | |
| 4623 | end | |
| 4624 | end) | |
| 4625 | local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0)
| |
| 4626 | local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-2.5,0)
| |
| 4627 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
| |
| 4628 | Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.9 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 4629 | Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 5 | |
| 4630 | ||
| 4631 | for i = 1, 20 do | |
| 4632 | 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) | |
| 4633 | 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) | |
| 4634 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2) | |
| 4635 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2) | |
| 4636 | 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) | |
| 4637 | 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) | |
| 4638 | ||
| 4639 | rs:wait(2) | |
| 4640 | end | |
| 4641 | con1:disconnect() | |
| 4642 | ||
| 4643 | if gp == nil then | |
| 4644 | canattack = true | |
| 4645 | canidle = true | |
| 4646 | canwalk = true | |
| 4647 | FlyAt:Destroy() | |
| 4648 | return end | |
| 4649 | ||
| 4650 | ||
| 4651 | ||
| 4652 | --[[for i = 1, 16 do | |
| 4653 | 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) | |
| 4654 | 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) | |
| 4655 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3) | |
| 4656 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
| 4657 | 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) | |
| 4658 | 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) | |
| 4659 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3) | |
| 4660 | if Debounces.on == false then end | |
| 4661 | rs:wait() | |
| 4662 | end]]-- | |
| 4663 | for i = 1, 16 do | |
| 4664 | 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) | |
| 4665 | 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) | |
| 4666 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3) | |
| 4667 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3) | |
| 4668 | 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) | |
| 4669 | 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) | |
| 4670 | ||
| 4671 | rs:wait() | |
| 4672 | end | |
| 4673 | ||
| 4674 | ||
| 4675 | ||
| 4676 | local sbs = Instance.new("BodyPosition", torso)
| |
| 4677 | sbs.P = 9000 | |
| 4678 | sbs.D = 1000 | |
| 4679 | sbs.maxForce = Vector3.new(900000, 900000000, 900000) | |
| 4680 | sbs.position = torso.CFrame.p + Vector3.new(0, 1750, 0) | |
| 4681 | ||
| 4682 | ||
| 4683 | ||
| 4684 | ||
| 4685 | ||
| 4686 | 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.8)--head | |
| 4687 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
| 4688 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--rarm | |
| 4689 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm | |
| 4690 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg | |
| 4691 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg | |
| 4692 | wait(2) | |
| 4693 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head | |
| 4694 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso | |
| 4695 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--rarm | |
| 4696 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm | |
| 4697 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg | |
| 4698 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
| 4699 | ||
| 4700 | wait(0.5) | |
| 4701 | sbs:Destroy() | |
| 4702 | ||
| 4703 | local sbs2 = Instance.new("BodyPosition", torso)
| |
| 4704 | sbs2.P = 9000 | |
| 4705 | sbs2.D = 1000 | |
| 4706 | sbs2.maxForce = Vector3.new(900000, 905000000, 900000) | |
| 4707 | sbs2.position = torso.CFrame.p + Vector3.new(0, -1950, 0) | |
| 4708 | for i = 1, 30 do | |
| 4709 | 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) | |
| 4710 | 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) | |
| 4711 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3) | |
| 4712 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3) | |
| 4713 | 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) | |
| 4714 | 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) | |
| 4715 | ||
| 4716 | rs:wait() | |
| 4717 | end | |
| 4718 | wait(0.15) | |
| 4719 | z = Instance.new("Sound",char)
| |
| 4720 | z.SoundId = "rbxassetid://157878578" | |
| 4721 | z.Volume = 90 | |
| 4722 | ||
| 4723 | z:Play() | |
| 4724 | z2 = Instance.new("Sound",char)
| |
| 4725 | z2.SoundId = "rbxassetid://1577567682" | |
| 4726 | z2.Volume = 90 | |
| 4727 | ||
| 4728 | z2:Play() | |
| 4729 | hum.MaxHealth = 100000 | |
| 4730 | hum.Health = 100000 | |
| 4731 | FlyAt:Destroy() | |
| 4732 | sbs2:Destroy() | |
| 4733 | root.Anchored = true | |
| 4734 | canattack = true | |
| 4735 | canidle = true | |
| 4736 | canwalk = true | |
| 4737 | hum1.Parent:BreakJoints() | |
| 4738 | asd:Destroy() | |
| 4739 | ||
| 4740 | gp = nil | |
| 4741 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
| 4742 | if par then | |
| 4743 | local cfremz = CFrame.new(loc) | |
| 4744 | debris(cfremz, par, 50) | |
| 4745 | end | |
| 4746 | coroutine.resume(coroutine.create(function() | |
| 4747 | for i = 1,40 do | |
| 4748 | CamShakeAll(32,580,torso) | |
| 4749 | game:GetService("RunService").RenderStepped:wait()
| |
| 4750 | end | |
| 4751 | end)) | |
| 4752 | local AURU = Instance.new('ParticleEmitter')
| |
| 4753 | AURU.Name = "Aura" | |
| 4754 | AURU.Texture = "rbxassetid://242201991" | |
| 4755 | AURU.Parent = root | |
| 4756 | AURU.LightEmission = 0.1 | |
| 4757 | AURU.Transparency = NumberSequence.new(0.5,1) | |
| 4758 | AURU.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 4759 | AURU.Size = NumberSequence.new(20,0) | |
| 4760 | AURU.LockedToPart = false | |
| 4761 | AURU.Lifetime = NumberRange.new(5) | |
| 4762 | AURU.Rate = 630 | |
| 4763 | AURU.VelocitySpread = 100 | |
| 4764 | AURU.Speed = NumberRange.new(40) | |
| 4765 | AURU.Rotation = NumberRange.new(-360,360) | |
| 4766 | AURU.EmissionDirection = "Top" | |
| 4767 | AURU.ZOffset = -1 | |
| 4768 | ||
| 4769 | wait(0.1) | |
| 4770 | AURU.Rate = 0 | |
| 4771 | root.Anchored = false | |
| 4772 | ||
| 4773 | ||
| 4774 | end | |
| 4775 | end) | |
| 4776 | function pushaway() | |
| 4777 | for i = 1, 10 do | |
| 4778 | wait() | |
| 4779 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.4)--head | |
| 4780 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(-1)), 0.4)--torso | |
| 4781 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.4)--arm | |
| 4782 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)--arm | |
| 4783 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
| 4784 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
| 4785 | end | |
| 4786 | for i = 1, 10 do | |
| 4787 | wait() | |
| 4788 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.4)--head | |
| 4789 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(1)), 0.4)--torso | |
| 4790 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)--arm | |
| 4791 | 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.4)--arm | |
| 4792 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
| 4793 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
| 4794 | end | |
| 4795 | end | |
| 4796 | function dragoncharge() | |
| 4797 | for i = 1, 10 do | |
| 4798 | wait() | |
| 4799 | 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 | |
| 4800 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
| 4801 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.2,-1)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4)--arm | |
| 4802 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.5,-.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(60)), 0.4)--arm | |
| 4803 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
| 4804 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
| 4805 | end | |
| 4806 | end | |
| 4807 | function grab5() | |
| 4808 | for i = 1, 10 do | |
| 4809 | wait() | |
| 4810 | ||
| 4811 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.1)--head | |
| 4812 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--torso | |
| 4813 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(10)), 0.1)--arm | |
| 4814 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-10)), 0.1)--arm | |
| 4815 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)--leg | |
| 4816 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)--leg | |
| 4817 | end | |
| 4818 | for i = 1, 10 do | |
| 4819 | wait() | |
| 4820 | ||
| 4821 | 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.2)--head | |
| 4822 | 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 | |
| 4823 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.5)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(-40)), 0.2)--arm | |
| 4824 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,-.5)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(40)), 0.2)--arm | |
| 4825 | 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.2)--leg | |
| 4826 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(10)), 0.2)--leg | |
| 4827 | end | |
| 4828 | end | |
| 4829 | function dragonfist() | |
| 4830 | for i = 1, 10 do | |
| 4831 | wait() | |
| 4832 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.4)--head | |
| 4833 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(-1)), 0.4)--torso | |
| 4834 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.4)--arm | |
| 4835 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)--arm | |
| 4836 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)--leg | |
| 4837 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)--leg | |
| 4838 | end | |
| 4839 | for i = 1, 10 do | |
| 4840 | wait() | |
| 4841 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.4)--head | |
| 4842 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(1)), 0.4)--torso | |
| 4843 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(80)), 0.4)--arm | |
| 4844 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-20)), 0.4)--arm | |
| 4845 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-30)), 0.4)--leg | |
| 4846 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.4)--leg | |
| 4847 | end | |
| 4848 | end | |
| 4849 | -------- | |
| 4850 | local isAPlayer | |
| 4851 | function checkIfNotPlayer(model) | |
| 4852 | coroutine.resume(coroutine.create(function() | |
| 4853 | if model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and model.Parent.Parent.Parent ~= DebrisModel then | |
| 4854 | isAPlayer = true | |
| 4855 | else | |
| 4856 | isAPlayer = false | |
| 4857 | end | |
| 4858 | end)) | |
| 4859 | return isAPlayer | |
| 4860 | end | |
| 4861 | function findAllNearestTorso(pos,dist) | |
| 4862 | local list = game.Workspace:children() | |
| 4863 | local torso = {}
| |
| 4864 | local temp = nil | |
| 4865 | local human = nil | |
| 4866 | local temp2 = nil | |
| 4867 | for x = 1, #list do | |
| 4868 | temp2 = list[x] | |
| 4869 | if (temp2.className == "Model") and (temp2 ~= char) then | |
| 4870 | local nayem = "Torso" | |
| 4871 | if temp2:findFirstChild("UpperTorso") then nayem = "UpperTorso" end
| |
| 4872 | temp = temp2:findFirstChild(nayem) | |
| 4873 | human = temp2:findFirstChildOfClass("Humanoid")
| |
| 4874 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
| 4875 | if (temp.Position - pos).magnitude < dist then | |
| 4876 | table.insert(torso,temp) | |
| 4877 | dist = (temp.Position - pos).magnitude | |
| 4878 | end | |
| 4879 | end | |
| 4880 | end | |
| 4881 | end | |
| 4882 | return torso | |
| 4883 | end | |
| 4884 | ---------------------------------------------------------------------------- | |
| 4885 | ||
| 4886 | function computeDirection(vec) | |
| 4887 | local lenSquared = vec.magnitude * vec.magnitude | |
| 4888 | local invSqrt = 1 / math.sqrt(lenSquared) | |
| 4889 | return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt) | |
| 4890 | end | |
| 4891 | ||
| 4892 | ---------------------------------------------------------------------------- | |
| 4893 | ||
| 4894 | local throw1 = 5 | |
| 4895 | local throw2 = 5 | |
| 4896 | local throw = 5 | |
| 4897 | local grabon3 = false | |
| 4898 | local grabon4 = false | |
| 4899 | function AirPunchStrong() | |
| 4900 | coroutine.resume(coroutine.create(function() | |
| 4901 | local magnitude = nil | |
| 4902 | local Position = nil | |
| 4903 | if animid == 0 then | |
| 4904 | Position = larm.Position | |
| 4905 | else | |
| 4906 | Position = rarm.Position | |
| 4907 | end | |
| 4908 | --sound(743499393,Position,10,math.random(6,8)/10) | |
| 4909 | ||
| 4910 | ||
| 4911 | local Part1 = Instance.new("Part")
| |
| 4912 | local mesh2 = Instance.new("SpecialMesh",Part1)
| |
| 4913 | mesh2.MeshId = "rbxassetid://559831844" | |
| 4914 | mesh2.Scale = Vector3.new(0,0,0.4) | |
| 4915 | Part1.Material = Enum.Material.Neon | |
| 4916 | Part1.CanCollide = false | |
| 4917 | Part1.BrickColor = BrickColor.new("White")
| |
| 4918 | Part1.Parent = DebrisModel | |
| 4919 | Part1.Size = Vector3.new(0,0,0) | |
| 4920 | Part1.Anchored = true | |
| 4921 | Part1.CFrame = CFrame.new(Position,mouse.Hit.p) | |
| 4922 | Part1.Name = "EXPLOSION3" | |
| 4923 | ||
| 4924 | local Part0 = Instance.new("Part",DebrisModel)
| |
| 4925 | local PointLight2 = Instance.new("PointLight")
| |
| 4926 | Part0.Name = "Bullet" | |
| 4927 | Part0.Material = Enum.Material.Neon | |
| 4928 | Part0.BrickColor = BrickColor.new("White")
| |
| 4929 | Part0.Anchored = false | |
| 4930 | Part0.Size = Vector3.new(1,1,1) | |
| 4931 | Part0.Transparency = 0.5 | |
| 4932 | local mesh = Instance.new("SpecialMesh",Part0)
| |
| 4933 | mesh.MeshId = "rbxassetid://437347603" | |
| 4934 | mesh.Scale = Vector3.new(1.3,1.3,4.4) | |
| 4935 | local bforce = Instance.new("BodyForce",Part0)
| |
| 4936 | bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0) | |
| 4937 | Part0.CanCollide = false | |
| 4938 | PointLight2.Parent = Part0 | |
| 4939 | PointLight2.Color = Part0.Color | |
| 4940 | local Target = mouse.Hit.p | |
| 4941 | local direction = Target - Position | |
| 4942 | local direction = computeDirection(direction) | |
| 4943 | local pos = Position + (direction * 2) | |
| 4944 | Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55) | |
| 4945 | Part0.Velocity = direction * 750 | |
| 4946 | local asd = nil | |
| 4947 | local loop = nil | |
| 4948 | delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end) | |
| 4949 | loop = rs:connect(function() | |
| 4950 | local asdf = math.random(500,1000)/1000 | |
| 4951 | local Part1 = Instance.new("Part")
| |
| 4952 | local mesh2 = Instance.new("SpecialMesh",Part1)
| |
| 4953 | mesh2.MeshType = Enum.MeshType.Sphere | |
| 4954 | Part1.Material = Enum.Material.Neon | |
| 4955 | Part1.CanCollide = false | |
| 4956 | Part1.BrickColor = BrickColor.new("White")
| |
| 4957 | Part1.Parent = DebrisModel | |
| 4958 | Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf) | |
| 4959 | Part1.Anchored = true | |
| 4960 | Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750)) | |
| 4961 | Part1.Name = "SMOKE" | |
| 4962 | end) | |
| 4963 | asd = Part0.Touched:connect(function(ht) | |
| 4964 | local hit=ht.Parent | |
| 4965 | if checkIfNotPlayer(ht) == true and ht.CanCollide == true then | |
| 4966 | asd:disconnect() | |
| 4967 | loop:disconnect() | |
| 4968 | ||
| 4969 | ||
| 4970 | ||
| 4971 | for i,v in pairs(findAllNearestTorso(Part0.Position,35)) do | |
| 4972 | if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
| |
| 4973 | v:Destroy() | |
| 4974 | else | |
| 4975 | v.Parent:BreakJoints() | |
| 4976 | local Fl = Instance.new("BodyVelocity",v.Parent.Head)
| |
| 4977 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 4978 | Fl.velocity = Part0.CFrame.lookVector*395 | |
| 4979 | wait(0.05) | |
| 4980 | Fl:remove() | |
| 4981 | ||
| 4982 | end | |
| 4983 | local Position = Part0.Position | |
| 4984 | local Target = v.Position | |
| 4985 | local direction = Target - Position | |
| 4986 | local direction = computeDirection(direction) | |
| 4987 | local bv = Instance.new("BodyVelocity",v)
| |
| 4988 | bv.Velocity = direction * (120 - ((Position - Target).magnitude/2)) | |
| 4989 | debris:AddItem(bv,1) | |
| 4990 | end | |
| 4991 | for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end | |
| 4992 | for z=1,math.random(2,3) do | |
| 4993 | local asdf = math.random(-5,5)*2-(i/2)*10 | |
| 4994 | local Part1 = Instance.new("Part")
| |
| 4995 | local mesh2 = Instance.new("SpecialMesh",Part1)
| |
| 4996 | mesh2.MeshType = Enum.MeshType.Sphere | |
| 4997 | mesh2.Scale = Vector3.new(0,0,0) | |
| 4998 | Part1.Material = Enum.Material.Neon | |
| 4999 | Part1.CanCollide = false | |
| 5000 | Part1.BrickColor = BrickColor.new("White")
| |
| 5001 | Part1.Parent = DebrisModel | |
| 5002 | Part1.Size = Vector3.new(asdf,asdf,asdf) | |
| 5003 | Part1.Anchored = true | |
| 5004 | local a = i*0.7 | |
| 5005 | Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a)) | |
| 5006 | Part1.Name = "EXPLOSION4" | |
| 5007 | end | |
| 5008 | end | |
| 5009 | ||
| 5010 | end | |
| 5011 | end) | |
| 5012 | end)) | |
| 5013 | end | |
| 5014 | ||
| 5015 | ||
| 5016 | ||
| 5017 | ||
| 5018 | ||
| 5019 | ||
| 5020 | ||
| 5021 | ||
| 5022 | mouse.KeyDown:connect(function(key) | |
| 5023 | if key == "b" then | |
| 5024 | canattack = false | |
| 5025 | canidle = false | |
| 5026 | canwalk = false | |
| 5027 | dragonfist() | |
| 5028 | AirPunchStrong() | |
| 5029 | local Grab = Instance.new("Part",root)
| |
| 5030 | Grab.Size = Vector3.new(5.2,5.8,5.9) | |
| 5031 | Grab.CanCollide = false | |
| 5032 | Grab.Material = "Neon" | |
| 5033 | Grab.BrickColor = BrickColor.new("White")
| |
| 5034 | Grab.Transparency = 0.99 | |
| 5035 | local Hat2 = Instance.new("SpecialMesh",Grab)
| |
| 5036 | Hat2.MeshType = 3 | |
| 5037 | Hat2.Scale = Vector3.new(3.35,3.15,0.95) | |
| 5038 | local Grabo = Instance.new("Weld",Grab)
| |
| 5039 | Grabo.Part0 = root | |
| 5040 | Grabo.Part1 = Grab | |
| 5041 | Grabo.C0 = CFrame.new(0,0.3,-6.8) | |
| 5042 | ||
| 5043 | local AuraB = Instance.new("Part",root)
| |
| 5044 | AuraB.Size = Vector3.new(2,1,2) | |
| 5045 | AuraB.CanCollide = false | |
| 5046 | AuraB.BrickColor = BrickColor.new("Deep orange")
| |
| 5047 | AuraB.Transparency = 1 | |
| 5048 | local AuraBo = Instance.new("Weld",AuraB)
| |
| 5049 | AuraBo.Part0 = root | |
| 5050 | AuraBo.Part1 = AuraB | |
| 5051 | AuraBo.C0 = CFrame.new(0,-0.6,0) | |
| 5052 | Grab.Touched:connect(function(hit) | |
| 5053 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
| |
| 5054 | ||
| 5055 | ||
| 5056 | ||
| 5057 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
| |
| 5058 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 5059 | Fl.velocity = root.CFrame.lookVector*640 | |
| 5060 | wait(0.05) | |
| 5061 | Fl:remove() | |
| 5062 | ||
| 5063 | end | |
| 5064 | end) | |
| 5065 | wait(0.3) | |
| 5066 | canattack = true | |
| 5067 | canidle = true | |
| 5068 | canwalk = true | |
| 5069 | Grab:Destroy() | |
| 5070 | end | |
| 5071 | end) | |
| 5072 | local ha = Instance.new("BodyVelocity")
| |
| 5073 | ha.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5074 | ha.velocity = mouse.Hit.lookVector * 70 | |
| 5075 | ||
| 5076 | local haa = Instance.new("BodyGyro")
| |
| 5077 | haa.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
| 5078 | haa.P = 1000 | |
| 5079 | haa.D = 100 | |
| 5080 | function flyy() | |
| 5081 | ||
| 5082 | haa.Parent = root | |
| 5083 | ha.Parent = torso | |
| 5084 | hum.Sit = true | |
| 5085 | end | |
| 5086 | ||
| 5087 | game:GetService('RunService').RenderStepped:connect(function()
| |
| 5088 | if canfly == true then | |
| 5089 | fly = true | |
| 5090 | elseif canfly == false then | |
| 5091 | fly = false | |
| 5092 | end | |
| 5093 | end) | |
| 5094 | --[[local BodGy=Instance.new("BodyGyro")
| |
| 5095 | BodGy.maxTorque=Vector3.new(0,4e+005,0) | |
| 5096 | BodGy.P=2000 | |
| 5097 | BodGy.D=100 | |
| 5098 | BodGy.Name="SiegmundGyro" | |
| 5099 | CF=RootPart.CFrame | |
| 5100 | BodGy.Parent=RootPart | |
| 5101 | BodGy.cframe=CF]] | |
| 5102 | local BodGy=Instance.new("BodyGyro")
| |
| 5103 | BodGy.maxTorque=Vector3.new(0,4e+005,0) | |
| 5104 | BodGy.P=2000 | |
| 5105 | BodGy.D=100 | |
| 5106 | BodGy.Name="SthomasGyro" | |
| 5107 | CF=root.CFrame | |
| 5108 | BodGy.Parent=root | |
| 5109 | BodGy.cframe=CF | |
| 5110 | ||
| 5111 | game:GetService('RunService').RenderStepped:connect(function()
| |
| 5112 | if fly and stop == false then | |
| 5113 | hum.Sit = true | |
| 5114 | ha.velocity = mouse.Hit.lookVector * 100 | |
| 5115 | haa.cframe = CFrame.new(root.Position,mouse.Hit.p*Vector3.new(1,0,1)+root.Position*Vector3.new(0,1,0)) | |
| 5116 | hed.CFrame = CFrame.new(hed.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z)) | |
| 5117 | ||
| 5118 | end | |
| 5119 | end) | |
| 5120 | function unfly() | |
| 5121 | ||
| 5122 | stop = true | |
| 5123 | haa.Parent = script | |
| 5124 | ha.Parent = script | |
| 5125 | hum.Sit = false | |
| 5126 | end | |
| 5127 | mouse.KeyDown:connect(function(key) | |
| 5128 | if key == "f" then | |
| 5129 | ||
| 5130 | canattack = false | |
| 5131 | canidle = false | |
| 5132 | canwalk = false | |
| 5133 | local sbs = Instance.new("BodyPosition", torso)
| |
| 5134 | sbs.P = 9000 | |
| 5135 | sbs.D = 1000 | |
| 5136 | sbs.maxForce = Vector3.new(900000, 900000000, 900000) | |
| 5137 | sbs.position = torso.CFrame.p + Vector3.new(0, 10, 0) | |
| 5138 | for i = 1, 20 do | |
| 5139 | wait() | |
| 5140 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), 0.8)--head | |
| 5141 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
| 5142 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(-50)), 0.8)--rarm | |
| 5143 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(20),math.rad(50)), 0.8)--larm | |
| 5144 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), 0.8)--lleg | |
| 5145 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--rleg | |
| 5146 | end | |
| 5147 | local SFXZ2 = Instance.new("Sound",hed)
| |
| 5148 | SFXZ2.SoundId = "rbxassetid://187137517" | |
| 5149 | SFXZ2.Volume = 5 | |
| 5150 | SFXZ2.Pitch = 1 | |
| 5151 | SFXZ2.Looped = false | |
| 5152 | wait(0.01) | |
| 5153 | SFXZ2:Play() | |
| 5154 | coroutine.resume(coroutine.create(function() | |
| 5155 | for i = 3,8 do | |
| 5156 | local Ball = Instance.new("Part",char)
| |
| 5157 | Ball.Size = Vector3.new(1,1,1) | |
| 5158 | Ball.BrickColor = BrickColor.new("Cyan")
| |
| 5159 | Ball.Material = "Neon" | |
| 5160 | Ball.Anchored = true | |
| 5161 | Ball.CanCollide = false | |
| 5162 | Ball.Transparency = 0 | |
| 5163 | Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
| 5164 | local Ball2 = Instance.new("SpecialMesh",Ball)
| |
| 5165 | Ball2.MeshType = 3 | |
| 5166 | Ball2.Scale = Vector3.new(2,2,2) | |
| 5167 | ||
| 5168 | ||
| 5169 | ||
| 5170 | ||
| 5171 | coroutine.resume(coroutine.create(function() | |
| 5172 | for i = 1,15 do | |
| 5173 | Ball2.Scale = Ball2.Scale + Vector3.new(19.4,19.4,19.4) | |
| 5174 | Ball.Transparency = Ball.Transparency + 0.06 | |
| 5175 | wait(0.00000000001) | |
| 5176 | end | |
| 5177 | Ball:Destroy() | |
| 5178 | ||
| 5179 | ||
| 5180 | end)) | |
| 5181 | wait(0.06) | |
| 5182 | end | |
| 5183 | end)) | |
| 5184 | root.Anchored = true | |
| 5185 | g = Instance.new("Explosion")
| |
| 5186 | g.Parent = workspace | |
| 5187 | g.Position = root.Position | |
| 5188 | g.BlastRadius = 90 | |
| 5189 | g.BlastPressure = 4000200 | |
| 5190 | g.Visible = false | |
| 5191 | for i = 1, 30 do | |
| 5192 | wait() | |
| 5193 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.8)--head | |
| 5194 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
| 5195 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(50)), 0.8)--rarm | |
| 5196 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(50),math.rad(-50)), 0.8)--larm | |
| 5197 | 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.8)--lleg | |
| 5198 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg | |
| 5199 | end | |
| 5200 | wait(0.2) | |
| 5201 | root.Anchored = false | |
| 5202 | sbs:Destroy() | |
| 5203 | ||
| 5204 | for i = 1,1 do | |
| 5205 | ||
| 5206 | ||
| 5207 | ||
| 5208 | ||
| 5209 | ||
| 5210 | for i,v in pairs(workspace:children()) do | |
| 5211 | ||
| 5212 | ||
| 5213 | if v:IsA("Model") and v:findFirstChild("Humanoid") then
| |
| 5214 | ||
| 5215 | ||
| 5216 | if v:findFirstChild("Head") and v:findFirstChild("Torso") then
| |
| 5217 | ||
| 5218 | ||
| 5219 | if (v:findFirstChild("Torso").Position - char.Torso.Position).magnitude < 40 then
| |
| 5220 | ||
| 5221 | ||
| 5222 | if v.Name ~= p.Name then | |
| 5223 | ||
| 5224 | v.Humanoid:TakeDamage(400000000000) | |
| 5225 | ||
| 5226 | ||
| 5227 | v.Humanoid.PlatformStand = true | |
| 5228 | ||
| 5229 | ||
| 5230 | end | |
| 5231 | end | |
| 5232 | end | |
| 5233 | ||
| 5234 | ||
| 5235 | ||
| 5236 | end | |
| 5237 | end | |
| 5238 | end | |
| 5239 | sbs:Destroy() | |
| 5240 | canattack = true | |
| 5241 | canidle = true | |
| 5242 | canwalk = true | |
| 5243 | end | |
| 5244 | end) | |
| 5245 | mouse.KeyDown:connect(function(key) | |
| 5246 | if key == "h" and ui == false then | |
| 5247 | canfly = true | |
| 5248 | stop = false | |
| 5249 | ||
| 5250 | ||
| 5251 | local Soundd = Instance.new("Sound",hed)
| |
| 5252 | Soundd.SoundId = "rbxassetid://917377181" | |
| 5253 | Soundd.Pitch = 1 | |
| 5254 | Soundd.Looped = false | |
| 5255 | Soundd.Volume = 8 | |
| 5256 | Soundd:Play() | |
| 5257 | local Flame = Instance.new("ParticleEmitter",root)
| |
| 5258 | Flame.Texture = "rbxassetid://1332922037" | |
| 5259 | Flame.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 5260 | Flame.EmissionDirection = "Top" | |
| 5261 | Flame.Speed = NumberRange.new(0.3) | |
| 5262 | Flame.Size = NumberSequence.new(5.5,4) | |
| 5263 | Flame.Transparency = NumberSequence.new(0.8,1) | |
| 5264 | Flame.Drag = 0.4 | |
| 5265 | Flame.LightInfluence = 0 | |
| 5266 | Flame.LockedToPart = false | |
| 5267 | Flame.Lifetime = NumberRange.new(0.4) | |
| 5268 | Flame.Rate = 285 | |
| 5269 | Flame.LightEmission = 1 | |
| 5270 | Flame.Rotation = NumberRange.new(-360,360) | |
| 5271 | Flame.VelocitySpread = 100 | |
| 5272 | Flame.Acceleration = Vector3.new(0,0,0) | |
| 5273 | Flame.ZOffset = -0.2 | |
| 5274 | Flame.RotSpeed = NumberRange.new(-400,400) | |
| 5275 | local FlyAt = Instance.new("Attachment",root)FlyAt.Position = Vector3.new(0,1.5,0)
| |
| 5276 | local FlyAt2 = Instance.new("Attachment",root)FlyAt2.Position = Vector3.new(0,-1.5,0)
| |
| 5277 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
| |
| 5278 | Speed.Texture = "rbxassetid://165424187" Speed.Lifetime = 0.8 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 5279 | Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission = 0.6 | |
| 5280 | cooldown = false | |
| 5281 | local SFXZ2 = Instance.new("Sound",hed)
| |
| 5282 | SFXZ2.SoundId = "rbxassetid://627724206" | |
| 5283 | SFXZ2.Volume = 3 | |
| 5284 | SFXZ2.Pitch = 1 | |
| 5285 | SFXZ2.Looped = true | |
| 5286 | wait(0.01) | |
| 5287 | SFXZ2:Play() | |
| 5288 | canattack = false | |
| 5289 | canidle = false | |
| 5290 | canwalk = false | |
| 5291 | flyy() | |
| 5292 | for i = 1, 30 do | |
| 5293 | wait() | |
| 5294 | ||
| 5295 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head | |
| 5296 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso | |
| 5297 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm | |
| 5298 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm | |
| 5299 | 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.1)--leg | |
| 5300 | 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.1)--leg | |
| 5301 | end | |
| 5302 | ||
| 5303 | end | |
| 5304 | end) | |
| 5305 | mouse.KeyDown:connect(function(key) | |
| 5306 | if key == "h" and ui == true then | |
| 5307 | canfly = true | |
| 5308 | stop = false | |
| 5309 | local AURU = Instance.new('ParticleEmitter')
| |
| 5310 | AURU.Name = "Aura" | |
| 5311 | AURU.Texture = "rbxassetid://1200947142" | |
| 5312 | AURU.Parent = root | |
| 5313 | AURU.LightEmission = 0.9 | |
| 5314 | AURU.Transparency = NumberSequence.new(0.1,1) | |
| 5315 | AURU.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 5316 | AURU.Size = NumberSequence.new(8,0) | |
| 5317 | AURU.LockedToPart = false | |
| 5318 | AURU.Lifetime = NumberRange.new(0.6) | |
| 5319 | AURU.Rate = 530 | |
| 5320 | AURU.Speed = NumberRange.new(40) | |
| 5321 | AURU.Rotation = NumberRange.new(-360,360) | |
| 5322 | AURU.EmissionDirection = "Top" | |
| 5323 | AURU.ZOffset = 1 | |
| 5324 | AURU.VelocitySpread = 100 | |
| 5325 | AURU.RotSpeed = NumberRange.new(-100,100) | |
| 5326 | ||
| 5327 | local Soundd = Instance.new("Sound",hed)
| |
| 5328 | Soundd.SoundId = "rbxassetid://917377181" | |
| 5329 | Soundd.Pitch = 1 | |
| 5330 | Soundd.Looped = false | |
| 5331 | Soundd.Volume = 8 | |
| 5332 | Soundd:Play() | |
| 5333 | ||
| 5334 | local FlyAt = Instance.new("Attachment",root)FlyAt.Position = Vector3.new(0,1.5,0)
| |
| 5335 | local FlyAt2 = Instance.new("Attachment",root)FlyAt2.Position = Vector3.new(0,-1.5,0)
| |
| 5336 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
| |
| 5337 | Speed.Texture = "rbxassetid://165424187" Speed.Lifetime = 0.8 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 5338 | Speed.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255)) Speed.LightEmission = 0.6 | |
| 5339 | cooldown = false | |
| 5340 | local SFXZ2 = Instance.new("Sound",hed)
| |
| 5341 | SFXZ2.SoundId = "rbxassetid://627724206" | |
| 5342 | SFXZ2.Volume = 3 | |
| 5343 | SFXZ2.Pitch = 1 | |
| 5344 | SFXZ2.Looped = true | |
| 5345 | wait(0.01) | |
| 5346 | SFXZ2:Play() | |
| 5347 | canattack = false | |
| 5348 | canidle = false | |
| 5349 | canwalk = false | |
| 5350 | flyy() | |
| 5351 | for i = 1, 30 do | |
| 5352 | wait() | |
| 5353 | ||
| 5354 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head | |
| 5355 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso | |
| 5356 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm | |
| 5357 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm | |
| 5358 | 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.1)--leg | |
| 5359 | 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.1)--leg | |
| 5360 | end | |
| 5361 | ||
| 5362 | end | |
| 5363 | end) | |
| 5364 | mouse.KeyUp:connect(function(key) | |
| 5365 | if key == "h" and ui == false then | |
| 5366 | canattack = true | |
| 5367 | canidle = true | |
| 5368 | canwalk = true | |
| 5369 | unfly() | |
| 5370 | for i, v in pairs(root:GetChildren()) do | |
| 5371 | if v:IsA("ParticleEmitter")then
| |
| 5372 | v.Rate = 0 | |
| 5373 | end | |
| 5374 | end | |
| 5375 | for i, v in pairs(root:GetChildren()) do | |
| 5376 | if v:IsA("Attachment")then
| |
| 5377 | v:Destroy() | |
| 5378 | end | |
| 5379 | end | |
| 5380 | for i, v in pairs(hed:GetChildren()) do | |
| 5381 | if v:IsA("Sound")then
| |
| 5382 | v:Destroy() | |
| 5383 | end | |
| 5384 | end | |
| 5385 | local Auura = Instance.new("Sound",hed)
| |
| 5386 | Auura.SoundId = "rbxassetid://550621034" | |
| 5387 | Auura.Pitch = 1 | |
| 5388 | Auura.Looped = false | |
| 5389 | Auura.Volume = 5 | |
| 5390 | Auura:Play() | |
| 5391 | end | |
| 5392 | end) | |
| 5393 | mouse.KeyUp:connect(function(key) | |
| 5394 | if key == "h" and ui == true then | |
| 5395 | canattack = true | |
| 5396 | canidle = true | |
| 5397 | canwalk = true | |
| 5398 | unfly() | |
| 5399 | for i, v in pairs(root:GetChildren()) do | |
| 5400 | if v:IsA('ParticleEmitter')then
| |
| 5401 | v.Rate = 0 | |
| 5402 | end | |
| 5403 | end | |
| 5404 | for i, v in pairs(root:GetChildren()) do | |
| 5405 | if v:IsA("Attachment")then
| |
| 5406 | v:Destroy() | |
| 5407 | end | |
| 5408 | end | |
| 5409 | for i, v in pairs(hed:GetChildren()) do | |
| 5410 | if v:IsA("Sound")then
| |
| 5411 | v:Destroy() | |
| 5412 | end | |
| 5413 | end | |
| 5414 | local Auura = Instance.new("Sound",hed)
| |
| 5415 | Auura.SoundId = "rbxassetid://550621034" | |
| 5416 | Auura.Pitch = 1 | |
| 5417 | Auura.Looped = false | |
| 5418 | Auura.Volume = 5 | |
| 5419 | Auura:Play() | |
| 5420 | end | |
| 5421 | end) | |
| 5422 | mouse.KeyDown:connect(function(key) | |
| 5423 | if key == "x" and ui == true then | |
| 5424 | canattack = false | |
| 5425 | canidle = false | |
| 5426 | canwalk = false | |
| 5427 | local bv = Instance.new("BodyVelocity")
| |
| 5428 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5429 | bv.velocity = root.CFrame.lookVector*300 | |
| 5430 | bv.Parent = root | |
| 5431 | ||
| 5432 | local AURU = Instance.new('ParticleEmitter')
| |
| 5433 | AURU.Name = "Aura" | |
| 5434 | AURU.Texture = "rbxassetid://1200947142" | |
| 5435 | AURU.Parent = rarm | |
| 5436 | AURU.LightEmission = 0.6 | |
| 5437 | AURU.Transparency = NumberSequence.new(0.4,1) | |
| 5438 | AURU.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
| |
| 5439 | AURU.Size = NumberSequence.new(2,0) | |
| 5440 | AURU.LockedToPart = false | |
| 5441 | AURU.Lifetime = NumberRange.new(5) | |
| 5442 | AURU.Rate = 530 | |
| 5443 | AURU.Speed = NumberRange.new(4) | |
| 5444 | AURU.Rotation = NumberRange.new(-360,360) | |
| 5445 | AURU.EmissionDirection = "Top" | |
| 5446 | AURU.ZOffset = 0.5 | |
| 5447 | AURU.VelocitySpread = 100 | |
| 5448 | AURU.RotSpeed = NumberRange.new(-100,100) | |
| 5449 | for i = 1,5 do | |
| 5450 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
| 5451 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(0)), .5)--torso | |
| 5452 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(20)), .5)--arm | |
| 5453 | 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)), .5)--arm | |
| 5454 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
| 5455 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
| 5456 | wait() | |
| 5457 | end | |
| 5458 | local SFXZ = Instance.new("Sound",torso)
| |
| 5459 | SFXZ.SoundId = "rbxassetid://169259383" | |
| 5460 | SFXZ.Volume = 1 | |
| 5461 | SFXZ.Pitch = 1.5 | |
| 5462 | SFXZ.Looped = false | |
| 5463 | wait(0.01) | |
| 5464 | SFXZ:Play() | |
| 5465 | local Grab = Instance.new("Part",rarm)
| |
| 5466 | Grab.Size = Vector3.new(3,3,3) | |
| 5467 | Grab.CanCollide = false | |
| 5468 | Grab.BrickColor = BrickColor.new("Deep orange")
| |
| 5469 | Grab.Transparency = math.huge | |
| 5470 | local Grabo = Instance.new("Weld",Grab)
| |
| 5471 | Grabo.Part0 = rarm | |
| 5472 | Grabo.Part1 = Grab | |
| 5473 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
| 5474 | ||
| 5475 | ||
| 5476 | Grab.Touched:connect(function(hit) | |
| 5477 | if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
| |
| 5478 | Grab:Destroy() | |
| 5479 | hit.Parent:BreakJoints() | |
| 5480 | coroutine.resume(coroutine.create(function() | |
| 5481 | for i = 1,40 do | |
| 5482 | CamShakeAll(32,480,torso) | |
| 5483 | game:GetService("RunService").RenderStepped:wait()
| |
| 5484 | end | |
| 5485 | end)) | |
| 5486 | local HQ = Instance.new("Part",char)
| |
| 5487 | HQ.Size = Vector3.new(1,0,1) | |
| 5488 | HQ.BrickColor = BrickColor.new("Grey")
| |
| 5489 | HQ.Material = "Neon" | |
| 5490 | HQ.Anchored = true | |
| 5491 | HQ.CanCollide = false | |
| 5492 | HQ.Transparency = 0.7 | |
| 5493 | HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
| 5494 | local HQ2 = Instance.new("SpecialMesh",HQ)
| |
| 5495 | HQ2.MeshId = "rbxassetid://20329976" | |
| 5496 | HQ2.Scale = Vector3.new(1,3,1) | |
| 5497 | ||
| 5498 | local HQG = Instance.new("Part",char)
| |
| 5499 | HQG.Size = Vector3.new(1,0,1) | |
| 5500 | HQG.BrickColor = BrickColor.new("Grey")
| |
| 5501 | HQG.Material = "Neon" | |
| 5502 | HQG.Anchored = true | |
| 5503 | HQG.Transparency = 0.7 | |
| 5504 | HQG.CanCollide = false | |
| 5505 | HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
| 5506 | local HQG2 = Instance.new("SpecialMesh",HQG)
| |
| 5507 | HQG2.MeshId = "rbxassetid://20329976" | |
| 5508 | HQG2.Scale = Vector3.new(1,1,1) | |
| 5509 | ||
| 5510 | ||
| 5511 | coroutine.resume(coroutine.create(function() | |
| 5512 | for i = 1,500 do | |
| 5513 | HQ2.Scale = HQ2.Scale + Vector3.new(3.5,0.3,3.5) | |
| 5514 | HQ.Transparency = HQ.Transparency + 0.01 | |
| 5515 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
| 5516 | ||
| 5517 | HQG2.Scale = HQG2.Scale + Vector3.new(3,1.5,3) | |
| 5518 | HQG.Transparency = HQG.Transparency + 0.01 | |
| 5519 | HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
| 5520 | ||
| 5521 | wait(0.00000000001) | |
| 5522 | ||
| 5523 | ||
| 5524 | end | |
| 5525 | HQ:Destroy() | |
| 5526 | HQ2:Destroy() | |
| 5527 | HQG:Destroy() | |
| 5528 | HQG2:Destroy() | |
| 5529 | end)) | |
| 5530 | AURU.Rate = 0 | |
| 5531 | local SFXZ = Instance.new("Sound",torso)
| |
| 5532 | SFXZ.SoundId = "rbxassetid://1699290293" | |
| 5533 | SFXZ.Volume = 10 | |
| 5534 | SFXZ.Pitch = 1 | |
| 5535 | SFXZ.Looped = false | |
| 5536 | wait(0.01) | |
| 5537 | SFXZ:Play() | |
| 5538 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
| |
| 5539 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 5540 | Fl.velocity = torso.CFrame.lookVector*2600 | |
| 5541 | wait(0.05) | |
| 5542 | Fl:remove() | |
| 5543 | local ry,ht,ps=nil,nil,nil | |
| 5544 | while ht==nil do | |
| 5545 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
| |
| 5546 | wait() | |
| 5547 | end | |
| 5548 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
| 5549 | if par then | |
| 5550 | local cfremz = CFrame.new(loc) | |
| 5551 | debris(cfremz, par, 50) | |
| 5552 | end | |
| 5553 | wait(1) | |
| 5554 | AURU.Rate = 0 | |
| 5555 | canattack = true | |
| 5556 | canidle = true | |
| 5557 | canwalk = true | |
| 5558 | end | |
| 5559 | end) | |
| 5560 | for i= 1,15 do | |
| 5561 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
| 5562 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(50), math.rad(0)), .5)--torso | |
| 5563 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.8)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), .5)--arm | |
| 5564 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), .5)--arm | |
| 5565 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .5)--leg | |
| 5566 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
| 5567 | wait() | |
| 5568 | end | |
| 5569 | coroutine.resume(coroutine.create(function() | |
| 5570 | wait(0.5) | |
| 5571 | Grab:remove() | |
| 5572 | end)) | |
| 5573 | canattack = true | |
| 5574 | canidle = true | |
| 5575 | canwalk = true | |
| 5576 | AURU.Rate = 0 | |
| 5577 | bv:Destroy() | |
| 5578 | end | |
| 5579 | end) | |
| 5580 | mouse.KeyDown:connect(function(key) | |
| 5581 | if key == "x" and ui == false then | |
| 5582 | canattack = false | |
| 5583 | canidle = false | |
| 5584 | canwalk = false | |
| 5585 | ||
| 5586 | local bv = Instance.new("BodyVelocity")
| |
| 5587 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5588 | bv.velocity = root.CFrame.lookVector*300 | |
| 5589 | bv.Parent = root | |
| 5590 | ||
| 5591 | coroutine.resume(coroutine.create(function() | |
| 5592 | for i = 1,40 do | |
| 5593 | CamShakeAll(32,80,torso) | |
| 5594 | game:GetService("RunService").RenderStepped:wait()
| |
| 5595 | end | |
| 5596 | end)) | |
| 5597 | ||
| 5598 | local FlyAt = Instance.new("Attachment",rarm)FlyAt.Position = Vector3.new(0,1.5,0)
| |
| 5599 | local FlyAt2 = Instance.new("Attachment",rarm)FlyAt2.Position = Vector3.new(0,-1.5,0)
| |
| 5600 | local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2
| |
| 5601 | Speed.Texture = "rbxassetid://1194199151" Speed.Lifetime = 0.8 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 5602 | Speed.Color = ColorSequence.new(Color3.fromRGB(255, 176, 0)) Speed.LightEmission = 0.6 | |
| 5603 | local AURU = Instance.new('ParticleEmitter')
| |
| 5604 | AURU.Name = "Aura" | |
| 5605 | AURU.Texture = "rbxassetid://1222662285" | |
| 5606 | AURU.Parent = rarm | |
| 5607 | AURU.LightEmission = 0.2 | |
| 5608 | AURU.Transparency = NumberSequence.new(0.4,1) | |
| 5609 | AURU.Color = ColorSequence.new(BrickColor.new("White").Color)
| |
| 5610 | AURU.Size = NumberSequence.new(2,0) | |
| 5611 | AURU.LockedToPart = false | |
| 5612 | AURU.Lifetime = NumberRange.new(1) | |
| 5613 | AURU.Rate = 530 | |
| 5614 | AURU.Speed = NumberRange.new(4) | |
| 5615 | AURU.Rotation = NumberRange.new(-360,360) | |
| 5616 | AURU.EmissionDirection = "Top" | |
| 5617 | AURU.ZOffset = 0.5 | |
| 5618 | AURU.VelocitySpread = 100 | |
| 5619 | AURU.RotSpeed = NumberRange.new(-100,100) | |
| 5620 | for i = 1,1 do | |
| 5621 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
| 5622 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(0)), .5)--torso | |
| 5623 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(20)), .5)--arm | |
| 5624 | 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)), .5)--arm | |
| 5625 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg | |
| 5626 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
| 5627 | wait() | |
| 5628 | end | |
| 5629 | bv:Destroy() | |
| 5630 | local SFXZ = Instance.new("Sound",torso)
| |
| 5631 | SFXZ.SoundId = "rbxassetid://1319720595" | |
| 5632 | SFXZ.Volume = 6 | |
| 5633 | SFXZ.Pitch = 1 | |
| 5634 | SFXZ.Looped = false | |
| 5635 | wait(0.01) | |
| 5636 | SFXZ:Play() | |
| 5637 | local Grab = Instance.new("Part",rarm)
| |
| 5638 | Grab.Size = Vector3.new(3,3,3) | |
| 5639 | Grab.CanCollide = false | |
| 5640 | Grab.BrickColor = BrickColor.new("Deep orange")
| |
| 5641 | Grab.Transparency = math.huge | |
| 5642 | local Grabo = Instance.new("Weld",Grab)
| |
| 5643 | Grabo.Part0 = rarm | |
| 5644 | Grabo.Part1 = Grab | |
| 5645 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
| 5646 | ||
| 5647 | ||
| 5648 | Grab.Touched:connect(function(hit) | |
| 5649 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
| |
| 5650 | Grab:Destroy() | |
| 5651 | hit.Parent.Humanoid:TakeDamage(25000000000) | |
| 5652 | coroutine.resume(coroutine.create(function() | |
| 5653 | for i = 1,40 do | |
| 5654 | CamShakeAll(32,380,torso) | |
| 5655 | game:GetService("RunService").RenderStepped:wait()
| |
| 5656 | end | |
| 5657 | end)) | |
| 5658 | root.Anchored = true | |
| 5659 | local HQ = Instance.new("Part",char)
| |
| 5660 | HQ.Size = Vector3.new(1,0,1) | |
| 5661 | HQ.BrickColor = BrickColor.new("Grey")
| |
| 5662 | HQ.Material = "Neon" | |
| 5663 | HQ.Anchored = true | |
| 5664 | HQ.CanCollide = false | |
| 5665 | HQ.Transparency = 0.7 | |
| 5666 | HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
| 5667 | local HQ2 = Instance.new("SpecialMesh",HQ)
| |
| 5668 | HQ2.MeshId = "rbxassetid://20329976" | |
| 5669 | HQ2.Scale = Vector3.new(1,3,1) | |
| 5670 | ||
| 5671 | local HQG = Instance.new("Part",char)
| |
| 5672 | HQG.Size = Vector3.new(1,0,1) | |
| 5673 | HQG.BrickColor = BrickColor.new("Grey")
| |
| 5674 | HQG.Material = "Neon" | |
| 5675 | HQG.Anchored = true | |
| 5676 | HQG.Transparency = 0.7 | |
| 5677 | HQG.CanCollide = false | |
| 5678 | HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
| 5679 | local HQG2 = Instance.new("SpecialMesh",HQG)
| |
| 5680 | HQG2.MeshId = "rbxassetid://20329976" | |
| 5681 | HQG2.Scale = Vector3.new(1,1,1) | |
| 5682 | ||
| 5683 | ||
| 5684 | coroutine.resume(coroutine.create(function() | |
| 5685 | for i = 1,500 do | |
| 5686 | HQ2.Scale = HQ2.Scale + Vector3.new(3.5,0.3,3.5) | |
| 5687 | HQ.Transparency = HQ.Transparency + 0.01 | |
| 5688 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
| 5689 | ||
| 5690 | HQG2.Scale = HQG2.Scale + Vector3.new(3,1.5,3) | |
| 5691 | HQG.Transparency = HQG.Transparency + 0.01 | |
| 5692 | HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
| 5693 | ||
| 5694 | wait(0.00000000001) | |
| 5695 | ||
| 5696 | ||
| 5697 | end | |
| 5698 | HQ:Destroy() | |
| 5699 | HQ2:Destroy() | |
| 5700 | HQG:Destroy() | |
| 5701 | HQG2:Destroy() | |
| 5702 | end)) | |
| 5703 | FlyAt:Destroy() | |
| 5704 | Speed.Lifetime = 0 | |
| 5705 | canattack = true | |
| 5706 | canidle = true | |
| 5707 | canwalk = true | |
| 5708 | root.Anchored = false | |
| 5709 | local SFXZ = Instance.new("Sound",torso)
| |
| 5710 | SFXZ.SoundId = "rbxassetid://1699290293" | |
| 5711 | SFXZ.Volume = 10 | |
| 5712 | SFXZ.Pitch = 1 | |
| 5713 | SFXZ.Looped = false | |
| 5714 | wait(0.01) | |
| 5715 | SFXZ:Play() | |
| 5716 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
| |
| 5717 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 5718 | Fl.velocity = torso.CFrame.lookVector*1600 | |
| 5719 | wait(0.05) | |
| 5720 | Fl:remove() | |
| 5721 | ||
| 5722 | wait(1) | |
| 5723 | AURU.Rate = 0 | |
| 5724 | FlyAt:Destroy() | |
| 5725 | Speed.Lifetime = 0 | |
| 5726 | canattack = true | |
| 5727 | canidle = true | |
| 5728 | canwalk = true | |
| 5729 | end | |
| 5730 | end) | |
| 5731 | for i= 1,15 do | |
| 5732 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head | |
| 5733 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(50), math.rad(0)), .5)--torso | |
| 5734 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.8)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), .5)--arm | |
| 5735 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), .5)--arm | |
| 5736 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .5)--leg | |
| 5737 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg | |
| 5738 | wait() | |
| 5739 | end | |
| 5740 | coroutine.resume(coroutine.create(function() | |
| 5741 | wait(0.5) | |
| 5742 | Grab:remove() | |
| 5743 | end)) | |
| 5744 | canattack = true | |
| 5745 | canidle = true | |
| 5746 | canwalk = true | |
| 5747 | AURU.Rate = 0 | |
| 5748 | FlyAt:Destroy() | |
| 5749 | ||
| 5750 | ||
| 5751 | end | |
| 5752 | end) | |
| 5753 | local Jumped = Instance.new("Sound",hed)
| |
| 5754 | Jumped.SoundId = "rbxassetid://940938624" | |
| 5755 | Jumped.Pitch = 1 | |
| 5756 | Jumped.Looped = false | |
| 5757 | Jumped.Volume = 2 | |
| 5758 | ||
| 5759 | mouse.KeyDown:connect(function(key) | |
| 5760 | if key == "z" then | |
| 5761 | canattack = false | |
| 5762 | canidle = false | |
| 5763 | canwalk = false | |
| 5764 | hum.WalkSpeed = 50 | |
| 5765 | Jumped:Play() | |
| 5766 | coroutine.resume(coroutine.create(function() | |
| 5767 | for i = 1,40 do | |
| 5768 | CamShakeAll(32,80,torso) | |
| 5769 | game:GetService("RunService").RenderStepped:wait()
| |
| 5770 | end | |
| 5771 | end)) | |
| 5772 | local HQ = Instance.new("Part",char)
| |
| 5773 | HQ.Size = Vector3.new(1,0,1) | |
| 5774 | HQ.BrickColor = BrickColor.new("Grey")
| |
| 5775 | HQ.Material = "Neon" | |
| 5776 | HQ.Anchored = true | |
| 5777 | HQ.CanCollide = false | |
| 5778 | HQ.Transparency = 0.7 | |
| 5779 | HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
| 5780 | local HQ2 = Instance.new("SpecialMesh",HQ)
| |
| 5781 | HQ2.MeshId = "rbxassetid://20329976" | |
| 5782 | HQ2.Scale = Vector3.new(1,3,1) | |
| 5783 | ||
| 5784 | local HQG = Instance.new("Part",char)
| |
| 5785 | HQG.Size = Vector3.new(1,0,1) | |
| 5786 | HQG.BrickColor = BrickColor.new("Grey")
| |
| 5787 | HQG.Material = "Neon" | |
| 5788 | HQG.Anchored = true | |
| 5789 | HQG.Transparency = 0.7 | |
| 5790 | HQG.CanCollide = false | |
| 5791 | HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
| 5792 | local HQG2 = Instance.new("SpecialMesh",HQG)
| |
| 5793 | HQG2.MeshId = "rbxassetid://20329976" | |
| 5794 | HQG2.Scale = Vector3.new(1,1,1) | |
| 5795 | ||
| 5796 | ||
| 5797 | coroutine.resume(coroutine.create(function() | |
| 5798 | for i = 1,200 do | |
| 5799 | HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5) | |
| 5800 | HQ.Transparency = HQ.Transparency + 0.03 | |
| 5801 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
| 5802 | ||
| 5803 | HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1) | |
| 5804 | HQG.Transparency = HQG.Transparency + 0.03 | |
| 5805 | HQG.CFrame = HQ.CFrame*CFrame.Angles(0,0,0) | |
| 5806 | ||
| 5807 | wait(0.00000000001) | |
| 5808 | ||
| 5809 | ||
| 5810 | end | |
| 5811 | HQ:Destroy() | |
| 5812 | HQ2:Destroy() | |
| 5813 | HQG:Destroy() | |
| 5814 | HQG2:Destroy() | |
| 5815 | end)) | |
| 5816 | local sbs = Instance.new("BodyPosition", torso)
| |
| 5817 | sbs.P = 9000 | |
| 5818 | sbs.D = 1000 | |
| 5819 | sbs.maxForce = Vector3.new(900000, 9000000000, 900000) | |
| 5820 | sbs.position = torso.CFrame.p + Vector3.new(0, 50, 0) | |
| 5821 | ||
| 5822 | wait(0.1) | |
| 5823 | local bv = Instance.new("BodyVelocity")
| |
| 5824 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 5825 | bv.velocity = root.CFrame.lookVector*-70 | |
| 5826 | bv.Parent = root | |
| 5827 | coroutine.resume(coroutine.create(function() | |
| 5828 | for i = 1, 2880, 48 do | |
| 5829 | torso.Weld.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0)) | |
| 5830 | rs:wait(4) | |
| 5831 | end | |
| 5832 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 5833 | end)) | |
| 5834 | for i = 1, 20 do | |
| 5835 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(0)), 0.8)--head | |
| 5836 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso | |
| 5837 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(-50)), 0.8)--rarm | |
| 5838 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(20),math.rad(50)), 0.8)--larm | |
| 5839 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), 0.8)--lleg | |
| 5840 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--rleg | |
| 5841 | ||
| 5842 | wait() | |
| 5843 | end | |
| 5844 | canattack = true | |
| 5845 | canidle = true | |
| 5846 | canwalk = true | |
| 5847 | hum.WalkSpeed = 17 | |
| 5848 | sbs:Destroy() | |
| 5849 | bv:Destroy() | |
| 5850 | end | |
| 5851 | ||
| 5852 | end) | |
| 5853 | ||
| 5854 | ||
| 5855 | ||
| 5856 | ||
| 5857 | ||
| 5858 | ||
| 5859 | ||
| 5860 | ||
| 5861 | ||
| 5862 | ||
| 5863 | ||
| 5864 | ||
| 5865 | ||
| 5866 | ||
| 5867 | ||
| 5868 | ||
| 5869 | ||
| 5870 | mouse.KeyDown:connect(function(key) | |
| 5871 | if key == "e" then | |
| 5872 | if canattack == true then | |
| 5873 | if punched1 == true then | |
| 5874 | punched1 = false | |
| 5875 | punched3 = false | |
| 5876 | punched4 = false | |
| 5877 | canidle = false | |
| 5878 | canwalk= false | |
| 5879 | ||
| 5880 | firsthit() | |
| 5881 | canidle = true | |
| 5882 | canwalk= true | |
| 5883 | punched2 = true | |
| 5884 | end | |
| 5885 | end | |
| 5886 | end | |
| 5887 | end) | |
| 5888 | mouse.KeyDown:connect(function(key) | |
| 5889 | if key == "e" then | |
| 5890 | if canattack == true then | |
| 5891 | if punched2 == true then | |
| 5892 | punched2 = false | |
| 5893 | punched4 = false | |
| 5894 | punched1 = false | |
| 5895 | canidle = false | |
| 5896 | canwalk= false | |
| 5897 | ||
| 5898 | secondhit() | |
| 5899 | canidle = true | |
| 5900 | canwalk= true | |
| 5901 | punched3 = true | |
| 5902 | end | |
| 5903 | end | |
| 5904 | end | |
| 5905 | end) | |
| 5906 | mouse.KeyDown:connect(function(key) | |
| 5907 | if key == "e" then | |
| 5908 | if canattack == true then | |
| 5909 | if punched3 == true then | |
| 5910 | punched3 = false | |
| 5911 | punched2 = false | |
| 5912 | punched1 = false | |
| 5913 | canidle = false | |
| 5914 | canwalk= false | |
| 5915 | ||
| 5916 | thirdhit() | |
| 5917 | canidle = true | |
| 5918 | canwalk= true | |
| 5919 | punched4 = true | |
| 5920 | end | |
| 5921 | end | |
| 5922 | end | |
| 5923 | end) | |
| 5924 | mouse.KeyDown:connect(function(key) | |
| 5925 | if key == "e" then | |
| 5926 | if canattack == true then | |
| 5927 | if punched4 == true then | |
| 5928 | punched4 = false | |
| 5929 | punched2 = false | |
| 5930 | punched3 = false | |
| 5931 | canidle = false | |
| 5932 | canwalk= false | |
| 5933 | ||
| 5934 | lasthit() | |
| 5935 | canidle = true | |
| 5936 | canwalk= true | |
| 5937 | punched1 = true | |
| 5938 | end | |
| 5939 | end | |
| 5940 | end | |
| 5941 | end) |