SHOW:
|
|
- or go back to the newest paste.
| 1 | local punched1 = true | |
| 2 | - | --[[ |
| 2 | + | local punched2 = false |
| 3 | local punched3 = false | |
| 4 | - | ░▒▓█ Ultra Instinct █▓▒░ |
| 4 | + | local punched4 = false |
| 5 | local beamgo4 = 2.2 | |
| 6 | - | --]] |
| 6 | + | local beamgo3 = 1 |
| 7 | local trans = 1 | |
| 8 | - | local Player = game.Players.localPlayer |
| 8 | + | local ssj1 = false |
| 9 | - | local char = Player.Character |
| 9 | + | local ssj2 = false |
| 10 | - | local Character = Player.Character |
| 10 | + | local transforming1 = false |
| 11 | - | local RootPart = Character.HumanoidRootPart |
| 11 | + | local transforming2 = false |
| 12 | - | local Head = Character.Head |
| 12 | + | local transforming3 = false |
| 13 | - | local done = false |
| 13 | + | local transforming4 = false |
| 14 | - | local canheal = false |
| 14 | + | local onaura = true |
| 15 | - | local deathchat1 = false |
| 15 | + | |
| 16 | - | local once = true |
| 16 | + | local enabled = true |
| 17 | - | local dead = false |
| 17 | + | local beamgo = 2.2 |
| 18 | - | local candie = true |
| 18 | + | |
| 19 | - | local deathchat = false |
| 19 | + | local p = game.Players.LocalPlayer |
| 20 | - | local idleon = true |
| 20 | + | local char = p.Character |
| 21 | - | local idle1 = true |
| 21 | + | local mouse = p:GetMouse() |
| 22 | - | local idle = true |
| 22 | + | local larm = char["Left Arm"] |
| 23 | - | local spiritballenergy = true |
| 23 | + | local rarm = char["Right Arm"] |
| 24 | - | for i, v in pairs(game:GetService("Players").LocalPlayer.Character:children()) do
|
| 24 | + | local lleg = char["Left Leg"] |
| 25 | - | if v:IsA("Accessory") then
|
| 25 | + | local rleg = char["Right Leg"] |
| 26 | - | v:Destroy() |
| 26 | + | local hed = char.Head |
| 27 | - | end |
| 27 | + | local torso = char.Torso |
| 28 | local hum = char.Humanoid | |
| 29 | - | for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
|
| 29 | + | local root = char.HumanoidRootPart |
| 30 | - | if v:IsA("Shirt") then
|
| 30 | + | local canattack = true |
| 31 | - | v:Remove() |
| 31 | + | local canwalk = true |
| 32 | - | end |
| 32 | + | local canwalk1 = true |
| 33 | local canidle = true | |
| 34 | - | for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
|
| 34 | + | local rs = game:GetService("RunService").RenderStepped
|
| 35 | - | if v:IsA("Pants") then
|
| 35 | + | |
| 36 | - | v:Remove() |
| 36 | + | |
| 37 | - | end |
| 37 | + | local ns = NumberSequence.new |
| 38 | local nr = NumberRange.new | |
| 39 | - | wait() |
| 39 | + | |
| 40 | - | shirt = Instance.new("Shirt", game:GetService("Players").LocalPlayer.Character)
|
| 40 | + | |
| 41 | - | shirt.Name = "Shirt" |
| 41 | + | |
| 42 | - | pants = Instance.new("Pants", game:GetService("Players").LocalPlayer.Character)
|
| 42 | + | |
| 43 | - | pants.Name = "Pants" |
| 43 | + | |
| 44 | local beam1 = false | |
| 45 | local beam2 = false | |
| 46 | for i,v in pairs(char:GetChildren()) do | |
| 47 | if v.ClassName == "Accessory" then | |
| 48 | v:Destroy() | |
| 49 | end | |
| 50 | end | |
| 51 | ----------------------------------- | |
| 52 | --god/health | |
| 53 | - | Instance.new("ForceField",char).Visible = false
|
| 53 | + | |
| 54 | - | local poo = Instance.new("IntValue",Character)
|
| 54 | + | Instance.new("ForceField",char).Visible = false
|
| 55 | - | poo.Name = "haha nope" |
| 55 | + | hum.MaxHealth = math.huge |
| 56 | - | char.Humanoid.MaxHealth = math.huge |
| 56 | + | hum.Health = math.huge |
| 57 | - | wait() |
| 57 | + | hum.Name = "nohit" |
| 58 | - | char.Humanoid.Health = math.huge |
| 58 | + | |
| 59 | - | Instance.new("ForceField",char).Visible = false
|
| 59 | + | ----------------------------------- |
| 60 | - | local skinCol = "Pastel brown" |
| 60 | + | function Lerp(c1,c2,al) |
| 61 | - | local bd = Player:FindFirstChild("Body Colors")
|
| 61 | + | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
|
| 62 | - | if bd then |
| 62 | + | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
|
| 63 | - | bd.HeadColor = BrickColor.new(skinCol) |
| 63 | + | for i,v in pairs(com1) do |
| 64 | - | bd.TorsoColor = BrickColor.new(skinCol) |
| 64 | + | com1[i] = v+(com2[i]-v)*al |
| 65 | - | bd.LeftLegColor = BrickColor.new(skinCol) |
| 65 | + | |
| 66 | - | bd.RightLegColor = BrickColor.new(skinCol) |
| 66 | + | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) |
| 67 | - | bd.LeftArmColor = BrickColor.new(skinCol) |
| 67 | + | |
| 68 | - | bd.RightArmColor = BrickColor.new(skinCol) |
| 68 | + | ---------------------------------------------------------------------------------------------------- |
| 69 | - | else |
| 69 | + | |
| 70 | - | bd = Instance.new("BodyColors", Player)
|
| 70 | + | |
| 71 | - | bd.HeadColor = BrickColor.new(skinCol) |
| 71 | + | local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + torso.CFrame.lookVector * 5 |
| 72 | - | bd.TorsoColor = BrickColor.new(skinCol) |
| 72 | + | |
| 73 | - | bd.LeftLegColor = BrickColor.new(skinCol) |
| 73 | + | |
| 74 | - | bd.RightLegColor = BrickColor.new(skinCol) |
| 74 | + | |
| 75 | - | bd.LeftArmColor = BrickColor.new(skinCol) |
| 75 | + | |
| 76 | - | bd.RightArmColor = BrickColor.new(skinCol) |
| 76 | + | |
| 77 | wave.CanCollide = false | |
| 78 | - | local number = 1 |
| 78 | + | |
| 79 | wave.Size = Vector3.new(1, 1, 1) | |
| 80 | wave.TopSurface = "Smooth" | |
| 81 | wave.BottomSurface = "Smooth" | |
| 82 | wave.Transparency = 0.35 | |
| 83 | - | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 83 | + | |
| 84 | - | Colors = {"Dark blue", "Dark blue"}
|
| 84 | + | wm = Instance.new("SpecialMesh", wave)
|
| 85 | wm.MeshId = "rbxassetid://3270017" | |
| 86 | - | local wave11 = Instance.new("Part", char)
|
| 86 | + | |
| 87 | - | wave11.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 87 | + | |
| 88 | - | wave11.Anchored = true |
| 88 | + | wm.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) |
| 89 | - | wave11.Name = "Wave" |
| 89 | + | |
| 90 | - | wave11.CanCollide = false |
| 90 | + | |
| 91 | - | wave11.Locked = true |
| 91 | + | |
| 92 | - | wave11.Size = Vector3.new(1, 1, 1) |
| 92 | + | |
| 93 | - | wave11.TopSurface = "Smooth" |
| 93 | + | |
| 94 | - | wave11.BottomSurface = "Smooth" |
| 94 | + | |
| 95 | - | wave11.Transparency = 0.35 |
| 95 | + | |
| 96 | - | wave11.CFrame = HandCF |
| 96 | + | |
| 97 | - | wm31 = Instance.new("SpecialMesh", wave11)
|
| 97 | + | |
| 98 | - | wm31.MeshId = "rbxassetid://3270017" |
| 98 | + | |
| 99 | - | coroutine.wrap(function() |
| 99 | + | |
| 100 | - | for i = 1, 30, 1 do |
| 100 | + | |
| 101 | - | wm31.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) |
| 101 | + | local wave3 = Instance.new("Part", char)
|
| 102 | - | wave11.Size = wm31.Scale |
| 102 | + | wave3.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 103 | - | wave11.CFrame = HandCF |
| 103 | + | wave3.Anchored = true |
| 104 | - | wave11.Transparency = i/30 |
| 104 | + | wave3.Name = "Wave" |
| 105 | wave3.CanCollide = false | |
| 106 | wave3.Locked = true | |
| 107 | wave3.Size = Vector3.new(1, 1, 1) | |
| 108 | - | wave11:Destroy() |
| 108 | + | wave3.TopSurface = "Smooth" |
| 109 | wave3.BottomSurface = "Smooth" | |
| 110 | wave3.Transparency = 0.35 | |
| 111 | wave3.CFrame = HandCF | |
| 112 | - | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)) |
| 112 | + | wm1 = Instance.new("SpecialMesh", wave3)
|
| 113 | - | Colors = {"White", "Dark blue"}
|
| 113 | + | wm1.MeshId = "rbxassetid://3270017" |
| 114 | - | local wave111 = Instance.new("Part", char)
|
| 114 | + | |
| 115 | - | wave111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 115 | + | |
| 116 | - | wave111.Anchored = true |
| 116 | + | wm1.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) |
| 117 | - | wave111.Name = "Wave" |
| 117 | + | wave3.Size = wm1.Scale |
| 118 | - | wave111.CanCollide = false |
| 118 | + | wave3.CFrame = HandCF |
| 119 | - | wave111.Locked = true |
| 119 | + | wave3.Transparency = i/30 |
| 120 | - | wave111.Size = Vector3.new(1, 1, 1) |
| 120 | + | |
| 121 | - | wave111.TopSurface = "Smooth" |
| 121 | + | |
| 122 | - | wave111.BottomSurface = "Smooth" |
| 122 | + | |
| 123 | - | wave111.Transparency = 0.35 |
| 123 | + | wave3:Destroy() |
| 124 | - | wave111.CFrame = HandCF |
| 124 | + | |
| 125 | - | wm311 = Instance.new("SpecialMesh", wave111)
|
| 125 | + | |
| 126 | - | wm311.MeshId = "rbxassetid://3270017" |
| 126 | + | |
| 127 | - | coroutine.wrap(function() |
| 127 | + | |
| 128 | - | for i = 1, 30, 1 do |
| 128 | + | |
| 129 | - | wm311.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) |
| 129 | + | local wave2 = Instance.new("Part", char)
|
| 130 | - | wave111.Size = wm311.Scale |
| 130 | + | wave2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 131 | - | wave111.CFrame = HandCF |
| 131 | + | wave2.Anchored = true |
| 132 | - | wave111.Transparency = i/30 |
| 132 | + | wave2.Name = "Wave" |
| 133 | wave2.CanCollide = false | |
| 134 | wave2.Locked = true | |
| 135 | wave2.Size = Vector3.new(1, 1, 1) | |
| 136 | - | wave111:Destroy() |
| 136 | + | wave2.TopSurface = "Smooth" |
| 137 | wave2.BottomSurface = "Smooth" | |
| 138 | wave2.Transparency = 0.35 | |
| 139 | wave2.CFrame = HandCF | |
| 140 | - | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)) |
| 140 | + | wm2 = Instance.new("SpecialMesh", wave2)
|
| 141 | - | Colors = {"Dark blue", "White"}
|
| 141 | + | wm2.MeshId = "rbxassetid://3270017" |
| 142 | - | local wave1111 = Instance.new("Part", char)
|
| 142 | + | |
| 143 | - | wave1111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 143 | + | |
| 144 | - | wave1111.Anchored = true |
| 144 | + | wm2.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) |
| 145 | - | wave1111.Name = "Wave" |
| 145 | + | wave2.Size = wm2.Scale |
| 146 | - | wave1111.CanCollide = false |
| 146 | + | wave2.CFrame = HandCF |
| 147 | - | wave1111.Locked = true |
| 147 | + | wave2.Transparency = i/30 |
| 148 | - | wave1111.Size = Vector3.new(1, 1, 1) |
| 148 | + | |
| 149 | - | wave1111.TopSurface = "Smooth" |
| 149 | + | |
| 150 | - | wave1111.BottomSurface = "Smooth" |
| 150 | + | |
| 151 | - | wave1111.Transparency = 0.35 |
| 151 | + | wave2:Destroy() |
| 152 | - | wave1111.CFrame = HandCF |
| 152 | + | |
| 153 | - | wm3111 = Instance.new("SpecialMesh", wave1111)
|
| 153 | + | |
| 154 | - | wm3111.MeshId = "rbxassetid://3270017" |
| 154 | + | |
| 155 | - | coroutine.wrap(function() |
| 155 | + | |
| 156 | - | for i = 1, 30, 1 do |
| 156 | + | |
| 157 | - | wm3111.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) |
| 157 | + | local wave1 = Instance.new("Part", char)
|
| 158 | - | wave1111.Size = wm3111.Scale |
| 158 | + | wave1.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 159 | - | wave1111.CFrame = HandCF |
| 159 | + | wave1.Anchored = true |
| 160 | - | wave1111.Transparency = i/30 |
| 160 | + | wave1.Name = "Wave" |
| 161 | wave1.CanCollide = false | |
| 162 | wave1.Locked = true | |
| 163 | wave1.Size = Vector3.new(1, 1, 1) | |
| 164 | - | wave1111:Destroy() |
| 164 | + | wave1.TopSurface = "Smooth" |
| 165 | wave1.BottomSurface = "Smooth" | |
| 166 | wave1.Transparency = 0.35 | |
| 167 | wave1.CFrame = HandCF | |
| 168 | - | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(60), math.rad(30), math.rad(0)) |
| 168 | + | wm3 = Instance.new("SpecialMesh", wave1)
|
| 169 | - | Colors = {"Dark blue", "Dark blue"}
|
| 169 | + | wm3.MeshId = "rbxassetid://3270017" |
| 170 | - | local wave11111 = Instance.new("Part", char)
|
| 170 | + | |
| 171 | - | wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 171 | + | |
| 172 | - | wave11111.Anchored = true |
| 172 | + | wm3.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) |
| 173 | - | wave11111.Name = "Wave" |
| 173 | + | wave1.Size = wm3.Scale |
| 174 | - | wave11111.CanCollide = false |
| 174 | + | wave1.CFrame = HandCF |
| 175 | - | wave11111.Locked = true |
| 175 | + | wave1.Transparency = i/30 |
| 176 | - | wave11111.Size = Vector3.new(1, 1, 1) |
| 176 | + | |
| 177 | - | wave11111.TopSurface = "Smooth" |
| 177 | + | |
| 178 | - | wave11111.BottomSurface = "Smooth" |
| 178 | + | |
| 179 | - | wave11111.Transparency = 0.35 |
| 179 | + | wave1:Destroy() |
| 180 | - | wave11111.CFrame = HandCF |
| 180 | + | |
| 181 | - | wm31111 = Instance.new("SpecialMesh", wave11111)
|
| 181 | + | |
| 182 | - | wm31111.MeshId = "rbxassetid://3270017" |
| 182 | + | |
| 183 | - | coroutine.wrap(function() |
| 183 | + | |
| 184 | - | for i = 1, 30, 1 do |
| 184 | + | |
| 185 | - | wm31111.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) |
| 185 | + | local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 186 | - | wave11111.Size = wm31111.Scale |
| 186 | + | Colors = {"New Yeller", "New Yeller"}
|
| 187 | - | wave11111.CFrame = HandCF |
| 187 | + | local wave11 = Instance.new("Part", char)
|
| 188 | - | wave11111.Transparency = i/30 |
| 188 | + | wave11.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 189 | wave11.Anchored = true | |
| 190 | wave11.Name = "Wave" | |
| 191 | wave11.CanCollide = false | |
| 192 | - | wave11111:Destroy() |
| 192 | + | wave11.Locked = true |
| 193 | wave11.Size = Vector3.new(1, 1, 1) | |
| 194 | wave11.TopSurface = "Smooth" | |
| 195 | wave11.BottomSurface = "Smooth" | |
| 196 | - | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(50), math.rad(70)) |
| 196 | + | wave11.Transparency = 0.35 |
| 197 | wave11.CFrame = HandCF | |
| 198 | - | Colors = {"Cyan", "White"}
|
| 198 | + | wm31 = Instance.new("SpecialMesh", wave11)
|
| 199 | - | local wave111111 = Instance.new("Part", char)
|
| 199 | + | wm31.MeshId = "rbxassetid://3270017" |
| 200 | - | wave111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 200 | + | |
| 201 | - | wave111111.Anchored = true |
| 201 | + | |
| 202 | - | wave111111.Name = "Wave" |
| 202 | + | wm31.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) |
| 203 | - | wave111111.CanCollide = false |
| 203 | + | wave11.Size = wm31.Scale |
| 204 | - | wave111111.Locked = true |
| 204 | + | wave11.CFrame = HandCF |
| 205 | - | wave111111.Size = Vector3.new(1, 1, 1) |
| 205 | + | wave11.Transparency = i/30 |
| 206 | - | wave111111.TopSurface = "Smooth" |
| 206 | + | |
| 207 | - | wave111111.BottomSurface = "Smooth" |
| 207 | + | |
| 208 | - | wave111111.Transparency = 0.35 |
| 208 | + | |
| 209 | - | wave111111.CFrame = HandCF |
| 209 | + | wave11:Destroy() |
| 210 | - | wm311111 = Instance.new("SpecialMesh", wave111111)
|
| 210 | + | |
| 211 | - | wm311111.MeshId = "rbxassetid://3270017" |
| 211 | + | |
| 212 | - | coroutine.wrap(function() |
| 212 | + | |
| 213 | - | for i = 1, 30, 1 do |
| 213 | + | local HandCF = torso.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) |
| 214 | - | wm311111.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) |
| 214 | + | Colors = {"New Yeller", "New Yeller"}
|
| 215 | - | wave111111.Size = wm311111.Scale |
| 215 | + | local wave111 = Instance.new("Part", char)
|
| 216 | - | wave111111.CFrame = HandCF |
| 216 | + | wave111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 217 | - | wave111111.Transparency = i/30 |
| 217 | + | wave111.Anchored = true |
| 218 | wave111.Name = "Wave" | |
| 219 | wave111.CanCollide = false | |
| 220 | wave111.Locked = true | |
| 221 | - | wave111111:Destroy() |
| 221 | + | wave111.Size = Vector3.new(1, 1, 1) |
| 222 | wave111.TopSurface = "Smooth" | |
| 223 | wave111.BottomSurface = "Smooth" | |
| 224 | wave111.Transparency = 0.35 | |
| 225 | - | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)) |
| 225 | + | wave111.CFrame = HandCF |
| 226 | - | Colors = {"White", "Dark blue"}
|
| 226 | + | wm311 = Instance.new("SpecialMesh", wave111)
|
| 227 | - | local wave1111111 = Instance.new("Part", char)
|
| 227 | + | wm311.MeshId = "rbxassetid://3270017" |
| 228 | - | wave1111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 228 | + | |
| 229 | - | wave1111111.Anchored = true |
| 229 | + | |
| 230 | - | wave1111111.Name = "Wave" |
| 230 | + | wm311.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) |
| 231 | - | wave1111111.CanCollide = false |
| 231 | + | wave111.Size = wm311.Scale |
| 232 | - | wave1111111.Locked = true |
| 232 | + | wave111.CFrame = HandCF |
| 233 | - | wave1111111.Size = Vector3.new(1, 1, 1) |
| 233 | + | wave111.Transparency = i/30 |
| 234 | - | wave1111111.TopSurface = "Smooth" |
| 234 | + | |
| 235 | - | wave1111111.BottomSurface = "Smooth" |
| 235 | + | |
| 236 | - | wave1111111.Transparency = 0.35 |
| 236 | + | |
| 237 | - | wave1111111.CFrame = HandCF |
| 237 | + | wave111:Destroy() |
| 238 | - | wm3111111 = Instance.new("SpecialMesh", wave1111111)
|
| 238 | + | |
| 239 | - | wm3111111.MeshId = "rbxassetid://3270017" |
| 239 | + | |
| 240 | - | coroutine.wrap(function() |
| 240 | + | |
| 241 | - | for i = 1, 30, 1 do |
| 241 | + | local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 242 | - | wm3111111.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) |
| 242 | + | Colors = {"New Yeller", "New Yeller"}
|
| 243 | - | wave1111111.Size = wm3111111.Scale |
| 243 | + | local wave1111 = Instance.new("Part", char)
|
| 244 | - | wave1111111.CFrame = HandCF |
| 244 | + | wave1111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 245 | - | wave1111111.Transparency = i/30 |
| 245 | + | wave1111.Anchored = true |
| 246 | wave1111.Name = "Wave" | |
| 247 | wave1111.CanCollide = false | |
| 248 | wave1111.Locked = true | |
| 249 | - | wave1111111:Destroy() |
| 249 | + | wave1111.Size = Vector3.new(1, 1, 1) |
| 250 | wave1111.TopSurface = "Smooth" | |
| 251 | wave1111.BottomSurface = "Smooth" | |
| 252 | wave1111.Transparency = 0.35 | |
| 253 | wave1111.CFrame = HandCF | |
| 254 | wm3111 = Instance.new("SpecialMesh", wave1111)
| |
| 255 | - | local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + RootPart.CFrame.lookVector * 5 |
| 255 | + | wm3111.MeshId = "rbxassetid://3270017" |
| 256 | coroutine.wrap(function() | |
| 257 | - | local wave = Instance.new("Part", char)
|
| 257 | + | |
| 258 | - | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 258 | + | wm3111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) |
| 259 | - | wave.Anchored = true |
| 259 | + | wave1111.Size = wm3111.Scale |
| 260 | - | wave.Name = "Wave"..number |
| 260 | + | wave1111.CFrame = HandCF |
| 261 | - | wave.CanCollide = false |
| 261 | + | wave1111.Transparency = i/30 |
| 262 | - | wave.Locked = true |
| 262 | + | |
| 263 | - | wave.Size = Vector3.new(1, 1, 1) |
| 263 | + | |
| 264 | - | wave.TopSurface = "Smooth" |
| 264 | + | |
| 265 | - | wave.BottomSurface = "Smooth" |
| 265 | + | wave1111:Destroy() |
| 266 | - | wave.Transparency = 0.35 |
| 266 | + | |
| 267 | - | wave.CFrame = HandCF |
| 267 | + | |
| 268 | - | wm = Instance.new("SpecialMesh", wave)
|
| 268 | + | |
| 269 | - | wm.Name = "wave"..number |
| 269 | + | local HandCF = torso.CFrame * CFrame.Angles(math.rad(40), math.rad(90), math.rad(0)) |
| 270 | - | wm.MeshId = "rbxassetid://3270017" |
| 270 | + | Colors = {"New Yeller", "New Yeller"}
|
| 271 | - | coroutine.wrap(function() |
| 271 | + | local wave11111 = Instance.new("Part", char)
|
| 272 | - | for i = 1, 30, 1 do |
| 272 | + | wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 273 | - | wm.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5) |
| 273 | + | wave11111.Anchored = true |
| 274 | - | wave.Size = wm.Scale |
| 274 | + | wave11111.Name = "Wave" |
| 275 | - | wave.CFrame = HandCF |
| 275 | + | wave11111.CanCollide = false |
| 276 | - | wave.Transparency = i/30 |
| 276 | + | wave11111.Locked = true |
| 277 | wave11111.Size = Vector3.new(1, 1, 1) | |
| 278 | wave11111.TopSurface = "Smooth" | |
| 279 | wave11111.BottomSurface = "Smooth" | |
| 280 | - | wave:Destroy() |
| 280 | + | wave11111.Transparency = 0.35 |
| 281 | wave11111.CFrame = HandCF | |
| 282 | wm31111 = Instance.new("SpecialMesh", wave11111)
| |
| 283 | wm31111.MeshId = "rbxassetid://3270017" | |
| 284 | coroutine.wrap(function() | |
| 285 | for i = 1, 30, 1 do | |
| 286 | - | shirt = Instance.new("Shirt", char)
|
| 286 | + | wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) |
| 287 | - | shirt.Name = "Shirt" |
| 287 | + | wave11111.Size = wm31111.Scale |
| 288 | - | pants = Instance.new("Pants", char)
|
| 288 | + | wave11111.CFrame = HandCF |
| 289 | - | pants.Name = "Pants" |
| 289 | + | wave11111.Transparency = i/30 |
| 290 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1162887253" |
| 290 | + | |
| 291 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1162887782" |
| 291 | + | |
| 292 | - | char.Head.face.Texture = "rbxassetid://681212054" |
| 292 | + | |
| 293 | wave11111:Destroy() | |
| 294 | end)() | |
| 295 | end | |
| 296 | GroundWave9 = function() | |
| 297 | local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(40)) | |
| 298 | Colors = {"New Yeller", "New Yeller"}
| |
| 299 | local wave111111 = Instance.new("Part", char)
| |
| 300 | wave111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 301 | wave111111.Anchored = true | |
| 302 | wave111111.Name = "Wave" | |
| 303 | wave111111.CanCollide = false | |
| 304 | wave111111.Locked = true | |
| 305 | wave111111.Size = Vector3.new(1, 1, 1) | |
| 306 | wave111111.TopSurface = "Smooth" | |
| 307 | wave111111.BottomSurface = "Smooth" | |
| 308 | wave111111.Transparency = 0.35 | |
| 309 | wave111111.CFrame = HandCF | |
| 310 | - | Weld1.Parent = char.Head |
| 310 | + | wm311111 = Instance.new("SpecialMesh", wave111111)
|
| 311 | - | Weld1.Part0 = char.Head |
| 311 | + | wm311111.MeshId = "rbxassetid://3270017" |
| 312 | coroutine.wrap(function() | |
| 313 | - | Weld1.C0 = CFrame.new(0, 1.2, -0.17) |
| 313 | + | |
| 314 | wm311111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
| 315 | wave111111.Size = wm311111.Scale | |
| 316 | - | Mesh.Offset = Vector3.new(0,-0.4,0) |
| 316 | + | wave111111.CFrame = HandCF |
| 317 | wave111111.Transparency = i/30 | |
| 318 | - | Mesh.Scale = Vector3.new(6.5, 6.5, 6.5) |
| 318 | + | |
| 319 | end | |
| 320 | - | Mesh.MeshId = "http://www.roblox.com/asset/?id=501884712" |
| 320 | + | |
| 321 | - | Mesh.TextureId = "" |
| 321 | + | wave111111:Destroy() |
| 322 | end)() | |
| 323 | - | game.Chat:Chat(Character, "Not yet... I ain't finished yet..", "White") |
| 323 | + | |
| 324 | - | local Must2 = Instance.new("Sound",char)
|
| 324 | + | |
| 325 | - | Must2.SoundId = "rbxassetid://1173681504" |
| 325 | + | local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
| 326 | - | Must2.Pitch = 0.99 |
| 326 | + | Colors = {"New Yeller", "New Yeller"}
|
| 327 | - | Must2.Volume = 1.6 |
| 327 | + | local wave1111111 = Instance.new("Part", char)
|
| 328 | - | Must2.Looped = true |
| 328 | + | wave1111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 329 | wave1111111.Anchored = true | |
| 330 | - | Must2:Play() |
| 330 | + | wave1111111.Name = "Wave" |
| 331 | - | wait(3) |
| 331 | + | wave1111111.CanCollide = false |
| 332 | wave1111111.Locked = true | |
| 333 | wave1111111.Size = Vector3.new(1, 1, 1) | |
| 334 | wave1111111.TopSurface = "Smooth" | |
| 335 | wave1111111.BottomSurface = "Smooth" | |
| 336 | wave1111111.Transparency = 0.35 | |
| 337 | wave1111111.CFrame = HandCF | |
| 338 | wm3111111 = Instance.new("SpecialMesh", wave1111111)
| |
| 339 | wm3111111.MeshId = "rbxassetid://3270017" | |
| 340 | coroutine.wrap(function() | |
| 341 | for i = 1, 30, 1 do | |
| 342 | wm3111111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
| 343 | wave1111111.Size = wm3111111.Scale | |
| 344 | wave1111111.CFrame = HandCF | |
| 345 | wave1111111.Transparency = i/30 | |
| 346 | wait() | |
| 347 | end | |
| 348 | wait() | |
| 349 | wave1111111:Destroy() | |
| 350 | - | Weld1.Parent = char.Head |
| 350 | + | |
| 351 | - | Weld1.Part0 = char.Head |
| 351 | + | |
| 352 | ---------------------------------------------------------------------------------------------------- | |
| 353 | - | Weld1.C0 = CFrame.new(-0.1, 1.1, -0.2) * CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)) |
| 353 | + | --Hair |
| 354 | ||
| 355 | a8 = new("Part",char)
| |
| 356 | - | Mesh.Offset = Vector3.new(0,-0.2,-0.14) |
| 356 | + | a8.Name = "Hair" |
| 357 | a8.Size = v3(2.92, 2.58, 2.72) | |
| 358 | - | Mesh.Scale = Vector3.new(7.3,7.1,7.2) |
| 358 | + | a8.BrickColor = bc("Really black")
|
| 359 | a8.Material = "Neon" | |
| 360 | - | Mesh.MeshId = "http://www.roblox.com/asset/?id=1112376656" |
| 360 | + | a8.Transparency = 0 |
| 361 | - | Mesh.TextureId = "" |
| 361 | + | aa8 = new("SpecialMesh",a8)
|
| 362 | - | wait(4) |
| 362 | + | aa8.MeshType = "FileMesh" |
| 363 | - | local poof = Instance.new("Sound",Player)
|
| 363 | + | aa8.Scale = v3(7.3,7.3,7.3) |
| 364 | - | poof.SoundId = "rbxassetid://1035030726" |
| 364 | + | aa8.MeshId = "rbxassetid://455100513" |
| 365 | - | poof.Pitch = 0.99 |
| 365 | + | aaa8 =new("Weld",a8)
|
| 366 | - | poof.Volume = 1.3 |
| 366 | + | aaa8.Part0 = hed |
| 367 | - | poof.Looped = false |
| 367 | + | aaa8.Part1 = a8 |
| 368 | aaa8.C0 = cf(-0.15,.9,-0.1) * cfa(rad(0),rad(0),rad(0)) | |
| 369 | - | poof:Play() |
| 369 | + | |
| 370 | ||
| 371 | - | GroundWave6() |
| 371 | + | |
| 372 | - | GroundWave7() |
| 372 | + | |
| 373 | - | GroundWave8() |
| 373 | + | |
| 374 | - | GroundWave9() |
| 374 | + | |
| 375 | - | GroundWave10() |
| 375 | + | |
| 376 | ||
| 377 | ||
| 378 | - | game.Chat:Chat(Character, "...", "White") |
| 378 | + | --Clothes |
| 379 | if char.Shirt == nil then | |
| 380 | Instance.new("Shirt",char)
| |
| 381 | end | |
| 382 | if char.Pants == nil then | |
| 383 | Instance.new("Pants",char)
| |
| 384 | end | |
| 385 | wait(0.5) | |
| 386 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=984827870" | |
| 387 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=819422015" | |
| 388 | ||
| 389 | ------------------------------------------------------------------------------ | |
| 390 | --Sounds | |
| 391 | --Folder | |
| 392 | soundfolder = Instance.new("Model",char)
| |
| 393 | soundfolder.Name = "Sound Folder" | |
| 394 | --Sounds | |
| 395 | - | Weld1.Parent = char.Head |
| 395 | + | |
| 396 | - | Weld1.Part0 = char.Head |
| 396 | + | |
| 397 | kamecharge.Name = "kamecharge" | |
| 398 | - | Weld1.C0 = CFrame.new(0, 1.2, -0.17) * CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)) |
| 398 | + | |
| 399 | kamecharge.SoundId = "rbxassetid://23414092" | |
| 400 | kamefire = Instance.new("Sound",soundfolder)
| |
| 401 | - | Mesh.Offset = Vector3.new(0,-0.2,-0.14) |
| 401 | + | |
| 402 | kamefire.Name = "kamefire" | |
| 403 | - | Mesh.Scale = Vector3.new(7.3,5.8,7.2) |
| 403 | + | |
| 404 | kamefire.SoundId = "rbxassetid://1117288204" | |
| 405 | - | Mesh.MeshId = "http://www.roblox.com/asset/?id=1125231485" |
| 405 | + | |
| 406 | - | Mesh.TextureId = "" |
| 406 | + | |
| 407 | - | char.Head.face.Texture = "rbxassetid://986775808" |
| 407 | + | |
| 408 | kamehit.Looped = false | |
| 409 | kamehit.SoundId = "rbxassetid://1399597408" | |
| 410 | - | local ice = Instance.new("Part", Head)
|
| 410 | + | |
| 411 | - | ice.Size = Vector3.new(0.5, 0.5, 0.5) |
| 411 | + | ssjaura.Volume = 10 |
| 412 | - | ice.BrickColor = BrickColor.new("White")
|
| 412 | + | |
| 413 | - | ice.CanCollide = false |
| 413 | + | |
| 414 | - | ice.TopSurface = 0 |
| 414 | + | ssjaura.SoundId = "rbxassetid://590580266" |
| 415 | - | ice.BottomSurface = 0 |
| 415 | + | |
| 416 | - | ice.Transparency = 1 |
| 416 | + | |
| 417 | - | local ice2 = Instance.new("SpecialMesh", ice)
|
| 417 | + | |
| 418 | - | ice2.MeshType = "Brick" |
| 418 | + | |
| 419 | - | ice2.Scale = Vector3.new(1, 1, 1) |
| 419 | + | ssjauraburst.SoundId = "rbxassetid://23414092" |
| 420 | - | local ice3 = Instance.new("Weld", ice)
|
| 420 | + | |
| 421 | - | ice3.Part0 = Head |
| 421 | + | ssjmusic.Volume = 10 |
| 422 | - | ice3.Part1 = ice |
| 422 | + | |
| 423 | - | ice3.C0 = CFrame.new(0, 0, -0.8) * CFrame.Angles(0, 0, 0) |
| 423 | + | |
| 424 | - | local icesmoke = Instance.new("ParticleEmitter", ice)
|
| 424 | + | ssjmusic.SoundId = "rbxassetid://356255172" |
| 425 | - | icesmoke.VelocitySpread = 5 |
| 425 | + | |
| 426 | - | icesmoke.Size = NumberSequence.new({
|
| 426 | + | ssj2music.Volume = 10 |
| 427 | - | NumberSequenceKeypoint.new(0, 0.01), |
| 427 | + | |
| 428 | - | NumberSequenceKeypoint.new(1, 1) |
| 428 | + | |
| 429 | - | }) |
| 429 | + | ssj2music.SoundId = "rbxassetid://864803781" |
| 430 | - | icesmoke.Rate = math.huge |
| 430 | + | |
| 431 | - | icesmoke.Speed = NumberRange.new(1, 1) |
| 431 | + | ssj2aura.Volume = 10 |
| 432 | - | icesmoke.Lifetime = NumberRange.new(0.5, 0.8) |
| 432 | + | |
| 433 | - | icesmoke.Transparency = NumberSequence.new({
|
| 433 | + | |
| 434 | - | NumberSequenceKeypoint.new(0, 0.9), |
| 434 | + | ssj2aura.SoundId = "rbxassetid:/262498472/" |
| 435 | - | NumberSequenceKeypoint.new(1, 1) |
| 435 | + | |
| 436 | - | }) |
| 436 | + | Lightning.Volume = math.huge |
| 437 | - | icesmoke.Rotation = NumberRange.new(0, 360) |
| 437 | + | |
| 438 | - | icesmoke.Name = "Smoke" |
| 438 | + | |
| 439 | - | icesmoke.LightEmission = 0 |
| 439 | + | Lightning.SoundId = "rbxasset://sounds/HalloweenThunder.wav" |
| 440 | - | icesmoke.Acceleration = Vector3.new(0,0,0) |
| 440 | + | fahersonstart = Instance.new("Sound",soundfolder)
|
| 441 | - | icesmoke.Texture = "http://www.roblox.com/asset/?id=" |
| 441 | + | fahersonstart.Volume = math.huge |
| 442 | - | icesmoke.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0.5), Color3.new(0.5, 0.5, 0.5)) |
| 442 | + | fahersonstart.Name = "fahersonstart" |
| 443 | - | icesmoke.LockedToPart = true |
| 443 | + | fahersonstart.Looped = false |
| 444 | - | maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor.Name |
| 444 | + | fahersonstart.SoundId = "rbxassetid://965826738" |
| 445 | - | secondcolor = "Really black" |
| 445 | + | fahersonend = Instance.new("Sound",soundfolder)
|
| 446 | - | wait(0.016666666666666666) |
| 446 | + | fahersonend.Volume = math.huge |
| 447 | - | Effects = {}
|
| 447 | + | fahersonend.Name = "fahersonend" |
| 448 | - | local Player = game.Players.localPlayer |
| 448 | + | fahersonend.Looped = false |
| 449 | - | local Character = Player.Character |
| 449 | + | fahersonend.SoundId = "rbxassetid://958391222" |
| 450 | - | local Humanoid = Character.Humanoid |
| 450 | + | punchsound = Instance.new("Sound",soundfolder)
|
| 451 | - | local mouse = Player:GetMouse() |
| 451 | + | punchsound.Volume = 10 |
| 452 | - | local LeftArm = Character["Left Arm"] |
| 452 | + | punchsound.Name = "punchsound" |
| 453 | - | local RightArm = Character["Right Arm"] |
| 453 | + | punchsound.Looped = false |
| 454 | - | local LeftLeg = Character["Left Leg"] |
| 454 | + | punchsound.SoundId = "rbxassetid://896246498" |
| 455 | - | local RightLeg = Character["Right Leg"] |
| 455 | + | |
| 456 | - | local Head = Character.Head |
| 456 | + | |
| 457 | - | local Torso = Character.Torso |
| 457 | + | |
| 458 | - | local cam = game.Workspace.CurrentCamera |
| 458 | + | |
| 459 | - | local RootJoint = RootPart.RootJoint |
| 459 | + | |
| 460 | - | local equipped = true |
| 460 | + | |
| 461 | - | local attack = false |
| 461 | + | |
| 462 | - | local Anim = "Idle" |
| 462 | + | |
| 463 | - | local idle = 0 |
| 463 | + | |
| 464 | - | local attacktype = 1 |
| 464 | + | |
| 465 | - | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude |
| 465 | + | |
| 466 | - | local velocity = RootPart.Velocity.y |
| 466 | + | |
| 467 | - | local sine = 0 |
| 467 | + | |
| 468 | - | local change = 1 |
| 468 | + | |
| 469 | - | local grabbed = false |
| 469 | + | |
| 470 | - | local cn = CFrame.new |
| 470 | + | |
| 471 | - | local mr = math.rad |
| 471 | + | ---------------------------------------------------- |
| 472 | - | local angles = CFrame.Angles |
| 472 | + | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) |
| 473 | - | local ud = UDim2.new |
| 473 | + | local wld = Instance.new("Weld", wp1)
|
| 474 | - | local c3 = Color3.new |
| 474 | + | wld.Part0 = wp0 |
| 475 | - | local dir = {
|
| 475 | + | wld.Part1 = wp1 |
| 476 | - | w = 0, |
| 476 | + | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) |
| 477 | - | s = 0, |
| 477 | + | |
| 478 | - | a = 0, |
| 478 | + | newWeld(torso, larm, -1.5, 0.5, 0) |
| 479 | - | d = 0 |
| 479 | + | larm.Weld.C1 = CFrame.new(0, 0.5, 0) |
| 480 | - | } |
| 480 | + | newWeld(torso, rarm, 1.5, 0.5, 0) |
| 481 | - | firemode = true |
| 481 | + | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) |
| 482 | - | rock = true |
| 482 | + | newWeld(torso, hed, 0, 1.5, 0) |
| 483 | - | local Services = {
|
| 483 | + | newWeld(torso, lleg, -0.5, -1, 0) |
| 484 | - | SoundService = game:GetService("SoundService"),
|
| 484 | + | lleg.Weld.C1 = CFrame.new(0, 1, 0) |
| 485 | - | Players = game:GetService("Players"),
|
| 485 | + | newWeld(torso, rleg, 0.5, -1, 0) |
| 486 | - | Debris = game:GetService("Debris"),
|
| 486 | + | rleg.Weld.C1 = CFrame.new(0, 1, 0) |
| 487 | - | Workspace = game:GetService("Workspace"),
|
| 487 | + | newWeld(root, torso, 0, -1, 0) |
| 488 | - | Lighting = game:GetService("Lighting"),
|
| 488 | + | torso.Weld.C1 = CFrame.new(0, -1, 0) |
| 489 | - | HttpService = game:GetService("HttpService"),
|
| 489 | + | --Animations |
| 490 | - | InsertService = game:GetService("InsertService")
|
| 490 | + | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 491 | - | } |
| 491 | + | |
| 492 | - | local NeckCF = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
| 492 | + | |
| 493 | - | Humanoid.Animator:Destroy() |
| 493 | + | |
| 494 | - | Character.Animate:Destroy() |
| 494 | + | |
| 495 | - | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
| 495 | + | |
| 496 | - | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) |
| 496 | + | |
| 497 | - | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) |
| 497 | + | |
| 498 | - | RSH, LSH = nil, nil |
| 498 | + | |
| 499 | - | RW = Instance.new("Weld")
|
| 499 | + | |
| 500 | - | LW = Instance.new("Weld")
|
| 500 | + | |
| 501 | - | RH = Torso["Right Hip"] |
| 501 | + | |
| 502 | - | LH = Torso["Left Hip"] |
| 502 | + | |
| 503 | - | RSH = Torso["Right Shoulder"] |
| 503 | + | |
| 504 | - | LSH = Torso["Left Shoulder"] |
| 504 | + | |
| 505 | - | RSH.Parent = nil |
| 505 | + | |
| 506 | - | LSH.Parent = nil |
| 506 | + | |
| 507 | - | RW.Name = "RW" |
| 507 | + | |
| 508 | - | RW.Part0 = Torso |
| 508 | + | |
| 509 | - | RW.C0 = cn(1.5, 0.5, 0) |
| 509 | + | |
| 510 | - | RW.C1 = cn(0, 0.5, 0) |
| 510 | + | |
| 511 | - | RW.Part1 = RightArm |
| 511 | + | |
| 512 | - | RW.Parent = Torso |
| 512 | + | |
| 513 | - | LW.Name = "LW" |
| 513 | + | |
| 514 | - | LW.Part0 = Torso |
| 514 | + | function firsthit() |
| 515 | - | LW.C0 = cn(-1.5, 0.5, 0) |
| 515 | + | punchsound:Play() |
| 516 | - | LW.C1 = cn(0, 0.5, 0) |
| 516 | + | |
| 517 | - | LW.Part1 = LeftArm |
| 517 | + | for i = 1,5 do |
| 518 | - | LW.Parent = Torso |
| 518 | + | 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 |
| 519 | - | -------------- |
| 519 | + | 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 |
| 520 | - | human = char:FindFirstChild("Humanoid")
|
| 520 | + | 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 |
| 521 | - | human.Name = "hi" |
| 521 | + | 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 |
| 522 | - | lig = Instance.new("PointLight",Player.Character.Torso)
|
| 522 | + | 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 |
| 523 | - | lig.Color=Color3.new(0,0,255) |
| 523 | + | 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 |
| 524 | - | lig.Range = 10 |
| 524 | + | |
| 525 | - | ---- |
| 525 | + | |
| 526 | - | function clerp(a, b, t) |
| 526 | + | |
| 527 | - | local qa = {
|
| 527 | + | |
| 528 | - | QuaternionFromCFrame(a) |
| 528 | + | ag = new("Part",char)
|
| 529 | - | } |
| 529 | + | ag.Name = "NewPart" |
| 530 | - | local qb = {
|
| 530 | + | ag.Size = v3(1,1,1) |
| 531 | - | QuaternionFromCFrame(b) |
| 531 | + | ag.CanCollide = false |
| 532 | - | } |
| 532 | + | ag.Position = v3(999,999,999) |
| 533 | - | local ax, ay, az = a.x, a.y, a.z |
| 533 | + | ag.BrickColor = bc("Color")
|
| 534 | - | local bx, by, bz = b.x, b.y, b.z |
| 534 | + | ag.Material = "Neon" |
| 535 | - | local _t = 1 - t |
| 535 | + | ag.Transparency = 1 |
| 536 | - | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) |
| 536 | + | aaag =new("Weld",ag)
|
| 537 | aaag.Part0 = rarm | |
| 538 | - | function QuaternionFromCFrame(cf) |
| 538 | + | aaag.Part1 = ag |
| 539 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
| 539 | + | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) |
| 540 | - | local trace = m00 + m11 + m22 |
| 540 | + | |
| 541 | - | if trace > 0 then |
| 541 | + | |
| 542 | - | local s = math.sqrt(1 + trace) |
| 542 | + | ag.Touched:connect(function(hit) |
| 543 | - | local recip = 0.5 / s |
| 543 | + | for i,v in pairs(hit.Parent:GetChildren()) do |
| 544 | - | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 |
| 544 | + | if v:IsA("Humanoid") then
|
| 545 | - | else |
| 545 | + | ag.TouchInterest:Destroy() |
| 546 | - | local i = 0 |
| 546 | + | if ssj1 == false and ssj2 == false then |
| 547 | - | if m00 < m11 then |
| 547 | + | v.Health = v.Health - 10 |
| 548 | - | i = 1 |
| 548 | + | |
| 549 | - | end |
| 549 | + | if ssj1 == true and ssj2 == true then |
| 550 | - | if m22 > (i == 0 and m00 or m11) then |
| 550 | + | v.Health = v.Health - 20 |
| 551 | - | i = 2 |
| 551 | + | |
| 552 | - | end |
| 552 | + | if ssj1 == false and ssj2 == true then |
| 553 | - | if i == 0 then |
| 553 | + | v.Health = v.Health - 30 |
| 554 | - | local s = math.sqrt(m00 - m11 - m22 + 1) |
| 554 | + | |
| 555 | - | local recip = 0.5 / s |
| 555 | + | punchsound1:Play() |
| 556 | - | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip |
| 556 | + | |
| 557 | - | elseif i == 1 then |
| 557 | + | |
| 558 | - | local s = math.sqrt(m11 - m22 - m00 + 1) |
| 558 | + | |
| 559 | - | local recip = 0.5 / s |
| 559 | + | |
| 560 | - | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip |
| 560 | + | |
| 561 | - | elseif i == 2 then |
| 561 | + | |
| 562 | - | local s = math.sqrt(m22 - m00 - m11 + 1) |
| 562 | + | |
| 563 | - | local recip = 0.5 / s |
| 563 | + | |
| 564 | - | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
| 564 | + | |
| 565 | - | end |
| 565 | + | |
| 566 | - | end |
| 566 | + | |
| 567 | for i= 1,5 do | |
| 568 | - | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
| 568 | + | 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 |
| 569 | - | local xs, ys, zs = x + x, y + y, z + z |
| 569 | + | 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 |
| 570 | - | local wx, wy, wz = w * xs, w * ys, w * zs |
| 570 | + | 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 |
| 571 | - | local xx = x * xs |
| 571 | + | 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 |
| 572 | - | local xy = x * ys |
| 572 | + | 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 |
| 573 | - | local xz = x * zs |
| 573 | + | 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 |
| 574 | - | local yy = y * ys |
| 574 | + | |
| 575 | - | local yz = y * zs |
| 575 | + | |
| 576 | - | local zz = z * zs |
| 576 | + | ag:Destroy() |
| 577 | - | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) |
| 577 | + | |
| 578 | function secondhit() | |
| 579 | - | function QuaternionSlerp(a, b, t) |
| 579 | + | punchsound:Play() |
| 580 | - | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] |
| 580 | + | |
| 581 | - | local startInterp, finishInterp |
| 581 | + | for i = 1,5 do |
| 582 | - | if cosTheta >= 1.0E-4 then |
| 582 | + | 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 |
| 583 | - | if 1 - cosTheta > 1.0E-4 then |
| 583 | + | 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 |
| 584 | - | local theta = math.acos(cosTheta) |
| 584 | + | 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 |
| 585 | - | local invSinTheta = 1 / math.sin(theta) |
| 585 | + | 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 |
| 586 | - | startInterp = math.sin((1 - t) * theta) * invSinTheta |
| 586 | + | 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 |
| 587 | - | finishInterp = math.sin(t * theta) * invSinTheta |
| 587 | + | 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 |
| 588 | - | else |
| 588 | + | |
| 589 | - | startInterp = 1 - t |
| 589 | + | |
| 590 | - | finishInterp = t |
| 590 | + | |
| 591 | - | end |
| 591 | + | |
| 592 | - | elseif 1 + cosTheta > 1.0E-4 then |
| 592 | + | |
| 593 | - | local theta = math.acos(-cosTheta) |
| 593 | + | ag = new("Part",char)
|
| 594 | - | local invSinTheta = 1 / math.sin(theta) |
| 594 | + | ag.Name = "NewPart" |
| 595 | - | startInterp = math.sin((t - 1) * theta) * invSinTheta |
| 595 | + | ag.Size = v3(1,1,1) |
| 596 | - | finishInterp = math.sin(t * theta) * invSinTheta |
| 596 | + | ag.CanCollide = false |
| 597 | - | else |
| 597 | + | ag.Position = v3(999,999,999) |
| 598 | - | startInterp = t - 1 |
| 598 | + | ag.BrickColor = bc("Color")
|
| 599 | - | finishInterp = t |
| 599 | + | ag.Material = "Neon" |
| 600 | - | end |
| 600 | + | ag.Transparency = 1 |
| 601 | - | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp |
| 601 | + | aaag =new("Weld",ag)
|
| 602 | aaag.Part0 = larm | |
| 603 | - | function swait(num) |
| 603 | + | aaag.Part1 = ag |
| 604 | - | if num == 0 or num == nil then |
| 604 | + | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) |
| 605 | - | game:service("RunService").RenderStepped:wait(0)
|
| 605 | + | |
| 606 | - | else |
| 606 | + | |
| 607 | - | for i = 0, num do |
| 607 | + | |
| 608 | - | game:service("RunService").RenderStepped:wait(0)
|
| 608 | + | ag.Touched:connect(function(hit) |
| 609 | - | end |
| 609 | + | for i,v in pairs(hit.Parent:GetChildren()) do |
| 610 | - | end |
| 610 | + | if v:IsA("Humanoid") then
|
| 611 | ag.TouchInterest:Destroy() | |
| 612 | - | local RbxUtility = LoadLibrary("RbxUtility")
|
| 612 | + | if ssj1 == false and ssj2 == false then |
| 613 | - | local Create = RbxUtility.Create |
| 613 | + | v.Health = v.Health - 10 |
| 614 | - | function RemoveOutlines(part) |
| 614 | + | |
| 615 | - | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
| 615 | + | if ssj1 == true and ssj2 == false then |
| 616 | v.Health = v.Health - 20 | |
| 617 | - | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 617 | + | |
| 618 | - | local Part = Create("Part")({
|
| 618 | + | if ssj1 == false and ssj2 == true then |
| 619 | - | formFactor = FormFactor, |
| 619 | + | v.Health = v.Health - 30 |
| 620 | - | Parent = Parent, |
| 620 | + | |
| 621 | - | Reflectance = Reflectance, |
| 621 | + | punchsound1:Play() |
| 622 | - | Transparency = Transparency, |
| 622 | + | |
| 623 | - | CanCollide = false, |
| 623 | + | |
| 624 | - | Locked = true, |
| 624 | + | |
| 625 | - | BrickColor = BrickColor.new(tostring(BColor)), |
| 625 | + | |
| 626 | - | Name = Name, |
| 626 | + | |
| 627 | - | Size = Size, |
| 627 | + | |
| 628 | - | Material = Material |
| 628 | + | |
| 629 | - | }) |
| 629 | + | |
| 630 | - | RemoveOutlines(Part) |
| 630 | + | |
| 631 | - | return Part |
| 631 | + | |
| 632 | ||
| 633 | - | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 633 | + | |
| 634 | - | local Msh = Create(Mesh)({
|
| 634 | + | |
| 635 | - | Parent = Part, |
| 635 | + | |
| 636 | - | Offset = OffSet, |
| 636 | + | for i= 1,5 do |
| 637 | - | Scale = Scale |
| 637 | + | 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 |
| 638 | - | }) |
| 638 | + | 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 |
| 639 | - | if Mesh == "SpecialMesh" then |
| 639 | + | 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 |
| 640 | - | Msh.MeshType = MeshType |
| 640 | + | 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 |
| 641 | - | Msh.MeshId = MeshId |
| 641 | + | 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 |
| 642 | - | end |
| 642 | + | 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 |
| 643 | - | return Msh |
| 643 | + | |
| 644 | end | |
| 645 | - | function CreateWeld(Parent, Part0, Part1, C0, C1) |
| 645 | + | ag:Destroy() |
| 646 | - | local Weld = Create("Weld")({
|
| 646 | + | |
| 647 | - | Parent = Parent, |
| 647 | + | function thirdhit() |
| 648 | - | Part0 = Part0, |
| 648 | + | punchsound:Play() |
| 649 | - | Part1 = Part1, |
| 649 | + | |
| 650 | - | C0 = C0, |
| 650 | + | for i = 1,5 do |
| 651 | - | C1 = C1 |
| 651 | + | 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 |
| 652 | - | }) |
| 652 | + | 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 |
| 653 | - | return Weld |
| 653 | + | 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 |
| 654 | 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 | |
| 655 | - | function rayCast(Position, Direction, Range, Ignore) |
| 655 | + | 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 |
| 656 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
|
| 656 | + | 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 |
| 657 | wait() | |
| 658 | - | function CreateSound(id, par, vol, pit) |
| 658 | + | |
| 659 | - | coroutine.resume(coroutine.create(function() |
| 659 | + | |
| 660 | - | local sou = Instance.new("Sound", par or workspace)
|
| 660 | + | |
| 661 | - | sou.Volume = vol |
| 661 | + | ag = new("Part",char)
|
| 662 | - | sou.Pitch = pit or 1 |
| 662 | + | ag.Name = "NewPart" |
| 663 | - | sou.SoundId = id |
| 663 | + | ag.Size = v3(1,1,1) |
| 664 | - | wait() |
| 664 | + | ag.CanCollide = false |
| 665 | - | sou:play() |
| 665 | + | ag.Position = v3(999,999,999) |
| 666 | - | game:GetService("Debris"):AddItem(sou, 6)
|
| 666 | + | ag.BrickColor = bc("Color")
|
| 667 | - | end)) |
| 667 | + | ag.Material = "Neon" |
| 668 | ag.Transparency = 1 | |
| 669 | - | function CreateSong(id, par, vol, pit) |
| 669 | + | aaag =new("Weld",ag)
|
| 670 | - | coroutine.resume(coroutine.create(function() |
| 670 | + | aaag.Part0 = rleg |
| 671 | - | sou2 = Instance.new("Sound", par or workspace)
|
| 671 | + | aaag.Part1 = ag |
| 672 | - | sou2.Volume = 1 |
| 672 | + | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) |
| 673 | - | sou2.Pitch = 1 |
| 673 | + | |
| 674 | - | sou2.SoundId = id |
| 674 | + | |
| 675 | - | wait() |
| 675 | + | |
| 676 | - | sou2:play() |
| 676 | + | ag.Touched:connect(function(hit) |
| 677 | - | sou2.Looped = true |
| 677 | + | for i,v in pairs(hit.Parent:GetChildren()) do |
| 678 | - | end)) |
| 678 | + | if v:IsA("Humanoid") then
|
| 679 | ag.TouchInterest:Destroy() | |
| 680 | - | CreateSong("http://www.roblox.com/asset/?id=", Character, 2)
|
| 680 | + | if ssj1 == false and ssj2 == false then |
| 681 | - | local function getclosest(obj, distance) |
| 681 | + | v.Health = v.Health - 10 |
| 682 | - | local last, lastx = distance + 1, nil |
| 682 | + | |
| 683 | - | for i, v in pairs(workspace:GetChildren()) do |
| 683 | + | if ssj1 == true and ssj2 == false then |
| 684 | - | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
|
| 684 | + | v.Health = v.Health - 20 |
| 685 | - | local t = v.Torso |
| 685 | + | |
| 686 | - | local dist = t.Position - obj.Position.magnitude |
| 686 | + | if ssj1 == false and ssj2 == true then |
| 687 | - | if distance >= dist and last > dist then |
| 687 | + | v.Health = v.Health - 30 |
| 688 | - | last = dist |
| 688 | + | |
| 689 | - | lastx = v |
| 689 | + | |
| 690 | - | end |
| 690 | + | punchsound1:Play() |
| 691 | - | end |
| 691 | + | |
| 692 | - | end |
| 692 | + | |
| 693 | - | return lastx |
| 693 | + | |
| 694 | end | |
| 695 | - | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
| 695 | + | |
| 696 | - | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 696 | + | |
| 697 | - | prt.Anchored = true |
| 697 | + | |
| 698 | - | prt.CFrame = cframe |
| 698 | + | |
| 699 | - | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 699 | + | |
| 700 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 700 | + | |
| 701 | - | if Type == 1 or Type == nil then |
| 701 | + | |
| 702 | - | table.insert(Effects, {
|
| 702 | + | |
| 703 | - | prt, |
| 703 | + | |
| 704 | - | "Block1", |
| 704 | + | |
| 705 | - | delay, |
| 705 | + | |
| 706 | - | x3, |
| 706 | + | |
| 707 | - | y3, |
| 707 | + | |
| 708 | - | z3, |
| 708 | + | |
| 709 | - | msh |
| 709 | + | |
| 710 | - | }) |
| 710 | + | |
| 711 | - | elseif Type == 2 then |
| 711 | + | |
| 712 | - | table.insert(Effects, {
|
| 712 | + | |
| 713 | - | prt, |
| 713 | + | |
| 714 | - | "Block2", |
| 714 | + | for i = 1,5 do |
| 715 | - | delay, |
| 715 | + | 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 |
| 716 | - | x3, |
| 716 | + | 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 |
| 717 | - | y3, |
| 717 | + | 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 |
| 718 | - | z3, |
| 718 | + | 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 |
| 719 | - | msh |
| 719 | + | 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 |
| 720 | - | }) |
| 720 | + | 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 |
| 721 | - | elseif Type == 3 then |
| 721 | + | |
| 722 | - | table.insert(Effects, {
|
| 722 | + | |
| 723 | - | prt, |
| 723 | + | ag:Destroy() |
| 724 | - | "Block3", |
| 724 | + | |
| 725 | - | delay, |
| 725 | + | function lasthit() |
| 726 | - | x3, |
| 726 | + | punchsound:Play() |
| 727 | - | y3, |
| 727 | + | |
| 728 | - | z3, |
| 728 | + | for i = 1,5 do |
| 729 | - | msh |
| 729 | + | 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 |
| 730 | - | }) |
| 730 | + | 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 |
| 731 | - | end |
| 731 | + | 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 |
| 732 | 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 | |
| 733 | - | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 733 | + | 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 |
| 734 | - | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 734 | + | 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 |
| 735 | - | prt.Anchored = true |
| 735 | + | |
| 736 | - | prt.CFrame = cframe |
| 736 | + | |
| 737 | - | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 737 | + | |
| 738 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 738 | + | |
| 739 | - | table.insert(Effects, {
|
| 739 | + | |
| 740 | - | prt, |
| 740 | + | |
| 741 | - | "Cylinder", |
| 741 | + | |
| 742 | - | delay, |
| 742 | + | |
| 743 | - | x3, |
| 743 | + | |
| 744 | - | y3, |
| 744 | + | |
| 745 | - | z3, |
| 745 | + | |
| 746 | - | msh |
| 746 | + | |
| 747 | - | }) |
| 747 | + | |
| 748 | ag = new("Part",char)
| |
| 749 | - | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 749 | + | ag.Name = "NewPart" |
| 750 | - | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
| 750 | + | ag.Size = v3(1,1,1) |
| 751 | - | prt.Anchored = true |
| 751 | + | ag.CanCollide = false |
| 752 | - | prt.CFrame = cframe * CFrame.new(x1, y1, z1) |
| 752 | + | ag.Position = v3(999,999,999) |
| 753 | - | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 753 | + | ag.BrickColor = bc("Color")
|
| 754 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 754 | + | ag.Material = "Neon" |
| 755 | - | table.insert(Effects, {
|
| 755 | + | ag.Transparency = 1 |
| 756 | - | prt, |
| 756 | + | aaag =new("Weld",ag)
|
| 757 | - | "Cylinder", |
| 757 | + | aaag.Part0 = lleg |
| 758 | - | delay, |
| 758 | + | aaag.Part1 = ag |
| 759 | - | x3, |
| 759 | + | aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) |
| 760 | - | y3, |
| 760 | + | |
| 761 | - | z3, |
| 761 | + | |
| 762 | - | msh |
| 762 | + | |
| 763 | - | }) |
| 763 | + | ag.Touched:connect(function(hit) |
| 764 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 765 | - | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 765 | + | if v:IsA("Humanoid") then
|
| 766 | - | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 766 | + | ag.TouchInterest:Destroy() |
| 767 | - | prt.Anchored = true |
| 767 | + | if ssj1 == false and ssj2 == false then |
| 768 | - | prt.CFrame = cframe |
| 768 | + | v.Health = v.Health - 10 |
| 769 | - | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 769 | + | |
| 770 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 770 | + | if ssj1 == true and ssj2 == false then |
| 771 | - | table.insert(Effects, {
|
| 771 | + | v.Health = v.Health - 20 |
| 772 | - | prt, |
| 772 | + | |
| 773 | - | "Cylinder", |
| 773 | + | if ssj1 == false and ssj2 == true then |
| 774 | - | delay, |
| 774 | + | v.Health = v.Health - 30 |
| 775 | - | x3, |
| 775 | + | |
| 776 | - | y3, |
| 776 | + | |
| 777 | - | z3, |
| 777 | + | |
| 778 | - | msh |
| 778 | + | punchsound1:Play() |
| 779 | - | }) |
| 779 | + | |
| 780 | ||
| 781 | - | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 781 | + | |
| 782 | - | local prt = CreatePart(3, workspace, "", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 782 | + | |
| 783 | - | prt.Anchored = true |
| 783 | + | |
| 784 | - | prt.CFrame = cframe |
| 784 | + | |
| 785 | - | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 785 | + | |
| 786 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 786 | + | |
| 787 | - | table.insert(Effects, {
|
| 787 | + | |
| 788 | - | prt, |
| 788 | + | |
| 789 | - | "Cylinder", |
| 789 | + | |
| 790 | - | delay, |
| 790 | + | |
| 791 | - | x3, |
| 791 | + | |
| 792 | - | y3, |
| 792 | + | for i = 1,5 do |
| 793 | - | z3, |
| 793 | + | 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 |
| 794 | - | msh |
| 794 | + | 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 |
| 795 | - | }) |
| 795 | + | 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 |
| 796 | 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 | |
| 797 | - | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 797 | + | 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 |
| 798 | - | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 798 | + | 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 |
| 799 | - | prt.Anchored = true |
| 799 | + | |
| 800 | - | prt.CFrame = cframe |
| 800 | + | |
| 801 | - | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 801 | + | ag:Destroy() |
| 802 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 802 | + | |
| 803 | - | table.insert(Effects, {
|
| 803 | + | |
| 804 | - | prt, |
| 804 | + | |
| 805 | - | "Cylinder", |
| 805 | + | |
| 806 | - | delay, |
| 806 | + | |
| 807 | - | x3, |
| 807 | + | |
| 808 | - | y3, |
| 808 | + | |
| 809 | - | z3, |
| 809 | + | |
| 810 | - | msh |
| 810 | + | |
| 811 | - | }) |
| 811 | + | |
| 812 | ||
| 813 | - | function BreakEffect(brickcolor, cframe, x1, y1, z1) |
| 813 | + | |
| 814 | - | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
| 814 | + | |
| 815 | - | prt.Anchored = true |
| 815 | + | |
| 816 | - | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
| 816 | + | |
| 817 | - | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 817 | + | |
| 818 | - | local num = math.random(10, 50) / 1000 |
| 818 | + | |
| 819 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 819 | + | |
| 820 | - | table.insert(Effects, {
|
| 820 | + | |
| 821 | - | prt, |
| 821 | + | |
| 822 | - | "Shatter", |
| 822 | + | |
| 823 | - | num, |
| 823 | + | |
| 824 | - | prt.CFrame, |
| 824 | + | |
| 825 | - | math.random() - math.random(), |
| 825 | + | function startkamehameha() |
| 826 | - | 0, |
| 826 | + | 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 |
| 827 | - | math.random(50, 100) / 100 |
| 827 | + | 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 |
| 828 | - | }) |
| 828 | + | 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 |
| 829 | 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 | |
| 830 | 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 | |
| 831 | - | attack = false |
| 831 | + | 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 |
| 832 | - | game:GetService("RunService").Stepped:connect(function()
|
| 832 | + | |
| 833 | - | Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude |
| 833 | + | for i = 1, 20 do |
| 834 | - | velocity = RootPart.Velocity.y |
| 834 | + | |
| 835 | - | sine = sine + change |
| 835 | + | 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 |
| 836 | - | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) |
| 836 | + | 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 |
| 837 | - | if equipped == true or equipped == false then |
| 837 | + | 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 |
| 838 | - | if 1 < RootPart.Velocity.y and hit == nil then |
| 838 | + | 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 |
| 839 | - | Anim = "Jump" |
| 839 | + | 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 |
| 840 | - | if attack == false and ice_mode == false then |
| 840 | + | 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 |
| 841 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) |
| 841 | + | |
| 842 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
| 842 | + | for i = 1, 20 do |
| 843 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), 0.1) |
| 843 | + | |
| 844 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), 0.1) |
| 844 | + | |
| 845 | - | RH.C0 = clerp(RH.C0, cn(1, -0.9, -0.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.1) |
| 845 | + | 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 |
| 846 | - | LH.C0 = clerp(LH.C0, cn(-1, -0.7, -0.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1) |
| 846 | + | 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 |
| 847 | - | end |
| 847 | + | 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 |
| 848 | - | elseif RootPart.Velocity.y < -1 and hit == nil and ice_mode == false then |
| 848 | + | 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 |
| 849 | - | Anim = "Fall" |
| 849 | + | 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 |
| 850 | - | if attack == false then |
| 850 | + | 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 |
| 851 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
| 851 | + | |
| 852 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
| 852 | + | kamecharge:Play() |
| 853 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1) |
| 853 | + | startk = true |
| 854 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) |
| 854 | + | for i = 1, 100 do |
| 855 | - | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) |
| 855 | + | |
| 856 | - | LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) |
| 856 | + | 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 |
| 857 | - | end |
| 857 | + | 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 |
| 858 | - | elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 and hit ~= nil and ice_mode == false then |
| 858 | + | 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 |
| 859 | - | Anim = "Idle" |
| 859 | + | 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 |
| 860 | - | if attack==false then |
| 860 | + | 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 |
| 861 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .3) |
| 861 | + | 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 |
| 862 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .3) |
| 862 | + | |
| 863 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.3) |
| 863 | + | |
| 864 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 - 3 * math.cos(sine / 25))), 0.3) |
| 864 | + | function endkamehameha() |
| 865 | - | RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3) |
| 865 | + | |
| 866 | - | LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3) |
| 866 | + | |
| 867 | 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 | |
| 868 | - | elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 200000 and hit ~= nil and ice_mode == false then |
| 868 | + | 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 |
| 869 | - | Anim = "Walk" |
| 869 | + | 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 |
| 870 | - | if attack==false then |
| 870 | + | 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 |
| 871 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 5)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 10))), .2) |
| 871 | + | 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 |
| 872 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 10)) + RootPart.RotVelocity.Y / 15), .2) |
| 872 | + | 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 |
| 873 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10 * math.cos(sine / 13)), math.rad(0), math.rad(4 * math.cos(sine / 13))), .2) |
| 873 | + | |
| 874 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 13)), math.rad(0), math.rad(4 * math.cos(sine / 13))), .2) |
| 874 | + | |
| 875 | - | RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 2), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 7))), .2) |
| 875 | + | function fatherson() |
| 876 | - | LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 2), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 7))), .2) |
| 876 | + | |
| 877 | wait() | |
| 878 | - | end |
| 878 | + | 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 |
| 879 | - | end |
| 879 | + | 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 |
| 880 | - | if equipped == true or equipped == false then |
| 880 | + | 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 |
| 881 | - | if 1 < RootPart.Velocity.Y and hit == nil then |
| 881 | + | 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 |
| 882 | - | Anim = "Jump" |
| 882 | + | 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 |
| 883 | - | if attack == false and ice_mode == true then |
| 883 | + | 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 |
| 884 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) |
| 884 | + | |
| 885 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
| 885 | + | |
| 886 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), 0.1) |
| 886 | + | for i = 1,50 do |
| 887 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), 0.1) |
| 887 | + | |
| 888 | - | RH.C0 = clerp(RH.C0, cn(1, -0.9, -0.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.1) |
| 888 | + | 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 |
| 889 | - | LH.C0 = clerp(LH.C0, cn(-1, -0.7, -0.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1) |
| 889 | + | 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 |
| 890 | - | end |
| 890 | + | 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 |
| 891 | - | elseif RootPart.Velocity.Y < -1 and hit == nil and ice_mode == true then |
| 891 | + | 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 |
| 892 | - | Anim = "Fall" |
| 892 | + | 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 |
| 893 | - | if attack == false then |
| 893 | + | 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 |
| 894 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
| 894 | + | |
| 895 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) |
| 895 | + | |
| 896 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1) |
| 896 | + | function fathersonfire() |
| 897 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) |
| 897 | + | for i = 1,10 do |
| 898 | - | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) |
| 898 | + | |
| 899 | - | LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) |
| 899 | + | 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 |
| 900 | - | end |
| 900 | + | 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 |
| 901 | - | elseif(Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 and hit ~= nil and ice_mode == true then |
| 901 | + | 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 |
| 902 | - | Anim = "Idle" |
| 902 | + | 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 |
| 903 | - | if attack == false then |
| 903 | + | 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 |
| 904 | - | change = 0.8 |
| 904 | + | 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 |
| 905 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(9), math.rad(1), math.rad(15)), 0.1) |
| 905 | + | |
| 906 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-9 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1) |
| 906 | + | |
| 907 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.2) * angles(math.rad(110 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-26 + 4 * math.cos(sine / 25))), 0.1) |
| 907 | + | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 908 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4, -0.15) * angles(math.rad(60 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(30 - 4 * math.cos(sine / 25))), 0.1) |
| 908 | + | a = new("Part",char)
|
| 909 | - | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(19 + 2 * math.cos(sine / 25))), 0.1) |
| 909 | + | a.Name = "NewPart" |
| 910 | - | LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.1 * math.cos(sine / 25), -0.1) * LHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(9 + 2 * math.cos(sine / 25))), 0.1) |
| 910 | + | a.Size = v3(0.1,0.1,0.1) |
| 911 | - | end |
| 911 | + | a.Shape = "Ball" |
| 912 | - | elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 and hit ~= nil and ice_mode == true then |
| 912 | + | a.Position = v3(999,999,999) |
| 913 | - | Anim = "Walk" |
| 913 | + | a.BrickColor = bc("bright Blue")
|
| 914 | - | if attack == false then |
| 914 | + | a.Material = "Neon" |
| 915 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.5 + 0.1 * math.cos(sine / 25)) * angles(math.rad(9), math.rad(1), math.rad(-70)), 0.1) |
| 915 | + | a.Transparency = 1 |
| 916 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-9 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(70)), 0.1) |
| 916 | + | aa = new("SpecialMesh",a)
|
| 917 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.2) * angles(math.rad(110 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-26 + 4 * math.cos(sine / 25))), 0.1) |
| 917 | + | aa.Scale = v3(1,1,1) |
| 918 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4, -0.15) * angles(math.rad(60 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(30 - 4 * math.cos(sine / 25))), 0.1) |
| 918 | + | aaa =new("Weld",a)
|
| 919 | - | RH.C0 = clerp(RH.C0, cn(0.6, -0.8 - 0.1 * math.cos(sine / 25), -0.5) * RHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(70), math.rad(4 + 2 * math.cos(sine / 25))), 0.1) |
| 919 | + | aaa.Part0 = torso |
| 920 | - | LH.C0 = clerp(LH.C0, cn(-0.9, -0.8 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(70), math.rad(-19 + 2 * math.cos(sine / 25))), 0.1) |
| 920 | + | aaa.Part1 = a |
| 921 | - | end |
| 921 | + | aaa.C0 = cf(0,0,-1.6) * cfa(rad(0),rad(0),rad(0)) |
| 922 | - | end |
| 922 | + | aaaa = new("ParticleEmitter",a)
|
| 923 | - | end |
| 923 | + | aaaa.Size = ns(1) |
| 924 | - | if 0 < #Effects then |
| 924 | + | aaaa.Rate = 5 |
| 925 | - | for e = 1, #Effects do |
| 925 | + | aaaa.Texture = "rbxassetid://246381828" |
| 926 | - | if Effects[e] ~= nil then |
| 926 | + | aaaa.ZOffset = 1 |
| 927 | - | local Thing = Effects[e] |
| 927 | + | aaaa.Lifetime = nr(5) |
| 928 | - | if Thing ~= nil then |
| 928 | + | aaaa.Transparency = ns(1) |
| 929 | - | local Part = Thing[1] |
| 929 | + | aaaa.LockedToPart = true |
| 930 | - | local Mode = Thing[2] |
| 930 | + | aaaa.Speed = nr(0) |
| 931 | - | local Delay = Thing[3] |
| 931 | + | aw = new("Part",char)
|
| 932 | - | local IncX = Thing[4] |
| 932 | + | aw.Name = "NewPart" |
| 933 | - | local IncY = Thing[5] |
| 933 | + | aw.Size = v3(0.1,0.1,0.1) |
| 934 | - | local IncZ = Thing[6] |
| 934 | + | aw.Shape = "Ball" |
| 935 | - | if 1 >= Thing[1].Transparency then |
| 935 | + | aw.Position = v3(999,999,999) |
| 936 | - | if Thing[2] == "Block1" then |
| 936 | + | aw.BrickColor = bc("bright Blue")
|
| 937 | - | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
| 937 | + | aw.Material = "Neon" |
| 938 | - | local Mesh = Thing[1].Mesh |
| 938 | + | aw.Transparency = 1 |
| 939 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
| 939 | + | aaw = new("SpecialMesh",aw)
|
| 940 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
| 940 | + | aaw.Scale = v3(1,1,1) |
| 941 | - | elseif Thing[2] == "Block2" then |
| 941 | + | aaaw =new("Weld",aw)
|
| 942 | - | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, -0.3, 0) |
| 942 | + | aaaw.Part0 = torso |
| 943 | - | local Mesh = Thing[7] |
| 943 | + | aaaw.Part1 = aw |
| 944 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
| 944 | + | aaaw.C0 = cf(0,0,-1.6) * cfa(rad(0),rad(0),rad(0)) |
| 945 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
| 945 | + | aaaaw = new("ParticleEmitter",aw)
|
| 946 | - | elseif Thing[2] == "Block3" then |
| 946 | + | aaaaw.Size = ns(5) |
| 947 | - | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.2, 0) |
| 947 | + | aaaaw.Rate = 5 |
| 948 | - | local Mesh = Thing[7] |
| 948 | + | aaaaw.Color = ColorSequence.new(Color3.fromRGB(149,190,255)) |
| 949 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
| 949 | + | aaaaw.Texture = "rbxassetid://924710961" |
| 950 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
| 950 | + | aaaaw.ZOffset = -1 |
| 951 | - | elseif Thing[2] == "Cylinder" then |
| 951 | + | aaaaw.Lifetime = nr(5) |
| 952 | - | local Mesh = Thing[1].Mesh |
| 952 | + | aaaaw.RotSpeed = nr(50) |
| 953 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
| 953 | + | aaaaw.Transparency = ns(1) |
| 954 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
| 954 | + | aaaaw.LockedToPart = true |
| 955 | - | elseif Thing[2] == "Blood" then |
| 955 | + | aaaaw.Speed = nr(0) |
| 956 | - | local Mesh = Thing[7] |
| 956 | + | |
| 957 | - | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) |
| 957 | + | |
| 958 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
| 958 | + | |
| 959 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
| 959 | + | ae = new("Part",char)
|
| 960 | - | elseif Thing[2] == "Elec" then |
| 960 | + | ae.Name = "NewPart" |
| 961 | - | local Mesh = Thing[1].Mesh |
| 961 | + | ae.Size = v3(0.1,0.1,0.1) |
| 962 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) |
| 962 | + | ae.Shape = "Ball" |
| 963 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
| 963 | + | ae.Position = v3(999,999,999) |
| 964 | - | elseif Thing[2] == "Disappear" then |
| 964 | + | ae.BrickColor = bc("bright Blue")
|
| 965 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
| 965 | + | ae.Material = "Neon" |
| 966 | - | elseif Thing[2] == "Shatter" then |
| 966 | + | ae.Transparency = 1 |
| 967 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
| 967 | + | aaae =new("Weld",ae)
|
| 968 | - | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) |
| 968 | + | aaae.Part0 = torso |
| 969 | - | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) |
| 969 | + | aaae.Part1 = ae |
| 970 | - | Thing[6] = Thing[6] + Thing[5] |
| 970 | + | aaae.C0 = cf(0,7,0) * cfa(rad(0),rad(0),rad(0)) |
| 971 | - | end |
| 971 | + | aaaae = new("ParticleEmitter",ae)
|
| 972 | - | else |
| 972 | + | aaaae.Size = ns(15) |
| 973 | - | Part.Parent = nil |
| 973 | + | aaaae.Rate = 5 |
| 974 | - | table.remove(Effects, e) |
| 974 | + | aaaae.Color = ColorSequence.new(Color3.fromRGB(231,255,111)) |
| 975 | - | end |
| 975 | + | aaaae.ZOffset = -2 |
| 976 | aaaae.Lifetime = nr(5) | |
| 977 | - | end |
| 977 | + | aaaae.Transparency = ns(1) |
| 978 | - | end |
| 978 | + | aaaae.LockedToPart = true |
| 979 | - | end |
| 979 | + | aaaae.Speed = nr(0) |
| 980 | ||
| 981 | - | --- |
| 981 | + | |
| 982 | - | local whoh = Instance.new("Sound",Torso)
|
| 982 | + | ad = new("Part",char)
|
| 983 | - | whoh.SoundId = "rbxassetid://1179254378" |
| 983 | + | |
| 984 | - | whoh.Pitch = 0.99 |
| 984 | + | ad.Size = v3(10,0.1,10) |
| 985 | - | whoh.Volume = 1.5 |
| 985 | + | |
| 986 | - | whoh.Looped = true |
| 986 | + | |
| 987 | ad.Position = torso.Position - v3(0,3,0) | |
| 988 | - | whoh:Play() |
| 988 | + | ad.BrickColor = bc("bright Blue")
|
| 989 | - | local Aura = Instance.new('ParticleEmitter')
|
| 989 | + | ad.Material = "Neon" |
| 990 | - | Aura.Name = "Aura" |
| 990 | + | |
| 991 | - | Aura.Texture = "rbxassetid://833874434" |
| 991 | + | |
| 992 | - | Aura.Parent = LeftArm |
| 992 | + | aad.Texture = "rbxassetid://110711859" |
| 993 | - | Aura.LightEmission = 1 |
| 993 | + | |
| 994 | - | Aura.Transparency = NumberSequence.new(1,0.2,1) |
| 994 | + | |
| 995 | - | Aura.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
|
| 995 | + | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 996 | - | Aura.Size = NumberSequence.new(0.8,0.8,0.1) |
| 996 | + | --Functions |
| 997 | - | Aura.LockedToPart = true |
| 997 | + | function kamehameha() |
| 998 | - | Aura.Lifetime = NumberRange.new(1) |
| 998 | + | enabled = true |
| 999 | - | Aura.Rate = 100 |
| 999 | + | |
| 1000 | - | Aura.Speed = NumberRange.new(0.3) |
| 1000 | + | |
| 1001 | - | Aura.EmissionDirection = "Top" |
| 1001 | + | kamefire.Volume = 5 |
| 1002 | startkamehameha() | |
| 1003 | wait(2) | |
| 1004 | - | local Aura = Instance.new('ParticleEmitter')
|
| 1004 | + | |
| 1005 | - | Aura.Name = "Aura" |
| 1005 | + | endkamehameha() |
| 1006 | - | Aura.Texture = "rbxassetid://833874434" |
| 1006 | + | |
| 1007 | - | Aura.Parent = Head |
| 1007 | + | |
| 1008 | - | Aura.LightEmission = 1 |
| 1008 | + | |
| 1009 | - | Aura.Transparency = NumberSequence.new(1,0.2,1) |
| 1009 | + | |
| 1010 | - | Aura.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
|
| 1010 | + | |
| 1011 | - | Aura.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1011 | + | |
| 1012 | - | Aura.LockedToPart = true |
| 1012 | + | |
| 1013 | - | Aura.Lifetime = NumberRange.new(1) |
| 1013 | + | |
| 1014 | - | Aura.Rate = 100 |
| 1014 | + | |
| 1015 | - | Aura.Speed = NumberRange.new(0) |
| 1015 | + | |
| 1016 | - | Aura.EmissionDirection = "Top" |
| 1016 | + | |
| 1017 | - | local Aura2 = Instance.new('ParticleEmitter')
|
| 1017 | + | aa1.MeshType = "Cylinder" |
| 1018 | - | Aura2.Name = "Aura" |
| 1018 | + | |
| 1019 | - | Aura2.Texture = "rbxassetid://833874434" |
| 1019 | + | |
| 1020 | - | Aura2.Parent = RightArm |
| 1020 | + | |
| 1021 | - | Aura2.LightEmission = 1 |
| 1021 | + | |
| 1022 | - | Aura2.Transparency = NumberSequence.new(1,0.2,1) |
| 1022 | + | |
| 1023 | - | Aura2.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
|
| 1023 | + | |
| 1024 | - | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1024 | + | |
| 1025 | - | Aura2.LockedToPart = true |
| 1025 | + | |
| 1026 | - | Aura2.Lifetime = NumberRange.new(1) |
| 1026 | + | |
| 1027 | - | Aura2.Rate = 100 |
| 1027 | + | |
| 1028 | - | Aura2.Speed = NumberRange.new(0.3) |
| 1028 | + | |
| 1029 | - | Aura2.EmissionDirection = "Top" |
| 1029 | + | |
| 1030 | - | local Aura2 = Instance.new('ParticleEmitter')
|
| 1030 | + | |
| 1031 | - | Aura2.Name = "Aura" |
| 1031 | + | |
| 1032 | - | Aura2.Texture = "rbxassetid://833874434" |
| 1032 | + | |
| 1033 | - | Aura2.Parent = LeftLeg |
| 1033 | + | |
| 1034 | - | Aura2.LightEmission = 1 |
| 1034 | + | |
| 1035 | - | Aura2.Transparency = NumberSequence.new(1,0.2,1) |
| 1035 | + | |
| 1036 | - | Aura2.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
|
| 1036 | + | |
| 1037 | - | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1037 | + | |
| 1038 | - | Aura2.LockedToPart = true |
| 1038 | + | |
| 1039 | - | Aura2.Lifetime = NumberRange.new(1) |
| 1039 | + | |
| 1040 | - | Aura2.Rate = 100 |
| 1040 | + | |
| 1041 | - | Aura2.Speed = NumberRange.new(0.3) |
| 1041 | + | |
| 1042 | - | Aura2.EmissionDirection = "Top" |
| 1042 | + | |
| 1043 | - | local Aura2 = Instance.new('ParticleEmitter')
|
| 1043 | + | |
| 1044 | - | Aura2.Name = "Aura" |
| 1044 | + | |
| 1045 | - | Aura2.Texture = "rbxassetid://833874434" |
| 1045 | + | |
| 1046 | - | Aura2.Parent = RightLeg |
| 1046 | + | |
| 1047 | - | Aura2.LightEmission = 1 |
| 1047 | + | |
| 1048 | - | Aura2.Transparency = NumberSequence.new(1,0.2,1) |
| 1048 | + | hed.Anchored = true |
| 1049 | - | Aura2.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
|
| 1049 | + | a8.Anchored = true |
| 1050 | - | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1050 | + | ae.Anchored = true |
| 1051 | - | Aura2.LockedToPart = true |
| 1051 | + | |
| 1052 | - | Aura2.Lifetime = NumberRange.new(1) |
| 1052 | + | |
| 1053 | - | Aura2.Rate = 100 |
| 1053 | + | |
| 1054 | - | Aura2.Speed = NumberRange.new(0.3) |
| 1054 | + | |
| 1055 | - | Aura2.EmissionDirection = "Top" |
| 1055 | + | |
| 1056 | - | ---aura2 |
| 1056 | + | |
| 1057 | - | local Aura = Instance.new('ParticleEmitter')
|
| 1057 | + | |
| 1058 | - | Aura.Name = "Aura" |
| 1058 | + | |
| 1059 | - | Aura.Texture = "rbxassetid://833874434" |
| 1059 | + | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 then
|
| 1060 | - | Aura.Parent = LeftArm |
| 1060 | + | |
| 1061 | - | Aura.LightEmission = 1 |
| 1061 | + | |
| 1062 | - | Aura.Transparency = NumberSequence.new(1,0.4,1) |
| 1062 | + | |
| 1063 | - | Aura.Color = ColorSequence.new(BrickColor.new("Alder").Color)
|
| 1063 | + | |
| 1064 | - | Aura.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1064 | + | hit.Parent:BreakJoints() |
| 1065 | - | Aura.LockedToPart = true |
| 1065 | + | |
| 1066 | - | Aura.Lifetime = NumberRange.new(1) |
| 1066 | + | hit:Destroy() |
| 1067 | - | Aura.Rate = 60 |
| 1067 | + | |
| 1068 | - | Aura.Speed = NumberRange.new(0.3) |
| 1068 | + | |
| 1069 | - | Aura.EmissionDirection = "Top" |
| 1069 | + | |
| 1070 | - | local Aura2 = Instance.new('ParticleEmitter')
|
| 1070 | + | |
| 1071 | - | Aura2.Name = "Aura" |
| 1071 | + | a21 = new("Part",char)
|
| 1072 | - | Aura2.Texture = "rbxassetid://833874434" |
| 1072 | + | |
| 1073 | - | Aura2.Parent = RightArm |
| 1073 | + | |
| 1074 | - | Aura2.LightEmission = 1 |
| 1074 | + | |
| 1075 | - | Aura2.Transparency = NumberSequence.new(1,0.4,1) |
| 1075 | + | |
| 1076 | - | Aura2.Color = ColorSequence.new(BrickColor.new("Alder").Color)
|
| 1076 | + | |
| 1077 | - | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1077 | + | |
| 1078 | - | Aura2.LockedToPart = true |
| 1078 | + | |
| 1079 | - | Aura2.Lifetime = NumberRange.new(1) |
| 1079 | + | |
| 1080 | - | Aura2.Rate = 60 |
| 1080 | + | |
| 1081 | - | Aura2.Speed = NumberRange.new(0.3) |
| 1081 | + | |
| 1082 | - | Aura2.EmissionDirection = "Top" |
| 1082 | + | |
| 1083 | - | local Aura2 = Instance.new('ParticleEmitter')
|
| 1083 | + | |
| 1084 | - | Aura2.Name = "Aura" |
| 1084 | + | |
| 1085 | - | Aura2.Texture = "rbxassetid://833874434" |
| 1085 | + | |
| 1086 | - | Aura2.Parent = LeftLeg |
| 1086 | + | |
| 1087 | - | Aura2.LightEmission = 1 |
| 1087 | + | |
| 1088 | - | Aura2.Transparency = NumberSequence.new(1,0.4,1) |
| 1088 | + | |
| 1089 | - | Aura2.Color = ColorSequence.new(BrickColor.new("Alder").Color)
|
| 1089 | + | |
| 1090 | - | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1090 | + | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(5,5,5) |
| 1091 | - | Aura2.LockedToPart = true |
| 1091 | + | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 |
| 1092 | - | Aura2.Lifetime = NumberRange.new(1) |
| 1092 | + | |
| 1093 | - | Aura2.Rate = 60 |
| 1093 | + | |
| 1094 | - | Aura2.Speed = NumberRange.new(0.1) |
| 1094 | + | |
| 1095 | - | Aura2.EmissionDirection = "Top" |
| 1095 | + | |
| 1096 | - | local Aura2 = Instance.new('ParticleEmitter')
|
| 1096 | + | |
| 1097 | - | Aura2.Name = "Aura" |
| 1097 | + | |
| 1098 | - | Aura2.Texture = "rbxassetid://833874434" |
| 1098 | + | |
| 1099 | - | Aura2.Parent = RightLeg |
| 1099 | + | |
| 1100 | - | Aura2.LightEmission = 1 |
| 1100 | + | |
| 1101 | - | Aura2.Transparency = NumberSequence.new(1,0.4,1) |
| 1101 | + | |
| 1102 | - | Aura2.Color = ColorSequence.new(BrickColor.new("Alder").Color)
|
| 1102 | + | |
| 1103 | - | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1103 | + | |
| 1104 | - | Aura2.LockedToPart = true |
| 1104 | + | |
| 1105 | - | Aura2.Lifetime = NumberRange.new(1) |
| 1105 | + | |
| 1106 | - | Aura2.Rate = 60 |
| 1106 | + | |
| 1107 | - | Aura2.Speed = NumberRange.new(0.3) |
| 1107 | + | |
| 1108 | - | Aura2.EmissionDirection = "Top" |
| 1108 | + | |
| 1109 | - | ----aura3 |
| 1109 | + | |
| 1110 | - | ---aura2 |
| 1110 | + | |
| 1111 | - | local Aura = Instance.new('ParticleEmitter')
|
| 1111 | + | |
| 1112 | - | Aura.Name = "Aura" |
| 1112 | + | |
| 1113 | - | Aura.Texture = "rbxassetid://833874434" |
| 1113 | + | |
| 1114 | - | Aura.Parent = LeftArm |
| 1114 | + | |
| 1115 | - | Aura.LightEmission = 1 |
| 1115 | + | |
| 1116 | - | Aura.Transparency = NumberSequence.new(1,0.7,1) |
| 1116 | + | |
| 1117 | - | Aura.Color = ColorSequence.new(BrickColor.new("White").Color)
|
| 1117 | + | |
| 1118 | - | Aura.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1118 | + | |
| 1119 | - | Aura.LockedToPart = true |
| 1119 | + | |
| 1120 | - | Aura.Lifetime = NumberRange.new(1) |
| 1120 | + | |
| 1121 | - | Aura.Rate = 60 |
| 1121 | + | beamgo = 2.2 |
| 1122 | - | Aura.Speed = NumberRange.new(0.3) |
| 1122 | + | |
| 1123 | - | Aura.EmissionDirection = "Top" |
| 1123 | + | |
| 1124 | - | local Aura2 = Instance.new('ParticleEmitter')
|
| 1124 | + | a2:Destroy() |
| 1125 | - | Aura2.Name = "Aura" |
| 1125 | + | a3:Destroy() |
| 1126 | - | Aura2.Texture = "rbxassetid://833874434" |
| 1126 | + | for i = 1,10 do |
| 1127 | - | Aura2.Parent = RightArm |
| 1127 | + | wait() |
| 1128 | - | Aura2.LightEmission = 1 |
| 1128 | + | |
| 1129 | - | Aura2.Transparency = NumberSequence.new(1,0.7,1) |
| 1129 | + | |
| 1130 | - | Aura2.Color = ColorSequence.new(BrickColor.new("White").Color)
|
| 1130 | + | |
| 1131 | - | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1131 | + | kamefire:Stop() |
| 1132 | - | Aura2.LockedToPart = true |
| 1132 | + | |
| 1133 | - | Aura2.Lifetime = NumberRange.new(1) |
| 1133 | + | hed.Anchored = false |
| 1134 | - | Aura2.Rate = 60 |
| 1134 | + | a8.Anchored = false |
| 1135 | - | Aura2.Speed = NumberRange.new(0.3) |
| 1135 | + | ae.Anchored = false |
| 1136 | - | Aura2.EmissionDirection = "Top" |
| 1136 | + | |
| 1137 | - | local Aura2 = Instance.new('ParticleEmitter')
|
| 1137 | + | |
| 1138 | - | Aura2.Name = "Aura" |
| 1138 | + | |
| 1139 | - | Aura2.Texture = "rbxassetid://833874434" |
| 1139 | + | |
| 1140 | - | Aura2.Parent = LeftLeg |
| 1140 | + | |
| 1141 | - | Aura2.LightEmission = 1 |
| 1141 | + | |
| 1142 | - | Aura2.Transparency = NumberSequence.new(1,0.7,1) |
| 1142 | + | |
| 1143 | - | Aura2.Color = ColorSequence.new(BrickColor.new("White").Color)
|
| 1143 | + | |
| 1144 | - | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1144 | + | |
| 1145 | - | Aura2.LockedToPart = true |
| 1145 | + | |
| 1146 | - | Aura2.Lifetime = NumberRange.new(1) |
| 1146 | + | |
| 1147 | - | Aura2.Rate = 60 |
| 1147 | + | |
| 1148 | - | Aura2.Speed = NumberRange.new(0.3) |
| 1148 | + | |
| 1149 | - | Aura2.EmissionDirection = "Top" |
| 1149 | + | |
| 1150 | - | local Aura2 = Instance.new('ParticleEmitter')
|
| 1150 | + | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1151 | - | Aura2.Name = "Aura" |
| 1151 | + | --RenderedStep |
| 1152 | - | Aura2.Texture = "rbxassetid://833874434" |
| 1152 | + | rs:connect(function() |
| 1153 | - | Aura2.Parent = RightLeg |
| 1153 | + | --kamehameha |
| 1154 | - | Aura2.LightEmission = 1 |
| 1154 | + | ------------------------------------------------------------------ |
| 1155 | - | Aura2.Transparency = NumberSequence.new(1,0.7,1) |
| 1155 | + | if startk == true then |
| 1156 | - | Aura2.Color = ColorSequence.new(BrickColor.new("White").Color)
|
| 1156 | + | aaaa.Transparency = ns(0) |
| 1157 | - | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1157 | + | aaaaw.Transparency = ns(0) |
| 1158 | - | Aura2.LockedToPart = true |
| 1158 | + | aaaa.Size = ns(math.random(1,2)) |
| 1159 | - | Aura2.Lifetime = NumberRange.new(0.6) |
| 1159 | + | else |
| 1160 | - | Aura2.Rate = 60 |
| 1160 | + | aaaa.Transparency = ns(1) |
| 1161 | - | Aura2.Speed = NumberRange.new(0.3) |
| 1161 | + | aaaaw.Transparency = ns(1) |
| 1162 | - | Aura2.EmissionDirection = "Top" |
| 1162 | + | |
| 1163 | - | ---- |
| 1163 | + | |
| 1164 | if beam1 == true then | |
| 1165 | - | ---aura2 |
| 1165 | + | beamgo = beamgo + 1 |
| 1166 | - | local Aura = Instance.new('ParticleEmitter')
|
| 1166 | + | beamgo1 = beamgo1 + 0.016 |
| 1167 | - | Aura.Name = "Aura" |
| 1167 | + | a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo |
| 1168 | - | Aura.Texture = "rbxassetid://833874434" |
| 1168 | + | aa1.Scale = v3(1,math.random(1,1.2),math.random(1,1.2)) |
| 1169 | - | Aura.Parent = LeftArm |
| 1169 | + | a3.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo * 5 |
| 1170 | - | Aura.LightEmission = 1 |
| 1170 | + | a1.Size = a1.Size + v3(beamgo1,0,0) |
| 1171 | - | Aura.Transparency = NumberSequence.new(1,0.7,1) |
| 1171 | + | aa2.Scale = v3(150,math.random(100,120),math.random(100,120)) |
| 1172 | - | Aura.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
|
| 1172 | + | aa3.Scale = v3(200,math.random(100,120),math.random(100,120)) |
| 1173 | - | Aura.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1173 | + | a2.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) - torso.CFrame.lookVector * 1 |
| 1174 | - | Aura.LockedToPart = true |
| 1174 | + | |
| 1175 | - | Aura.Lifetime = NumberRange.new(1) |
| 1175 | + | if beam2 == true then |
| 1176 | - | Aura.Rate = 60 |
| 1176 | + | a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo |
| 1177 | - | Aura.Speed = NumberRange.new(0.3) |
| 1177 | + | a2.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8 |
| 1178 | - | Aura.EmissionDirection = "Top" |
| 1178 | + | a3.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo * 1.93 |
| 1179 | - | local Aura2 = Instance.new('ParticleEmitter')
|
| 1179 | + | |
| 1180 | - | Aura2.Name = "Aura" |
| 1180 | + | ----------------------------------------------------------------------- |
| 1181 | - | Aura2.Texture = "rbxassetid://833874434" |
| 1181 | + | |
| 1182 | - | Aura2.Parent = RightArm |
| 1182 | + | |
| 1183 | - | Aura2.LightEmission = 1 |
| 1183 | + | |
| 1184 | - | Aura2.Transparency = NumberSequence.new(1,0.7,1) |
| 1184 | + | |
| 1185 | - | Aura2.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
|
| 1185 | + | |
| 1186 | - | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1186 | + | |
| 1187 | - | Aura2.LockedToPart = true |
| 1187 | + | |
| 1188 | - | Aura2.Lifetime = NumberRange.new(1) |
| 1188 | + | |
| 1189 | - | Aura2.Rate = 60 |
| 1189 | + | |
| 1190 | - | Aura2.Speed = NumberRange.new(0.3) |
| 1190 | + | |
| 1191 | - | Aura2.EmissionDirection = "Top" |
| 1191 | + | if hum.MoveDirection.x == 0 then |
| 1192 | - | local Aura2 = Instance.new('ParticleEmitter')
|
| 1192 | + | if canidle == true then |
| 1193 | - | Aura2.Name = "Aura" |
| 1193 | + | 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.1)--head |
| 1194 | - | Aura2.Texture = "rbxassetid://833874434" |
| 1194 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), .1)--torso |
| 1195 | - | Aura2.Parent = LeftLeg |
| 1195 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(105),math.rad(0),math.rad(0)), .1)--arm |
| 1196 | - | Aura2.LightEmission = 1 |
| 1196 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-20)),.1)--arm |
| 1197 | - | Aura2.Transparency = NumberSequence.new(1,0.7,1) |
| 1197 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(-5)),.1)--leg |
| 1198 | - | Aura2.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
|
| 1198 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)),.1)--leg |
| 1199 | - | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1199 | + | end |
| 1200 | - | Aura2.LockedToPart = true |
| 1200 | + | |
| 1201 | - | Aura2.Lifetime = NumberRange.new(1) |
| 1201 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1202 | - | Aura2.Rate = 60 |
| 1202 | + | |
| 1203 | - | Aura2.Speed = NumberRange.new(0.3) |
| 1203 | + | if canwalk1 == true then |
| 1204 | - | Aura2.EmissionDirection = "Top" |
| 1204 | + | canwalk1 = false |
| 1205 | - | local Aura2 = Instance.new('ParticleEmitter')
|
| 1205 | + | for i = 1,10 do |
| 1206 | - | Aura2.Name = "Aura" |
| 1206 | + | |
| 1207 | - | Aura2.Texture = "rbxassetid://833874434" |
| 1207 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1208 | - | Aura2.Parent = RightLeg |
| 1208 | + | 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 |
| 1209 | - | Aura2.LightEmission = 1 |
| 1209 | + | |
| 1210 | - | Aura2.Transparency = NumberSequence.new(1,0.7,1) |
| 1210 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1211 | - | Aura2.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
|
| 1211 | + | 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 |
| 1212 | - | Aura2.Size = NumberSequence.new(0.8,0.8,0.1) |
| 1212 | + | |
| 1213 | - | Aura2.LockedToPart = true |
| 1213 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1214 | - | Aura2.Lifetime = NumberRange.new(0.6) |
| 1214 | + | 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 |
| 1215 | - | Aura2.Rate = 60 |
| 1215 | + | |
| 1216 | - | Aura2.Speed = NumberRange.new(0.3) |
| 1216 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1217 | - | Aura2.EmissionDirection = "Top" |
| 1217 | + | 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 |
| 1218 | - | local tra = Instance.new('ParticleEmitter')
|
| 1218 | + | |
| 1219 | - | tra.Parent = Torso |
| 1219 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1220 | - | tra.LightEmission = 1 |
| 1220 | + | 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 |
| 1221 | - | tra.Color = ColorSequence.new(BrickColor.new("White").Color)
|
| 1221 | + | |
| 1222 | - | tra.Rate = 15 |
| 1222 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1223 | - | tra.Rotation = NumberRange.new(-5, 5) |
| 1223 | + | 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 |
| 1224 | - | tra.Lifetime = NumberRange.new(1.5, 2) |
| 1224 | + | |
| 1225 | - | tra.Size = NumberSequence.new(0.098,0) |
| 1225 | + | |
| 1226 | - | tra.Transparency = NumberSequence.new(0.2,0.3,1) |
| 1226 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1227 | - | tra.Speed = NumberRange.new(0.5) |
| 1227 | + | for i = 1,10 do |
| 1228 | - | tra.VelocitySpread = 360 |
| 1228 | + | |
| 1229 | - | tra.VelocityInheritance = 0.5 |
| 1229 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1230 | - | tra.ZOffset = 2 |
| 1230 | + | 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 |
| 1231 | - | local tra = Instance.new('ParticleEmitter')
|
| 1231 | + | |
| 1232 | - | tra.Parent = Head |
| 1232 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1233 | - | tra.LightEmission = 1 |
| 1233 | + | 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 |
| 1234 | - | tra.Color = ColorSequence.new(BrickColor.new("White").Color)
|
| 1234 | + | |
| 1235 | - | tra.Rate = 15 |
| 1235 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1236 | - | tra.Rotation = NumberRange.new(-5, 5) |
| 1236 | + | 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 |
| 1237 | - | tra.Lifetime = NumberRange.new(1.5, 2) |
| 1237 | + | |
| 1238 | - | tra.Size = NumberSequence.new(0.098,0) |
| 1238 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1239 | - | tra.Transparency = NumberSequence.new(0.2,0.3,1) |
| 1239 | + | 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 |
| 1240 | - | tra.Speed = NumberRange.new(0.5) |
| 1240 | + | |
| 1241 | - | tra.VelocitySpread = 360 |
| 1241 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1242 | - | tra.VelocityInheritance = 0.5 |
| 1242 | + | 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 |
| 1243 | - | tra.ZOffset = 2 |
| 1243 | + | |
| 1244 | - | local tra = Instance.new('ParticleEmitter')
|
| 1244 | + | if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then |
| 1245 | - | tra.Parent = LeftArm |
| 1245 | + | 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 |
| 1246 | - | tra.LightEmission = 1 |
| 1246 | + | |
| 1247 | - | tra.Color = ColorSequence.new(BrickColor.new("White").Color)
|
| 1247 | + | |
| 1248 | - | tra.Rate = 15 |
| 1248 | + | |
| 1249 | - | tra.Rotation = NumberRange.new(-5, 5) |
| 1249 | + | canwalk1 = true |
| 1250 | - | tra.Lifetime = NumberRange.new(1.5, 2) |
| 1250 | + | |
| 1251 | - | tra.Size = NumberSequence.new(0.098,0) |
| 1251 | + | |
| 1252 | - | tra.Transparency = NumberSequence.new(0.2,0.3,1) |
| 1252 | + | |
| 1253 | - | tra.Speed = NumberRange.new(0.5) |
| 1253 | + | end |
| 1254 | - | tra.VelocitySpread = 360 |
| 1254 | + | |
| 1255 | - | tra.VelocityInheritance = 0.5 |
| 1255 | + | if block == true then |
| 1256 | - | tra.ZOffset = 2 |
| 1256 | + | 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 |
| 1257 | - | local tra = Instance.new('ParticleEmitter')
|
| 1257 | + | 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 |
| 1258 | - | tra.Parent = RightArm |
| 1258 | + | 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 |
| 1259 | - | tra.LightEmission = 1 |
| 1259 | + | 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 |
| 1260 | - | tra.Color = ColorSequence.new(BrickColor.new("White").Color)
|
| 1260 | + | 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 |
| 1261 | - | tra.Rate = 15 |
| 1261 | + | 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 |
| 1262 | - | tra.Rotation = NumberRange.new(-5, 5) |
| 1262 | + | |
| 1263 | - | tra.Lifetime = NumberRange.new(1.5, 2) |
| 1263 | + | |
| 1264 | - | tra.Size = NumberSequence.new(0.098,0) |
| 1264 | + | |
| 1265 | - | tra.Transparency = NumberSequence.new(0.2,0.3,1) |
| 1265 | + | -------------------------------------------------- |
| 1266 | - | tra.Speed = NumberRange.new(0.5) |
| 1266 | + | --Aura |
| 1267 | - | tra.VelocitySpread = 360 |
| 1267 | + | if onaura == true then |
| 1268 | - | tra.VelocityInheritance = 0.5 |
| 1268 | + | onaura =false |
| 1269 | - | tra.ZOffset = 2 |
| 1269 | + | |
| 1270 | - | local tra = Instance.new('ParticleEmitter')
|
| 1270 | + | |
| 1271 | - | tra.Parent = LeftLeg |
| 1271 | + | aaaae.Texture = "rbxassetid://926705964" |
| 1272 | - | tra.LightEmission = 1 |
| 1272 | + | |
| 1273 | - | tra.Color = ColorSequence.new(BrickColor.new("White").Color)
|
| 1273 | + | aaaae.Texture = "rbxassetid://926709486" |
| 1274 | - | tra.Rate = 15 |
| 1274 | + | |
| 1275 | - | tra.Rotation = NumberRange.new(-5, 5) |
| 1275 | + | aaaae.Texture = "rbxassetid://926711720" |
| 1276 | - | tra.Lifetime = NumberRange.new(1.5, 2) |
| 1276 | + | |
| 1277 | - | tra.Size = NumberSequence.new(0.098,0) |
| 1277 | + | aaaae.Texture = "rbxassetid://926712235" |
| 1278 | - | tra.Transparency = NumberSequence.new(0.2,0.3,1) |
| 1278 | + | onaura =true |
| 1279 | - | tra.Speed = NumberRange.new(0.5) |
| 1279 | + | |
| 1280 | - | tra.VelocitySpread = 360 |
| 1280 | + | |
| 1281 | - | tra.VelocityInheritance = 0.5 |
| 1281 | + | if transforming1 == true then |
| 1282 | - | tra.ZOffset = 2 |
| 1282 | + | 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 |
| 1283 | - | local tra = Instance.new('ParticleEmitter')
|
| 1283 | + | 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 |
| 1284 | - | tra.Parent = RightLeg |
| 1284 | + | 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 |
| 1285 | - | tra.LightEmission = 1 |
| 1285 | + | 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 |
| 1286 | - | tra.Color = ColorSequence.new(BrickColor.new("White").Color)
|
| 1286 | + | 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 |
| 1287 | - | tra.Rate = 15 |
| 1287 | + | 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 |
| 1288 | - | tra.Rotation = NumberRange.new(-5, 5) |
| 1288 | + | |
| 1289 | - | tra.Lifetime = NumberRange.new(1.5, 2) |
| 1289 | + | |
| 1290 | - | tra.Size = NumberSequence.new(0.098,0) |
| 1290 | + | |
| 1291 | - | tra.Transparency = NumberSequence.new(0.2,0.3,1) |
| 1291 | + | if transforming2 == true then |
| 1292 | - | tra.Speed = NumberRange.new(0.5) |
| 1292 | + | 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 |
| 1293 | - | tra.VelocitySpread = 360 |
| 1293 | + | 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 |
| 1294 | - | tra.VelocityInheritance = 0.5 |
| 1294 | + | 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 |
| 1295 | - | tra.ZOffset = 2 |
| 1295 | + | 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 |
| 1296 | - | ---- |
| 1296 | + | 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 |
| 1297 | - | function RemoveOutlines(part) |
| 1297 | + | 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 |
| 1298 | - | part.TopSurface = 10 |
| 1298 | + | |
| 1299 | end | |
| 1300 | - | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 1300 | + | |
| 1301 | - | local Part = Create("Part")({
|
| 1301 | + | |
| 1302 | - | Parent = Parent, |
| 1302 | + | if transforming3 == true then |
| 1303 | - | Reflectance = Reflectance, |
| 1303 | + | 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.1)--head |
| 1304 | - | Transparency = Transparency, |
| 1304 | + | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.1)--torso |
| 1305 | - | CanCollide = false, |
| 1305 | + | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(-20),math.rad(10)), 0.1)--arm |
| 1306 | - | Locked = true, |
| 1306 | + | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(-20),math.rad(-10)), 0.1)--arm |
| 1307 | - | BrickColor = BrickColor.new(tostring(BColor)), |
| 1307 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-5)), 0.1)--leg |
| 1308 | - | Name = Name, |
| 1308 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(5)), 0.1)--leg |
| 1309 | - | Size = Size, |
| 1309 | + | |
| 1310 | - | Material = Material |
| 1310 | + | |
| 1311 | - | }) |
| 1311 | + | |
| 1312 | - | RemoveOutlines(Part) |
| 1312 | + | if beam3 == true then |
| 1313 | - | return Part |
| 1313 | + | beamgo4 = beamgo4 + 1 |
| 1314 | beamgo3 = beamgo3 + 0.018 | |
| 1315 | - | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 1315 | + | a1s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 |
| 1316 | - | local Msh = Create(Mesh)({
|
| 1316 | + | aa1s.Scale = v3(1,math.random(1,1.2),math.random(1,1.2)) |
| 1317 | - | Parent = Part, |
| 1317 | + | a3s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 * 5 |
| 1318 | - | Offset = OffSet, |
| 1318 | + | a1s.Size = a1s.Size + v3(beamgo3,0,0) |
| 1319 | - | Scale = Scale |
| 1319 | + | aa2s.Scale = v3(200,math.random(150,170),math.random(150,170)) |
| 1320 | - | }) |
| 1320 | + | aa3s.Scale = v3(250,math.random(150,170),math.random(150,170)) |
| 1321 | - | if Mesh == "SpecialMesh" then |
| 1321 | + | a2s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) - torso.CFrame.lookVector * 1 |
| 1322 | - | Msh.MeshType = MeshType |
| 1322 | + | |
| 1323 | - | Msh.MeshId = MeshId |
| 1323 | + | if beam4 == true then |
| 1324 | - | end |
| 1324 | + | a1s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 |
| 1325 | - | return Msh |
| 1325 | + | a2s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8 |
| 1326 | a3s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 * 1.93 | |
| 1327 | - | function CreateWeld(Parent, Part0, Part1, C0, C1) |
| 1327 | + | |
| 1328 | - | local Weld = Create("Weld")({
|
| 1328 | + | |
| 1329 | - | Parent = Parent, |
| 1329 | + | |
| 1330 | - | Part0 = Part0, |
| 1330 | + | |
| 1331 | - | Part1 = Part1, |
| 1331 | + | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1332 | - | C0 = C0, |
| 1332 | + | --Kamehameha |
| 1333 | - | C1 = C1 |
| 1333 | + | --------------------------------------------------------------------- |
| 1334 | - | }) |
| 1334 | + | mouse.KeyDown:connect(function(key) |
| 1335 | - | return Weld |
| 1335 | + | if key == "q" then |
| 1336 | if canattack == true then | |
| 1337 | - | WSHM = {
|
| 1337 | + | canattack = false |
| 1338 | - | "White", |
| 1338 | + | canidle = false |
| 1339 | - | "Pastel light blue" |
| 1339 | + | canwalk = false |
| 1340 | - | } |
| 1340 | + | kamehameha() |
| 1341 | - | WSH = WSHM[math.random(1, #WSHM)] |
| 1341 | + | canattack = true |
| 1342 | - | function IcePartFunk(HPart, aria, Min, Max) |
| 1342 | + | canwalk = true |
| 1343 | - | IcePart = Instance.new("Part", HPart)
|
| 1343 | + | canidle = true |
| 1344 | - | IcePart.Size = Vector3.new(math.random(Min, Max), math.random(Min, Max), math.random(Min, Max)) |
| 1344 | + | |
| 1345 | - | IcePart.CanCollide = false |
| 1345 | + | |
| 1346 | - | IuW = Instance.new("Weld")
|
| 1346 | + | |
| 1347 | - | IuW.Name = "GuW" |
| 1347 | + | ------------------------------------------------------------------ |
| 1348 | - | IuW.Part0 = HPart |
| 1348 | + | --Blocking |
| 1349 | - | IuW.C0 = cn(math.random(-aria, aria), math.random(-aria, aria), math.random(-aria, aria)) * angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180)) |
| 1349 | + | ---------------------------------------------------------------- |
| 1350 | - | IuW.C1 = cn(0, math.random(-aria / 2, aria / 2), 0) |
| 1350 | + | mouse.KeyDown:connect(function(key) |
| 1351 | - | IuW.Part1 = IcePart |
| 1351 | + | |
| 1352 | - | IuW.Parent = HPart |
| 1352 | + | if canattack == true then |
| 1353 | - | IcePart.Transparency = 0.85 |
| 1353 | + | canattack = false |
| 1354 | - | IcePart.Material = "Neon" |
| 1354 | + | canidle = false |
| 1355 | - | WSH = WSHM[math.random(1, #WSHM)] |
| 1355 | + | canwalk = false |
| 1356 | - | IcePart.BrickColor = BrickColor.new("" .. WSH)
|
| 1356 | + | |
| 1357 | - | RemoveOutlines(IcePart) |
| 1357 | + | block = true |
| 1358 | - | game:GetService("Debris"):AddItem(IuW, 4)
|
| 1358 | + | |
| 1359 | - | game:GetService("Debris"):AddItem(IcePart, 6)
|
| 1359 | + | |
| 1360 | end | |
| 1361 | - | SpikeMeshId = 1033714 |
| 1361 | + | |
| 1362 | - | local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale) |
| 1362 | + | mouse.KeyUp:connect(function(key) |
| 1363 | - | local Part = Instance.new("Part", Parent)
|
| 1363 | + | |
| 1364 | - | Part.Name = Name |
| 1364 | + | if canattack == false then |
| 1365 | - | Part.BrickColor = BrickColor.new(Color) |
| 1365 | + | canattack = true |
| 1366 | - | Part.Size = Size |
| 1366 | + | canidle = true |
| 1367 | - | Part.Material = Material |
| 1367 | + | block = false |
| 1368 | - | Part.Transparency = Transparency |
| 1368 | + | canwalk = true |
| 1369 | - | Part.CanCollide = false |
| 1369 | + | |
| 1370 | - | RemoveOutlines(Part) |
| 1370 | + | |
| 1371 | - | local Mesh = Instance.new("SpecialMesh", Part)
|
| 1371 | + | |
| 1372 | - | Mesh.MeshType = "Sphere" |
| 1372 | + | |
| 1373 | - | Mesh.Scale = Scale |
| 1373 | + | |
| 1374 | - | return Mesh and Part |
| 1374 | + | -------------------------------------------------------------------- |
| 1375 | --Transformations | |
| 1376 | - | CFuncs = {
|
| 1376 | + | -------------------------------------------------------------------- |
| 1377 | - | Part = {
|
| 1377 | + | mouse.KeyDown:connect(function(key) |
| 1378 | - | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 1378 | + | |
| 1379 | - | local Part = Create("Part")({
|
| 1379 | + | if ssj1 == false then |
| 1380 | - | Parent = Parent, |
| 1380 | + | if canattack == true then |
| 1381 | - | Reflectance = Reflectance, |
| 1381 | + | canattack = false |
| 1382 | - | Transparency = Transparency, |
| 1382 | + | canidle = false |
| 1383 | - | CanCollide = false, |
| 1383 | + | canwalk = false |
| 1384 | - | Locked = true, |
| 1384 | + | ssj1 = true |
| 1385 | - | BrickColor = BrickColor.new(tostring(BColor)), |
| 1385 | + | ssjmusic:Play() |
| 1386 | - | Name = Name, |
| 1386 | + | |
| 1387 | - | Size = Size, |
| 1387 | + | ------------------------------------------------ |
| 1388 | - | Material = Material |
| 1388 | + | transforming1 = true |
| 1389 | - | }) |
| 1389 | + | |
| 1390 | - | RemoveOutlines(Part) |
| 1390 | + | wait(5) |
| 1391 | - | return Part |
| 1391 | + | ssjauraburst:Play() |
| 1392 | - | end |
| 1392 | + | GroundWave5() |
| 1393 | - | }, |
| 1393 | + | GroundWave6() |
| 1394 | - | Mesh = {
|
| 1394 | + | GroundWave7() |
| 1395 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 1395 | + | GroundWave8() |
| 1396 | - | local Msh = Create(Mesh)({
|
| 1396 | + | GroundWave9() |
| 1397 | - | Parent = Part, |
| 1397 | + | GroundWave10() |
| 1398 | - | Offset = OffSet, |
| 1398 | + | ad.Position = torso.Position - v3(0,3,0) |
| 1399 | - | Scale = Scale |
| 1399 | + | |
| 1400 | - | }) |
| 1400 | + | transforming1 = false |
| 1401 | - | if Mesh == "SpecialMesh" then |
| 1401 | + | transforming2 = true |
| 1402 | - | Msh.MeshType = MeshType |
| 1402 | + | |
| 1403 | - | Msh.MeshId = MeshId |
| 1403 | + | a8.Color = Color3.fromRGB(231,255,111) |
| 1404 | - | end |
| 1404 | + | aaaae.Transparency = ns(0) |
| 1405 | - | return Msh |
| 1405 | + | ssjaura:Play() |
| 1406 | - | end |
| 1406 | + | wait(3) |
| 1407 | - | }, |
| 1407 | + | transforming2 = false |
| 1408 | - | Mesh = {
|
| 1408 | + | |
| 1409 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 1409 | + | |
| 1410 | - | local Msh = Create(Mesh)({
|
| 1410 | + | |
| 1411 | - | Parent = Part, |
| 1411 | + | |
| 1412 | - | Offset = OffSet, |
| 1412 | + | ------------------------------------------------- |
| 1413 | - | Scale = Scale |
| 1413 | + | canattack = true |
| 1414 | - | }) |
| 1414 | + | canidle = true |
| 1415 | - | if Mesh == "SpecialMesh" then |
| 1415 | + | canwalk = true |
| 1416 | - | Msh.MeshType = MeshType |
| 1416 | + | for i = 1,20 do |
| 1417 | - | Msh.MeshId = MeshId |
| 1417 | + | |
| 1418 | - | end |
| 1418 | + | aad.Transparency = aad.Transparency + 0.05 |
| 1419 | - | return Msh |
| 1419 | + | |
| 1420 | - | end |
| 1420 | + | |
| 1421 | - | }, |
| 1421 | + | else |
| 1422 | - | Weld = {
|
| 1422 | + | if canattack == true then |
| 1423 | - | Create = function(Parent, Part0, Part1, C0, C1) |
| 1423 | + | |
| 1424 | - | local Weld = Create("Weld")({
|
| 1424 | + | canattack = false |
| 1425 | - | Parent = Parent, |
| 1425 | + | canidle = false |
| 1426 | - | Part0 = Part0, |
| 1426 | + | canwalk = false |
| 1427 | - | Part1 = Part1, |
| 1427 | + | ssj2 = true |
| 1428 | - | C0 = C0, |
| 1428 | + | ssjmusic:Stop() |
| 1429 | - | C1 = C1 |
| 1429 | + | ssj2music:Play() |
| 1430 | - | }) |
| 1430 | + | transforming3 = true |
| 1431 | - | return Weld |
| 1431 | + | wait(1) |
| 1432 | - | end |
| 1432 | + | g1q = Instance.new("Part",char)
|
| 1433 | - | }, |
| 1433 | + | g1q.Name = "Smoke" |
| 1434 | - | Sound = {
|
| 1434 | + | g1q.CanCollide = false |
| 1435 | - | Create = function(id, par, vol, pit) |
| 1435 | + | g1q.Position = torso.Position - v3(-8,3,0) |
| 1436 | - | coroutine.resume(coroutine.create(function() |
| 1436 | + | g1q.Size = v3(0.1,0.1,0.1) |
| 1437 | - | local S = Create("Sound")({
|
| 1437 | + | g1q.Anchored = true |
| 1438 | - | Volume = vol, |
| 1438 | + | g1a = Instance.new("Part",char)
|
| 1439 | - | Pitch = pit or 1, |
| 1439 | + | g1a.Name = "Smoke" |
| 1440 | - | SoundId = id, |
| 1440 | + | g1a.CanCollide = false |
| 1441 | - | Parent = par or workspace |
| 1441 | + | g1a.Position = torso.Position + v3(8,80,0) |
| 1442 | - | }) |
| 1442 | + | g1a.Size = v3(0.1,0.1,0.1) |
| 1443 | - | wait() |
| 1443 | + | g1a.Anchored = true |
| 1444 | - | S:play() |
| 1444 | + | g1q1 = Instance.new("Part",char)
|
| 1445 | - | game:GetService("Debris"):AddItem(S, 6)
|
| 1445 | + | g1q1.Name = "Smoke" |
| 1446 | - | end)) |
| 1446 | + | g1q1.CanCollide = false |
| 1447 | - | end |
| 1447 | + | g1q1.Position = torso.Position - v3(-5,3,7) |
| 1448 | - | }, |
| 1448 | + | g1q1.Size = v3(0.1,0.1,0.1) |
| 1449 | - | ParticleEmitter = {
|
| 1449 | + | g1q1.Anchored = true |
| 1450 | - | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
| 1450 | + | g1a1 = Instance.new("Part",char)
|
| 1451 | - | local fp = Create("ParticleEmitter")({
|
| 1451 | + | g1a1.Name = "Smoke" |
| 1452 | - | Parent = Parent, |
| 1452 | + | g1a1.CanCollide = false |
| 1453 | - | Color = ColorSequence.new(Color1, Color2), |
| 1453 | + | g1a1.Position = torso.Position + v3(5,80,-7) |
| 1454 | - | LightEmission = LightEmission, |
| 1454 | + | g1a1.Size = v3(0.1,0.1,0.1) |
| 1455 | - | Size = Size, |
| 1455 | + | g1a1.Anchored = true |
| 1456 | - | Texture = Texture, |
| 1456 | + | g1q2 = Instance.new("Part",char)
|
| 1457 | - | Transparency = Transparency, |
| 1457 | + | g1q2.Name = "Smoke" |
| 1458 | - | ZOffset = ZOffset, |
| 1458 | + | g1q2.CanCollide = false |
| 1459 | - | Acceleration = Accel, |
| 1459 | + | g1q2.Position = torso.Position - v3(12,3,-6) |
| 1460 | - | Drag = Drag, |
| 1460 | + | g1q2.Size = v3(0.1,0.1,0.1) |
| 1461 | - | LockedToPart = LockedToPart, |
| 1461 | + | g1q2.Anchored = true |
| 1462 | - | VelocityInheritance = VelocityInheritance, |
| 1462 | + | g1a2 = Instance.new("Part",char)
|
| 1463 | - | EmissionDirection = EmissionDirection, |
| 1463 | + | g1a2.Name = "Smoke" |
| 1464 | - | Enabled = Enabled, |
| 1464 | + | g1a2.CanCollide = false |
| 1465 | - | Lifetime = LifeTime, |
| 1465 | + | g1a2.Position = torso.Position + v3(-12,80,6) |
| 1466 | - | Rate = Rate, |
| 1466 | + | g1a2.Size = v3(0.1,0.1,0.1) |
| 1467 | - | Rotation = Rotation, |
| 1467 | + | g1a2.Anchored = true |
| 1468 | - | RotSpeed = RotSpeed, |
| 1468 | + | |
| 1469 | - | Speed = Speed, |
| 1469 | + | game.Lighting.Brightness = 0 |
| 1470 | - | VelocitySpread = VelocitySpread |
| 1470 | + | |
| 1471 | - | }) |
| 1471 | + | game.Lighting.Brightness = 9999999 |
| 1472 | - | return fp |
| 1472 | + | |
| 1473 | - | end |
| 1473 | + | game.Lighting.Brightness = 0 |
| 1474 | - | } |
| 1474 | + | |
| 1475 | - | } |
| 1475 | + | Lightning:Play() |
| 1476 | - | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
| 1476 | + | Lightning1(g1a.Position,g1q.Position,0.2,10,workspace) |
| 1477 | - | if hit.Parent == nil then |
| 1477 | + | game.Lighting.Brightness = 9999999 |
| 1478 | - | return |
| 1478 | + | |
| 1479 | - | end |
| 1479 | + | game.Lighting.Brightness = 0 |
| 1480 | - | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
|
| 1480 | + | |
| 1481 | - | for _, v in pairs(hit.Parent:children()) do |
| 1481 | + | game.Lighting.Brightness = 9999999 |
| 1482 | - | if v:IsA("Humanoid") then
|
| 1482 | + | |
| 1483 | - | h = v |
| 1483 | + | game.Lighting.Brightness = 0 |
| 1484 | - | end |
| 1484 | + | |
| 1485 | - | end |
| 1485 | + | game.Lighting.Brightness = 0 |
| 1486 | - | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
|
| 1486 | + | |
| 1487 | - | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
|
| 1487 | + | game.Lighting.Brightness = 9999999 |
| 1488 | - | return |
| 1488 | + | |
| 1489 | - | end |
| 1489 | + | game.Lighting.Brightness = 0 |
| 1490 | - | local c = Create("ObjectValue")({
|
| 1490 | + | |
| 1491 | - | Name = "creator", |
| 1491 | + | Lightning:Play() |
| 1492 | - | Value = game:service("Players").LocalPlayer,
|
| 1492 | + | Lightning1(g1a1.Position,g1q1.Position,0.2,10,workspace) |
| 1493 | - | Parent = h |
| 1493 | + | game.Lighting.Brightness = 9999999 |
| 1494 | - | }) |
| 1494 | + | |
| 1495 | - | game:GetService("Debris"):AddItem(c, 0.5)
|
| 1495 | + | game.Lighting.Brightness = 0 |
| 1496 | - | if HitSound ~= nil and HitPitch ~= nil then |
| 1496 | + | |
| 1497 | - | CreateSound(HitSound, hit, 1, HitPitch) |
| 1497 | + | game.Lighting.Brightness = 9999999 |
| 1498 | - | end |
| 1498 | + | |
| 1499 | - | local Damage = math.random(minim, maxim) |
| 1499 | + | game.Lighting.Brightness = 0 |
| 1500 | - | local blocked = false |
| 1500 | + | |
| 1501 | - | local block = hit.Parent:findFirstChild("Block")
|
| 1501 | + | game.Lighting.Brightness = 0 |
| 1502 | - | if block ~= nil and block.className == "IntValue" and block.Value > 0 then |
| 1502 | + | |
| 1503 | - | blocked = true |
| 1503 | + | game.Lighting.Brightness = 9999999 |
| 1504 | - | block.Value = block.Value - 1 |
| 1504 | + | |
| 1505 | - | print(block.Value) |
| 1505 | + | game.Lighting.Brightness = 0 |
| 1506 | - | end |
| 1506 | + | |
| 1507 | - | if blocked == false then |
| 1507 | + | Lightning:Play() |
| 1508 | - | h.Health = h.Health - Damage |
| 1508 | + | Lightning1(g1a2.Position,g1q2.Position,0.2,10,workspace) |
| 1509 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
| 1509 | + | game.Lighting.Brightness = 9999999 |
| 1510 | - | else |
| 1510 | + | |
| 1511 | - | h.Health = h.Health - Damage / 2 |
| 1511 | + | game.Lighting.Brightness = 0 |
| 1512 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
| 1512 | + | |
| 1513 | - | end |
| 1513 | + | game.Lighting.Brightness = 9999999 |
| 1514 | - | if Type == "Knockdown" then |
| 1514 | + | |
| 1515 | - | local hum = hit.Parent.Humanoid |
| 1515 | + | game.Lighting.Brightness = 0 |
| 1516 | - | hum.PlatformStand = true |
| 1516 | + | |
| 1517 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
| 1517 | + | |
| 1518 | - | swait(1) |
| 1518 | + | |
| 1519 | - | HHumanoid.PlatformStand = false |
| 1519 | + | |
| 1520 | - | end), hum) |
| 1520 | + | |
| 1521 | - | local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit |
| 1521 | + | wait(1) |
| 1522 | - | local bodvol = Create("BodyVelocity")({
|
| 1522 | + | ad.Position = torso.Position - v3(0,3,0) |
| 1523 | - | velocity = angle * knockback, |
| 1523 | + | ad.Size = v3(30,0.1,30) |
| 1524 | - | P = 5000, |
| 1524 | + | |
| 1525 | - | maxForce = Vector3.new(8000, 8000, 8000), |
| 1525 | + | |
| 1526 | - | Parent = hit |
| 1526 | + | ssjauraburst:Play() |
| 1527 | - | }) |
| 1527 | + | |
| 1528 | - | local rl = Create("BodyAngularVelocity")({
|
| 1528 | + | |
| 1529 | - | P = 3000, |
| 1529 | + | aaa8.C0 = cf(0,.8,.3) * cfa(rad(0),rad(0),rad(0)) |
| 1530 | - | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
| 1530 | + | aa8.Scale = v3(7,7,7) |
| 1531 | - | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
| 1531 | + | aa8.MeshId = "rbxassetid://560180459" |
| 1532 | - | Parent = hit |
| 1532 | + | ssjaura:Stop() |
| 1533 | - | }) |
| 1533 | + | ssj2aura:Play() |
| 1534 | - | game:GetService("Debris"):AddItem(bodvol, 0.5)
|
| 1534 | + | ssj2ele = Instance.new("ParticleEmitter",torso)
|
| 1535 | - | game:GetService("Debris"):AddItem(rl, 0.5)
|
| 1535 | + | ssj2ele.LockedToPart = true |
| 1536 | - | elseif Type == "Normal" then |
| 1536 | + | ssj2ele.Size = ns(2.4) |
| 1537 | - | local vp = Create("BodyVelocity")({
|
| 1537 | + | ssj2ele.Rate = 5 |
| 1538 | - | P = 500, |
| 1538 | + | ssj2ele.Speed = nr(0) |
| 1539 | - | maxForce = Vector3.new(math.huge, 0, math.huge), |
| 1539 | + | ssj2ele.Lifetime = nr(0.5) |
| 1540 | - | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 |
| 1540 | + | ssj2ele.ZOffset = 2 |
| 1541 | - | }) |
| 1541 | + | ssj2ele.Texture = "rbxassetid://" |
| 1542 | - | if knockback > 0 then |
| 1542 | + | |
| 1543 | - | vp.Parent = hit.Parent.Torso |
| 1543 | + | g1 = Instance.new("Part",char)
|
| 1544 | - | end |
| 1544 | + | g1.Name = "Smoke" |
| 1545 | - | game:GetService("Debris"):AddItem(vp, 0.5)
|
| 1545 | + | g1.CanCollide = false |
| 1546 | - | elseif Type == "Impale" then |
| 1546 | + | g1.Position = torso.Position - v3(0,2,0) |
| 1547 | - | local Spike = CreateSpike(Services.Workspace, "Ice Spike", "Pastel light blue", Vector3.new(1, 1, 1), "Neon", 0.7, Vector3.new(1, 25, 1)) |
| 1547 | + | g1.Size = v3(0.1,0.1,0.1) |
| 1548 | - | Spike.Anchored = true |
| 1548 | + | g1.Anchored = true |
| 1549 | - | Spike.Rotation = Vector3.new(math.random(-10, 10), 0, math.random(-10, 10)) |
| 1549 | + | g11 = Instance.new("ParticleEmitter",g1)
|
| 1550 | - | Spike.Position = hit.Parent.Torso.Position |
| 1550 | + | g11.Size = ns(3) |
| 1551 | - | for i = 1, 5 do |
| 1551 | + | g11.EmissionDirection = "Front" |
| 1552 | - | IcePartFunk(hit.Parent.Torso, 0.55, 0.1, 1) |
| 1552 | + | g11.Texture = "rbxassetid://572153134" |
| 1553 | - | end |
| 1553 | + | g11.Rate = 40 |
| 1554 | - | Services.Debris:AddItem(Spike, 4) |
| 1554 | + | g11.Speed = nr(20) |
| 1555 | - | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, 0.8, 2)
|
| 1555 | + | g112 = Instance.new("ParticleEmitter",g1)
|
| 1556 | - | hit.Parent.Humanoid.PlatformStand = true |
| 1556 | + | g112.Size = ns(3) |
| 1557 | - | swait(1) |
| 1557 | + | g112.EmissionDirection = "Back" |
| 1558 | - | hit.Parent.Humanoid.PlatformStand = false |
| 1558 | + | g112.Texture = "rbxassetid://572153134" |
| 1559 | - | elseif Type == "Up" then |
| 1559 | + | g112.Rate = 40 |
| 1560 | - | local bodyVelocity = Create("BodyVelocity")({
|
| 1560 | + | g112.Speed = nr(20) |
| 1561 | - | velocity = Vector3.new(0, 20, 0), |
| 1561 | + | g113 = Instance.new("ParticleEmitter",g1)
|
| 1562 | - | P = 5000, |
| 1562 | + | g113.Size = ns(3) |
| 1563 | - | maxForce = Vector3.new(8000, 8000, 8000), |
| 1563 | + | g113.EmissionDirection = "Left" |
| 1564 | - | Parent = hit |
| 1564 | + | g113.Texture = "rbxassetid://572153134" |
| 1565 | - | }) |
| 1565 | + | g113.Rate = 40 |
| 1566 | - | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
|
| 1566 | + | g113.Speed = nr(20) |
| 1567 | - | local bodyVelocity = Create("BodyVelocity")({
|
| 1567 | + | g114 = Instance.new("ParticleEmitter",g1)
|
| 1568 | - | velocity = Vector3.new(0, 20, 0), |
| 1568 | + | g114.Size = ns(3) |
| 1569 | - | P = 5000, |
| 1569 | + | g114.EmissionDirection = "Right" |
| 1570 | - | maxForce = Vector3.new(8000, 8000, 8000), |
| 1570 | + | g114.Texture = "rbxassetid://572153134" |
| 1571 | - | Parent = hit |
| 1571 | + | g114.Rate = 40 |
| 1572 | - | }) |
| 1572 | + | g114.Speed = nr(20) |
| 1573 | - | game:GetService("Debris"):AddItem(bodyVelocity, 1)
|
| 1573 | + | g2 = Instance.new("Part",char)
|
| 1574 | - | elseif Type == "Snare" then |
| 1574 | + | g2.Name = "Smoke" |
| 1575 | - | local bp = Create("BodyPosition")({
|
| 1575 | + | g2.CanCollide = false |
| 1576 | - | P = 900, |
| 1576 | + | g2.CFrame = CFrame.new(torso.Position - v3(0,2,0))*CFrame.Angles(rad(0),rad(45),rad(0)) |
| 1577 | - | D = 1000, |
| 1577 | + | g2.Size = v3(0.1,0.1,0.1) |
| 1578 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 1578 | + | g2.Anchored = true |
| 1579 | - | position = hit.Parent.Torso.Position, |
| 1579 | + | g11 = Instance.new("ParticleEmitter",g2)
|
| 1580 | - | Parent = hit.Parent.Torso |
| 1580 | + | g11.Size = ns(3) |
| 1581 | - | }) |
| 1581 | + | g11.EmissionDirection = "Front" |
| 1582 | - | game:GetService("Debris"):AddItem(bp, 1)
|
| 1582 | + | g11.Texture = "rbxassetid://572153134" |
| 1583 | - | elseif Type == "Slowness" then |
| 1583 | + | g11.Rate = 40 |
| 1584 | - | local SpeedSave = hit.Parent.Humanoid.WalkSpeed |
| 1584 | + | g11.Speed = nr(20) |
| 1585 | - | for i = 1, 25 do |
| 1585 | + | g112 = Instance.new("ParticleEmitter",g2)
|
| 1586 | - | hit.Parent.Humanoid.WalkSpeed = 4 |
| 1586 | + | g112.Size = ns(3) |
| 1587 | - | IcePartFunk(hit.Parent.Torso, 0.55, 0.1, 1) |
| 1587 | + | g112.EmissionDirection = "Back" |
| 1588 | - | end |
| 1588 | + | g112.Texture = "rbxassetid://572153134" |
| 1589 | - | wait(4) |
| 1589 | + | g112.Rate = 40 |
| 1590 | - | hit.Parent.Humanoid.WalkSpeed = SpeedSave |
| 1590 | + | g112.Speed = nr(20) |
| 1591 | - | elseif Type == "FireDmg" then |
| 1591 | + | g113 = Instance.new("ParticleEmitter",g2)
|
| 1592 | - | for i = 1, math.random(60, 150) do |
| 1592 | + | g113.Size = ns(3) |
| 1593 | - | BlockEffect(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 20, 20, 20, 1.5, 1.5, 1.5, 0.05, 3)
|
| 1593 | + | g113.EmissionDirection = "Left" |
| 1594 | - | BlockEffect(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 20, 20, 20, 2, 2, 2, 0.05, 3)
|
| 1594 | + | g113.Texture = "rbxassetid://572153134" |
| 1595 | - | BlockEffect(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 0, 0, 0, 2, 2, 2, 0.035, 3)
|
| 1595 | + | g113.Rate = 40 |
| 1596 | - | wait(0.1) |
| 1596 | + | g113.Speed = nr(20) |
| 1597 | - | MagniDamage(hit.Parent.Torso, 12304, 1, 8, 0, "Normal") |
| 1597 | + | g114 = Instance.new("ParticleEmitter",g2)
|
| 1598 | - | end |
| 1598 | + | g114.Size = ns(3) |
| 1599 | - | elseif Type == "Freeze" then |
| 1599 | + | g114.EmissionDirection = "Right" |
| 1600 | - | local bp = Create("BodyPosition")({
|
| 1600 | + | g114.Texture = "rbxassetid://572153134" |
| 1601 | - | P = 900, |
| 1601 | + | g114.Rate = 40 |
| 1602 | - | D = 1000, |
| 1602 | + | g114.Speed = nr(20) |
| 1603 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 1603 | + | |
| 1604 | - | position = hit.Parent.Torso.Position, |
| 1604 | + | |
| 1605 | - | Parent = hit.Parent.Torso |
| 1605 | + | a21e = new("Part",char)
|
| 1606 | - | }) |
| 1606 | + | |
| 1607 | - | game:GetService("Debris"):AddItem(bp, 4)
|
| 1607 | + | |
| 1608 | - | for i = 1, 25 do |
| 1608 | + | |
| 1609 | - | IcePartFunk(hit.Parent.Torso, 1, 1.5, 2) |
| 1609 | + | |
| 1610 | - | end |
| 1610 | + | a21e.Position = v3(999,999,999) |
| 1611 | - | elseif Type == "Freeze2" then |
| 1611 | + | a21e.BrickColor = bc("New Yeller")
|
| 1612 | - | local BodPos = Create("BodyPosition")({
|
| 1612 | + | |
| 1613 | - | P = 50000, |
| 1613 | + | |
| 1614 | - | D = 1000, |
| 1614 | + | |
| 1615 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 1615 | + | |
| 1616 | - | position = hit.Parent.Torso.Position, |
| 1616 | + | a21e.Position = torso.Position |
| 1617 | - | Parent = hit.Parent.Torso |
| 1617 | + | |
| 1618 | - | }) |
| 1618 | + | |
| 1619 | - | local BodGy = Create("BodyGyro")({
|
| 1619 | + | |
| 1620 | - | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, |
| 1620 | + | GroundWave6() |
| 1621 | - | P = 20000, |
| 1621 | + | GroundWave7() |
| 1622 | - | Parent = hit.Parent.Torso, |
| 1622 | + | GroundWave8() |
| 1623 | - | cframe = hit.Parent.Torso.CFrame |
| 1623 | + | GroundWave9() |
| 1624 | - | }) |
| 1624 | + | GroundWave10() |
| 1625 | - | hit.Parent.Torso.Anchored = true |
| 1625 | + | for i = 1,50 do |
| 1626 | - | coroutine.resume(coroutine.create(function(Part) |
| 1626 | + | |
| 1627 | - | swait(1.5) |
| 1627 | + | aa21e.Scale = aa21e.Scale + v3(5,5,5) |
| 1628 | - | Part.Anchored = false |
| 1628 | + | a21e.Transparency = a21e.Transparency + 0.02 |
| 1629 | - | end), hit.Parent.Torso) |
| 1629 | + | end |
| 1630 | - | game:GetService("Debris"):AddItem(BodPos, 3)
|
| 1630 | + | |
| 1631 | - | game:GetService("Debris"):AddItem(BodGy, 3)
|
| 1631 | + | wait(2) |
| 1632 | - | end |
| 1632 | + | g1.Position = v3(999,999,999) |
| 1633 | - | local debounce = Create("BoolValue")({
|
| 1633 | + | g2.Position = v3(999,999,999) |
| 1634 | - | Name = "DebounceHit", |
| 1634 | + | transforming3 = false |
| 1635 | - | Parent = hit.Parent, |
| 1635 | + | canattack = true |
| 1636 | - | Value = true |
| 1636 | + | canidle = true |
| 1637 | - | }) |
| 1637 | + | canwalk = true |
| 1638 | - | game:GetService("Debris"):AddItem(debounce, Delay)
|
| 1638 | + | |
| 1639 | - | c = Instance.new("ObjectValue")
|
| 1639 | + | wait(5) |
| 1640 | - | c.Name = "creator" |
| 1640 | + | for i = 1,20 do |
| 1641 | - | c.Value = Player |
| 1641 | + | |
| 1642 | - | c.Parent = h |
| 1642 | + | aad.Transparency = aad.Transparency + 0.05 |
| 1643 | - | game:GetService("Debris"):AddItem(c, 0.5)
|
| 1643 | + | |
| 1644 | - | end |
| 1644 | + | g1:Destroy() |
| 1645 | g2:Destroy() | |
| 1646 | - | function ShowDamage(Pos, Text, Time, Color) |
| 1646 | + | |
| 1647 | - | local Rate = 0.033333333333333 |
| 1647 | + | |
| 1648 | - | if not Pos then |
| 1648 | + | |
| 1649 | - | local Pos = Vector3.new(0, 0, 0) |
| 1649 | + | |
| 1650 | - | end |
| 1650 | + | end |
| 1651 | - | local Text = Text or "" |
| 1651 | + | |
| 1652 | - | local Time = Time or 2 |
| 1652 | + | |
| 1653 | - | if not Color then |
| 1653 | + | |
| 1654 | - | local Color = Color3.new(1, 0, 1) |
| 1654 | + | --Lightning |
| 1655 | - | end |
| 1655 | + | |
| 1656 | - | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
| 1656 | + | function Lightning1(pos,pos2,radius,numParts,model) |
| 1657 | - | EffectPart.Anchored = true |
| 1657 | + | radius = radius or 0.2 |
| 1658 | - | local BillboardGui = Create("BillboardGui")({
|
| 1658 | + | numParts = numParts or 10 |
| 1659 | - | Size = UDim2.new(3, 0, 3, 0), |
| 1659 | + | model = model or workspace |
| 1660 | - | Adornee = EffectPart, |
| 1660 | + | local lv = CFrame.new(pos,pos2).lookVector |
| 1661 | - | Parent = EffectPart |
| 1661 | + | local dist = (pos-pos2).magnitude |
| 1662 | - | }) |
| 1662 | + | local dbp = dist/numParts |
| 1663 | - | local TextLabel = Create("TextLabel")({
|
| 1663 | + | local last = pos |
| 1664 | - | BackgroundTransparency = 1, |
| 1664 | + | for i = 1,numParts do |
| 1665 | - | Size = UDim2.new(1, 0, 1, 0), |
| 1665 | + | local p = Instance.new("Part",model)
|
| 1666 | - | Text = Text, |
| 1666 | + | p.FormFactor = "Symmetric" |
| 1667 | - | TextColor3 = Color, |
| 1667 | + | p.Size = Vector3.new(5,5,1) |
| 1668 | - | TextScaled = true, |
| 1668 | + | p.Material = "Neon" |
| 1669 | - | Font = Enum.Font.ArialBold, |
| 1669 | + | p.CanCollide = false |
| 1670 | - | Parent = BillboardGui |
| 1670 | + | p.Anchored = true |
| 1671 | - | }) |
| 1671 | + | p.BrickColor = BrickColor.new("Cyan")
|
| 1672 | - | game.Debris:AddItem(EffectPart, Time + 0.1) |
| 1672 | + | local x = math.random(-100,100)/100*dbp/2 |
| 1673 | - | EffectPart.Parent = game:GetService("Workspace")
|
| 1673 | + | local y = math.random(-100,100)/100*dbp/2 |
| 1674 | - | delay(0, function() |
| 1674 | + | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) |
| 1675 | - | local Frames = Time / Rate |
| 1675 | + | local dist2 = (p2.p-last).magnitude |
| 1676 | - | for Frame = 1, Frames do |
| 1676 | + | local mid = (p2.p+last)/2 |
| 1677 | - | wait(Rate) |
| 1677 | + | local m = Instance.new("BlockMesh",p)
|
| 1678 | - | local Percent = Frame / Frames |
| 1678 | + | m.Scale = Vector3.new(radius,radius,dist2) |
| 1679 | - | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
| 1679 | + | p.CFrame = CFrame.new(mid,p2.p) |
| 1680 | - | TextLabel.TextTransparency = Percent |
| 1680 | + | last = p2.p |
| 1681 | - | end |
| 1681 | + | game:GetService("Debris"):AddItem(p,math.random(40,100)/1000)
|
| 1682 | - | if EffectPart and EffectPart.Parent then |
| 1682 | + | |
| 1683 | - | EffectPart:Destroy() |
| 1683 | + | |
| 1684 | - | end |
| 1684 | + | ---------------------------------------------------------------------------------------------- |
| 1685 | - | end) |
| 1685 | + | ac = new("Part",char)
|
| 1686 | ac.Name = "NewPart" | |
| 1687 | - | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) |
| 1687 | + | ac.Size = v3(0.1,0.1,0.1) |
| 1688 | - | for _, c in pairs(workspace:children()) do |
| 1688 | + | ac.Position = v3(999,999,999) |
| 1689 | - | local hum = c:findFirstChild("Humanoid")
|
| 1689 | + | ac.BrickColor = bc("bright Blue")
|
| 1690 | - | if hum ~= nil then |
| 1690 | + | ac.Material = "Neon" |
| 1691 | - | local head = c:findFirstChild("Head")
|
| 1691 | + | ac.Transparency = 1 |
| 1692 | - | if head ~= nil then |
| 1692 | + | aaac =new("Weld",ac)
|
| 1693 | - | local targ = head.Position - Part.Position |
| 1693 | + | aaac.Part0 = rarm |
| 1694 | - | local mag = targ.magnitude |
| 1694 | + | aaac.Part1 = ac |
| 1695 | - | if magni >= mag and c.Name ~= Player.Name then |
| 1695 | + | aaac.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0)) |
| 1696 | - | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=1050733875", 1) |
| 1696 | + | aaaac = new("ParticleEmitter",ac)
|
| 1697 | aaaac.Size = ns(1) | |
| 1698 | - | end |
| 1698 | + | aaaac.Rate = 5 |
| 1699 | - | end |
| 1699 | + | aaaac.Texture = "rbxassetid://246381828" |
| 1700 | - | end |
| 1700 | + | aaaac.ZOffset = 1 |
| 1701 | aaaac.Lifetime = nr(5) | |
| 1702 | - | function MagniKILL(Part, magni, knock, Type) |
| 1702 | + | aaaac.Transparency = ns(1) |
| 1703 | - | for _, c in pairs(workspace:children()) do |
| 1703 | + | aaaac.LockedToPart = true |
| 1704 | - | local hum = c:findFirstChild("Humanoid")
|
| 1704 | + | aaaac.Speed = nr(0) |
| 1705 | - | if hum ~= nil then |
| 1705 | + | aaaawc = new("ParticleEmitter",ac)
|
| 1706 | - | local head = c:findFirstChild("Head")
|
| 1706 | + | aaaawc.Size = ns(5) |
| 1707 | - | if head ~= nil then |
| 1707 | + | aaaawc.Rate = 5 |
| 1708 | - | local targ = head.Position - Part.Position |
| 1708 | + | aaaawc.Color = ColorSequence.new(Color3.fromRGB(149,190,255)) |
| 1709 | - | local mag = targ.magnitude |
| 1709 | + | aaaawc.Texture = "rbxassetid://924710961" |
| 1710 | - | if magni >= mag and c.Name ~= Player.Name then |
| 1710 | + | aaaawc.ZOffset = -1 |
| 1711 | - | hum.Health = 0 |
| 1711 | + | aaaawc.Lifetime = nr(5) |
| 1712 | aaaawc.RotSpeed = nr(50) | |
| 1713 | - | end |
| 1713 | + | aaaawc.Transparency = ns(1) |
| 1714 | - | end |
| 1714 | + | aaaawc.LockedToPart = true |
| 1715 | - | end |
| 1715 | + | aaaawc.Speed = nr(0) |
| 1716 | mouse.KeyDown:connect(function(key) | |
| 1717 | - | EffectModel = Instance.new("Model", Character)
|
| 1717 | + | if key == "z" then |
| 1718 | - | EffectModel.Name = "Effects" |
| 1718 | + | |
| 1719 | - | Effects = {
|
| 1719 | + | if canattack == true then |
| 1720 | - | Block = {
|
| 1720 | + | canattack = false |
| 1721 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
| 1721 | + | canidle = false |
| 1722 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1722 | + | canwalk = false |
| 1723 | - | prt.Anchored = true |
| 1723 | + | ssj2music.Volume = 0 |
| 1724 | - | prt.CFrame = cframe |
| 1724 | + | fahersonstart:Play() |
| 1725 | - | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1725 | + | fatherson() |
| 1726 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 1726 | + | wait(1) |
| 1727 | - | if Type == 1 or Type == nil then |
| 1727 | + | for i = 1,20 do |
| 1728 | - | table.insert(Effects, {
|
| 1728 | + | wait() |
| 1729 | - | prt, |
| 1729 | + | trans = trans - 0.05 |
| 1730 | - | "Block1", |
| 1730 | + | aaaac.Transparency = ns(trans) |
| 1731 | - | delay, |
| 1731 | + | aaaawc.Transparency = ns(trans) |
| 1732 | - | x3, |
| 1732 | + | |
| 1733 | - | y3, |
| 1733 | + | wait(3) |
| 1734 | - | z3, |
| 1734 | + | fahersonend:Play() |
| 1735 | - | msh |
| 1735 | + | fathersonfire() |
| 1736 | - | }) |
| 1736 | + | 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 |
| 1737 | - | elseif Type == 2 then |
| 1737 | + | 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 |
| 1738 | - | table.insert(Effects, {
|
| 1738 | + | 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)), 1)--arm |
| 1739 | - | prt, |
| 1739 | + | 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)), 1)--arm |
| 1740 | - | "Block2", |
| 1740 | + | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-10)), 1)--leg |
| 1741 | - | delay, |
| 1741 | + | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 1)--leg |
| 1742 | - | x3, |
| 1742 | + | |
| 1743 | - | y3, |
| 1743 | + | char.Archivable = true |
| 1744 | - | z3, |
| 1744 | + | c = char:Clone() |
| 1745 | - | msh |
| 1745 | + | 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 |
| 1746 | - | }) |
| 1746 | + | 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 |
| 1747 | - | else |
| 1747 | + | 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)), 1)--arm |
| 1748 | - | table.insert(Effects, {
|
| 1748 | + | 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)), 1)--arm |
| 1749 | - | prt, |
| 1749 | + | 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 |
| 1750 | - | "Block3", |
| 1750 | + | 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 |
| 1751 | - | delay, |
| 1751 | + | c.Parent = char |
| 1752 | - | x3, |
| 1752 | + | c.Name = "Goku" |
| 1753 | - | y3, |
| 1753 | + | okko = Instance.new("Weld",c)
|
| 1754 | - | z3, |
| 1754 | + | okko.Part0 = torso |
| 1755 | - | msh |
| 1755 | + | okko.Part1 = c.Torso |
| 1756 | - | }) |
| 1756 | + | okko.C0 = CFrame.new(2.5,0,0) |
| 1757 | - | end |
| 1757 | + | Hair99 = Instance.new("Part")
|
| 1758 | - | end |
| 1758 | + | umok = Instance.new("Part",c)
|
| 1759 | - | }, |
| 1759 | + | umok.Name = "canthurt" |
| 1760 | - | Sphere = {
|
| 1760 | + | umok.Position = v3(999,999,999) |
| 1761 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1761 | + | Hair99.Parent = c |
| 1762 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1762 | + | Hair99.Name = "Hair" |
| 1763 | - | prt.Anchored = true |
| 1763 | + | Hair99.formFactor = "Symmetric" |
| 1764 | - | prt.CFrame = cframe |
| 1764 | + | Hair99.Size = Vector3.new(1, 1, 1) |
| 1765 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1765 | + | Hair99.CFrame = c.Head.CFrame |
| 1766 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 1766 | + | Hair99:BreakJoints() |
| 1767 | - | table.insert(Effects, {
|
| 1767 | + | Hair99.CanCollide = false |
| 1768 | - | prt, |
| 1768 | + | Hair99.TopSurface = "Smooth" |
| 1769 | - | "Cylinder", |
| 1769 | + | Hair99.BottomSurface = "Smooth" |
| 1770 | - | delay, |
| 1770 | + | Hair99.BrickColor = BrickColor.new("New Yeller")
|
| 1771 | - | x3, |
| 1771 | + | Hair99.Transparency = 1 |
| 1772 | - | y3, |
| 1772 | + | |
| 1773 | - | z3, |
| 1773 | + | Weld = Instance.new("Weld")
|
| 1774 | - | msh |
| 1774 | + | Weld.Part0 = c.Head |
| 1775 | - | }) |
| 1775 | + | Weld.Part1 = Hair99 |
| 1776 | - | end |
| 1776 | + | Weld.Parent = c.Head |
| 1777 | - | }, |
| 1777 | + | Weld.C0 = CFrame.new(0, 0.26, 0.06)*CFrame.fromEulerAnglesXYZ(0, 0, 0) |
| 1778 | - | Cylinder = {
|
| 1778 | + | |
| 1779 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1779 | + | |
| 1780 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1780 | + | Hair7.Parent = c |
| 1781 | - | prt.Anchored = true |
| 1781 | + | |
| 1782 | - | prt.CFrame = cframe |
| 1782 | + | |
| 1783 | - | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1783 | + | |
| 1784 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 1784 | + | |
| 1785 | - | table.insert(Effects, {
|
| 1785 | + | |
| 1786 | - | prt, |
| 1786 | + | |
| 1787 | - | "Cylinder", |
| 1787 | + | |
| 1788 | - | delay, |
| 1788 | + | |
| 1789 | - | x3, |
| 1789 | + | Hair7.CFrame = c.Torso.CFrame |
| 1790 | - | y3, |
| 1790 | + | |
| 1791 | - | z3, |
| 1791 | + | |
| 1792 | - | msh |
| 1792 | + | |
| 1793 | - | }) |
| 1793 | + | |
| 1794 | - | end |
| 1794 | + | Mesh.Parent = Hair99 |
| 1795 | - | }, |
| 1795 | + | Mesh.MeshType = "Sphere" |
| 1796 | - | Wave = {
|
| 1796 | + | Mesh.Offset = Vector3.new(0, 0.1, 0.1) |
| 1797 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1797 | + | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) |
| 1798 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1798 | + | |
| 1799 | - | prt.Anchored = true |
| 1799 | + | |
| 1800 | - | prt.CFrame = cframe |
| 1800 | + | |
| 1801 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1801 | + | Weld1.Parent = c.Head |
| 1802 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 1802 | + | Weld1.Part0 = c.Head |
| 1803 | - | table.insert(Effects, {
|
| 1803 | + | |
| 1804 | - | prt, |
| 1804 | + | Weld1.C0 = CFrame.new(0, 1, 0) |
| 1805 | - | "Cylinder", |
| 1805 | + | |
| 1806 | - | delay, |
| 1806 | + | |
| 1807 | - | x3, |
| 1807 | + | Mesh.Offset = Vector3.new(0.2, -0.2, 0.2) |
| 1808 | - | y3, |
| 1808 | + | |
| 1809 | - | z3, |
| 1809 | + | Mesh.Scale = Vector3.new(1, 1, 1) |
| 1810 | - | msh |
| 1810 | + | |
| 1811 | - | }) |
| 1811 | + | Mesh.MeshId = "http://www.roblox.com/asset/?id=476757756" |
| 1812 | - | end |
| 1812 | + | Mesh.TextureId = "" |
| 1813 | - | }, |
| 1813 | + | |
| 1814 | - | Ring = {
|
| 1814 | + | |
| 1815 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1815 | + | for i,v in pairs(c:GetChildren()) do |
| 1816 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1816 | + | if v.Name == "NewPart" then |
| 1817 | - | prt.Anchored = true |
| 1817 | + | v:Destroy() |
| 1818 | - | prt.CFrame = cframe |
| 1818 | + | |
| 1819 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1819 | + | if v:IsA("Part") then
|
| 1820 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 1820 | + | v.CanCollide = false |
| 1821 | - | table.insert(Effects, {
|
| 1821 | + | v.Anchored = true |
| 1822 | - | prt, |
| 1822 | + | v.BrickColor = BrickColor.new("Cyan")
|
| 1823 | - | "Cylinder", |
| 1823 | + | v.Transparency = 0.5 |
| 1824 | - | delay, |
| 1824 | + | |
| 1825 | - | x3, |
| 1825 | + | |
| 1826 | - | y3, |
| 1826 | + | c["Sound Folder"]:Destroy() |
| 1827 | - | z3, |
| 1827 | + | c.Hair:Destroy() |
| 1828 | - | msh |
| 1828 | + | c.Shirt:Destroy() |
| 1829 | - | }) |
| 1829 | + | c.Pants:Destroy() |
| 1830 | - | end |
| 1830 | + | |
| 1831 | - | }, |
| 1831 | + | |
| 1832 | - | Break = {
|
| 1832 | + | |
| 1833 | - | Create = function(brickcolor, cframe, x1, y1, z1) |
| 1833 | + | |
| 1834 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
| 1834 | + | |
| 1835 | - | prt.Anchored = true |
| 1835 | + | |
| 1836 | - | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
| 1836 | + | |
| 1837 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1837 | + | |
| 1838 | - | local num = math.random(10, 50) / 1000 |
| 1838 | + | |
| 1839 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 1839 | + | hed.Anchored = true |
| 1840 | - | table.insert(Effects, {
|
| 1840 | + | a8.Anchored = true |
| 1841 | - | prt, |
| 1841 | + | ae.Anchored = true |
| 1842 | - | "Shatter", |
| 1842 | + | |
| 1843 | - | num, |
| 1843 | + | |
| 1844 | - | prt.CFrame, |
| 1844 | + | |
| 1845 | - | math.random() - math.random(), |
| 1845 | + | |
| 1846 | - | 0, |
| 1846 | + | |
| 1847 | - | math.random(50, 100) / 100 |
| 1847 | + | |
| 1848 | - | }) |
| 1848 | + | a1s = new("Part",char)
|
| 1849 | - | end |
| 1849 | + | a1s.Name = "Beam" |
| 1850 | - | } |
| 1850 | + | a1s.Anchored = true |
| 1851 | - | } |
| 1851 | + | a1s.Size = v3(6,15,15) |
| 1852 | - | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
| 1852 | + | a1s.CanCollide = false |
| 1853 | - | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1853 | + | a1s.Locked = true |
| 1854 | - | prt.Anchored = true |
| 1854 | + | a1s.Position = v3(999,999,999) |
| 1855 | - | prt.CFrame = cframe |
| 1855 | + | a1s.BrickColor = bc("Cyan")
|
| 1856 | - | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1856 | + | a1s.Material = "Neon" |
| 1857 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 1857 | + | a1s.Transparency = 0 |
| 1858 | - | if Type == 1 or Type == nil then |
| 1858 | + | aa1s = new("SpecialMesh",a1s)
|
| 1859 | - | table.insert(Effects, {
|
| 1859 | + | aa1s.MeshType = "Cylinder" |
| 1860 | - | prt, |
| 1860 | + | aa1s.Scale = v3(1,1,1) |
| 1861 | - | "Block1", |
| 1861 | + | aaaac.Transparency = ns(1) |
| 1862 | - | delay, |
| 1862 | + | aaaawc.Transparency = ns(1) |
| 1863 | - | x3, |
| 1863 | + | a2s = new("Part",char)
|
| 1864 | - | y3, |
| 1864 | + | a2s.Name = "Beam" |
| 1865 | - | z3, |
| 1865 | + | a2s.Anchored = true |
| 1866 | - | msh |
| 1866 | + | a2s.Locked = true |
| 1867 | - | }) |
| 1867 | + | a2s.Size = v3(0.1,0.1,0.1) |
| 1868 | - | elseif Type == 2 then |
| 1868 | + | a2s.CanCollide = false |
| 1869 | - | table.insert(Effects, {
|
| 1869 | + | a2s.Position = v3(999,999,999) |
| 1870 | - | prt, |
| 1870 | + | a2s.BrickColor = bc("Cyan")
|
| 1871 | - | "Block2", |
| 1871 | + | a2s.Material = "Neon" |
| 1872 | - | delay, |
| 1872 | + | a2s.Transparency = 0 |
| 1873 | - | x3, |
| 1873 | + | aa2s = new("SpecialMesh",a2s)
|
| 1874 | - | y3, |
| 1874 | + | aa2s.MeshType = "Sphere" |
| 1875 | - | z3, |
| 1875 | + | aa2s.Scale = v3(200,150,150) |
| 1876 | - | msh |
| 1876 | + | a3s = new("Part",char)
|
| 1877 | - | }) |
| 1877 | + | a3s.Name = "Beam" |
| 1878 | - | elseif Type == 3 then |
| 1878 | + | a3s.Locked = true |
| 1879 | - | table.insert(Effects, {
|
| 1879 | + | a3s.Anchored = true |
| 1880 | - | prt, |
| 1880 | + | a3s.Size = v3(0.1,0.1,0.1) |
| 1881 | - | "Block3", |
| 1881 | + | a3s.CanCollide = false |
| 1882 | - | delay, |
| 1882 | + | a3s.Position = v3(999,999,999) |
| 1883 | - | x3, |
| 1883 | + | a3s.BrickColor = bc("Cyan")
|
| 1884 | - | y3, |
| 1884 | + | a3s.Material = "Neon" |
| 1885 | - | z3, |
| 1885 | + | a3s.Transparency = 0 |
| 1886 | - | msh |
| 1886 | + | aa3s = new("SpecialMesh",a3s)
|
| 1887 | - | }) |
| 1887 | + | aa3s.MeshType = "Sphere" |
| 1888 | - | end |
| 1888 | + | aa3s.Scale = v3(250,150,150) |
| 1889 | --Damages | |
| 1890 | - | function CreateSound(id, par, vol, pit) |
| 1890 | + | |
| 1891 | - | coroutine.resume(coroutine.create(function() |
| 1891 | + | a1s.Touched:connect(function(hit) |
| 1892 | - | local sou = Instance.new("Sound", par or workspace)
|
| 1892 | + | |
| 1893 | - | sou.Volume = vol |
| 1893 | + | if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 and hit ~= Hair7 and hit ~= Hair99 and hit.Parent:findFirstChild("canthurt") == nil then
|
| 1894 | - | sou.Pitch = pit or 1 |
| 1894 | + | |
| 1895 | - | sou.SoundId = id |
| 1895 | + | |
| 1896 | - | swait() |
| 1896 | + | |
| 1897 | - | sou:play() |
| 1897 | + | |
| 1898 | - | game:GetService("Debris"):AddItem(sou, 6)
|
| 1898 | + | hit.Parent:BreakJoints() |
| 1899 | - | end)) |
| 1899 | + | |
| 1900 | hit:Destroy() | |
| 1901 | - | function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1901 | + | |
| 1902 | - | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
| 1902 | + | |
| 1903 | - | prt.Anchored = true |
| 1903 | + | |
| 1904 | - | prt.CFrame = cframe |
| 1904 | + | |
| 1905 | - | prt.Material = "Neon" |
| 1905 | + | a21 = new("Part",char)
|
| 1906 | - | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1906 | + | |
| 1907 | - | game:GetService("Debris"):AddItem(prt, 10)
|
| 1907 | + | |
| 1908 | - | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 1908 | + | |
| 1909 | - | for i = 0, 6, delay do |
| 1909 | + | |
| 1910 | - | swait() |
| 1910 | + | |
| 1911 | - | Part.Transparency = i |
| 1911 | + | |
| 1912 | - | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) |
| 1912 | + | |
| 1913 | - | end |
| 1913 | + | |
| 1914 | - | Part.Parent = nil |
| 1914 | + | |
| 1915 | - | end), prt, msh) |
| 1915 | + | |
| 1916 | a21.Position = hit.Position | |
| 1917 | - | function shoottraildd(mouse, partt, SpreadAmount, dmg) ---effects |
| 1917 | + | |
| 1918 | - | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) |
| 1918 | + | |
| 1919 | - | local MainPos = partt.Position |
| 1919 | + | |
| 1920 | - | local MainPos2 = mouse + SpreadVectors |
| 1920 | + | |
| 1921 | - | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) |
| 1921 | + | |
| 1922 | - | local speed = 1000 |
| 1922 | + | |
| 1923 | - | local num = 1 |
| 1923 | + | |
| 1924 | - | coroutine.resume(coroutine.create(function() |
| 1924 | + | char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(5,5,5) |
| 1925 | - | repeat |
| 1925 | + | char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02 |
| 1926 | - | swait() |
| 1926 | + | |
| 1927 | - | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) |
| 1927 | + | |
| 1928 | - | local mag =(MainPos - pos).magnitude |
| 1928 | + | |
| 1929 | - | Laser(BrickColor.new("Lapis"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -2.175, 0, -2.175, 0.15)
|
| 1929 | + | |
| 1930 | - | MainPos = MainPos + MouseLook.lookVector * speed |
| 1930 | + | |
| 1931 | - | num = num - 1 |
| 1931 | + | |
| 1932 | - | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) |
| 1932 | + | |
| 1933 | - | if hit ~= nil then |
| 1933 | + | |
| 1934 | - | num = 0 |
| 1934 | + | |
| 1935 | - | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
|
| 1935 | + | |
| 1936 | - | refpart.Anchored = true |
| 1936 | + | |
| 1937 | - | refpart.CFrame = CFrame.new(pos) |
| 1937 | + | |
| 1938 | - | game:GetService("Debris"):AddItem(refpart, 2)
|
| 1938 | + | |
| 1939 | - | end |
| 1939 | + | |
| 1940 | - | if num <= 0 then |
| 1940 | + | |
| 1941 | - | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
|
| 1941 | + | beam3 = true |
| 1942 | - | refpart.Anchored = true |
| 1942 | + | beam4 = true |
| 1943 | - | refpart.CFrame = CFrame.new(pos) |
| 1943 | + | |
| 1944 | - | if hit ~= nil then |
| 1944 | + | |
| 1945 | - | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
|
| 1945 | + | beam3 = false |
| 1946 | - | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05)
|
| 1946 | + | |
| 1947 | - | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
|
| 1947 | + | |
| 1948 | - | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
|
| 1948 | + | |
| 1949 | - | MagniDamage(refpart, 40, dmg, dmg, 0, "FireDmg") |
| 1949 | + | a1s.Size = a1s.Size - v3(0,0.2,0.2) |
| 1950 | aa2s.Scale = aa2s.Scale - v3(2,2,2) | |
| 1951 | - | game:GetService("Debris"):AddItem(refpart, 0)
|
| 1951 | + | aa3s.Scale = aa3s.Scale - v3(2,2,2) |
| 1952 | - | end |
| 1952 | + | |
| 1953 | - | until num <= 0 |
| 1953 | + | a1s.Size.y < 0.1 |
| 1954 | - | end)) |
| 1954 | + | |
| 1955 | beamgo = 2.2 | |
| 1956 | - | function shoottraildd2(mouse, partt, SpreadAmount) |
| 1956 | + | |
| 1957 | - | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) |
| 1957 | + | a1s:Destroy() |
| 1958 | - | local MainPos = partt.Position |
| 1958 | + | a2s:Destroy() |
| 1959 | - | local MainPos2 = mouse + SpreadVectors |
| 1959 | + | a3s:Destroy() |
| 1960 | - | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) |
| 1960 | + | for i = 1,10 do |
| 1961 | - | local speed = 3000 |
| 1961 | + | wait() |
| 1962 | - | local num = 1 |
| 1962 | + | |
| 1963 | - | coroutine.resume(coroutine.create(function() |
| 1963 | + | |
| 1964 | - | repeat |
| 1964 | + | |
| 1965 | - | swait() |
| 1965 | + | kamefire:Stop() |
| 1966 | - | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) |
| 1966 | + | |
| 1967 | - | local mag = (MainPos - pos).magnitude |
| 1967 | + | |
| 1968 | - | Laser(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -17.175, 0, -17.175, 0.15)
|
| 1968 | + | |
| 1969 | - | MainPos = MainPos + MouseLook.lookVector * speed |
| 1969 | + | |
| 1970 | - | num = num - 1 |
| 1970 | + | |
| 1971 | - | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) |
| 1971 | + | |
| 1972 | - | if hit ~= nil then |
| 1972 | + | |
| 1973 | - | num = 0 |
| 1973 | + | |
| 1974 | - | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
|
| 1974 | + | |
| 1975 | - | refpart.Anchored = true |
| 1975 | + | |
| 1976 | - | refpart.CFrame = CFrame.new(pos) |
| 1976 | + | |
| 1977 | - | game:GetService("Debris"):AddItem(refpart, 2)
|
| 1977 | + | wait(1) |
| 1978 | - | end |
| 1978 | + | torso.Anchored = false |
| 1979 | - | if num <= 0 then |
| 1979 | + | hed.Anchored = false |
| 1980 | - | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
|
| 1980 | + | c:Destroy() |
| 1981 | - | refpart.Anchored = true |
| 1981 | + | beamgo4 = 2.2 |
| 1982 | - | refpart.CFrame = CFrame.new(pos) |
| 1982 | + | beamgo3 = 1 |
| 1983 | - | if hit ~= nil then |
| 1983 | + | canattack = true |
| 1984 | - | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
|
| 1984 | + | canwalk = true |
| 1985 | - | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 86.5, 86.5, 86.5, 0.05)
|
| 1985 | + | canidle = true |
| 1986 | - | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05)
|
| 1986 | + | |
| 1987 | - | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05)
|
| 1987 | + | a8.Anchored = false |
| 1988 | - | MagniKILL(refpart, 80, 0, "Normal") |
| 1988 | + | ae.Anchored =false |
| 1989 | trans = 1 | |
| 1990 | - | game:GetService("Debris"):AddItem(refpart, 0)
|
| 1990 | + | |
| 1991 | - | end |
| 1991 | + | |
| 1992 | - | until num <= 0 |
| 1992 | + | ssj2music.Volume = ssj2music.Volume + 1 |
| 1993 | - | end)) |
| 1993 | + | |
| 1994 | end | |
| 1995 | - | function shoottraildd22(mouse, partt, SpreadAmount) |
| 1995 | + | |
| 1996 | - | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) |
| 1996 | + | |
| 1997 | - | local MainPos = partt.Position |
| 1997 | + | |
| 1998 | - | local MainPos2 = mouse + SpreadVectors |
| 1998 | + | |
| 1999 | - | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) |
| 1999 | + | |
| 2000 | - | local speed = 900 |
| 2000 | + | |
| 2001 | - | local num = 1 |
| 2001 | + | |
| 2002 | - | coroutine.resume(coroutine.create(function() |
| 2002 | + | |
| 2003 | - | repeat |
| 2003 | + | |
| 2004 | - | swait() |
| 2004 | + | |
| 2005 | - | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) |
| 2005 | + | |
| 2006 | - | local mag = (MainPos - pos).magnitude |
| 2006 | + | |
| 2007 | - | Laser(BrickColor.new("Magenta"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -6.175, 0, -6.175, 0.15)
|
| 2007 | + | |
| 2008 | - | MainPos = MainPos + MouseLook.lookVector * speed |
| 2008 | + | |
| 2009 | - | num = num - 1 |
| 2009 | + | |
| 2010 | - | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) |
| 2010 | + | |
| 2011 | - | if hit ~= nil then |
| 2011 | + | |
| 2012 | - | num = 0 |
| 2012 | + | |
| 2013 | - | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
|
| 2013 | + | |
| 2014 | - | refpart.Anchored = true |
| 2014 | + | |
| 2015 | - | refpart.CFrame = CFrame.new(pos) |
| 2015 | + | mouse.KeyDown:connect(function(key) |
| 2016 | - | game:GetService("Debris"):AddItem(refpart, 2)
|
| 2016 | + | if key == "e" then |
| 2017 | - | end |
| 2017 | + | if canattack == true then |
| 2018 | - | if num <= 0 then |
| 2018 | + | if punched1 == true then |
| 2019 | - | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
|
| 2019 | + | punched1 = false |
| 2020 | - | refpart.Anchored = true |
| 2020 | + | punched3 = false |
| 2021 | - | refpart.CFrame = CFrame.new(pos) |
| 2021 | + | punched4 = false |
| 2022 | - | if hit ~= nil then |
| 2022 | + | canidle = false |
| 2023 | - | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
|
| 2023 | + | canwalk= false |
| 2024 | - | BlockEffect(BrickColor.new("Magenta"), refpart.CFrame, 1, 1, 1, 86.5, 86.5, 86.5, 0.05)
|
| 2024 | + | |
| 2025 | - | BlockEffect(BrickColor.new("Magenta"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05)
|
| 2025 | + | firsthit() |
| 2026 | - | BlockEffect(BrickColor.new("Magenta"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05)
|
| 2026 | + | canidle = true |
| 2027 | - | MagniKILL(refpart, 80, 0, "Normal") |
| 2027 | + | canwalk= true |
| 2028 | punched2 = true | |
| 2029 | - | game:GetService("Debris"):AddItem(refpart, 0)
|
| 2029 | + | |
| 2030 | - | end |
| 2030 | + | |
| 2031 | - | until num <= 0 |
| 2031 | + | |
| 2032 | - | end)) |
| 2032 | + | |
| 2033 | mouse.KeyDown:connect(function(key) | |
| 2034 | - | function shoottraildd3(mouse, partt, SpreadAmount, dmg) |
| 2034 | + | if key == "e" then |
| 2035 | - | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) |
| 2035 | + | if canattack == true then |
| 2036 | - | local MainPos = partt.Position |
| 2036 | + | if punched2 == true then |
| 2037 | - | local MainPos2 = mouse + SpreadVectors |
| 2037 | + | punched2 = false |
| 2038 | - | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) |
| 2038 | + | punched4 = false |
| 2039 | - | local speed = 200 |
| 2039 | + | punched1 = false |
| 2040 | - | local num = 0 |
| 2040 | + | canidle = false |
| 2041 | - | coroutine.resume(coroutine.create(function() |
| 2041 | + | canwalk= false |
| 2042 | - | repeat |
| 2042 | + | |
| 2043 | - | swait() |
| 2043 | + | secondhit() |
| 2044 | - | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) |
| 2044 | + | canidle = true |
| 2045 | - | local mag = (MainPos - pos).magnitude |
| 2045 | + | canwalk= true |
| 2046 | - | Laser(BrickColor.new("Cyan"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.375, 0, -0.375, 0.05)
|
| 2046 | + | punched3 = true |
| 2047 | - | MainPos = MainPos + MouseLook.lookVector * speed |
| 2047 | + | |
| 2048 | - | num = num - 1 |
| 2048 | + | |
| 2049 | - | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) |
| 2049 | + | |
| 2050 | - | if hit ~= nil then |
| 2050 | + | |
| 2051 | - | num = 0 |
| 2051 | + | mouse.KeyDown:connect(function(key) |
| 2052 | - | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
|
| 2052 | + | if key == "e" then |
| 2053 | - | refpart.Anchored = true |
| 2053 | + | if canattack == true then |
| 2054 | - | refpart.CFrame = CFrame.new(pos) |
| 2054 | + | if punched3 == true then |
| 2055 | - | BlockEffect(BrickColor.new("Pastel light blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
|
| 2055 | + | punched3 = false |
| 2056 | - | game:GetService("Debris"):AddItem(refpart, 2)
|
| 2056 | + | punched2 = false |
| 2057 | - | end |
| 2057 | + | punched1 = false |
| 2058 | - | if num <= 0 then |
| 2058 | + | canidle = false |
| 2059 | - | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
|
| 2059 | + | canwalk= false |
| 2060 | - | refpart.Anchored = true |
| 2060 | + | |
| 2061 | - | refpart.CFrame = CFrame.new(pos) |
| 2061 | + | thirdhit() |
| 2062 | - | if hit ~= nil then |
| 2062 | + | canidle = true |
| 2063 | - | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
|
| 2063 | + | canwalk= true |
| 2064 | - | BlockEffect(BrickColor.new("White"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05)
|
| 2064 | + | punched4 = true |
| 2065 | - | BlockEffect(BrickColor.new("Pastel light blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
|
| 2065 | + | |
| 2066 | - | MagniDamage(refpart, 6, dmg, dmg, 0, "Slowness") |
| 2066 | + | |
| 2067 | end | |
| 2068 | - | game:GetService("Debris"):AddItem(refpart, 0)
|
| 2068 | + | |
| 2069 | - | end |
| 2069 | + | mouse.KeyDown:connect(function(key) |
| 2070 | - | until num <= 0 |
| 2070 | + | if key == "e" then |
| 2071 | - | end)) |
| 2071 | + | if canattack == true then |
| 2072 | if punched4 == true then | |
| 2073 | - | function shoottraildd4(mouse, partt, SpreadAmount, dmg) |
| 2073 | + | punched4 = false |
| 2074 | - | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) |
| 2074 | + | punched2 = false |
| 2075 | - | local MainPos = partt.Position |
| 2075 | + | punched3 = false |
| 2076 | - | local MainPos2 = mouse + SpreadVectors |
| 2076 | + | canidle = false |
| 2077 | - | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) |
| 2077 | + | canwalk= false |
| 2078 | - | local speed = 500 |
| 2078 | + | |
| 2079 | - | local num = 1 |
| 2079 | + | lasthit() |
| 2080 | - | coroutine.resume(coroutine.create(function() |
| 2080 | + | canidle = true |
| 2081 | - | repeat |
| 2081 | + | canwalk= true |
| 2082 | - | swait() |
| 2082 | + | punched1 = true |
| 2083 | - | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) |
| 2083 | + | |
| 2084 | - | local mag = (MainPos - pos).magnitude |
| 2084 | + | |
| 2085 | - | Laser(BrickColor.new("Cyan"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -1.175, 0, -1.175, 0.15)
|
| 2085 | + | |
| 2086 | - | MainPos = MainPos + MouseLook.lookVector * speed |
| 2086 | + | |
| 2087 | - | num = num - 1 |
| 2087 | + | char.Head.face.Texture = "rbxassetid://1108342609" |
| 2088 | - | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) |
| 2088 | + | |
| 2089 | - | if hit ~= nil then |
| 2089 | + | |
| 2090 | - | num = 0 |
| 2090 | + | |
| 2091 | - | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
|
| 2091 | + | |
| 2092 | - | refpart.Anchored = true |
| 2092 | + | |
| 2093 | - | refpart.CFrame = CFrame.new(pos) |
| 2093 | + | |
| 2094 | - | game:GetService("Debris"):AddItem(refpart, 2)
|
| 2094 | + | |
| 2095 | - | end |
| 2095 | + | |
| 2096 | - | if num <= 0 then |
| 2096 | + | |
| 2097 | - | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
|
| 2097 | + | |
| 2098 | - | refpart.Anchored = true |
| 2098 | + | |
| 2099 | - | refpart.CFrame = CFrame.new(pos) |
| 2099 | + | |
| 2100 | - | if hit ~= nil then |
| 2100 | + | |
| 2101 | - | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
|
| 2101 | + | |
| 2102 | - | BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05)
|
| 2102 | + | Hair7.Transparency = 0 |