SHOW:
|
|
- or go back to the newest paste.
| 1 | - | name = "sawyerqqqqq" |
| 1 | + | name = "undertale1188445" |
| 2 | player = game.Players:WaitForChild(name) | |
| 3 | chara = player.Character | |
| 4 | debby = game:GetService("Debris")
| |
| 5 | chara.Humanoid.MaxHealth = math.huge | |
| 6 | chara.Humanoid.Health = math.huge | |
| 7 | chara.Humanoid.WalkSpeed = 50 | |
| 8 | chara.Humanoid.JumpPower = 100 | |
| 9 | ||
| 10 | local p = Instance.new("Part", chara)
| |
| 11 | p.Name = "Ears" | |
| 12 | p.BrickColor = BrickColor.new("Really red")
| |
| 13 | p.Size = Vector3.new(0, 0, 0) | |
| 14 | p.BottomSurface = 0 | |
| 15 | p.TopSurface = 0 | |
| 16 | p.Position = chara.Head.Position | |
| 17 | local pweld = Instance.new("Weld", p)
| |
| 18 | pweld.Part0 = chara.Head | |
| 19 | pweld.Part1 = p | |
| 20 | pweld.C0 = CFrame.new(0, 0.7, 0) | |
| 21 | pweld.C0 = pweld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, math.rad(180)) | |
| 22 | local earmesh = Instance.new("SpecialMesh", p)
| |
| 23 | earmesh.MeshType = "FileMesh" | |
| 24 | earmesh.MeshId = "http://www.roblox.com/asset/?id=1374148" | |
| 25 | earmesh.Scale = Vector3.new(1.1, 1.5, 3) | |
| 26 | ||
| 27 | local fakehead = chara.Head:clone() | |
| 28 | fakehead.Name = "FakeHead" | |
| 29 | fakehead.Parent = chara | |
| 30 | fakehead.Position = chara.Head.Position | |
| 31 | fakehead.Transparency = 0 | |
| 32 | fakehead.face.Texture = "http://www.roblox.com/asset/?id=" | |
| 33 | ||
| 34 | local hand1 = Instance.new("Part", chara)
| |
| 35 | hand1.Name = "Hand1" | |
| 36 | hand1.Size = Vector3.new(0.8, 0.8, 0.8) | |
| 37 | hand1.Transparency = 1 | |
| 38 | hand1.Position = chara["Left Arm"].Position | |
| 39 | local hand1weld = Instance.new("Weld", hand1)
| |
| 40 | hand1weld.Part0 = chara["Left Arm"] | |
| 41 | hand1weld.Part1 = hand1 | |
| 42 | hand1weld.C0 = CFrame.new(0, -1, 0) | |
| 43 | local hand2 = hand1:Clone() | |
| 44 | hand2.Name = "Hand2" | |
| 45 | hand2.Parent = chara | |
| 46 | hand2.Position = chara["Right Arm"].Position | |
| 47 | local hand2weld = Instance.new("Weld", hand2)
| |
| 48 | hand2weld.Part0 = chara["Right Arm"] | |
| 49 | hand2weld.Part1 = hand2 | |
| 50 | hand2weld.C0 = CFrame.new(0, -1, 0) | |
| 51 | ||
| 52 | color3colour = {
| |
| 53 | BrickColor.new("Really red").Color,
| |
| 54 | BrickColor.new("Really red").Color,
| |
| 55 | BrickColor.new("Really red").Color,
| |
| 56 | BrickColor.new("Really red").Color,
| |
| 57 | BrickColor.new("Really red").Color,
| |
| 58 | BrickColor.new("Really red").Color
| |
| 59 | } | |
| 60 | breekcolour = {
| |
| 61 | BrickColor.new("Really red"),
| |
| 62 | BrickColor.new("Really red"),
| |
| 63 | BrickColor.new("Really red"),
| |
| 64 | BrickColor.new("Really red"),
| |
| 65 | BrickColor.new("Really red"),
| |
| 66 | BrickColor.new("Really red")
| |
| 67 | } | |
| 68 | firecolour = {
| |
| 69 | ColorSequenceKeypoint.new(0, BrickColor.new("Really red").Color),
| |
| 70 | ColorSequenceKeypoint.new(0.05, BrickColor.new("Really red").Color),
| |
| 71 | ColorSequenceKeypoint.new(0.1, BrickColor.new("Really red").Color),
| |
| 72 | ColorSequenceKeypoint.new(0.15, BrickColor.new("Really red").Color),
| |
| 73 | ColorSequenceKeypoint.new(0.2, BrickColor.new("Really red").Color),
| |
| 74 | ColorSequenceKeypoint.new(0.25, BrickColor.new("Really red").Color),
| |
| 75 | ColorSequenceKeypoint.new(1, BrickColor.new("Really red").Color)
| |
| 76 | } | |
| 77 | barcolour = {
| |
| 78 | ColorSequenceKeypoint.new(0, BrickColor.new("Really red").Color),
| |
| 79 | ColorSequenceKeypoint.new(0.2, BrickColor.new("Really red").Color),
| |
| 80 | ColorSequenceKeypoint.new(0.4, BrickColor.new("Really red").Color),
| |
| 81 | ColorSequenceKeypoint.new(0.6, BrickColor.new("Really red").Color),
| |
| 82 | ColorSequenceKeypoint.new(0.8, BrickColor.new("Really red").Color),
| |
| 83 | ColorSequenceKeypoint.new(1, BrickColor.new("Really red").Color)
| |
| 84 | } | |
| 85 | normallife = {
| |
| 86 | NumberSequenceKeypoint.new(0, 0), | |
| 87 | NumberSequenceKeypoint.new(1, 1) | |
| 88 | } | |
| 89 | extendlife = {
| |
| 90 | NumberSequenceKeypoint.new(0, 0), | |
| 91 | NumberSequenceKeypoint.new(0.8, 0), | |
| 92 | NumberSequenceKeypoint.new(1, 1) | |
| 93 | } | |
| 94 | function createrainbow(color, part, texture, size, trans, life, face, speed, accel, velsp, lock, name) | |
| 95 | local fira = Instance.new("ParticleEmitter", part)
| |
| 96 | fira.Name = name | |
| 97 | fira.Color = ColorSequence.new(color) | |
| 98 | fira.Size = size | |
| 99 | fira.Texture = texture | |
| 100 | fira.Transparency = trans | |
| 101 | fira.Lifetime = life | |
| 102 | fira.EmissionDirection = face | |
| 103 | fira.Rate = 100000000 | |
| 104 | fira.RotSpeed = NumberRange.new(100) | |
| 105 | fira.Speed = speed | |
| 106 | fira.VelocitySpread = velsp | |
| 107 | fira.Acceleration = accel | |
| 108 | fira.LightEmission = 1 | |
| 109 | fira.LockedToPart = lock | |
| 110 | end | |
| 111 | handfire1 = createrainbow(firecolour, hand1, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
| |
| 112 | NumberSequenceKeypoint.new(0, 0.4), | |
| 113 | NumberSequenceKeypoint.new(1, 0) | |
| 114 | }), NumberSequence.new(extendlife), NumberRange.new(1), "Left", NumberRange.new(1), Vector3.new(0, 2, 0), 0, false, "FireEffect") | |
| 115 | handfire2 = createrainbow(firecolour, hand2, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
| |
| 116 | NumberSequenceKeypoint.new(0, 0.4), | |
| 117 | NumberSequenceKeypoint.new(1, 0) | |
| 118 | }), NumberSequence.new(extendlife), NumberRange.new(1), "Right", NumberRange.new(1), Vector3.new(0, 2, 0), 0, false, "FireEffect") | |
| 119 | createrainbow(barcolour, orbuur, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
| |
| 120 | NumberSequenceKeypoint.new(0, 1), | |
| 121 | NumberSequenceKeypoint.new(0.8, 1), | |
| 122 | NumberSequenceKeypoint.new(1, 0) | |
| 123 | }), NumberSequence.new(extendlife), NumberRange.new(1), "Front", NumberRange.new(0), Vector3.new(0, 0, 0), 0, false, "OrbEffect") | |
| 124 | local spelleffect = Instance.new("ParticleEmitter", chara.Torso)
| |
| 125 | spelleffect.Texture = "http://www.roblox.com/asset/?id=679657454" | |
| 126 | spelleffect.Speed = NumberRange.new(0) | |
| 127 | spelleffect.LightEmission = 1 | |
| 128 | spelleffect.Transparency = NumberSequence.new(normallife) | |
| 129 | spelleffect.Size = NumberSequence.new({
| |
| 130 | NumberSequenceKeypoint.new(0, 0), | |
| 131 | NumberSequenceKeypoint.new(1, 10) | |
| 132 | }) | |
| 133 | spelleffect.Rate = 0.001 | |
| 134 | spelleffect.Rotation = NumberRange.new(0, 359) | |
| 135 | spelleffect.RotSpeed = NumberRange.new(100) | |
| 136 | spelleffect.Lifetime = NumberRange.new(1) | |
| 137 | createrainbow(barcolour, hand2, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
| |
| 138 | NumberSequenceKeypoint.new(0, 1), | |
| 139 | NumberSequenceKeypoint.new(1, 0) | |
| 140 | }), NumberSequence.new(normallife), NumberRange.new(1), "Front", NumberRange.new(10), Vector3.new(0, 0, 0), 1000, true, "PowerEffect") | |
| 141 | powereffect = hand2.PowerEffect | |
| 142 | powereffect.Enabled = false | |
| 143 | local naeeym = Instance.new("BillboardGui", chara)
| |
| 144 | naeeym.Size = UDim2.new(0, 100, 0, 40) | |
| 145 | naeeym.StudsOffset = Vector3.new(0, 2, 0) | |
| 146 | naeeym.Adornee = chara.Head | |
| 147 | local tecks = Instance.new("TextLabel", naeeym)
| |
| 148 | tecks.BackgroundTransparency = 1 | |
| 149 | tecks.BorderSizePixel = 0 | |
| 150 | tecks.Text = "" | |
| 151 | tecks.Font = "Fantasy" | |
| 152 | tecks.FontSize = "Size24" | |
| 153 | tecks.TextStrokeTransparency = 0 | |
| 154 | tecks.TextColor3 = Color3.new(1, 1, 1) | |
| 155 | tecks.TextStrokeColor3 = BrickColor.new("Really red").Color
| |
| 156 | tecks.Size = UDim2.new(1, 0, 0.5, 0) | |
| 157 | Void = nil | |
| 158 | VoidParts = {}
| |
| 159 | Equipped = false | |
| 160 | Counter = 1 | |
| 161 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
| 162 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
| |
| 163 | end | |
| 164 | Player = player | |
| 165 | Character = chara | |
| 166 | Humanoid = Character:FindFirstChild("Humanoid")
| |
| 167 | Torso = Character:FindFirstChild("Torso")
| |
| 168 | if not Player or not Humanoid or Humanoid.Health == 0 or not chara.Torso then | |
| 169 | return | |
| 170 | end | |
| 171 | Equipped = true | |
| 172 | Void = Instance.new("Model")
| |
| 173 | Void.Name = "Void" | |
| 174 | Angle = 0 | |
| 175 | for i = 1, 1 do | |
| 176 | local VoidPart = Instance.new("Part")
| |
| 177 | VoidPart.Name = "VoidPart" | |
| 178 | VoidPart.Transparency = 1 | |
| 179 | VoidPart.BrickColor = BrickColor.new("Really red")
| |
| 180 | VoidPart.Material = Enum.Material.Plastic | |
| 181 | VoidPart.Shape = Enum.PartType.Block | |
| 182 | VoidPart.FormFactor = Enum.FormFactor.Custom | |
| 183 | VoidPart.TopSurface = Enum.SurfaceType.Smooth | |
| 184 | VoidPart.BottomSurface = Enum.SurfaceType.Smooth | |
| 185 | VoidPart.Anchored = true | |
| 186 | VoidPart.CanCollide = false | |
| 187 | VoidPart.Locked = true | |
| 188 | VoidPart.Size = Vector3.new(10, 0.2, 10) | |
| 189 | fiyer = createrainbow(firecolour, VoidPart, "http://www.roblox.com/asset/?id=224413104", NumberSequence.new({
| |
| 190 | NumberSequenceKeypoint.new(0, 0.4), | |
| 191 | NumberSequenceKeypoint.new(1, 0) | |
| 192 | }), NumberSequence.new({
| |
| 193 | NumberSequenceKeypoint.new(0, 0), | |
| 194 | NumberSequenceKeypoint.new(0.99, 0), | |
| 195 | NumberSequenceKeypoint.new(1, 1) | |
| 196 | }), NumberRange.new(10), "Top", NumberRange.new(2), Vector3.new(0, 2, 0), 0, false, "FireEffect") | |
| 197 | VoidPart.FireEffect.Rate = 10 | |
| 198 | local BlockMesh = Instance.new("BlockMesh")
| |
| 199 | BlockMesh.Scale = Vector3.new(5, 5, 5) | |
| 200 | BlockMesh.Parent = VoidPart | |
| 201 | VoidPart.Parent = Void | |
| 202 | local Star = Instance.new("Decal", VoidPart)
| |
| 203 | Star.Texture = "http://www.roblox.com/asset/?id=418573228" | |
| 204 | Star.Face = "Top" | |
| 205 | local Light = Instance.new("PointLight", VoidPart)
| |
| 206 | Light.Color = Color3.new(1, 0, 0) | |
| 207 | Light.Brightness = 10 | |
| 208 | Light.Range = 10 | |
| 209 | table.insert(VoidParts, VoidPart) | |
| 210 | end | |
| 211 | Spawn(function() | |
| 212 | while Equipped and Humanoid.Parent and Humanoid.Health > 0 and chara do | |
| 213 | if Angle == 360 then | |
| 214 | Angle = 0 | |
| 215 | end | |
| 216 | Angle = Angle + 0.05 | |
| 217 | chara.Humanoid.MaxHealth = math.huge | |
| 218 | chara.Humanoid.Health = math.huge | |
| 219 | Counter = Counter + 1 | |
| 220 | if Counter == 7 then | |
| 221 | Counter = 1 | |
| 222 | end | |
| 223 | tecks.TextStrokeColor3 = color3colour[Counter] | |
| 224 | fakehead.face.Color3 = color3colour[Counter] | |
| 225 | Void.VoidPart.Decal.Color3 = color3colour[Counter] | |
| 226 | Void.VoidPart.PointLight.Color = color3colour[Counter] | |
| 227 | local parentPos = chara.Torso.CFrame | |
| 228 | ||
| 229 | local Hit, EndPosition = RayCast(chara.Torso.Position, Vector3.new(0, -1, 0), chara.Torso.Size.Y * 6.5, {Character})
| |
| 230 | if Hit then | |
| 231 | if not Void.Parent then | |
| 232 | Void.Parent = Character | |
| 233 | end | |
| 234 | for i, v in pairs(VoidParts) do | |
| 235 | v.CFrame = CFrame.new(chara.Torso.Position.X, EndPosition.Y, chara.Torso.Position.Z) * CFrame.Angles(0, Angle + i, 0) | |
| 236 | end | |
| 237 | else | |
| 238 | Void.Parent = nil | |
| 239 | end | |
| 240 | wait() | |
| 241 | end | |
| 242 | end) | |
| 243 | ------------------------------------------------------------ | |
| 244 | Me = game.Players.LocalPlayer | |
| 245 | player = Me | |
| 246 | char = Me.Character | |
| 247 | chara = char | |
| 248 | larm = char["Left Arm"] | |
| 249 | rarm = char["Right Arm"] | |
| 250 | lleg = char["Left Leg"] | |
| 251 | rleg = char["Right Leg"] | |
| 252 | torso = char.Torso | |
| 253 | hed = char.Head | |
| 254 | mouse = player:GetMouse() | |
| 255 | lght = game.Lighting | |
| 256 | lichtact = false | |
| 257 | moosicact = false | |
| 258 | gotsagofest = true | |
| 259 | chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
| 260 | chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
| 261 | ||
| 262 | hed.BrickColor = BrickColor.new("Really black")
| |
| 263 | torso.BrickColor = BrickColor.new("Really black")
| |
| 264 | larm.BrickColor = BrickColor.new("Really black")
| |
| 265 | rarm.BrickColor = BrickColor.new("Really black")
| |
| 266 | lleg.BrickColor = BrickColor.new("Really black")
| |
| 267 | rleg.BrickColor = BrickColor.new("Really black")
| |
| 268 | ||
| 269 | hat=Instance.new("Part",chara)
| |
| 270 | ||
| 271 | hat.Size = Vector3.new(1, 1, 1) | |
| 272 | ||
| 273 | hatm = Instance.new("SpecialMesh",hat)
| |
| 274 | ||
| 275 | hatm.MeshType = "FileMesh" | |
| 276 | ||
| 277 | hatm.MeshId = "http://www.roblox.com/asset/?id=495214258" | |
| 278 | ||
| 279 | hatm.TextureId = "http://www.roblox.com/asset/?id=412059413" | |
| 280 | ||
| 281 | hatw = Instance.new("Weld",hat)
| |
| 282 | ||
| 283 | hatw.Part0 = hat | |
| 284 | ||
| 285 | hatw.Part1 = chara.Head | |
| 286 | ||
| 287 | New = function(Object, Parent, Name, Data) | |
| 288 | local Object = Instance.new(Object) | |
| 289 | for Index, Value in pairs(Data or {}) do
| |
| 290 | Object[Index] = Value | |
| 291 | end | |
| 292 | Object.Parent = Parent | |
| 293 | Object.Name = Name | |
| 294 | return Object | |
| 295 | end | |
| 296 | ||
| 297 | Mouse = player:GetMouse() | |
| 298 | ||
| 299 | for i,v in pairs(chara:children()) do | |
| 300 | if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
| |
| 301 | v:Destroy() | |
| 302 | end | |
| 303 | end | |
| 304 | char.Head.face:Destroy() | |
| 305 | ||
| 306 | local Orbd = Instance.new("Part", char)
| |
| 307 | Orbd.Name = "Orbd" | |
| 308 | Orbd.Shape = Enum.PartType.Ball | |
| 309 | Orbd.CanCollide = false | |
| 310 | Orbd.BrickColor = BrickColor.new("Really red")
| |
| 311 | Orbd.Transparency = 0 | |
| 312 | Orbd.Material = "Neon" | |
| 313 | Orbd.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 314 | Orbd.TopSurface = Enum.SurfaceType.Smooth | |
| 315 | Orbd.BottomSurface = Enum.SurfaceType.Smooth | |
| 316 | local Weld = Instance.new("Weld", Orbd)
| |
| 317 | Weld.Part0 = char.Head | |
| 318 | Weld.Part1 = Orbd | |
| 319 | Weld.C1 = CFrame.new(-0.2, -0.2, 0.5) | |
| 320 | local glov = Instance.new("PointLight", Orbd)
| |
| 321 | glov.Brightness = 0.25 | |
| 322 | glov.Range = 20 | |
| 323 | glov.Color = Color3.new(255, 0, 0) | |
| 324 | local Orbvc = Instance.new("Part", char)
| |
| 325 | Orbvc.Name = "Orbvc" | |
| 326 | Orbvc.Shape = Enum.PartType.Ball | |
| 327 | Orbvc.CanCollide = false | |
| 328 | Orbvc.BrickColor = BrickColor.new("Really red")
| |
| 329 | Orbvc.Transparency = 0 | |
| 330 | Orbvc.Material = "Neon" | |
| 331 | Orbvc.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 332 | Orbvc.TopSurface = Enum.SurfaceType.Smooth | |
| 333 | Orbvc.BottomSurface = Enum.SurfaceType.Smooth | |
| 334 | local Weld = Instance.new("Weld", Orbvc)
| |
| 335 | Weld.Part0 = char.Head | |
| 336 | Weld.Part1 = Orbvc | |
| 337 | Weld.C1 = CFrame.new(0.2, -0.2, 0.5) | |
| 338 | local glo = Instance.new("PointLight", Orbvc)
| |
| 339 | glo.Brightness = 0.25 | |
| 340 | glo.Range = 20 | |
| 341 | glo.Color = Color3.new(255, 0, 0) | |
| 342 | ||
| 343 | local IsFreeFalling = false | |
| 344 | local SpinPart = Instance.new('Part')
| |
| 345 | SpinPart.Transparency = 1 | |
| 346 | SpinPart.Size = Vector3.new(25,1,25) | |
| 347 | SpinPart.CanCollide = false | |
| 348 | SpinPart.FormFactor = 'Custom' | |
| 349 | local FX = Instance.new('ParticleEmitter',SpinPart)
| |
| 350 | FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",-0.1
| |
| 351 | local FX = Instance.new('ParticleEmitter',SpinPart)
| |
| 352 | FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",0.1
| |
| 353 | do | |
| 354 | local tspin = Instance.new('BodyAngularVelocity')
| |
| 355 | tspin.angularvelocity = Vector3.new(0,1,0) | |
| 356 | tspin.maxTorque =Vector3.new(math.huge,math.huge,math.huge) | |
| 357 | tspin.Parent = SpinPart | |
| 358 | end | |
| 359 | local SpinPos = Instance.new('BodyPosition')
| |
| 360 | SpinPos.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 361 | SpinPos.Parent = SpinPart | |
| 362 | ||
| 363 | function Equipped() | |
| 364 | IsEquipped = true | |
| 365 | local MyTorso = char.Torso | |
| 366 | if MyTorso then | |
| 367 | spawn(function() | |
| 368 | local startTime = tick() | |
| 369 | SpinPart.CFrame = CFrame.new(MyTorso.CFrame.p+Vector3.new(0,-2.8,0)) | |
| 370 | SpinPart.Parent = MyTorso | |
| 371 | local fadeIn = true | |
| 372 | while IsEquipped do | |
| 373 | if not IsFreeFalling then | |
| 374 | SpinPos.position = MyTorso.CFrame.p+Vector3.new(0,-2.8,0) | |
| 375 | end | |
| 376 | wait() | |
| 377 | end | |
| 378 | SpinPart.Parent = nil | |
| 379 | ||
| 380 | end) | |
| 381 | end | |
| 382 | end | |
| 383 | ||
| 384 | ||
| 385 | wait(0.01) | |
| 386 | Equipped() | |
| 387 | ||
| 388 | ||
| 389 | function start() | |
| 390 | print("Darkness falls across the battlefield...")
| |
| 391 | wait() | |
| 392 | print("----------------------------------------")
| |
| 393 | wait() | |
| 394 | print(" - Ender booted up. -")
| |
| 395 | wait() | |
| 396 | print("- Ender written by yeox769. -")
| |
| 397 | i = 0 | |
| 398 | while i<1 do | |
| 399 | wait() | |
| 400 | i = i + 0.01 | |
| 401 | l.Contrast,l.Saturation,l.Brightness = l.Contrast + 0.02, l.Saturation - 0.0075, l.Brightness + 0.00375 | |
| 402 | l.TintColor = Color3.new(1,1-i,1-i) | |
| 403 | end | |
| 404 | end | |
| 405 | ||
| 406 | delay(0,start) | |
| 407 | ||
| 408 | TC = chara.HumanoidRootPart.RootJoint | |
| 409 | HC = chara.Torso.Neck | |
| 410 | RAC = chara.Torso["Right Shoulder"] | |
| 411 | LAC = chara.Torso["Left Shoulder"] | |
| 412 | RLC = chara.Torso["Right Hip"] | |
| 413 | LLC = chara.Torso["Left Hip"] | |
| 414 | TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 415 | HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 416 | RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 417 | LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 418 | RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 419 | LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 420 | RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 421 | LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 422 | RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 423 | LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 424 | RW = Instance.new("Weld",HC.Parent)
| |
| 425 | RW.Part1 = HC.Parent | |
| 426 | RW.Part0 = chara["Right Arm"] | |
| 427 | RW.C0 = RWF | |
| 428 | LW = Instance.new("Weld",HC.Parent)
| |
| 429 | LW.Part1 = HC.Parent | |
| 430 | LW.Part0 = chara["Left Arm"] | |
| 431 | LW.C0 = LWF | |
| 432 | RLW = nil | |
| 433 | LLW = nil | |
| 434 | ||
| 435 | ||
| 436 | function clerp(a,b,c) | |
| 437 | return a:lerp(b,c) | |
| 438 | end | |
| 439 | ||
| 440 | TC.C0 = TCF | |
| 441 | HC.C0 = HCF | |
| 442 | RW.C0 = RWF | |
| 443 | LW.C0 = LWF | |
| 444 | ||
| 445 | --Idle Clerp-- | |
| 446 | ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10)) | |
| 447 | IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-10)) | |
| 448 | IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2)) | |
| 449 | ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2)) | |
| 450 | ||
| 451 | TC.C0 = ITCF | |
| 452 | HC.C0 = IHCF | |
| 453 | RW.C0 = IRWF | |
| 454 | LW.C0 = ILWF | |
| 455 | ||
| 456 | ||
| 457 | ||
| 458 | ||
| 459 | ||
| 460 | New = function(Object, Parent, Name, Data) | |
| 461 | local Object = Instance.new(Object) | |
| 462 | for Index, Value in pairs(Data or {}) do
| |
| 463 | Object[Index] = Value | |
| 464 | end | |
| 465 | Object.Parent = Parent | |
| 466 | Object.Name = Name | |
| 467 | return Object | |
| 468 | end | |
| 469 | ||
| 470 | function BurningEff(part) | |
| 471 | local eff1 = Instance.new("ParticleEmitter",part)
| |
| 472 | eff1.Size = NumberSequence.new(.1) | |
| 473 | eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
| |
| 474 | eff1.LightEmission = 1 | |
| 475 | eff1.Lifetime = NumberRange.new(1) | |
| 476 | eff1.Speed = NumberRange.new(0) | |
| 477 | eff1.Rate = 100 | |
| 478 | eff1.Texture = "rbxassetid://347504241" | |
| 479 | eff1.Acceleration = Vector3.new(0,10,0) | |
| 480 | eff1.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 481 | local eff2 = Instance.new("ParticleEmitter",part)
| |
| 482 | eff2.Size = NumberSequence.new(.1) | |
| 483 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
| |
| 484 | eff2.LightEmission = 1 | |
| 485 | eff2.Lifetime = NumberRange.new(1) | |
| 486 | eff2.Speed = NumberRange.new(0) | |
| 487 | eff2.Rate = 100 | |
| 488 | eff2.Texture = "rbxassetid://347504259" | |
| 489 | eff2.Acceleration = Vector3.new(0,10,0) | |
| 490 | eff2.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 491 | local eff3 = Instance.new("ParticleEmitter",part)
| |
| 492 | eff3.Size = NumberSequence.new(1) | |
| 493 | eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 494 | eff3.LightEmission = 1 | |
| 495 | eff3.Lifetime = NumberRange.new(1) | |
| 496 | eff3.Speed = NumberRange.new(0) | |
| 497 | eff3.Rate = 100 | |
| 498 | eff3.Texture = "rbxasset://textures/particles/fire_main.dds" | |
| 499 | eff3.Acceleration = Vector3.new(0,10,0) | |
| 500 | eff3.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 501 | end | |
| 502 | ----------------------------------------------- | |
| 503 | Me = game.Players.LocalPlayer | |
| 504 | player = Me | |
| 505 | char = Me.Character | |
| 506 | root = char.HumanoidRootPart | |
| 507 | chara = char | |
| 508 | larm = char["Left Arm"] | |
| 509 | rarm = char["Right Arm"] | |
| 510 | lleg = char["Left Leg"] | |
| 511 | rleg = char["Right Leg"] | |
| 512 | torso = char.Torso | |
| 513 | hed = char.Head | |
| 514 | mouse = player:GetMouse() | |
| 515 | lght = game.Lighting | |
| 516 | lichtact = false | |
| 517 | moosicact = false | |
| 518 | gotsagofest = true | |
| 519 | chara.Humanoid.MaxHealth = math.huge | |
| 520 | chara.Humanoid.Health = math.huge | |
| 521 | r = false | |
| 522 | ||
| 523 | local shirt = Instance.new("Shirt",chara)
| |
| 524 | shirt.ShirtTemplate = "rbxassetid://553819591" | |
| 525 | local pants = Instance.new("Pants",chara)
| |
| 526 | pants.PantsTemplate = "rbxassetid://511475176" | |
| 527 | ||
| 528 | local bg = Instance.new("BillboardGui",hed)
| |
| 529 | bg.AlwaysOnTop = true | |
| 530 | local bgframe = Instance.new("Frame",bg)
| |
| 531 | bgframe.BackgroundTransparency = 1 | |
| 532 | bgframe.Size = UDim2.new(0,200,0,25) | |
| 533 | bgframe.Position = UDim2.new(0.5,-100,0.5,-12) | |
| 534 | local bgtxt = Instance.new("TextLabel",bgframe)
| |
| 535 | bgtxt.Size = UDim2.new(0,200,0,25) | |
| 536 | bgtxt.Position = UDim2.new(0.5,-100,0.5,-12) | |
| 537 | bgtxt.BackgroundTransparency = 1 | |
| 538 | bgtxt.TextColor3 = BrickColor.new("Really red").Color
| |
| 539 | bgtxt.Font = "SciFi" | |
| 540 | bgtxt.TextScaled = true | |
| 541 | spawn(function() | |
| 542 | local txt1 = "Sawyerqqqqq by Jeff223311" | |
| 543 | local txt2 = "Make them suffer" | |
| 544 | local txt3 = "Welcome to the end!" | |
| 545 | for i=1,#txt1 do | |
| 546 | bgtxt.Text = txt1:sub(1,i) | |
| 547 | wait() | |
| 548 | end | |
| 549 | wait() | |
| 550 | for i=#txt1,1,-1 do | |
| 551 | bgtxt.Text = txt1:sub(1,i) | |
| 552 | wait() | |
| 553 | end | |
| 554 | wait() | |
| 555 | for i=1,#txt2 do | |
| 556 | bgtxt.Text = txt2:sub(1,i) | |
| 557 | wait() | |
| 558 | end | |
| 559 | wait() | |
| 560 | for i=#txt2,1,-1 do | |
| 561 | bgtxt.Text = txt2:sub(1,i) | |
| 562 | wait() | |
| 563 | end | |
| 564 | wait() | |
| 565 | for i=1,#txt3 do | |
| 566 | bgtxt.Text = txt3:sub(1,i) | |
| 567 | wait() | |
| 568 | end | |
| 569 | wait() | |
| 570 | for i=0,1,0.1 do | |
| 571 | bgtxt.TextTransparency = i | |
| 572 | wait() | |
| 573 | end | |
| 574 | bg:Destroy() | |
| 575 | end) | |
| 576 | ||
| 577 | wait(1) | |
| 578 | ||
| 579 | New = function(Object, Parent, Name, Data) | |
| 580 | local Object = Instance.new(Object) | |
| 581 | for Index, Value in pairs(Data or {}) do
| |
| 582 | Object[Index] = Value | |
| 583 | end | |
| 584 | Object.Parent = Parent | |
| 585 | Object.Name = Name | |
| 586 | return Object | |
| 587 | end | |
| 588 | ||
| 589 | New("ForceField",char,"ForceField",{Visible = false})
| |
| 590 | ||
| 591 | local z1 = Instance.new("Sound",char)
| |
| 592 | z1.Looped = false | |
| 593 | z1.SoundId = "rbxassetid://844632396" | |
| 594 | z1.Volume = 1.5 | |
| 595 | local z2 = Instance.new("Sound",char)
| |
| 596 | z2.Looped = true | |
| 597 | z2.SoundId = "rbxassetid://844627563" | |
| 598 | z2.Volume = 0.9 | |
| 599 | ||
| 600 | wait(1.5) | |
| 601 | ||
| 602 | ||
| 603 | chara.Humanoid.WalkSpeed = 32 | |
| 604 | chara.Humanoid.JumpPower = 75 | |
| 605 | local naeeym = Instance.new("BillboardGui",chara)
| |
| 606 | naeeym.Size = UDim2.new(0,100,0,40) | |
| 607 | naeeym.StudsOffset = Vector3.new(0,2,0) | |
| 608 | naeeym.Adornee = chara.Head | |
| 609 | local tecks = Instance.new("TextLabel",naeeym)
| |
| 610 | tecks.BackgroundTransparency = 1 | |
| 611 | tecks.BorderSizePixel = 0 | |
| 612 | tecks.Text = "???" | |
| 613 | tecks.Font = "Fantasy" | |
| 614 | tecks.FontSize = "Size24" | |
| 615 | tecks.TextStrokeTransparency = 0 | |
| 616 | tecks.TextColor3 = Color3.new(0,0,0) | |
| 617 | rrer = BrickColor.new("Really red")
| |
| 618 | tecks.TextStrokeColor3 = rrer.Color | |
| 619 | tecks.Size = UDim2.new(1,0,0.5,0) | |
| 620 | ||
| 621 | local l = Instance.new("ColorCorrectionEffect",game.Lighting)
| |
| 622 | l.Contrast,l.Saturation,l.Brightness = 420,-1,-1 | |
| 623 | l.TintColor = Color3.new(1,0,0) | |
| 624 | game.Lighting.GeographicLatitude = 20000 | |
| 625 | ||
| 626 | function music() | |
| 627 | z1:Play() | |
| 628 | chara.Humanoid.JumpPower = 0 | |
| 629 | chara.Humanoid.WalkSpeed = 0 | |
| 630 | wait(9.69) | |
| 631 | chara.Humanoid.JumpPower, chara.Humanoid.WalkSpeed = 75, 25 | |
| 632 | l.Brightness, l.Contrast = 1, 1 | |
| 633 | r = true | |
| 634 | tecks.Text = "Sawyerqqqqq" | |
| 635 | z2:Play() | |
| 636 | i = 0 | |
| 637 | while i < 1 do | |
| 638 | wait() | |
| 639 | l.Brightness = l.Brightness - 0.01 | |
| 640 | l.Contrast = l.Contrast + 0.03 | |
| 641 | i = i + 0.02 | |
| 642 | end | |
| 643 | end | |
| 644 | delay(0,music) | |
| 645 | ------------------------------ | |
| 646 | ||
| 647 | wait(1 / 60) | |
| 648 | Effects = { }
| |
| 649 | local Player = game.Players.localPlayer | |
| 650 | local Character = Player.Character | |
| 651 | local Humanoid = Character.Humanoid | |
| 652 | local Mouse = Player:GetMouse() | |
| 653 | local LeftArm = Character["Left Arm"] | |
| 654 | local RightArm = Character["Right Arm"] | |
| 655 | local LeftLeg = Character["Left Leg"] | |
| 656 | local RightLeg = Character["Right Leg"] | |
| 657 | local Head = Character.Head | |
| 658 | local Torso = Character.Torso | |
| 659 | local Camera = game.Workspace.CurrentCamera | |
| 660 | local RootPart = Character.HumanoidRootPart | |
| 661 | local RootJoint = RootPart.RootJoint | |
| 662 | local attack = false | |
| 663 | local Anim = 'Idle' | |
| 664 | local attacktype = 1 | |
| 665 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 666 | local velocity = RootPart.Velocity.y | |
| 667 | local sine = 0 | |
| 668 | local change = 1 | |
| 669 | local Create = LoadLibrary("RbxUtility").Create
| |
| 670 | Humanoid.MaxHealth = math.huge | |
| 671 | local spooky = Instance.new("Sound",Character)
| |
| 672 | spooky.SoundId = "rbxassetid://" | |
| 673 | spooky.Looped = true | |
| 674 | spooky.Pitch = 1 | |
| 675 | spooky.Volume = 1.1 | |
| 676 | spooky:Stop() | |
| 677 | local spooky2 = Instance.new("Sound",Character)
| |
| 678 | spooky2.SoundId = "rbxassetid://" | |
| 679 | spooky2.Looped = false | |
| 680 | spooky2.Pitch = 1 | |
| 681 | spooky2.Volume = 1.4 | |
| 682 | spooky2:Play() | |
| 683 | local m = Create("Model"){
| |
| 684 | Parent = Character, | |
| 685 | Name = "WeaponModel", | |
| 686 | } | |
| 687 | ||
| 688 | ||
| 689 | ||
| 690 | local newMotor = function(part0, part1, c0, c1) | |
| 691 | local w = Create('Motor'){
| |
| 692 | Parent = part0, | |
| 693 | Part0 = part0, | |
| 694 | Part1 = part1, | |
| 695 | C0 = c0, | |
| 696 | C1 = c1, | |
| 697 | } | |
| 698 | return w | |
| 699 | end | |
| 700 | ||
| 701 | function clerp(a, b, t) | |
| 702 | return a:lerp(b, t) | |
| 703 | end | |
| 704 | ||
| 705 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 706 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 707 | ||
| 708 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 709 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 710 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 711 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 712 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 713 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 714 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 715 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 716 | ||
| 717 | local rarmc1 = RW.C1 | |
| 718 | local larmc1 = LW.C1 | |
| 719 | local rlegc1 = RH.C1 | |
| 720 | local llegc1 = LH.C1 | |
| 721 | ||
| 722 | local resetc1 = false | |
| 723 | ||
| 724 | function PlayAnimationFromTable(table, speed, bool) | |
| 725 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 726 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 727 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 728 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 729 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 730 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 731 | if bool == true then | |
| 732 | if resetc1 == false then | |
| 733 | resetc1 = true | |
| 734 | RootJoint.C1 = RootJoint.C1 | |
| 735 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 736 | RW.C1 = rarmc1 | |
| 737 | LW.C1 = larmc1 | |
| 738 | RH.C1 = rlegc1 | |
| 739 | LH.C1 = llegc1 | |
| 740 | end | |
| 741 | end | |
| 742 | end | |
| 743 | ||
| 744 | ArtificialHB = Create("BindableEvent", script){
| |
| 745 | Parent = script, | |
| 746 | Name = "Heartbeat", | |
| 747 | } | |
| 748 | ||
| 749 | script:WaitForChild("Heartbeat")
| |
| 750 | ||
| 751 | frame = 1 / 30 | |
| 752 | tf = 0 | |
| 753 | allowframeloss = false | |
| 754 | tossremainder = false | |
| 755 | lastframe = tick() | |
| 756 | script.Heartbeat:Fire() | |
| 757 | ||
| 758 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 759 | tf = tf + s | |
| 760 | if tf >= frame then | |
| 761 | if allowframeloss then | |
| 762 | script.Heartbeat:Fire() | |
| 763 | lastframe = tick() | |
| 764 | else | |
| 765 | for i = 1, math.floor(tf / frame) do | |
| 766 | script.Heartbeat:Fire() | |
| 767 | end | |
| 768 | lastframe = tick() | |
| 769 | end | |
| 770 | if tossremainder then | |
| 771 | tf = 0 | |
| 772 | else | |
| 773 | tf = tf - frame * math.floor(tf / frame) | |
| 774 | end | |
| 775 | end | |
| 776 | end) | |
| 777 | ||
| 778 | function swait(num) | |
| 779 | if num == 0 or num == nil then | |
| 780 | ArtificialHB.Event:wait() | |
| 781 | else | |
| 782 | for i = 0, num do | |
| 783 | ArtificialHB.Event:wait() | |
| 784 | end | |
| 785 | end | |
| 786 | end | |
| 787 | ||
| 788 | function RemoveOutlines(part) | |
| 789 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 790 | end | |
| 791 | ||
| 792 | CFuncs = {
| |
| 793 | ["Part"] = {
| |
| 794 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 795 | local Part = Create("Part"){
| |
| 796 | Parent = Parent, | |
| 797 | Reflectance = Reflectance, | |
| 798 | Transparency = Transparency, | |
| 799 | CanCollide = false, | |
| 800 | Locked = true, | |
| 801 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 802 | Name = Name, | |
| 803 | Size = Size, | |
| 804 | Material = Material, | |
| 805 | } | |
| 806 | RemoveOutlines(Part) | |
| 807 | return Part | |
| 808 | end; | |
| 809 | }; | |
| 810 | ||
| 811 | ["Mesh"] = {
| |
| 812 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 813 | local Msh = Create(Mesh){
| |
| 814 | Parent = Part, | |
| 815 | Offset = OffSet, | |
| 816 | Scale = Scale, | |
| 817 | } | |
| 818 | if Mesh == "SpecialMesh" then | |
| 819 | Msh.MeshType = MeshType | |
| 820 | Msh.MeshId = MeshId | |
| 821 | end | |
| 822 | return Msh | |
| 823 | end; | |
| 824 | }; | |
| 825 | ||
| 826 | ["Mesh"] = {
| |
| 827 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 828 | local Msh = Create(Mesh){
| |
| 829 | Parent = Part, | |
| 830 | Offset = OffSet, | |
| 831 | Scale = Scale, | |
| 832 | } | |
| 833 | if Mesh == "SpecialMesh" then | |
| 834 | Msh.MeshType = MeshType | |
| 835 | Msh.MeshId = MeshId | |
| 836 | end | |
| 837 | return Msh | |
| 838 | end; | |
| 839 | }; | |
| 840 | ||
| 841 | ["Weld"] = {
| |
| 842 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 843 | local Weld = Create("Weld"){
| |
| 844 | Parent = Parent, | |
| 845 | Part0 = Part0, | |
| 846 | Part1 = Part1, | |
| 847 | C0 = C0, | |
| 848 | C1 = C1, | |
| 849 | } | |
| 850 | return Weld | |
| 851 | end; | |
| 852 | }; | |
| 853 | ||
| 854 | ["Sound"] = {
| |
| 855 | Create = function(id, par, vol, pit) | |
| 856 | coroutine.resume(coroutine.create(function() | |
| 857 | local S = Create("Sound"){
| |
| 858 | Volume = vol, | |
| 859 | Pitch = pit or 1, | |
| 860 | SoundId = id, | |
| 861 | Parent = par or workspace, | |
| 862 | } | |
| 863 | wait() | |
| 864 | S:play() | |
| 865 | game:GetService("Debris"):AddItem(S, 6)
| |
| 866 | end)) | |
| 867 | end; | |
| 868 | }; | |
| 869 | ||
| 870 | ["ParticleEmitter"] = {
| |
| 871 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 872 | local fp = Create("ParticleEmitter"){
| |
| 873 | Parent = Parent, | |
| 874 | Color = ColorSequence.new(Color1, Color2), | |
| 875 | LightEmission = LightEmission, | |
| 876 | Size = Size, | |
| 877 | Texture = Texture, | |
| 878 | Transparency = Transparency, | |
| 879 | ZOffset = ZOffset, | |
| 880 | Acceleration = Accel, | |
| 881 | Drag = Drag, | |
| 882 | LockedToPart = LockedToPart, | |
| 883 | VelocityInheritance = VelocityInheritance, | |
| 884 | EmissionDirection = EmissionDirection, | |
| 885 | Enabled = Enabled, | |
| 886 | Lifetime = LifeTime, | |
| 887 | Rate = Rate, | |
| 888 | Rotation = Rotation, | |
| 889 | RotSpeed = RotSpeed, | |
| 890 | Speed = Speed, | |
| 891 | VelocitySpread = VelocitySpread, | |
| 892 | } | |
| 893 | return fp | |
| 894 | end; | |
| 895 | }; | |
| 896 | ||
| 897 | CreateTemplate = {
| |
| 898 | ||
| 899 | }; | |
| 900 | } | |
| 901 | New = function(Object, Parent, Name, Data) | |
| 902 | local Object = Instance.new(Object) | |
| 903 | for Index, Value in pairs(Data or {}) do
| |
| 904 | Object[Index] = Value | |
| 905 | end | |
| 906 | Object.Parent = Parent | |
| 907 | Object.Name = Name | |
| 908 | return Object | |
| 909 | end | |
| 910 | ||
| 911 | function rayCast(Position, Direction, Range, Ignore) | |
| 912 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 913 | end | |
| 914 | ||
| 915 | FindNearestTorso = function(pos) | |
| 916 | local list = (game.Workspace:children()) | |
| 917 | local torso = nil | |
| 918 | local dist = 1000 | |
| 919 | local temp, human, temp2 = nil, nil, nil | |
| 920 | for x = 1, #list do | |
| 921 | temp2 = list[x] | |
| 922 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
| 923 | temp = temp2:findFirstChild("Torso")
| |
| 924 | human = temp2:findFirstChild("Humanoid")
| |
| 925 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
| 926 | local dohit = true | |
| 927 | if dohit == true then | |
| 928 | torso = temp | |
| 929 | dist = (temp.Position - pos).magnitude | |
| 930 | end | |
| 931 | end | |
| 932 | end | |
| 933 | end | |
| 934 | return torso, dist | |
| 935 | end | |
| 936 | ||
| 937 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 938 | if hit.Parent == nil then | |
| 939 | return | |
| 940 | end | |
| 941 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 942 | for _, v in pairs(hit.Parent:children()) do | |
| 943 | if v:IsA("Humanoid") then
| |
| 944 | h = v | |
| 945 | end | |
| 946 | end | |
| 947 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 948 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 949 | if hit.Parent.DebounceHit.Value == true then | |
| 950 | return | |
| 951 | end | |
| 952 | end | |
| 953 | local c = Create("ObjectValue"){
| |
| 954 | Name = "creator", | |
| 955 | Value = game:service("Players").LocalPlayer,
| |
| 956 | Parent = h, | |
| 957 | } | |
| 958 | game:GetService("Debris"):AddItem(c, .5)
| |
| 959 | if HitSound ~= nil and HitPitch ~= nil then | |
| 960 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 961 | end | |
| 962 | local Damage = math.random(minim, maxim) | |
| 963 | local blocked = false | |
| 964 | local block = hit.Parent:findFirstChild("Block")
| |
| 965 | if block ~= nil then | |
| 966 | if block.className == "IntValue" then | |
| 967 | if block.Value > 0 then | |
| 968 | blocked = true | |
| 969 | block.Value = block.Value - 1 | |
| 970 | print(block.Value) | |
| 971 | end | |
| 972 | end | |
| 973 | end | |
| 974 | if blocked == false then | |
| 975 | h.Health = h.Health - Damage | |
| 976 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 977 | else | |
| 978 | h.Health = h.Health - (Damage / 2) | |
| 979 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 980 | end | |
| 981 | if Type == "Knockdown" then | |
| 982 | local hum = hit.Parent.Humanoid | |
| 983 | hum.PlatformStand = true | |
| 984 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 985 | swait(1) | |
| 986 | HHumanoid.PlatformStand = false | |
| 987 | end), hum) | |
| 988 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 989 | local bodvol = Create("BodyVelocity"){
| |
| 990 | velocity = angle * knockback, | |
| 991 | P = 5000, | |
| 992 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 993 | Parent = hit, | |
| 994 | } | |
| 995 | local rl = Create("BodyAngularVelocity"){
| |
| 996 | P = 3000, | |
| 997 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 998 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 999 | Parent = hit, | |
| 1000 | } | |
| 1001 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 1002 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 1003 | elseif Type == "Normal" then | |
| 1004 | local vp = Create("BodyVelocity"){
| |
| 1005 | P = 500, | |
| 1006 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 1007 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 1008 | } | |
| 1009 | if knockback > 0 then | |
| 1010 | vp.Parent = hit.Parent.Torso | |
| 1011 | end | |
| 1012 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 1013 | elseif Type == "Up" then | |
| 1014 | local bodyVelocity = Create("BodyVelocity"){
| |
| 1015 | velocity = Vector3.new(0, 20, 0), | |
| 1016 | P = 5000, | |
| 1017 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 1018 | Parent = hit, | |
| 1019 | } | |
| 1020 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 1021 | elseif Type == "DarkUp" then | |
| 1022 | coroutine.resume(coroutine.create(function() | |
| 1023 | for i = 0, 1, 0.1 do | |
| 1024 | swait() | |
| 1025 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 1026 | end | |
| 1027 | end)) | |
| 1028 | local bodyVelocity = Create("BodyVelocity"){
| |
| 1029 | velocity = Vector3.new(0, 20, 0), | |
| 1030 | P = 5000, | |
| 1031 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 1032 | Parent = hit, | |
| 1033 | } | |
| 1034 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1035 | elseif Type == "Snare" then | |
| 1036 | local bp = Create("BodyPosition"){
| |
| 1037 | P = 2000, | |
| 1038 | D = 100, | |
| 1039 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1040 | position = hit.Parent.Torso.Position, | |
| 1041 | Parent = hit.Parent.Torso, | |
| 1042 | } | |
| 1043 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1044 | elseif Type == "Freeze" then | |
| 1045 | local BodPos = Create("BodyPosition"){
| |
| 1046 | P = 50000, | |
| 1047 | D = 1000, | |
| 1048 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1049 | position = hit.Parent.Torso.Position, | |
| 1050 | Parent = hit.Parent.Torso, | |
| 1051 | } | |
| 1052 | local BodGy = Create("BodyGyro") {
| |
| 1053 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 1054 | P = 20e+003, | |
| 1055 | Parent = hit.Parent.Torso, | |
| 1056 | cframe = hit.Parent.Torso.CFrame, | |
| 1057 | } | |
| 1058 | hit.Parent.Torso.Anchored = true | |
| 1059 | coroutine.resume(coroutine.create(function(Part) | |
| 1060 | swait(1.5) | |
| 1061 | Part.Anchored = false | |
| 1062 | end), hit.Parent.Torso) | |
| 1063 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 1064 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 1065 | end | |
| 1066 | local debounce = Create("BoolValue"){
| |
| 1067 | Name = "DebounceHit", | |
| 1068 | Parent = hit.Parent, | |
| 1069 | Value = true, | |
| 1070 | } | |
| 1071 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 1072 | c = Create("ObjectValue"){
| |
| 1073 | Name = "creator", | |
| 1074 | Value = Player, | |
| 1075 | Parent = h, | |
| 1076 | } | |
| 1077 | game:GetService("Debris"):AddItem(c, .5)
| |
| 1078 | end | |
| 1079 | end | |
| 1080 | ||
| 1081 | function ShowDamage(Pos, Text, Time, Color) | |
| 1082 | local Rate = (1 / 30) | |
| 1083 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 1084 | local Text = (Text or "") | |
| 1085 | local Time = (Time or 2) | |
| 1086 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 1087 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 1088 | EffectPart.Anchored = true | |
| 1089 | local BillboardGui = Create("BillboardGui"){
| |
| 1090 | Size = UDim2.new(3, 0, 3, 0), | |
| 1091 | Adornee = EffectPart, | |
| 1092 | Parent = EffectPart, | |
| 1093 | } | |
| 1094 | local TextLabel = Create("TextLabel"){
| |
| 1095 | BackgroundTransparency = 1, | |
| 1096 | Size = UDim2.new(1, 0, 1, 0), | |
| 1097 | Text = Text, | |
| 1098 | Font = "SciFi", | |
| 1099 | TextColor3 = Color, | |
| 1100 | TextScaled = true, | |
| 1101 | Parent = BillboardGui, | |
| 1102 | } | |
| 1103 | game.Debris:AddItem(EffectPart, (Time)) | |
| 1104 | EffectPart.Parent = game:GetService("Workspace")
| |
| 1105 | delay(0, function() | |
| 1106 | local Frames = (Time / Rate) | |
| 1107 | for Frame = 1, Frames do | |
| 1108 | wait(Rate) | |
| 1109 | local Percent = (Frame / Frames) | |
| 1110 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 1111 | TextLabel.TextTransparency = Percent | |
| 1112 | end | |
| 1113 | if EffectPart and EffectPart.Parent then | |
| 1114 | EffectPart:Destroy() | |
| 1115 | end | |
| 1116 | end) | |
| 1117 | end | |
| 1118 | ||
| 1119 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
| 1120 | for _, c in pairs(workspace:children()) do | |
| 1121 | local hum = c:findFirstChild("Humanoid")
| |
| 1122 | if hum ~= nil then | |
| 1123 | local head = c:findFirstChild("Torso")
| |
| 1124 | if head ~= nil then | |
| 1125 | local targ = head.Position - Part.Position | |
| 1126 | local mag = targ.magnitude | |
| 1127 | if mag <= Magnitude and c.Name ~= Player.Name then | |
| 1128 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 1129 | end | |
| 1130 | end | |
| 1131 | end | |
| 1132 | end | |
| 1133 | end | |
| 1134 | function UltraMagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) -- kek | |
| 1135 | for _, c in pairs(workspace:children()) do | |
| 1136 | local hum = c:findFirstChild("Humanoid")
| |
| 1137 | if hum ~= nil then | |
| 1138 | local head = c:findFirstChild("Torso")
| |
| 1139 | if head ~= nil then | |
| 1140 | local targ = head.Position - Part.Position | |
| 1141 | local mag = targ.magnitude | |
| 1142 | if mag <= Magnitude and c.Name ~= Player.Name then | |
| 1143 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 1144 | head.Size = head.Size + Vector3.new(0.01, 0.01, 0.01) | |
| 1145 | end | |
| 1146 | end | |
| 1147 | end | |
| 1148 | end | |
| 1149 | end | |
| 1150 | EffectModel = Create("Model"){
| |
| 1151 | Parent = Character, | |
| 1152 | Name = "Effects", | |
| 1153 | } | |
| 1154 | ||
| 1155 | Effects = {
| |
| 1156 | Block = {
| |
| 1157 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 1158 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1159 | prt.Anchored = true | |
| 1160 | prt.CFrame = cframe | |
| 1161 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1162 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1163 | if Type == 1 or Type == nil then | |
| 1164 | table.insert(Effects, {
| |
| 1165 | prt, | |
| 1166 | "Block1", | |
| 1167 | delay, | |
| 1168 | x3, | |
| 1169 | y3, | |
| 1170 | z3, | |
| 1171 | msh | |
| 1172 | }) | |
| 1173 | elseif Type == 2 then | |
| 1174 | table.insert(Effects, {
| |
| 1175 | prt, | |
| 1176 | "Block2", | |
| 1177 | delay, | |
| 1178 | x3, | |
| 1179 | y3, | |
| 1180 | z3, | |
| 1181 | msh | |
| 1182 | }) | |
| 1183 | end | |
| 1184 | end; | |
| 1185 | }; | |
| 1186 | ||
| 1187 | Cylinder = {
| |
| 1188 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1189 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1190 | prt.Anchored = true | |
| 1191 | prt.CFrame = cframe | |
| 1192 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1193 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1194 | table.insert(Effects, {
| |
| 1195 | prt, | |
| 1196 | "Cylinder", | |
| 1197 | delay, | |
| 1198 | x3, | |
| 1199 | y3, | |
| 1200 | z3, | |
| 1201 | msh | |
| 1202 | }) | |
| 1203 | end; | |
| 1204 | }; | |
| 1205 | Head = {
| |
| 1206 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1207 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1208 | prt.Anchored = true | |
| 1209 | prt.CFrame = cframe | |
| 1210 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1211 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1212 | table.insert(Effects, {
| |
| 1213 | prt, | |
| 1214 | "Cylinder", | |
| 1215 | delay, | |
| 1216 | x3, | |
| 1217 | y3, | |
| 1218 | z3, | |
| 1219 | msh | |
| 1220 | }) | |
| 1221 | end; | |
| 1222 | }; | |
| 1223 | ||
| 1224 | Sphere = {
| |
| 1225 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1226 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1227 | prt.Anchored = true | |
| 1228 | prt.CFrame = cframe | |
| 1229 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1230 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1231 | table.insert(Effects, {
| |
| 1232 | prt, | |
| 1233 | "Cylinder", | |
| 1234 | delay, | |
| 1235 | x3, | |
| 1236 | y3, | |
| 1237 | z3, | |
| 1238 | msh | |
| 1239 | }) | |
| 1240 | end; | |
| 1241 | }; | |
| 1242 | ||
| 1243 | Elect = {
| |
| 1244 | Create = function(cff, x, y, z) | |
| 1245 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
| |
| 1246 | prt.Anchored = true | |
| 1247 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
| 1248 | prt.CFrame = CFrame.new(prt.Position) | |
| 1249 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 1250 | local xval = math.random() / 2 | |
| 1251 | local yval = math.random() / 2 | |
| 1252 | local zval = math.random() / 2 | |
| 1253 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 1254 | table.insert(Effects, {
| |
| 1255 | prt, | |
| 1256 | "Elec", | |
| 1257 | 0.1, | |
| 1258 | x, | |
| 1259 | y, | |
| 1260 | z, | |
| 1261 | xval, | |
| 1262 | yval, | |
| 1263 | zval | |
| 1264 | }) | |
| 1265 | end; | |
| 1266 | ||
| 1267 | }; | |
| 1268 | ||
| 1269 | Ring = {
| |
| 1270 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1271 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1272 | prt.Anchored = true | |
| 1273 | prt.CFrame = cframe | |
| 1274 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1275 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1276 | table.insert(Effects, {
| |
| 1277 | prt, | |
| 1278 | "Cylinder", | |
| 1279 | delay, | |
| 1280 | x3, | |
| 1281 | y3, | |
| 1282 | z3, | |
| 1283 | msh | |
| 1284 | }) | |
| 1285 | end; | |
| 1286 | }; | |
| 1287 | ||
| 1288 | ||
| 1289 | Wave = {
| |
| 1290 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1291 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1292 | prt.Anchored = true | |
| 1293 | prt.CFrame = cframe | |
| 1294 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1295 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1296 | table.insert(Effects, {
| |
| 1297 | prt, | |
| 1298 | "Cylinder", | |
| 1299 | delay, | |
| 1300 | x3, | |
| 1301 | y3, | |
| 1302 | z3, | |
| 1303 | msh | |
| 1304 | }) | |
| 1305 | end; | |
| 1306 | }; | |
| 1307 | ||
| 1308 | Break = {
| |
| 1309 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1310 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1311 | prt.Anchored = true | |
| 1312 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1313 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1314 | local num = math.random(10, 50) / 1000 | |
| 1315 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1316 | table.insert(Effects, {
| |
| 1317 | prt, | |
| 1318 | "Shatter", | |
| 1319 | num, | |
| 1320 | prt.CFrame, | |
| 1321 | math.random() - math.random(), | |
| 1322 | 0, | |
| 1323 | math.random(50, 100) / 100 | |
| 1324 | }) | |
| 1325 | end; | |
| 1326 | }; | |
| 1327 | ||
| 1328 | Fire = {
| |
| 1329 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
| 1330 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1331 | prt.Anchored = true | |
| 1332 | prt.CFrame = cframe | |
| 1333 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1334 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1335 | table.insert(Effects, {
| |
| 1336 | prt, | |
| 1337 | "Fire", | |
| 1338 | delay, | |
| 1339 | 1, | |
| 1340 | 1, | |
| 1341 | 1, | |
| 1342 | msh | |
| 1343 | }) | |
| 1344 | end; | |
| 1345 | }; | |
| 1346 | ||
| 1347 | FireWave = {
| |
| 1348 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1349 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
| 1350 | prt.Anchored = true | |
| 1351 | prt.CFrame = cframe | |
| 1352 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1353 | local d = Create("Decal"){
| |
| 1354 | Parent = prt, | |
| 1355 | Texture = "rbxassetid://26356434", | |
| 1356 | Face = "Top", | |
| 1357 | } | |
| 1358 | local d = Create("Decal"){
| |
| 1359 | Parent = prt, | |
| 1360 | Texture = "rbxassetid://26356434", | |
| 1361 | Face = "Bottom", | |
| 1362 | } | |
| 1363 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1364 | table.insert(Effects, {
| |
| 1365 | prt, | |
| 1366 | "FireWave", | |
| 1367 | 1, | |
| 1368 | 30, | |
| 1369 | math.random(400, 600) / 100, | |
| 1370 | msh | |
| 1371 | }) | |
| 1372 | end; | |
| 1373 | }; | |
| 1374 | ||
| 1375 | Lightning = {
| |
| 1376 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
| 1377 | local magz = (p0 - p1).magnitude | |
| 1378 | local curpos = p0 | |
| 1379 | local trz = {
| |
| 1380 | -ofs, | |
| 1381 | ofs | |
| 1382 | } | |
| 1383 | for i = 1, tym do | |
| 1384 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
| 1385 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 1386 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 1387 | li.Material = "Neon" | |
| 1388 | if tym == i then | |
| 1389 | local magz2 = (curpos - p1).magnitude | |
| 1390 | li.Size = Vector3.new(th, th, magz2) | |
| 1391 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 1392 | table.insert(Effects, {
| |
| 1393 | li, | |
| 1394 | "Disappear", | |
| 1395 | last | |
| 1396 | }) | |
| 1397 | else | |
| 1398 | do | |
| 1399 | do | |
| 1400 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 1401 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 1402 | game.Debris:AddItem(li, 10) | |
| 1403 | table.insert(Effects, {
| |
| 1404 | li, | |
| 1405 | "Disappear", | |
| 1406 | last | |
| 1407 | }) | |
| 1408 | end | |
| 1409 | end | |
| 1410 | end | |
| 1411 | end | |
| 1412 | end | |
| 1413 | }; | |
| 1414 | ||
| 1415 | EffectTemplate = {
| |
| 1416 | ||
| 1417 | }; | |
| 1418 | } | |
| 1419 | function hahahohoho(Part, Dmg) | |
| 1420 | sp = Part.Position | |
| 1421 | dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0) | |
| 1422 | local hit, pos = rayCast(sp, dirr.lookVector, 500, Character) | |
| 1423 | local las = Instance.new("Part", Character)
| |
| 1424 | las.Anchored = true | |
| 1425 | las.Locked = true | |
| 1426 | las.CanCollide = false | |
| 1427 | las.TopSurface = 0 | |
| 1428 | las.BottomSurface = 0 | |
| 1429 | las.BrickColor = BrickColor.new("Really black")
| |
| 1430 | las.Size = Vector3.new(1, 1, 1) | |
| 1431 | las.CFrame = CFrame.new((Part.Position + pos) / 2, pos) * CFrame.Angles(math.rad(90), 0, 0) | |
| 1432 | local msh = Instance.new("SpecialMesh", las)
| |
| 1433 | mag = (Part.Position - pos).magnitude | |
| 1434 | msh.Scale = Vector3.new(0.1, mag, 0.1) | |
| 1435 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1436 | for i = 0, 3, 0.1 do | |
| 1437 | wait() | |
| 1438 | Part.Transparency = Part.Transparency + 0.03 | |
| 1439 | Mesh.Scale = Mesh.Scale + Vector3.new(0.5, 0.7, 0.5) | |
| 1440 | end | |
| 1441 | Part.Parent = nil | |
| 1442 | end), las, msh) | |
| 1443 | if pos ~= nil then | |
| 1444 | local las2 = Instance.new("Part", Character)
| |
| 1445 | las2.Anchored = true | |
| 1446 | las2.Locked = true | |
| 1447 | las2.CanCollide = false | |
| 1448 | las2.TopSurface = 0 | |
| 1449 | las2.BottomSurface = 0 | |
| 1450 | las2.Transparency = 1 | |
| 1451 | las2.BrickColor = BrickColor.new("Really black")
| |
| 1452 | las2.Size = Vector3.new(1, 1, 1) | |
| 1453 | las2.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(90), 0, 0) | |
| 1454 | local msh = Instance.new("SpecialMesh", las2)
| |
| 1455 | msh.MeshType = "Sphere" | |
| 1456 | mag = (Part.Position - pos).magnitude | |
| 1457 | msh.Scale = Vector3.new(0.1, 0.1, 0.1) | |
| 1458 | Effects.Ring.Create(BrickColor.new("Really black"), las2.CFrame * CFrame.Angles(math.random(-4,4),math.random(-4,4),math.random(-4,4)), 8, 8, 8, 2.5, 2.5, 2.5, 0.04)
| |
| 1459 | Effects.Sphere.Create(BrickColor.new("Really black"), las2.CFrame, 6, 6, 6, 9, 9, 9, 0.04)
| |
| 1460 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=228343252", las2, 1.2, 0.9)
| |
| 1461 | UltraMagnitudeDamage(las2, 20, 100, 100, math.random(1, 5), "Normal", "http://www.roblox.com/asset/?id=228343252", 1) | |
| 1462 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1463 | for i = 0, 3, 0.1 do | |
| 1464 | wait() | |
| 1465 | Part.Transparency = Part.Transparency + 1 | |
| 1466 | Mesh.Scale = Mesh.Scale + Vector3.new(0, 0, 0) | |
| 1467 | end | |
| 1468 | Part.Parent = nil | |
| 1469 | end), las2, msh) | |
| 1470 | end | |
| 1471 | if hit ~= nil and pos ~= nil then | |
| 1472 | if hit.Parent.className == "Hat" then | |
| 1473 | hit:BreakJoints() | |
| 1474 | hit.Velocity = Vector3.new(math.random(-5, 5), 20, math.random(-5, 5)) | |
| 1475 | end | |
| 1476 | if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
| |
| 1477 | hit.Parent.Humanoid:TakeDamage(Dmg) | |
| 1478 | end | |
| 1479 | end | |
| 1480 | end | |
| 1481 | function attackone() | |
| 1482 | attack = true | |
| 1483 | local ref = New("Part",Character,"ref",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-63.7534943, 0.396845818, -9.92230225, -1, 0, 0, 0, 0.00350399944, -0.999993861, 0, -0.999993861, -0.00350399921),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1484 | mot = New("Weld",ref,"mot",{Part0 = ref,Part1 = RootPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.00350399944, -0.999993861, 0, -0.999993861, -0.00350399921),C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
| |
| 1485 | ||
| 1486 | for i = 0, 1, 0.1 do | |
| 1487 | swait() | |
| 1488 | PlayAnimationFromTable({
| |
| 1489 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1490 | CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1491 | CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1492 | CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1493 | CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1494 | CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1495 | }, .3, false) | |
| 1496 | end | |
| 1497 | hahahohoho(ref, 100) | |
| 1498 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", Character, 1, .6)
| |
| 1499 | attack = false | |
| 1500 | wait(1) | |
| 1501 | ref:Remove() | |
| 1502 | end | |
| 1503 | function spamrein() | |
| 1504 | attack = true | |
| 1505 | local ref1 = New("Part",EffectModel,"ref1",{Anchored = true,CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1506 | local ref2 = New("Part",EffectModel,"ref2",{Anchored = true,CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1507 | for i = 0, 1, 0.1 do | |
| 1508 | swait() | |
| 1509 | PlayAnimationFromTable({
| |
| 1510 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1511 | CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1512 | CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1513 | CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1514 | CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1515 | CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1516 | }, .3, false) | |
| 1517 | end | |
| 1518 | for i = 0, 8 do | |
| 1519 | swait(3) | |
| 1520 | ref1.CFrame = RootPart.CFrame * CFrame.new(math.random(-30,30),50,math.random(-30,30)) * CFrame.Angles(math.rad(math.random(-25,25)),0,math.rad(math.random(-25,25))) | |
| 1521 | hahahohoho(ref1, 100) | |
| 1522 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", ref1, 1, .6)
| |
| 1523 | wait(.05) | |
| 1524 | ref2.CFrame = RootPart.CFrame * CFrame.new(math.random(-30,30),50,math.random(-30,30)) * CFrame.Angles(math.rad(math.random(-25,25)),0,math.rad(math.random(-25,25))) | |
| 1525 | hahahohoho(ref2, 100) | |
| 1526 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", ref2, 1, .6)
| |
| 1527 | wait(.05) | |
| 1528 | end | |
| 1529 | attack = false | |
| 1530 | end | |
| 1531 | function spamspin() | |
| 1532 | attack = true | |
| 1533 | local ref3 = New("Part",EffectModel,"ref3",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1534 | local ref4 = New("Part",EffectModel,"ref4",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1535 | moter1 = New("Motor",ref3,"mot",{Part0 = LeftArm,Part1 = ref3,})
| |
| 1536 | moter2 = New("Motor",ref4,"mot",{Part0 = RightArm,Part1 = ref4,})
| |
| 1537 | for i = 0, 1, 0.1 do | |
| 1538 | swait() | |
| 1539 | PlayAnimationFromTable({
| |
| 1540 | CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1541 | CFrame.new(0, 1.49998045, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1542 | CFrame.new(2.00000072, 0.500000775, 0, -6.33299351e-007, -1.00000048, 0, 1.00000048, -6.33299351e-007, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1543 | CFrame.new(-1.99999726, 0.500000834, 0, -2.38418579e-007, 1.0000006, 0, -1.00000048, -3.7252903e-007, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1544 | CFrame.new(0.5, -1.99999619, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1545 | CFrame.new(-0.5, -1.99999619, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1546 | }, .3, false) | |
| 1547 | end | |
| 1548 | coroutine.wrap(function() | |
| 1549 | for i = 0, 18 do | |
| 1550 | swait(2) | |
| 1551 | hahahohoho(ref3, 100) | |
| 1552 | hahahohoho(ref4, 100) | |
| 1553 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", RootPart, 1, .6)
| |
| 1554 | end | |
| 1555 | end)() | |
| 1556 | for i = 0, 7, 0.1 do | |
| 1557 | swait() | |
| 1558 | PlayAnimationFromTable({
| |
| 1559 | CFrame.new(0, -0.500001013, 7.62939453e-006, 1, 0, 0, 0, 0, -1, 0, 1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(sine * 25), 0), | |
| 1560 | CFrame.new(0, 1.4999733, -9.00030136e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1561 | CFrame.new(2, 0.499996185, -1.40070915e-005, 0, -1, 0, 1, 0, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1562 | CFrame.new(-1.99999237, 0.499996185, -1.40070915e-005, 0, 1, 0, -1, 0, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1563 | CFrame.new(0.5, -1.99998474, -2.02655792e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1564 | CFrame.new(-0.5, -1.99998474, -2.02655792e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1565 | }, .3, false) | |
| 1566 | moter1.C0 = clerp(moter1.C0, CFrame.new(1.07955907e-006, -1.10001731, 0, 1.0000031, 3.13669534e-006, 0, -3.00258512e-006, 1.00000322, -0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1567 | moter2.C0 = clerp(moter2.C0, CFrame.new(-2.22906492e-005, -1.10000086, 1.03585517e-005, -1.00000048, 4.00841191e-006, -1.0410066e-011, 4.00840509e-006, 1.00000215, -2.61515493e-006, 1.75116303e-014, -2.48104334e-006, -1.00000179) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1568 | end | |
| 1569 | attack = false | |
| 1570 | end | |
| 1571 | function criufkinbastard() | |
| 1572 | Humanoid.WalkSpeed = 0 | |
| 1573 | Humanoid.JumpPower = 0 | |
| 1574 | coroutine.wrap(function() | |
| 1575 | attack = true | |
| 1576 | local txt = Instance.new("BillboardGui", Character)
| |
| 1577 | txt.Adornee = game.Players.LocalPlayer.Character.Head | |
| 1578 | txt.Name = "_status" | |
| 1579 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 1580 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 1581 | local text = Instance.new("TextLabel", txt)
| |
| 1582 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 1583 | text.FontSize = "Size24" | |
| 1584 | text.TextScaled = true | |
| 1585 | text.TextTransparency = 1 | |
| 1586 | text.BackgroundTransparency = 1 | |
| 1587 | text.TextStrokeTransparency = 1 | |
| 1588 | text.Font = "Garamond" | |
| 1589 | text.TextStrokeColor3 = Color3.new(1,0,0) | |
| 1590 | text.TextColor3 = Color3.new(0, 0, 0) | |
| 1591 | text.Text = "greetings...my friend..." | |
| 1592 | ||
| 1593 | local text2 = Instance.new("TextLabel", txt)
| |
| 1594 | text2.Size = UDim2.new(10, 0, 7, 0) | |
| 1595 | text2.FontSize = "Size24" | |
| 1596 | text2.TextScaled = true | |
| 1597 | text2.TextTransparency = 1 | |
| 1598 | text2.BackgroundTransparency = 1 | |
| 1599 | text2.TextStrokeTransparency = 1 | |
| 1600 | text2.Font = "Garamond" | |
| 1601 | text2.TextStrokeColor3 = Color3.new(1,0,0) | |
| 1602 | text2.TextColor3 = Color3.new(0, 0, 0) | |
| 1603 | text2.Text = "I am the overlord!." | |
| 1604 | ||
| 1605 | local text3 = Instance.new("TextLabel", txt)
| |
| 1606 | text3.Size = UDim2.new(10, 0, 7, 0) | |
| 1607 | text3.FontSize = "Size24" | |
| 1608 | text3.TextScaled = true | |
| 1609 | text3.TextTransparency = 1 | |
| 1610 | text3.BackgroundTransparency = 1 | |
| 1611 | text3.TextStrokeTransparency = 1 | |
| 1612 | text3.Font = "Garamond" | |
| 1613 | text3.TextStrokeColor3 = Color3.new(1,1,1) | |
| 1614 | text3.TextColor3 = Color3.new(1, 0, 0) | |
| 1615 | text3.Text = "and i...will kill you" | |
| 1616 | ||
| 1617 | local text4 = Instance.new("TextLabel", txt)
| |
| 1618 | text4.Size = UDim2.new(10, 0, 7, 0) | |
| 1619 | text4.FontSize = "Size24" | |
| 1620 | text4.TextScaled = true | |
| 1621 | text4.TextTransparency = 1 | |
| 1622 | text4.BackgroundTransparency = 1 | |
| 1623 | text4.TextStrokeTransparency = 1 | |
| 1624 | text4.Font = "Garamond" | |
| 1625 | text4.TextStrokeColor3 = Color3.new(1,0,0) | |
| 1626 | text4.TextColor3 = Color3.new(0, 0, 0) | |
| 1627 | text4.Text = "If you have to run.....this is the moment." | |
| 1628 | ||
| 1629 | local text5 = Instance.new("TextLabel", txt)
| |
| 1630 | text5.Size = UDim2.new(10, 0, 7, 0) | |
| 1631 | text5.FontSize = "Size24" | |
| 1632 | text5.TextScaled = true | |
| 1633 | text5.TextTransparency = 1 | |
| 1634 | text5.BackgroundTransparency = 1 | |
| 1635 | text5.TextStrokeTransparency = 1 | |
| 1636 | text5.Font = "Garamond" | |
| 1637 | text5.TextStrokeColor3 = Color3.new(1,0,0) | |
| 1638 | text5.TextColor3 = Color3.new(0, 0, 0) | |
| 1639 | text5.Text = "Run..." | |
| 1640 | ||
| 1641 | ||
| 1642 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191006402", RootPart, 3, 1)
| |
| 1643 | while wait() and text and text.TextTransparency >= 0 do | |
| 1644 | text.TextStrokeTransparency = text.TextStrokeTransparency - .05 | |
| 1645 | text.TextTransparency = text.TextTransparency - .05 | |
| 1646 | ||
| 1647 | end | |
| 1648 | wait(10) | |
| 1649 | while wait() and text and text.TextTransparency <= 1 do | |
| 1650 | text.TextStrokeTransparency = text.TextStrokeTransparency + .05 | |
| 1651 | text.TextTransparency = text.TextTransparency + .05 | |
| 1652 | text.Position = text.Position - UDim2.new(0,0,0,1) | |
| 1653 | text.Rotation = text.Rotation - 1 | |
| 1654 | text2.TextStrokeTransparency = text2.TextStrokeTransparency - .05 | |
| 1655 | text2.TextTransparency = text2.TextTransparency - .05 | |
| 1656 | end | |
| 1657 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191006402", RootPart, 3, 1)
| |
| 1658 | wait(5) | |
| 1659 | while wait() and text2 and text2.TextTransparency <= 1 do | |
| 1660 | text2.TextStrokeTransparency = text2.TextStrokeTransparency + .05 | |
| 1661 | text2.TextTransparency = text2.TextTransparency + .05 | |
| 1662 | text2.Position = text2.Position - UDim2.new(0,0,0,1) | |
| 1663 | text2.Rotation = text2.Rotation - 1 | |
| 1664 | text3.TextStrokeTransparency = text3.TextStrokeTransparency - .05 | |
| 1665 | text3.TextTransparency = text3.TextTransparency - .05 | |
| 1666 | end | |
| 1667 | wait(5) | |
| 1668 | while wait() and text3 and text3.TextTransparency <= 1 do | |
| 1669 | text3.TextStrokeTransparency = text3.TextStrokeTransparency + .05 | |
| 1670 | text3.TextTransparency = text3.TextTransparency + .05 | |
| 1671 | text3.Position = text3.Position - UDim2.new(0,0,0,1) | |
| 1672 | text3.Rotation = text3.Rotation - 1 | |
| 1673 | text4.TextStrokeTransparency = text4.TextStrokeTransparency - .05 | |
| 1674 | text4.TextTransparency = text4.TextTransparency - .05 | |
| 1675 | end | |
| 1676 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191006402", RootPart, 3, 1)
| |
| 1677 | wait(3) | |
| 1678 | while wait() and text4 and text4.TextTransparency <= 1 do | |
| 1679 | text4.TextStrokeTransparency = text4.TextStrokeTransparency + .05 | |
| 1680 | text4.TextTransparency = text4.TextTransparency + .05 | |
| 1681 | text4.Position = text4.Position - UDim2.new(0,0,0,1) | |
| 1682 | text4.Rotation = text4.Rotation - 1 | |
| 1683 | text5.TextStrokeTransparency = text5.TextStrokeTransparency - .05 | |
| 1684 | text5.TextTransparency = text5.TextTransparency - .05 | |
| 1685 | end | |
| 1686 | wait(3) | |
| 1687 | while wait() and text5 and text5.TextTransparency <= 1 do | |
| 1688 | text5.TextStrokeTransparency = text5.TextStrokeTransparency + .05 | |
| 1689 | text5.TextTransparency = text5.TextTransparency + .05 | |
| 1690 | text5.Position = text5.Position - UDim2.new(math.random(-0.3,0.3),math.random(-5,5),math.random(-0.3,0.3),math.random(-5,5)) | |
| 1691 | text5.Rotation = text5.Rotation - 1 | |
| 1692 | spooky2.Volume = spooky2.Volume - 0.05 | |
| 1693 | end | |
| 1694 | spooky:Play() | |
| 1695 | text:Remove() | |
| 1696 | text2:Remove() | |
| 1697 | text3:Remove() | |
| 1698 | text4:Remove() | |
| 1699 | text5:Remove() | |
| 1700 | end)() | |
| 1701 | for i = 0, 51, 0.1 do | |
| 1702 | swait() | |
| 1703 | PlayAnimationFromTable({
| |
| 1704 | CFrame.new(-0, -2.01999879, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1705 | CFrame.new(-0.100006104, 1.64000487, -3.69548798e-006, 1, 0, 0, 0, 0.891016304, 0.453991741, 0, -0.453991264, 0.891006649) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1706 | CFrame.new(0.950131536, 1.02000284, -0.609929323, 0.838677049, 0.544629633, 1.82800829e-006, 0.280503511, -0.431945533, -0.857170463, -0.466839492, 0.718889475, -0.515032887) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1707 | CFrame.new(-1.01001573, 1.08999729, -0.649995506, 0.743156135, -0.669118106, 5.49372999e-006, -0.324383408, -0.360283762, -0.874626398, 0.585230291, 0.649981976, -0.484797955) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1708 | CFrame.new(0.5, -0.169970214, -1.0898838, 1, 0, -0, 0, 0.681989849, -0.73136127, 0, 0.73136127, 0.681989849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1709 | CFrame.new(-0.549926758, -0.149971083, -1.56995773, 1, 0, -0, 0, 0.1736864, -0.984801233, 0, 0.984801233, 0.1736864) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1710 | }, .1, false) | |
| 1711 | end | |
| 1712 | for i = 0, 5, 0.1 do | |
| 1713 | swait() | |
| 1714 | PlayAnimationFromTable({
| |
| 1715 | CFrame.new(-0.0981965065, -1.31277657, -0.54871279, 0.808166862, -0.196366429, -0.555253625, 0.575620949, 0.0638884008, 0.815217137, -0.124606982, -0.97844708, 0.164665088) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1716 | CFrame.new(0.0582410395, 1.44129539, 0.0734805763, 0.934516311, 2.10106373e-006, 0.355920374, 0.121625632, 0.939799547, -0.319349885, -0.334494382, 0.34172672, 0.878257751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1717 | CFrame.new(0.759254932, 0.609628737, -1.37132394, 0.887519658, 0.460769922, 5.49852848e-006, 0.0474366248, -0.0913589746, -0.994687736, -0.458321631, 0.882805049, -0.102940291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1718 | CFrame.new(-1.522138, 1.1763432, -0.233797818, 0.654816628, 0.623950124, -0.426499099, 0.0684916377, -0.610978603, -0.788678765, -0.752677917, 0.487228334, -0.44281441) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1719 | CFrame.new(0.55273962, -1.8331666, -0.853646398, 0.994906187, -2.04518437e-006, 0.100805953, 0.0784842819, 0.627576351, -0.774589181, -0.0632617697, 0.778555214, 0.624379694) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1720 | CFrame.new(-0.663739324, -1.72484899, -0.279409111, 0.936938882, 0.336636096, -0.0939244553, -0.32966578, 0.762038469, -0.557331204, -0.116043702, 0.553148985, 0.824960768) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1721 | }, .05, false) | |
| 1722 | end | |
| 1723 | for i = 0, 5, 0.1 do | |
| 1724 | swait() | |
| 1725 | PlayAnimationFromTable({
| |
| 1726 | CFrame.new(0, -0.0442145504, -0.205582842, 1, 0, 0, 0, 0.911569417, 0.411146224, 0, -0.411146194, 0.911569417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1727 | CFrame.new(0, 1.446419, -0.149725705, 1, 0, 0, 0, 0.941553891, 0.336862653, 0, -0.336862624, 0.94155395) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1728 | CFrame.new(1.62312984, 0.0405562371, -0.126877204, 0.987515867, -0.155472979, 0.0253103133, 0.157519713, 0.974684954, -0.158671856, -3.94880772e-007, 0.160677835, 0.987006903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1729 | CFrame.new(-1.62933123, 0.039488472, -0.0764760524, 0.982997239, 0.18362084, -1.8598115e-008, -0.180242166, 0.964909732, -0.190950453, -0.0350624695, 0.187703788, 0.981599748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1730 | CFrame.new(0.50331378, -2.03031564, -0.386381626, 0.994077384, -0.100885771, 0.0404032469, 0.108675495, 0.922825038, -0.369572222, -5.43892384e-007, 0.371774226, 0.92832315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1731 | CFrame.new(-0.610246539, -1.9785527, -0.533763826, 0.991280973, 0.13176541, 7.16808756e-007, -0.118788213, 0.893654883, -0.432747513, -0.057021793, 0.428974301, 0.901515245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1732 | }, .05, false) | |
| 1733 | end | |
| 1734 | for i = 0, 2 do | |
| 1735 | for i = 0, 1, 0.1 do | |
| 1736 | swait() | |
| 1737 | PlayAnimationFromTable({
| |
| 1738 | CFrame.new(0, -0.0442145504, -0.205582842, 1, 0, 0, 0, 0.911569417, 0.411146224, 0, -0.411146194, 0.911569417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1739 | CFrame.new(5.51342964e-007, 1.44641995, -0.149724424, 0.782274365, -6.99407749e-008, -0.622934043, 0.209844083, 0.941553354, 0.263520032, 0.586525559, -0.336863965, 0.736553073) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1740 | CFrame.new(1.62312984, 0.0405562371, -0.126877204, 0.987515867, -0.155472979, 0.0253103133, 0.157519713, 0.974684954, -0.158671856, -3.94880772e-007, 0.160677835, 0.987006903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1741 | CFrame.new(-1.62933123, 0.039488472, -0.0764760524, 0.982997239, 0.18362084, -1.8598115e-008, -0.180242166, 0.964909732, -0.190950453, -0.0350624695, 0.187703788, 0.981599748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1742 | CFrame.new(0.50331378, -2.03031564, -0.386381626, 0.994077384, -0.100885771, 0.0404032469, 0.108675495, 0.922825038, -0.369572222, -5.43892384e-007, 0.371774226, 0.92832315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1743 | CFrame.new(-0.610246539, -1.9785527, -0.533763826, 0.991280973, 0.13176541, 7.16808756e-007, -0.118788213, 0.893654883, -0.432747513, -0.057021793, 0.428974301, 0.901515245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1744 | }, .3, false) | |
| 1745 | end | |
| 1746 | for i = 0, 1, 0.1 do | |
| 1747 | swait() | |
| 1748 | PlayAnimationFromTable({
| |
| 1749 | CFrame.new(0, -0.0442145504, -0.205582842, 1, 0, 0, 0, 0.911569417, 0.411146224, 0, -0.411146194, 0.911569417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1750 | CFrame.new(1.78813934e-007, 1.4464184, -0.149724573, 0.864948869, -2.57774872e-007, 0.501860023, -0.169061571, 0.941551089, 0.291375846, -0.472526848, -0.336870432, 0.81439352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1751 | CFrame.new(1.62312984, 0.0405562371, -0.126877204, 0.987515867, -0.155472979, 0.0253103133, 0.157519713, 0.974684954, -0.158671856, -3.94880772e-007, 0.160677835, 0.987006903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1752 | CFrame.new(-1.62933123, 0.039488472, -0.0764760524, 0.982997239, 0.18362084, -1.8598115e-008, -0.180242166, 0.964909732, -0.190950453, -0.0350624695, 0.187703788, 0.981599748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1753 | CFrame.new(0.50331378, -2.03031564, -0.386381626, 0.994077384, -0.100885771, 0.0404032469, 0.108675495, 0.922825038, -0.369572222, -5.43892384e-007, 0.371774226, 0.92832315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1754 | CFrame.new(-0.610246539, -1.9785527, -0.533763826, 0.991280973, 0.13176541, 7.16808756e-007, -0.118788213, 0.893654883, -0.432747513, -0.057021793, 0.428974301, 0.901515245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1755 | }, .3, false) | |
| 1756 | end | |
| 1757 | end | |
| 1758 | local Anim = false | |
| 1759 | ||
| 1760 | Humanoid.WalkSpeed = 16 | |
| 1761 | Humanoid.JumpPower = 50 | |
| 1762 | attack = false | |
| 1763 | end | |
| 1764 | criufkinbastard() | |
| 1765 | Mouse.Button1Down:connect(function() | |
| 1766 | if attack == false and attacktype == 1 then | |
| 1767 | attackone() | |
| 1768 | end | |
| 1769 | end) | |
| 1770 | ||
| 1771 | Mouse.KeyDown:connect(function(k) | |
| 1772 | k = k:lower() | |
| 1773 | if attack == false and k == 'z' then | |
| 1774 | spamrein() | |
| 1775 | elseif attack == false and k == 'x' then | |
| 1776 | spamspin() | |
| 1777 | end | |
| 1778 | end) | |
| 1779 | ||
| 1780 | while true do | |
| 1781 | swait() | |
| 1782 | for i, v in pairs(Character:GetChildren()) do | |
| 1783 | if v:IsA("Part") then
| |
| 1784 | v.Material = "SmoothPlastic" | |
| 1785 | elseif v:IsA("Accessory") then
| |
| 1786 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 1787 | end | |
| 1788 | end | |
| 1789 | ||
| 1790 | player = game.Players.LocalPlayer | |
| 1791 | chara = player.Character | |
| 1792 | debby = game:GetService("Debris")
| |
| 1793 | ||
| 1794 | --Outfit-- | |
| 1795 | ||
| 1796 | New = function(Object, Parent, Name, Data) | |
| 1797 | local Object = Instance.new(Object) | |
| 1798 | for Index, Value in pairs(Data or {}) do
| |
| 1799 | Object[Index] = Value | |
| 1800 | end | |
| 1801 | Object.Parent = Parent | |
| 1802 | Object.Name = Name | |
| 1803 | return Object | |
| 1804 | end | |
| 1805 | ||
| 1806 | --Animations-- | |
| 1807 | function LoadAnim(id) | |
| 1808 | local anim = New("Animation",chara,"Animation",{AnimationId = "rbxassetid://"..id})
| |
| 1809 | local realanim = chara.Humanoid:LoadAnimation(anim) | |
| 1810 | return realanim | |
| 1811 | end | |
| 1812 | HoldA = LoadAnim(69427262) | |
| 1813 | Swing1A = LoadAnim(186934658) | |
| 1814 | Swing2A = LoadAnim(94160738) | |
| 1815 | Swing3A = LoadAnim(186934910) | |
| 1816 | Swing4A = LoadAnim(74909528) | |
| 1817 | RaiseA = LoadAnim(83994319) | |
| 1818 | RiseA = LoadAnim(169638954) | |
| 1819 | HoldA:Play() | |
| 1820 | wait(2) | |
| 1821 | --Fly-- | |
| 1822 | local truflyposy = chara.Torso.Position.Y+10 | |
| 1823 | local flyposy = truflyposy | |
| 1824 | local bodfly = Instance.new("BodyPosition", chara.Torso)
| |
| 1825 | bodfly.Name = "Fly" | |
| 1826 | bodfly.maxForce = Vector3.new(0,10000,0) | |
| 1827 | bodfly.Position = Vector3.new(0,flyposy,0) | |
| 1828 | -------------------------------------------------- | |
| 1829 | ||
| 1830 | ||
| 1831 | if 0 < #Effects then | |
| 1832 | for e = 1, #Effects do | |
| 1833 | if Effects[e] ~= nil then | |
| 1834 | local Thing = Effects[e] | |
| 1835 | if Thing ~= nil then | |
| 1836 | local Part = Thing[1] | |
| 1837 | local Mode = Thing[2] | |
| 1838 | local Delay = Thing[3] | |
| 1839 | local IncX = Thing[4] | |
| 1840 | local IncY = Thing[5] | |
| 1841 | local IncZ = Thing[6] | |
| 1842 | if Thing[2] == "Shoot" then | |
| 1843 | local Look = Thing[1] | |
| 1844 | local move = 30 | |
| 1845 | if Thing[8] == 3 then | |
| 1846 | move = 10 | |
| 1847 | end | |
| 1848 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
| 1849 | if Thing[10] ~= nil then | |
| 1850 | da = pos | |
| 1851 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
| 1852 | cfa = CFrame.new(Thing[4], pos) | |
| 1853 | tehCF = cfa:lerp(cf2, 0.2) | |
| 1854 | Thing[1] = tehCF.lookVector | |
| 1855 | end | |
| 1856 | local mag = (Thing[4] - pos).magnitude | |
| 1857 | Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
| 1858 | if Thing[8] == 2 then | |
| 1859 | Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
| 1860 | end | |
| 1861 | Thing[4] = Thing[4] + Look * move | |
| 1862 | Thing[3] = Thing[3] - 1 | |
| 1863 | if 2 < Thing[5] then | |
| 1864 | Thing[5] = Thing[5] - 0.3 | |
| 1865 | Thing[6] = Thing[6] - 0.3 | |
| 1866 | end | |
| 1867 | if hit ~= nil then | |
| 1868 | Thing[3] = 0 | |
| 1869 | if Thing[8] == 1 or Thing[8] == 3 then | |
| 1870 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1871 | else | |
| 1872 | if Thing[8] == 2 then | |
| 1873 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1874 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
| |
| 1875 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 1876 | ref.Anchored = true | |
| 1877 | ref.CFrame = CFrame.new(pos) | |
| 1878 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
| |
| 1879 | game:GetService("Debris"):AddItem(ref, 0.2)
| |
| 1880 | Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
| 1881 | Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
| |
| 1882 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
| 1883 | end | |
| 1884 | end | |
| 1885 | end | |
| 1886 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 1887 | ref.Anchored = true | |
| 1888 | ref.CFrame = CFrame.new(pos) | |
| 1889 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
| 1890 | game:GetService("Debris"):AddItem(ref, 1)
| |
| 1891 | end | |
| 1892 | if Thing[3] <= 0 then | |
| 1893 | table.remove(Effects, e) | |
| 1894 | end | |
| 1895 | end | |
| 1896 | do | |
| 1897 | do | |
| 1898 | if Thing[2] == "FireWave" then | |
| 1899 | if Thing[3] <= Thing[4] then | |
| 1900 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
| 1901 | Thing[3] = Thing[3] + 1 | |
| 1902 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
| 1903 | else | |
| 1904 | Part.Parent = nil | |
| 1905 | table.remove(Effects, e) | |
| 1906 | end | |
| 1907 | end | |
| 1908 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
| 1909 | if Thing[1].Transparency <= 1 then | |
| 1910 | if Thing[2] == "Block1" then | |
| 1911 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1912 | Mesh = Thing[7] | |
| 1913 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1914 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1915 | else | |
| 1916 | if Thing[2] == "Block2" then | |
| 1917 | Thing[1].CFrame = Thing[1].CFrame | |
| 1918 | Mesh = Thing[7] | |
| 1919 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1920 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1921 | else | |
| 1922 | if Thing[2] == "Fire" then | |
| 1923 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
| 1924 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1925 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1926 | else | |
| 1927 | if Thing[2] == "Cylinder" then | |
| 1928 | Mesh = Thing[7] | |
| 1929 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1930 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1931 | else | |
| 1932 | if Thing[2] == "Blood" then | |
| 1933 | Mesh = Thing[7] | |
| 1934 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
| 1935 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1936 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1937 | else | |
| 1938 | if Thing[2] == "Elec" then | |
| 1939 | Mesh = Thing[10] | |
| 1940 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1941 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1942 | else | |
| 1943 | if Thing[2] == "Disappear" then | |
| 1944 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1945 | end | |
| 1946 | end | |
| 1947 | end | |
| 1948 | end | |
| 1949 | end | |
| 1950 | end | |
| 1951 | end | |
| 1952 | else | |
| 1953 | Part.Parent = nil | |
| 1954 | table.remove(Effects, e) | |
| 1955 | end | |
| 1956 | end | |
| 1957 | end | |
| 1958 | end | |
| 1959 | end | |
| 1960 | end | |
| 1961 | end | |
| 1962 | end | |
| 1963 | end |